- Joined
- Jun 12, 2008
- Messages
- 22
- Reaction score
- 0
hello,i Will tell you How to Host your Server off of Someone Else's Ip/Computer First What you do is Download All the things needed to make a Server...
i think this Is for Titan only So you need
The repack,C++,mysql navicate,wamp server,Ok so what you do is...first you u open C++,Then open hamachi and you copy the hamachi ip u wanna run it from.
then you open C++ and Go to Maplestoryserver Folder and Open LoginPacket.cpp then go down till u see the line
And change the 127.0.0.1 To the hamachi ip you want to use.
So as example say the ip u wanted to use was 3.204.51.16 it should look like
Then.. You change Make sure you go to mapelstoryserver FOlder again And search in MYSQLM.cpp And look for the line
"if(!mysql_real_connect(&maple_db, "localhost", "root", "", "maplestory", 3306, NULL, 0)){ "
And change Localhost to your MYSQL Ip or Localhost for Default
And change Root to your MYSQL Username Or Root For Default
And change Maplestory To your Database name Or MapleStory For Default
Then Save Everything and Compile/Build And Debug!
Oh ya Almost forgot to tell you! I dunno How to get it Non hamachi With the other person hosting it with you using there ip
It Works for Me So hope It works for you !
Credits:Me BayArea
Maybe more Credits But i dunno Who else LOL
i think this Is for Titan only So you need
The repack,C++,mysql navicate,wamp server,Ok so what you do is...first you u open C++,Then open hamachi and you copy the hamachi ip u wanna run it from.
then you open C++ and Go to Maplestoryserver Folder and Open LoginPacket.cpp then go down till u see the line
Code:
packet.addShort(0); // IP
packet.addByte(127); // IP
packet.addByte(0);
packet.addByte(0);
packet.addByte(1);
And change the 127.0.0.1 To the hamachi ip you want to use.
So as example say the ip u wanted to use was 3.204.51.16 it should look like
Code:
packet.addShort(0); // IP
packet.addByte(3); // IP
packet.addByte(204);
packet.addByte(51);
packet.addByte(16);
Then.. You change Make sure you go to mapelstoryserver FOlder again And search in MYSQLM.cpp And look for the line
"if(!mysql_real_connect(&maple_db, "localhost", "root", "", "maplestory", 3306, NULL, 0)){ "
And change Localhost to your MYSQL Ip or Localhost for Default
And change Root to your MYSQL Username Or Root For Default
And change Maplestory To your Database name Or MapleStory For Default
Then Save Everything and Compile/Build And Debug!
Oh ya Almost forgot to tell you! I dunno How to get it Non hamachi With the other person hosting it with you using there ip
It Works for Me So hope It works for you !
Credits:Me BayArea
Maybe more Credits But i dunno Who else LOL
Last edited: