[XP] RPG Maker XP Online System (RMX-OS)

Started by Blizzard, June 20, 2009, 11:52:23 am

Previous topic - Next topic

chaucer

quick question :p is there a way to display a chat bubble over an event without having it dispay in message window? if so how lol

DINOSAUR215

Can you give me the SQL username and password of the demo thingy? I'm trying to use the guild to get the server online.

Blizzard

You specify those yourself when setting up the SQL server instance. By default, if you enable root access, the username is "root". The password is whatever you specified as the root password.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

DINOSAUR215

Oh wow... I must've done it wrong. What version of SQL do people normally use for this?

Blizzard

v5.x. Just read the installation guide in the manual, I put everything relevant in there.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

DINOSAUR215


firelad97

Hello! I installed RMX-OS last night, and I installed everything (MySQL, MySQL Database, and Server config) correct. I use IP "localhost" for testing, not ready to release. I didn't run the server. I want to test the client first, if I find the errors in the script. However, there is no errors. It look like fine. I used Blizz-ABS to use for my server, it's working perfectly. Then I am ready to run the server. I got the errors while try to run the server. But the window closed quickly after I got errors, but I thought I saw it said "RMX-OS_ Platform (NameError)"? The rest of errors I can't read because it got closed quickly. I tried to run the server too many times, still getting the same errors. Is there a way to fix this?
Spoiler: ShowHide
* The profile picture I use is not mine. I use this because it look like cool. *

G_G

A) Make sure logs are enabled in your server config.
B) On top of using Blizz-ABS in your game, you have to make sure you have the Blizz-ABS Controller installed as well. You also need to make sure you have the server extension for that script installed into your server.

If you still run into problems, remove Blizz-ABS and try running the server and client without any additional scripts.

firelad97

Quote from: gameus on November 15, 2012, 09:17:26 pm
A) Make sure logs are enabled in your server config.
B) On top of using Blizz-ABS in your game, you have to make sure you have the Blizz-ABS Controller installed as well. You also need to make sure you have the server extension for that script installed into your server.

If you still run into problems, remove Blizz-ABS and try running the server and client without any additional scripts.


Okay! I will do that! BTW, I like Final Fantasy XIII too! :3
Spoiler: ShowHide
* The profile picture I use is not mine. I use this because it look like cool. *

G_G

Haha, cool. Also I forgot to mention something. Make sure logs are enabled, if you run into errors, try and post those logs here. It'll help us understand your problem more.

firelad97

Quote from: gameus on November 15, 2012, 09:20:49 pm
Haha, cool. Also I forgot to mention something. Make sure logs are enabled, if you run into errors, try and post those logs here. It'll help us understand your problem more.


Installed Blizz-ABS controller script, still working perfectly. Server is still giving me errors in ruby file. No error logs. However, when I'm testing Blizz-ABS script in Title Menu only, it's working, but I saw "Online" which it is supposed to not. It's strange... I tried to login then I ended up getting errors because it's supposed to not be online, lol.... Well, still no logs. I already enabled them all.
Spoiler: ShowHide
* The profile picture I use is not mine. I use this because it look like cool. *

G_G

Alright then, I'm at a loss. We'll just have to wait for Blizzard to come on and hopefully help.

Also, your signature breaks the forum rules.
QuoteKeep images in your signatures within 800x200 px and 200 kB. The pictures in your signature may altogether be no more than 200 kB. Every signature not matching this criteria is a subject of the moderator team to remove and leave this rule as message in your signature. For reference, maximum avatar size is 140x200 px.


You can keep the picture, just put it into [spoiler][/spoiler] tags and you'll be good to go.

firelad97

Quote from: gameus on November 15, 2012, 09:36:48 pm
Alright then, I'm at a loss. We'll just have to wait for Blizzard to come on and hopefully help.

Also, your signature breaks the forum rules.
QuoteKeep images in your signatures within 800x200 px and 200 kB. The pictures in your signature may altogether be no more than 200 kB. Every signature not matching this criteria is a subject of the moderator team to remove and leave this rule as message in your signature. For reference, maximum avatar size is 140x200 px.


You can keep the picture, just put it into [spoiler][/spoiler] tags and you'll be good to go.


Okay, I will wait for him to come.

And I've fixed signature. Thanks for telling me that. I'm pretty new to Chaos Project forums, and I didn't read forums rules. I will do it.
Spoiler: ShowHide
* The profile picture I use is not mine. I use this because it look like cool. *

Blizzard

Quote from: firelad97 on November 15, 2012, 09:09:04 pm
Hello! I installed RMX-OS last night, and I installed everything (MySQL, MySQL Database, and Server config) correct. I use IP "localhost" for testing, not ready to release. I didn't run the server. I want to test the client first, if I find the errors in the script. However, there is no errors. It look like fine. I used Blizz-ABS to use for my server, it's working perfectly. Then I am ready to run the server. I got the errors while try to run the server. But the window closed quickly after I got errors, but I thought I saw it said "RMX-OS_ Platform (NameError)"? The rest of errors I can't read because it got closed quickly. I tried to run the server too many times, still getting the same errors. Is there a way to fix this?


