❗ New (leaked) MMOE Private Server Tutorial

Posts 16–30 of 178 · Page 2 of 12
Quote Originally Posted by Owlupus View Post
You set up the MySQL server with a password other than botmaker. Either that or you didn't do database.cs correctly. If it's the former, you will need to figure out what password you used to set up MySQL. Then add that in to both database.cs's instead of botmaker.
I set the password to botmaker, but it still doesn't work.
Quote Originally Posted by Owlupus View Post

13. Hooray! You have successfully set up the latest private server. To give yourself GM/Dev/etc., open struct.sql with your preferred SQL table editor. I prefer HeidiSQL, found here. Open the accounts table and edit rank to 3 (GM), etc. You can also mess around with other stuff using the SQL editor.
Set rank to 7 rather as that is Founder and has the most perms.
Quote Originally Posted by Joshyswag View Post
Set rank to 7 rather as that is Founder and has the most perms.
Nvm, found it out.
@Owlupus Possibly make a video? it will help a lot of people!
Quote Originally Posted by Owlupus View Post
With the leakage of a recent version of the legit MMOE server source, there is some confusion on how to get it to work.
@Travooshas added some great helpful hints to his github source! He also removed some code that I mention in this tutorial, but don't worry! He's added some nice notes where the things he deleted were. What a nice guy!

Post any errors you get along the way!

1. Download the source from @Travoos 's github.

2. If you haven't already, setup MySQL using this tutorial, except import struct.sql from the new source you have (found in /db, also do this if you already have MySQL set up).

3. Visual Studio 2010 won't do for this tutorial so we need to upgrade to 2012! You can get Visual Studio 2012 Premium trial from here.

4. Open up server.sln in the root folder using visual studio. Right click on the solution (the thing at the very top of the explorer that says server) and click 'rebuild solution'. Then find the db project in the explorer and find database.cs inside of it.

//this step is irrelevant now due to @Travoos's helpful editing 5. Near the top of database.cs there are a bunch of connections, should say something like "con=asdjbasldjasdijo" about 5 times. We want to focus on the one that is NOT green, and is mostly red. At the end it should say VPS testing or something in green. Add 2 /'s at the beginning of that line, so all of them look the same. Then delete the // from the beginning of the one below, the one that says private testing.

6.You should see a connection at the top of the file with a note. Look where it says 'con='. The IP you see should be 127.0.0.1, correct? If it's not, you're either looking at the wrong connection or the wrong file. At the end of the string (the red part) where it says 'password=', add "botmaker" without quotes so it looks like
Code:
            con = new MySqlConnection("Server=127.0.0.1;Database=rotmg;uid=root;password=botmaker");
7. Now, using the file explorer, right click on db and select rebuild. Wait for it to finish. Now rebuild server in the same manner (NOT the SOLUTION. The PROJECT).

8. Find 'Empire world data server/Empire world data server' in the explorer and open database.cs inside of that. You will see another 'con=' near the top. Edit the IP you see there to 127.0.0.1 and add "botmaker" without quotes to the 'password=' like before. It looks like
Code:
            con = new MySqlConnection("Server=127.0.0.1;Database=rotmg;uid=empireworld;password=botmaker;Allow Zero Datetime=true");
9. You're nearly done. Rebuild 'empire world data server' and then 'wServer' in the same way you rebuilt before. Now, in the explorer, go into server/char/list.cs. Scroll down a little ways till you see something that says "Trav's Hamachi." A few lines down from there you will see an IP. Change that IP to, you guessed it, 127.0.0.1! Rebuild server (again project, NOT solution).

10. Close visual studio (finally) and prepare to launch the server. Navigate to /bin/Debug/Server and run server.exe as administrator. Then go to /bin/Debug/wServer and run wServer.exe as administrator. Should you receive no errors at this point, continue! Should you receive an error, post it!

11. Open client.swf in the root folder. It will load to the home screen. If it infinitely loads and spams with errors, post the error! If it loads fine, continue!

12. Register a new account. Then try to connect to the realm. If you get errors POST THEM! If you connect fine, continue!

13. Hooray! You have successfully set up the latest private server. To give yourself Founder, open struct.sql with your preferred SQL table editor. I prefer HeidiSQL, found here. Open the accounts table and edit rank to 7 (Founder). You can also mess around with other stuff using the SQL editor.

14. Visit this thread: http://www.mpgh.net/forum/750-realm-...gnore-fix.html. You need this for the server to work if you are using the latest commit.

I hope I didn't miss anything important... good luck.
Actually, EmpireWorld data server is a webserver (similar to the game one) created by me to handle requests from the launcher, that you don't have. Just delete it.
Quote Originally Posted by Trapped View Post
Actually, EmpireWorld data server is a webserver (similar to the game one) created by me to handle requests from the launcher, that you don't have. Just delete it.
It wasn't working for me, then I did the part with that, and then it did work for me, so that's why I included it.
Quote Originally Posted by Owlupus View Post
It wasn't working for me, then I did the part with that, and then it did work for me, so that's why I included it.
Can you copypaste the error?
Quote Originally Posted by Trapped View Post
Can you copypaste the error?
http://www.mpgh.net/forum/749-realm-...ss-denied.html
I originally was getting that error in server, but if you scroll down a little you can see that I got it in wServer when trying to connect to the nexus.
I have fun on this files ! XD
This source was stolen by the 2 Devs of MMOE
Quote Originally Posted by trb25 View Post
This source was stolen by the 2 Devs of MMOE
really?? noone knew that...




@Owlupus i suggest you add this to the tutorial for the newbs
Quote Originally Posted by Owlupus View Post
3. Visual Studio 2010 won't do for this tutorial so we need to upgrade to 2012! You can get Visual Studio 2012 Premium trial from hereⓘ.
yes it will work, if you edit the .sln file a bit

 
from:
Code:
Microsoft Visual Studio Solution File, Format Version 12.00

 
to:
Code:
Microsoft Visual Studio Solution File, Format Version 11.00
You dont need Visual Studio 2012 for this, i made the same stuff you said with SharpDevelop but u again get a damn error(same error like when i use trappeds server.) :c I always get errors with this shit mysql D: EDIT: NVM I FIXED IT

ONlöy prob is if i open Struct with Heidisql and i look at Accounts there is Nothing it doesnt show my Account :C
I get kicked when I am hit by another monster =/

EDIT: Nevermind, fixed it.
Quote Originally Posted by MegaXDD View Post
Originally Posted by trb25
This source was stolen by the 2 Devs of MMOE
really?? noone knew that...
You are wrong. A single developer "leaked" the code: Travoos @Travoos , who gave it to Joshyswag (a douchebag apparently, never actually talked with me, first conversation was like "fug u nig me haz ur code xdxdxd", no idea why - also, he's not a developer, but a donator), who provided the code with a mediaf1r3 link first, then Travoos uploaded it on GitHub.
That's it.
I got it setup and once I got on I couldn't make myself admin? I went into struct.sql and set the rank to 7, saved, and couldn't use any admin commands
Posts 16–30 of 178 · Page 2 of 12
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us