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

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

Previous topic - Next topic

jayje

this may already have been answered before(there's alot of pages)is there a simplified version of this where i can have pvp battles?


Blizzard

"Simplified version" and "with PvP battles" are contradictory. -_- It's like saying "Do you have a smaller apple that's bigger?"
As I already said 258273456734609342831356345 times, I will make a Blizz-ABS plugin very soon. It really wouldn't have hurt to read the last 5 pages or so.
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.

fugibo

Quote from: Blizzard on January 15, 2010, 10:19:59 am
"Simplified version" and "with PvP battles" are contradictory. -_- It's like saying "Do you have a smaller apple that's bigger?"
As I already said 258273456734609342831356345 times, I will make a Blizz-ABS plugin very soon. It really wouldn't have hurt to read the last 5 pages or so.


I think he means a stripped-down version that allows for him to include a PvP arena-style system into a single-player game.

jayje

Longfellow has it right i'm just looking to connect to one other player and battle pokemon style if possible. an abs is not what i need


edwardthefma

you can find a eggdrop bot script for a irc egg drop bot that works with rmx-os hear
http://forum.chaos-project.com/index.php/topic,5394.0.html
pepol need to read thru the enter thred :(
i am the lead dev for the shellium mmorpg project
http://wiki.shellium.org/w/Mmorpg
shellium.org :) free linux shells pm me and i will gladly
help you get 1

jayje

an irc bot has no bearing AT ALL to what i asked for.


Blizzard

Ed just posted randomly. He does that from time to time and it's annoying. It has nothing to do with your script.
If you want something like a simplified version, I can't help you. This system is pretty much just the network code plus some rather simple functions to control the system. The system is as minimalistic as it gets.
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.

jayje

dang! i thought it would be an easy find or something. well thanks anyway


G_G

What encryption does RMX-OS use for passwords? I'm trying to figure out how to do this in PHP so people can register on the site instead of in-game.

Ryex

php's string.crypt function is the same encryption as RMX-OS
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.<br /><br />DropBox, the best free file syncing service there is.<br />

G_G

Actually its not. I already tried the crypt method and it gave me this.
$1$O7/oPEhy$EQbImZw7sRwIwY4y9SOKr.

here's my code.
$pass = $_POST['entrypass'];
$password = crypt($pass);

And that code gave me the first code box.

Ryex

January 15, 2010, 11:32:59 pm #371 Last Edit: January 15, 2010, 11:53:13 pm by Ryexander
RMX-OS now uses ruby's string.crypt function and php's Crypt is the same. i think... *tests*

Code: Ruby

string = 'entrypass'
string.crypt('PN')

yeilds
Code: result
PNucLKbRpieMw

Code: PHP
<?php
$pass = 'entrypass';
$password = crypt($pass, 'PN');
echo $password
?>

yeilds
Code: result

PNucLKbRpieMw

wate are those the same? by god I think they are!

note the extra string used in the method call, this is the salt, the string off which the password is encrypted.

also note that RMX-OS also removes the first two letters of the string as they are the salt (the string used to encrypt the string in this case 'PN')

RMX-OS's method
Code: Ruby

    def encrypt_password(password)
     # encrypting password
     encrypted = password.crypt(RMXOS::Options::ENCRYPTION_SALT)
     # removing first two characters which actually are the salt for safety
     return encrypted[2, encrypted.size - 2]
   end

in order to do it correctly you will need the salt that the game in question uses

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.<br /><br />DropBox, the best free file syncing service there is.<br />

G_G

January 15, 2010, 11:38:52 pm #372 Last Edit: January 15, 2010, 11:47:58 pm by game_guy
Wait nevermind, I have an outdated version of rmx-os

EDIT:
Well I updated and everything but they still dont match.

Here's the PHP Crypt
$1$4XYdiukm$TagL70tWoLKajBWnKqbie0
Here's the Ruby
[code]AgDxwFb7RVo


The word is qwerty.[/code]

Ryex

I edited my post look at it again
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.<br /><br />DropBox, the best free file syncing service there is.<br />

G_G

January 16, 2010, 12:05:18 am #374 Last Edit: January 16, 2010, 12:20:13 am by game_guy
Okay so afterwards in RMX-OS instead of looking like this
PNucLKbRpieMw

It'll look like this?
ucLKbRpieMw


It makes more sense now. But how would we take the first two letters off in PHP then?

EDIT:
How come when I'm doing exactly what you're doing I never get the same code.
I did the PHP thing with entrypass and got this
XSv/865igJMXM

My php code is this.
<?php
$pass = 'entrypass';
$string = crypt($pass, 'XS');
echo $string;
?>


What am I doing wrong?

EDIT 2: Changed Salt to PN instead of XS. But I still need to know how to knock off the first two letters.

EDIT 3: Nevermind. Found the 'substr' method. And I finally got it working! WOO! What this page does that I made is you can login, view your stats, and change your password. The change password is almost done, but I was having troubles with the login part.

Once I finish that, then I'll make my register page.

Ryex

Code: PHP

<?php
$pass = 'entrypass';
$password = crypt($pass, 'PN');
$saltless = substr($password, 2);
echo $saltless
?>


you know I'm just looking this stuff up and that you can do the same right?
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.<br /><br />DropBox, the best free file syncing service there is.<br />

G_G

I did, *points at edited post* I already figured it out xD

Maybe we should stop going off topic -_-
Ryex look out for a PHP Help thread, I will need your help

Blizzard

Remember that RMX-OS has a technical documentation (where it says that is cuts off the first two characters of the encrypted string). :P
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.

holy416m

Hi! I've followed your manual and downloaded your GUI tool... After I configured all my server's things, I started the GUI tool... All was fine... EXCEPT when I press "Run - Run the RMX-OS server", the "Server Status" shows "Running" for a second or two then... *ping*! It went back to "Server not running"  :(... And when I went to my game and chose the server, it takes a few seconds then "Server did not respond"... anyone help me plz???

edwardthefma

maby you shoud try running rmxos with out the gui untill you have it down
and have learned how to use it also post problemes with the gui in the gui post
i am the lead dev for the shellium mmorpg project
http://wiki.shellium.org/w/Mmorpg
shellium.org :) free linux shells pm me and i will gladly
help you get 1