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

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

Previous topic - Next topic

G_G

A lot of people stopped working on it (including myself) we lost mappers, spriters, scripters, etc...

And don't worry Blizzie, I'll be back on before you know it. I just gotta get through the next couple of weeks first. Sorry I'm taking so long. D:

Blizzard

May 26, 2013, 11:23:00 am #1521 Last Edit: May 26, 2013, 11:40:10 am by Blizzard
RMX-OS 2.0 beta 2 is done.

https://dl.dropboxusercontent.com/u/20224394/RMX-OS%202.0%20beta%202.rar

Let's see how the new client handling model and the new threading model work.
I have also replace the beta 1 link with the beta 2 download. So if you try to download beta 1, you'll actually get beta 2.

EDIT: If you seem to be having problems with the threading model, try turning the new cfg option EXTENDED_THREADING off.

EDIT: BTW, if you want to test it with extensions, make sure to update your extensions. Refer to ExtensionSkeleton.rb. The updates are minor, but critical.
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.

G_G

May 26, 2013, 01:05:34 pm #1522 Last Edit: May 26, 2013, 01:26:41 pm by gameus
I have everything setup correctly but it's saying username doesn't exist (which it clearly does, just got done checking the database) then I went to register with the same username and I got a "Server did not respond" message. Then I registered a new username and it registered just fine and I was able to log in just fine. Tried turning EXTENDED_THREADING off and I still can't login with my original username (from the previous beta I didn't wipe the DB because I didn't think I needed to)

EDIT: Woh! Huge flaw. I registered a new account (gameus2) and I can login with any password.

Midako

gameus, this error don't come by me,
i can login with old accounts and with new accounts without problems,
if i write a wrong password he reponsd with the Username is wrong.
how i see, but it seems like it comes from u not from the system...

reset ur database and try again..

if u want i will help u out by ur problem over skype, karim9312
but i don't have this problem...

G_G

I don't need help, I've done this plenty of times. But I've figured out what the issue is.

@Midako: You're correct, I was using the wrong password and I assumed the server/client was messed up because it was saying "Username did not exist"

As for the login with any password, this is what I did.
1) Registered a new account (gameus3)
2) Shut down after I registered and logged in
3) Re-opened client and made the password box active and added in a bunch of letters and numbers and it still let me log in successfully.
4) Closed it again and re-opened the client and it still let me log in with the new password being saved in account.dat.

This only seems to happen if you make it remember login details and you don't change anything but the password after re-opening the client.

Midako

he saved my login, but the issue don't happened by me.

i just edit the password but it did'nt worked by me like u write it ^-^

i don't know why the error happend by u...

G_G

Hmmm. I have no idea. We'll have to wait for Blizzard then. Are you sure you downloaded the new beta?

Midako

May 26, 2013, 03:46:29 pm #1527 Last Edit: May 26, 2013, 03:48:32 pm by Midako
of course, but im not sure if the beta is the same as mine.
i make the tests for Blizz with multiple players.

i get the Files from him. which size have ur server.rb?

mine has 12,6 KB (12.949 Bytes)

EDIT: ur files should be the same as mine...

exile360

Seems to be working fine for me as well. Only thing I had was that the first time I logged in, all of my messages appeared twice for some reason, after relogging it was fine. This happens with every new account I register.

Midako

May 26, 2013, 03:53:22 pm #1529 Last Edit: May 26, 2013, 03:55:48 pm by Midako
exile360 this is true.
but the login issue from gameus, its not normally.
the chat issue is true...
^-^

EDIT: at the first login by the registration, it looks like he think the account logged in twice, so he respond 2 times the message...


G_G

I'm not sure what the issue is to be honest. All I did was download the new beta, run the server, and run the client. MySQL was already setup and running. I didn't change anything to the server other than EXTENDED_THREADING.

Midako

