Is it possible to make an Online RPG (or MMORPG) with RPG Maker XP?
The short answer is Yes.
However, it can be a pain in the ass. So, to remind me on how the hell I did it and help anyone who will embark in this endeavor, here's a guide to do it--and in English!.
First of all, bear in mind that this process has to do with MySQL databases and advanced networking, about which, by the way, I am clueless. Nevertheless, I made it work, which is what counts in the end :).
1) Materials:
You'll need the following programs in order to accomplish making an Online RPG in RMXP:
-Wamp Server (http://www.wampserver.com/dl.php)
-One-Click Ruby Installer (https://rubyforge.org/frs/download.php/29263/ruby186-26.exe)
-Netplay Plus 2.0 Server and Client (http://rapidshare.com/files/43139697/Netplay_2.0_Server_And_Client.zip)
-RMXP (:P)
2) Setup your Server
-Run WAMP (it will load in your tray bar.)
-Click on the tray bar icon and select "phpMyAdmin", this will bring up a web page on your default browser.
-Create a New Database (just browse through the page to find the option). You can name your database whatever you like.
-Open your newly created Database and look for the Import option (usually in the menu at the top of the page.)
-We will import sqlfile.txt which is under the Server folder of Netplay. Browse for the file in your system and then click on Go.
-(Now, I did some more things here that I won't mention because I believe they were unnecessary, but if you have trouble just drop me a line.)
3)Configure Netplay
-Go to the Server folder of Netplay.
-Open Config.ini, we will edit it this way:
Host = "X" (where X is your ip address, if you don't know you can get it at this site
Port = 50000
ServerName = "X" (where X is the name of the server or database you created)
ServerVersion = "3.0"
GameCode = "918302475"
WebServer = "localhost/www/Netplay"
SMTPServer = "localhost"
AdminEmail = "X" (where X is your email)
DB_server = "localhost"
DB_user = "root"
DB_password =""
DB_name = "X" (where X is the name of the server or database you created)
Message = "Entering the Official Netplay Plus Server..."
-Open the Netplay RMXP project with RPG Maker XP, go to the Scripts section and to Main script. Look for line number 12 and remove the pound sign (#) so it only says map_export in that line.
4)Run the server
-Make sure WAMP is running.
-Run main.rb located in the Server folder of Netplay.
-Choose Yes.
-The server will create two test accounts (user: test, password: test; user: test2, password: test2)
5)Login
-Run the Game (located in Netplay 2.0 folder)
-Login with one of the test accounts (see above)
Voilá!
Now that was hard. I am at this point now. But everything seems to be working fine, if slow (but that's gotta be my computer).
We can hopefully work from here to an Online RPG.
Have fun programming!
The short answer is Yes.
However, it can be a pain in the ass. So, to remind me on how the hell I did it and help anyone who will embark in this endeavor, here's a guide to do it--and in English!.
First of all, bear in mind that this process has to do with MySQL databases and advanced networking, about which, by the way, I am clueless. Nevertheless, I made it work, which is what counts in the end :).
1) Materials:
You'll need the following programs in order to accomplish making an Online RPG in RMXP:
-Wamp Server (http://www.wampserver.com/dl.php)
-One-Click Ruby Installer (https://rubyforge.org/frs/download.php/29263/ruby186-26.exe)
-Netplay Plus 2.0 Server and Client (http://rapidshare.com/files/43139697/Netplay_2.0_Server_And_Client.zip)
-RMXP (:P)
2) Setup your Server
-Run WAMP (it will load in your tray bar.)
-Click on the tray bar icon and select "phpMyAdmin", this will bring up a web page on your default browser.
-Create a New Database (just browse through the page to find the option). You can name your database whatever you like.
-Open your newly created Database and look for the Import option (usually in the menu at the top of the page.)
-We will import sqlfile.txt which is under the Server folder of Netplay. Browse for the file in your system and then click on Go.
-(Now, I did some more things here that I won't mention because I believe they were unnecessary, but if you have trouble just drop me a line.)
3)Configure Netplay
-Go to the Server folder of Netplay.
-Open Config.ini, we will edit it this way:
Host = "X" (where X is your ip address, if you don't know you can get it at this site
www.whatismyip.com)
Port = 50000
ServerName = "X" (where X is the name of the server or database you created)
ServerVersion = "3.0"
GameCode = "918302475"
WebServer = "localhost/www/Netplay"
SMTPServer = "localhost"
AdminEmail = "X" (where X is your email)
DB_server = "localhost"
DB_user = "root"
DB_password =""
DB_name = "X" (where X is the name of the server or database you created)
Message = "Entering the Official Netplay Plus Server..."
-Open the Netplay RMXP project with RPG Maker XP, go to the Scripts section and to Main script. Look for line number 12 and remove the pound sign (#) so it only says map_export in that line.
4)Run the server
-Make sure WAMP is running.
-Run main.rb located in the Server folder of Netplay.
-Choose Yes.
-The server will create two test accounts (user: test, password: test; user: test2, password: test2)
5)Login
-Run the Game (located in Netplay 2.0 folder)
-Login with one of the test accounts (see above)
Voilá!
Now that was hard. I am at this point now. But everything seems to be working fine, if slow (but that's gotta be my computer).
We can hopefully work from here to an Online RPG.
Have fun programming!
Comentarios