Author Topic: [XP] RMX-OS  (Read 314790 times)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
[XP] RMX-OS
« on: June 20, 2009, 05:52:23 PM »
RPG Maker XP Online System
Authors: Blizzard
Version: 2.05
Type: Multiplayer Online System
Key Term: Misc System

Introduction

This system features a set of scripts that are used in RPG Maker XP (client scripts) and another set that require Ruby itself (server scripts). Using this system allows to create multiplayer online games with RPG Maker XP.
Note that this is merely a very powerful tool. It is up to you to make your game awesome using this tool.

This work is protected by the following license:
Quote
Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported
( http://creativecommons.org/licenses/by-nc-sa/3.0/ )

You are free:

to Share - to copy, distribute and transmit the work
to Remix - to adapt the work

Under the following conditions:

Attribution. You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial. You may not use this work for commercial purposes.

Share alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

- For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.

- Any of the above conditions can be waived if you get permission from the copyright holder.

- Nothing in this license impairs or restricts the author's moral rights.

Features

The features are listed in the Manual chapter 1.1. for convenience.

Screenshots

N/A


Demo

RMX-OS

Script

Included in the demo.


Instructions

The instructions can be found in the User Manual.


Compatibility

It is recommended not to use RMX-OS with SDK. Generally RMX-OS is over 95% compatible with SDK 1.x and over 90% compatible with SDK 2.x, but due to unexpected behavior you are running risk of bugs and save data corruption. Carefully decide if you want to use SDK in your project.
Incompatible with the RGSS100J.dll. RMX-OS was coded to be compatible and extensible so most scripts should work normally with RMX-OS. Scripts that require a server extension (i.e. an ABS) might need additional extensions for any script specific (i.e. battle related) enhancements (i.e. special skill processings from Tons of Add-ons). Using a generic Anti-Lag system with RMX-OS might conceptually not be a good idea, because of online interaction between characters. Make sure your Anti-Lag system can work with RMX-OS properly without causing problems.


Credits and Thanks

  • Blizzard

Author's Notes

If you have problems opening the .chm manual file, please read this article: http://blogs.technet.com/seanearp/archive/2007/05/28/can-t-read-chm-compiled-help-on-vista-xp-2003.aspx
The solution is at the bottom, you don't need to read the whole article.

If you find any bugs, please report them here:
http://forum.chaos-project.com

That's it! N-Joy! =D
« Last Edit: May 24, 2014, 09:54:31 AM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline Starrodkirby86

  • Kirby de Varita Estelar
  • Guardian of Chaos
  • ********
  • Posts: 3282
  • LV: 194
  • Gender: Male
  • ~!
    • View Profile
    • The Archive of Starrodkirby86
Re: [XP] RMX-OS
« Reply #1 on: June 20, 2009, 05:54:43 PM »
Quote
It is recommended not to use RMX-OS with SDK. Generally RMX-OS is over 95% compatible with SDK 1.x and over 90% compatible with SDK 2.x, but due to unexpected behavior you are running risk of bugs and save data corruption. Carefully decide if you want to use SDK in your project.

:rofl: You just had to say that nicely.

Wow, this is going to be the replacer for Netbattle, yeah?

I am very proud of you for finishing it and I'm glad that a new script created by you would be something this massive.

(First :3)

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).



Offline Hellfire Dragon

  • Astral Trancist
  • *****
  • Posts: 768
  • LV: 24
  • Gender: Male
    • View Profile
Re: [XP] RMX-OS
« Reply #2 on: June 20, 2009, 06:00:01 PM »
Cool! 8)

*goes to try it out*

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] RMX-OS
« Reply #3 on: June 20, 2009, 06:02:56 PM »
Remember to read the manual. :P

Quote
It is recommended not to use RMX-OS with SDK. Generally RMX-OS is over 95% compatible with SDK 1.x and over 90% compatible with SDK 2.x, but due to unexpected behavior you are running risk of bugs and save data corruption. Carefully decide if you want to use SDK in your project.

:rofl: You just had to say that nicely.

:3 Worst thing, I was actually serious. xD

Wow, this is going to be the replacer for Netbattle, yeah?

Yes. But it's not done yet. For v1.0 I want to add chat (probably also a buddy list) and maybe some other minor things (probably guilds), I'll see.

I am very proud of you for finishing it and I'm glad that a new script created by you would be something this massive.

(First :3)