Are you using the RMX-OS GUI application? I don't think it's up to date. I have added some more stuff to cfg.ini recently and Ryex hasn't updated the GUI app as far as I remember.

You are simply missing the RMXOS_Platform variable in your cfg.ini file I think. Download the most recent RMX-OS and simply copy it from its cfg.ini into yours.

Quote from: firelad97 on November 15, 2012, 09:28:05 pm
Quote from: gameus on November 15, 2012, 09:20:49 pm
Haha, cool. Also I forgot to mention something. Make sure logs are enabled, if you run into errors, try and post those logs here. It'll help us understand your problem more.


Installed Blizz-ABS controller script, still working perfectly. Server is still giving me errors in ruby file. No error logs. However, when I'm testing Blizz-ABS script in Title Menu only, it's working, but I saw "Online" which it is supposed to not. It's strange... I tried to login then I ended up getting errors because it's supposed to not be online, lol.... Well, still no logs. I already enabled them all.


Make sure that you have:

1. added the plugin script into the client (it goes below Blizz-ABS).
2. created a Ruby file in the extensions folder and put the server extension code there.
3. added the filename into the list of extensions in cfg.ini.

Here's an example how my file looks like when I test Blizz-ABS on RMX-OS:

NAME = 'RMX-OS Server'
HOST = '127.0.0.1'
PORT = 54269
RMXOS_VERSION = 1.21
RMXOS_PLATFORM = 'Win32'

LOG_MESSAGES = true
LOG_ERRORS = true
LOG_ACTIONS = true

DEBUG_MODE = true

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 30
AUTO_RESTART = true
RESTART_TIME = 5
USE_IP_BANNING = true
PREVENT_ZOMBIE_CLIENTS = true
RUBY_PROMPT = true
OPTIMIZE_DATABASE_ON_STARTUP = true
DATABASE_CONNECTION_TIMEOUT = 60

SQL_HOSTNAME = '127.0.0.1'
SQL_USERNAME = 'root'
SQL_PASSWORD = 'root'
SQL_DATABASE = 'rmxosdb'

INBOX_SIZE = 10

EXTENSIONS = [
'Blizz-ABS'
]
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

firelad97

November 16, 2012, 08:53:49 am #1434 Last Edit: November 16, 2012, 09:19:27 am by firelad97
Quote from: Blizzard on November 16, 2012, 05:36:44 am
Quote from: firelad97 on November 15, 2012, 09:09:04 pm
Hello! I installed RMX-OS last night, and I installed everything (MySQL, MySQL Database, and Server config) correct. I use IP "localhost" for testing, not ready to release. I didn't run the server. I want to test the client first, if I find the errors in the script. However, there is no errors. It look like fine. I used Blizz-ABS to use for my server, it's working perfectly. Then I am ready to run the server. I got the errors while try to run the server. But the window closed quickly after I got errors, but I thought I saw it said "RMX-OS_ Platform (NameError)"? The rest of errors I can't read because it got closed quickly. I tried to run the server too many times, still getting the same errors. Is there a way to fix this?


Are you using the RMX-OS GUI application? I don't think it's up to date. I have added some more stuff to cfg.ini recently and Ryex hasn't updated the GUI app as far as I remember.

You are simply missing the RMXOS_Platform variable in your cfg.ini file I think. Download the most recent RMX-OS and simply copy it from its cfg.ini into yours.

Quote from: firelad97 on November 15, 2012, 09:28:05 pm
Quote from: gameus on November 15, 2012, 09:20:49 pm
Haha, cool. Also I forgot to mention something. Make sure logs are enabled, if you run into errors, try and post those logs here. It'll help us understand your problem more.


Installed Blizz-ABS controller script, still working perfectly. Server is still giving me errors in ruby file. No error logs. However, when I'm testing Blizz-ABS script in Title Menu only, it's working, but I saw "Online" which it is supposed to not. It's strange... I tried to login then I ended up getting errors because it's supposed to not be online, lol.... Well, still no logs. I already enabled them all.


Make sure that you have:

1. added the plugin script into the client (it goes below Blizz-ABS).
2. created a Ruby file in the extensions folder and put the server extension code there.
3. added the filename into the list of extensions in cfg.ini.

Here's an example how my file looks like when I test Blizz-ABS on RMX-OS:

NAME = 'RMX-OS Server'
HOST = '127.0.0.1'
PORT = 54269
RMXOS_VERSION = 1.21
RMXOS_PLATFORM = 'Win32'

LOG_MESSAGES = true
LOG_ERRORS = true
LOG_ACTIONS = true

DEBUG_MODE = true