my database is also the old one, but it have nothing to do with EXTENDED_THREADING i did test it with true and false, no errors at all, just the one that he send by registration twice the signal.

Blizzard

May 26, 2013, 06:49:01 pm #1532 Last Edit: May 26, 2013, 06:52:33 pm by Blizzard
As I said, this version might probably be unstable. I'll take a look at this after I get from work tomorrow.
In the meantime you guys can make sure to check how it behaves when multiple players are online.

@Midako: I updated the download files after you found my debug message printing so you should all have the same files.

EDIT: All of these things should be easily fixable. My main concern is how it works with multiple players when EXTENDED_THREADING is turned on. If it is too unstable, only then try turning it off.
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.

G_G

May 26, 2013, 06:56:23 pm #1533 Last Edit: May 26, 2013, 07:34:56 pm by gameus
Still trying to find people to test with me. D: If anyone's interested in hopping on a server I run, add me on skype: game_guy_

EDIT: Zexion and I tried trading. We both hit confirm and eventually I got kicked from the server and I got this error from the server logs.
2013-05-26 23:33:19 UTC; 6 (gameguy) - Error:
undefined method `get_client_by_id' for #<Sender:0x2a31e48>
src/Client3.rb:144:in `block (2 levels) in _trade_execute'
<internal:prelude>:10:in `synchronize'
src/Client3.rb:143:in `block in _trade_execute'
<internal:prelude>:10:in `synchronize'
src/Client3.rb:142:in `_trade_execute'
src/Client1.rb:368:in `check_trade_commands'
src/Client1.rb:249:in `handle'
src/Server.rb:244:in `block in run'

Blizzard

May 27, 2013, 02:18:15 am #1534 Last Edit: May 29, 2013, 06:33:33 pm by Blizzard
Change it to "RMXOS.clients.get_by_id". I must've missed that one.

EDIT: I fixed this bug and the double login when registering. https://dl.dropboxusercontent.com/u/20224394/RMX-OS%202.0%20beta%203.rar The previous links have also been updated.

EDIT: And here is beta 4. https://dl.dropboxusercontent.com/u/20224394/RMX-OS%202.0%20beta%204.rar
Among a few minor improvements that will hopefully either prevent that annoying freezing bug or at least offer some better insight as to why it's happening, this beta of RMX-OS has updated MySQL binaries which means it can now run with Ruby 2.0 as well! I haven't been able to test whether it works on Linux properly, but feel free to test it.
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.

G_G

May 29, 2013, 07:43:07 pm #1535 Last Edit: May 29, 2013, 07:50:21 pm by gameus
Gonna test it out on Ruby 2.0 tonight. :3 Loving the new changes and improvements Blizzie. Also when you have the time, I was wondering if you could help me with deserializing save_data table via PHP.

EDIT: Getting this error on startup.
Spoiler: ShowHide


Using Ruby 2.0 (x64) I'll try with the 32 version.

Blizzard

May 30, 2013, 04:03:13 am #1536 Last Edit: May 30, 2013, 04:08:36 am by Blizzard
Yeah, x64 will probably not work, because those are binaries compiled with x86.

You have the Object#rmxos_serialize and Object#rmxos_deserialize methods in the script for that. There are also variants for Array and Hash.
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.

Midako

gameus what u want to make with php ?..
maybe i can help u a little...
because i will write later a php script if rmxos 2.0 works stabil ^-^ when the server can run without problems

G_G

I'm creating RMX-OS Web API. In conjunction, I'm also creating an Admin Control Panel to show off the API. The API will be able to load guilds, users, PMs, save data, etc... And make it easy to access for anybody. This will make it easier to incorporate a registration function within forums and websites. I know how to work with PHP I'm just having some difficulties deserializing the save_data table but the methods Blizzard listed will help me. Thanks though. :)

Blizzard

You also have the format description with examples in the manual, in the Technical Documentation. I can't remember if I added that yet in previous versions, but 2.0 definitely has it.
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.