<3 It has almost 3000 lines of code and comments. I didn't know it was that long until I put all scripts into one file, lol!
« Last Edit: June 20, 2009, 06:04:35 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: [XP] RMX-OS
« Reply #4 on: June 20, 2009, 06:30:00 PM »
so... dose JC know that this is out yet?/ have you finished his version?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline Calintz

  • Guardian of Chaos
  • ********
  • Posts: 3803
  • LV: 108
  • Gender: Male
  • A Pixel's Worst Nightmare
    • View Profile
Re: [XP] RMX-OS
« Reply #5 on: June 20, 2009, 06:32:55 PM »
Sounds intriguing, but I prefer original games rather than OMMRPGs.

Offline Aqua

  • Lexima Warrior
  • *******
  • Posts: 2554
  • LV: 118
  • Gender: Female
  • Quack!
    • View Profile
Re: [XP] RMX-OS
« Reply #6 on: June 20, 2009, 06:33:20 PM »
Congratz on releasing this new and big project.

Hopefully it'll become like... super mega awesome D:

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] RMX-OS
« Reply #7 on: June 20, 2009, 06:45:16 PM »
so... dose JC know that this is out yet?/ have you finished his version?

No, because he can't use it with the new client. I am going to implement and edit it for him when I'm done with RMX-OS.
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] RMX-OS
« Reply #8 on: June 20, 2009, 07:01:15 PM »
I've been waiting for this forever!!! Now to test it out and give feedback

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] RMX-OS
« Reply #9 on: June 20, 2009, 07:26:02 PM »
Blizz, I may be wrong, but aren't Regular Expressions, like, brutally slow? Like, hash-lookup-level-times-ten slow? 0_o It might not be such a problem with simple ones, and it might not matter since the engine might be waiting on the server anyway, but that's not the sort of thing I'd think would be very reliable in such a time-sensitive environment >_<

Offline Ryex

  • Arctic Bird of Programming
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 5131
  • LV: 197
  • Gender: Male
  • Wants to write a compiler for fun
    • View Profile
Re: [XP] RMX-OS
« Reply #10 on: June 20, 2009, 07:42:57 PM »
Blizz, I may be wrong, but aren't Regular Expressions, like, brutally slow? Like, hash-lookup-level-times-ten slow? 0_o It might not be such a problem with simple ones, and it might not matter since the engine might be waiting on the server anyway, but that's not the sort of thing I'd think would be very reliable in such a time-sensitive environment >_<
well how else is the server going to interpret messages from the client and the client from the server?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.

DropBox, the best free file syncing service there is.
(click to show/hide)

Offline fugibo

  • World Conqueror
  • Chaos User
  • ******
  • Posts: 1966
  • LV: 44
    • View Profile
Re: [XP] RMX-OS
« Reply #11 on: June 20, 2009, 07:57:25 PM »
Blizz, I may be wrong, but aren't Regular Expressions, like, brutally slow? Like, hash-lookup-level-times-ten slow? 0_o It might not be such a problem with simple ones, and it might not matter since the engine might be waiting on the server anyway, but that's not the sort of thing I'd think would be very reliable in such a time-sensitive environment >_<
well how else is the server going to interpret messages from the client and the client from the server?

You don't have to use regular expressions to compare strings >_<

Offline bradhawk

  • Trained Member
  • *
  • Posts: 11
  • LV: -3
  • Gender: Male
  • Im too Lazy XD
    • View Profile
    • Our RM Forum for Indonesian RMers.
Re: [XP] RMX-OS
« Reply #12 on: June 21, 2009, 07:09:52 AM »
whoa, awesome Blizz, i'll try this, i belive if you make this, it will lagless ^^

thanks before...

Offline G_G

  • Green Gmod Game_Guy AKA G4 AKA hyper-G AKA G-force
  • Global Moderator
  • Chaos Ultimate
  • ****
  • Posts: 6585
  • LV: 407
  • Gender: Male
    • View Profile
Re: [XP] RMX-OS
« Reply #13 on: June 21, 2009, 07:17:42 AM »
Hey blizz or someone could someone help me with a step by step tutorial on how to go setting this whole thing up right?
It'll help me and I'm sure others.

Thanks in advance! ^_^

Offline Hellfire Dragon

  • Astral Trancist
  • *****
  • Posts: 768
  • LV: 24
  • Gender: Male
    • View Profile