MAXIMUM_CONNECTIONS = 50
LOGIN_TIMEOUT = 30
AUTO_RESTART = true
RESTART_TIME = 5
USE_IP_BANNING = true
PREVENT_ZOMBIE_CLIENTS = true
RUBY_PROMPT = true
OPTIMIZE_DATABASE_ON_STARTUP = true
DATABASE_CONNECTION_TIMEOUT = 60

SQL_HOSTNAME = '127.0.0.1'
SQL_USERNAME = 'root'
SQL_PASSWORD = 'root'
SQL_DATABASE = 'rmxosdb'

INBOX_SIZE = 10

EXTENSIONS = [
'Blizz-ABS'
]



EDIT:
Nevermind, I've figured out the errors. Also I deleted RMX-OS GUI to not messed up again. Thank you for your help!

ANOTHER EDIT:
Server is up. Client is fine. Going into the login screen gives me the errors. Here they are:
Spoiler: ShowHide

Fri Nov 16 09:17:49 Eastern Standard Time 2012:
cannot convert nil into String
(RMX-OS) Script:835:in `+'
(RMX-OS) Script:835:in `listen'
(RMX-OS) Script:5633:in `waiting_for_server'
(RMX-OS) Script:5458:in `waiting?'
(RMX-OS) Script:5585:in `update'
(RMX-OS) Script:5336:in `main'
(RMX-OS) Script:5333:in `loop'
(RMX-OS) Script:5338:in `main'
-<:::RMX-OS Main:::>-:46


How to fix this...?
Spoiler: ShowHide
* The profile picture I use is not mine. I use this because it look like cool. *

Blizzard

Change the affected line:

buffer[0] = @previous_chunk + buffer[0]


to this:

buffer != nil ? buffer[0] = @previous_chunk + buffer[0] : buffer[0] = [@previous_chunk]


This is just a quick fix. Generally that bug shouldn't be possible because it would mean that the client has received an empty message. The client can't receive an empty message because an empty message would mean that no message was received at all and then this code would never be executed in the first place.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

firelad97

November 16, 2012, 10:46:11 am #1436 Last Edit: November 16, 2012, 10:48:37 am by firelad97
Quote from: Blizzard on November 16, 2012, 10:19:31 am
Change the affected line:

buffer[0] = @previous_chunk + buffer[0]


to this:

buffer != nil ? buffer[0] = @previous_chunk + buffer[0] : buffer[0] = [@previous_chunk]


This is just a quick fix. Generally that bug shouldn't be possible because it would mean that the client has received an empty message. The client can't receive an empty message because an empty message would mean that no message was received at all and then this code would never be executed in the first place.


Fixed. An another error occurred.

Spoiler: ShowHide
Script '(RMX-OS) Script' line 835: TypeError occurred.

cannot convert nil into String
(RMX-OS) Script:835:in `+'
(RMX-OS) Script:835:in `listen'
(RMX-OS) Script:5633:in `waiting_for_server'
(RMX-OS) Script:5458:in `waiting?'
(RMX-OS) Script:5585:in `update'
(RMX-OS) Script:5336:in `main'
(RMX-OS) Script:5333:in `loop'
(RMX-OS) Script:5338:in `main'
-<:::RMX-OS Main:::>-:46


:facepalm:
Spoiler: ShowHide
* The profile picture I use is not mine. I use this because it look like cool. *

Blizzard

Hm... Try this instead.

buffer[0] != nil ? buffer[0] = @previous_chunk + buffer[0] : buffer[0] = [@previous_chunk]
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

firelad97

November 16, 2012, 12:32:02 pm #1438 Last Edit: November 16, 2012, 12:44:41 pm by firelad97
Quote from: Blizzard on November 16, 2012, 12:02:51 pm
Hm... Try this instead.

buffer[0] != nil ? buffer[0] = @previous_chunk + buffer[0] : buffer[0] = [@previous_chunk]



This works. Thanks, but...

I have server running, and I cannot get in login screen. It said "Server did not respond" and I have putted IP and Port in right place (in server config and script).

EDIT:
Nevermind, I replaced IP "localhost" to "127.0.0.1" and this works.

Also, while in login screen, I putted ID and then I tried to click password field box, and it won't let me. No errors.

ANOTHER EDIT:
Horraaaaay!! I did everything! This rocks!
Spoiler: ShowHide
* The profile picture I use is not mine. I use this because it look like cool. *

Emtec

Hello,

I don't know if this question should be here, but I think so because it is related to RMX - OS.
I'm trying to create an online turn-based game with the following scripts:
- RMX-OS
- Global Switches and Variables for RMX-OS
- Mouse Controller Script
- Mouse Controller Enhancement Script

I'm trying to create the following process:
- Player 1 turn.
- Player 1 ends his turn by clicking on the appropiate button (event).
- Player 2 turn.
- Player 2 ends his turn by clicking on the appropiate button.
- so on.

My problem is that I can't figure out how to create the conditional branch to control this process. How can I control whose turn is with global variables?

Could you please help me?

PS: We can assume that just two players are going to be online at the same time.

Please, excuse my poor English.

Thank you!