Re: [XP] RMX-OS
« Reply #14 on: June 21, 2009, 09:08:53 AM »
Only thing I'm having trouble with is the MySQL database... after I make the daabase it just says that it couldn't connect to the database whenever I try to actually do anything with it :(

Offline Reygekan

  • Transcended Spirit
  • ***
  • Posts: 150
  • LV: -3
  • Gender: Male
  • Boo
    • View Profile
    • Winged Pikachu Database
Re: [XP] RMX-OS
« Reply #15 on: June 21, 2009, 09:10:45 AM »
Why is it that it takes me 8000+ lines of code to do a working Hearts game in Java, whereas you can pull this kind of magic in 3000?

Sounds like the sex. And the sex always sounds good.

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] RMX-OS
« Reply #16 on: June 21, 2009, 01:00:09 PM »
Blizz, I may be wrong, but aren't Regular Expressions, like, brutally slow? Like, hash-lookup-level-times-ten slow? 0_o It might not be such a problem with simple ones, and it might not matter since the engine might be waiting on the server anyway, but that's not the sort of thing I'd think would be very reliable in such a time-sensitive environment >_<

Depends on how the parser was implemented. But I agree, it might be a good idea to test that on speed. It's true, I don't need regular expressions to compare strings.

Code: [Select]
'abc' == 'abc'
But regular expressions aren't meant to compare strings. They are meant to find string patterns. As I said, I can change my system in such a way so I don't use string expressions. But the question is whether

Code: [Select]
if message =~ /SAV(.+)\t(.+)/
  type = $1
  value = $2
  # stuff
end

is REALLY slower than

Code: [Select]
string = message[0, 3]
if string == 'SAV'
  data = message[3, message.size - 3]
  type, value = data.split("\t")
  # stuff
end

because regular expressions don't only find string patterns, no, they also find matched substrings after matching a string to a pattern.

As I said, it depends on how the parser was implemented and what kind of regular expression you use. I've had a class that was almost only based on grammars, finite state machines and regular expressions (and I had an A, yay). What I'm trying to say is that I know what I'm talking about.

Why is it that it takes me 8000+ lines of code to do a working Hearts game in Java, whereas you can pull this kind of magic in 3000?

Why does Netplay+ 1.7 have like 3 times more code (I haven't counted, honestly) and the chat system is the only thing that RMX-OS doesn't have (yet)? I honestly don't know. Maybe the way of coding or experience. It's said that a good programmer is up to 20 times faster than a bad programmer (and of course a good programmer produces better code). Maybe it is also related to the number of coded lines. I don't know. I didn't do any research on productivity of programmers.

Sounds like the sex. And the sex always sounds good.

Like Munkey said, Remexos = anagram for "more sex". xD
« Last Edit: June 21, 2009, 01:04:33 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline Hellfire Dragon

  • Astral Trancist
  • *****
  • Posts: 768
  • LV: 24
  • Gender: Male
    • View Profile
Re: [XP] RMX-OS
« Reply #17 on: June 21, 2009, 01:07:01 PM »
I keep getting this error no matter I use,
Quote
Can't cannot to MySQL server on 'localhost' (10061)

Offline Blizzard

  • This sexy
  • Administrator
  • has over 9000 posts
  • *****
  • Posts: 19916
  • LV: 642
  • Gender: Male
  • Magic midgets.
    • View Profile
    • You're already on it. (-_-')
Re: [XP] RMX-OS
« Reply #18 on: June 21, 2009, 02:11:56 PM »
Did you install MySQL properly? Did you set the username and password for MySQL in cfg.rb properly? Is MySQL even running? Control Panel -> Administrative Tools -> Services and find MySQL. The service should be anything else but disabled and started.
« Last Edit: June 21, 2009, 02:13:19 PM by Blizzard »
Check out Daygames and our games:

King of Booze      King of Booze: Never Ever      Pet Bots
Drinking Game for Android      Never have I ever for Android      Pet Bots for Android
Drinking Game for iOS      Never have I ever for iOS      Pet Bots for iOS
Drinking Game on Steam


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

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

Offline Hellfire Dragon

  • Astral Trancist
  • *****
  • Posts: 768
  • LV: 24
  • Gender: Male
    • View Profile
Re: [XP] RMX-OS
« Reply #19 on: June 21, 2009, 03:12:42 PM »
I think I installed it right and of course it's running, I'm not stupid :P And yeah the username and password are set up properly too...