[Tutorial] How to setup a Private Server

Hacking Maple Story

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo, Explicit

[Tutorial] How to setup a Private Server

Postby Explicit » Fri Apr 04, 2008 5:18 am

Image

Stuff needed:

What to I do now?
1) Extract the files that are in the TitanMS zip and put them in a new folder.
2)Open Notepad and paste the text below in it and save it on your desktop (as whatever.sql)


Code: Select all
create table users(ID int auto_increment primary key, username varchar(20), password varchar(20), pin int, gender int);

create table characters(ID int auto_increment primary key, name varchar(12), userid int, level tinyint default 1, job smallint default 0, str smallint, dex smallint, intt smallint, luk smallint, chp smallint default 50, mhp smallint default 50, cmp smallint default 50, mmp smallint default 50, ap smallint default 0, sp smallint default 0, exp smallint default 0, fame smallint default 0, map int default 0, pos smallint default 0, gender tinyint, skin tinyint, eyes int, hair int, mesos int default 0);

create table equip(equipid int, type tinyint, charid int, pos smallint default 0, slots tinyint default 7, scrolls smallint default 0, istr smallint default 0, idex smallint default 0, iint smallint default 0, iluk smallint default 0, ihp smallint default 0, imp smallint default 0, iwatk smallint default 0, imatk smallint default 0, iwdef smallint default 0, imdef smallint default 0, iacc smallint default 0, iavo smallint default 0, ihand smallint default 0, ispeed smallint default 0, ijump smallint default 0);

create table items(itemid int, charid int, inv tinyint, pos smallint, amount smallint);

create table keymap(charid int, pos0 int default 0, pos1 int default 0, pos2 int default 2564, pos3 int default 3076, pos4 int default 3332, pos5 int default 4612, pos6 int default 5380, pos7 int default 0, pos8 int default 0, pos9 int default 0, pos10 int default 0, pos11 int default 0, pos12 int default 0, pos13 int default 0, pos14 int default 0, pos15 int default 0, pos16 int default 2052, pos17 int default 1284, pos18 int default 4, pos19 int default 1028, pos20 int default 0, pos21 int default 0, pos22 int default 0, pos23 int default 260, pos24 int default 0, pos25 int default 4868, pos26 int default 3588, pos27 int default 3844, pos28 int default 0, pos29 int default 13317, pos30 int default 0, pos31 int default 516, pos32 int default 0, pos33 int default 0, pos34 int default 3456, pos35 int default 2820, pos36 int default 0, pos37 int default 772, pos38 int default 0, pos39 int default 5124, pos40 int default 4100, pos41 int default 0, pos42 int default 0, pos43 int default 2308, pos44 int default 12805, pos45 int default 13061, pos46 int default 1540, pos47 int default 0, pos48 int default 0, pos49 int default 0, pos50 int default 1796, pos51 int default 0, pos52 int default 0, pos53 int default 0, pos54 int default 0, pos55 int default 0, pos56 int default 13573, pos57 int default 0, pos58 int default 0, pos59 int default 25606, pos60 int default 25862, pos61 int default 26118, pos62 int default 26374, pos63 int default 26630, pos64 int default 26886, pos65 int default 27142, pos66 int default 0, pos67 int default 0, pos68 int default 0, pos69 int default 0, pos70 int default 0, pos71 int default 0, pos72 int default 0, pos73 int default 0, pos74 int default 0, pos75 int default 0, pos76 int default 0, pos77 int default 0, pos78 int default 0, pos79 int default 0, pos80 int default 0, pos81 int default 0, pos82 int default 0, pos83 int default 0, pos84 int default 0, pos85 int default 0, pos86 int default 0, pos87 int default 0, pos88 int default 0, pos89 int default 0);


3) Install Microsoft Visual C++ 2008 Express.
4) Install Wamp Server and run it
5) Install Navicat and run it.
Click "Connection".
Host name/Ip address is localhost,
Username is root,
and NO password.

Doubleclick on "localhost".
Rightclick on "localhost" and click on "New Database" and fill this in:
Image
("Enter Database Name: MapleStory")
and click OK.

Rightclick on "MapleStory" and click on "Execute Batch File".
Image

You will see this window popping up:
Image

Select maplestory.sql you saved on your desktop. (Look at step 2!!!) and press Start.
After It's finished press "Close".


Now it will look like this when you click on "maplestory"
Image

Now you see the tables "characters", "equip", "items", "keymap" and "users".

Double click on "users" (Now you will make your own account! :P)
A window will popup, looking like this:
Image
ID: 1
Username: fill in the username you would like to have.
Password: fill in the password you would like to have.
Pin: Change it to 0
Gender: Change it to 0


6) Now open up Microsoft Visual C++ 2008 Express.
Click on "File" > "Open" > "File".
Go to the folder where you saved your TitanMS source.
Go to the folder "MapleStoryServer" and doubleclick on "LoginPacket.cpp".

Look for:

Code: Select all
   packet.addByte(xx); // IP
   packet.addByte(xx);
   packet.addByte(xx);
   packet.addByte(xx);


and change it to:

Code: Select all
   packet.addByte(127); // IP
   packet.addByte(0);
   packet.addByte(0);
   packet.addByte(1);


7) After you did this open MapleStoryServer.sln (also located in the titanMS source folder.:wink:)
Press F5 or "Build" > "Build Solution" and click Yes.
It will now starts to build. :P

If it succeeded and you didn't get any errors, you can start playing your private server!


Press the green arrow at the top in Microsoft Visual C++ 2008 Express.
Image

A black window popups up!
Wait till Maps Initializing is finished. DON'T CLOSE IT

8 ) Download the file Localhost.exe (Look at downloads at the top).
Put the Localhost.exe in the MapleStory Folder!

Open DxWnd and add Localhost.exe (as you are used to with MapleStory.exe)

Doubleclick on localhost.exe in DxWnd! If you did everything correct you will now see MapleStory starting up! :P

Congratulations! :wink:

Image

----------------------------------------------------

Useful stuff:

GM Commands:
!summon <mob id> <amount>
!level <insert lvl here>
!shop opens gm shop
!job <insert job id>
!tele <tele's to character name>
!notice blue text notice
!ban <char id> <time in days>
!item <item id here>


How to change the EXP rates:

Open "mobs.cpp" and search for

Levels::giveEXP(player, mobinfo[mob->getMobID()].exp * 10);


Change the 10 to whatever you want.

How do I get those leet GM equips?
When you are ingame type !shop. :P

How do I enter GM map?!
Typ !map 180000000

Credits:
Banaantje
Image
Nothing is impossible, just implausible
User avatar
Explicit
I Know Your Poop
 
Posts: 503
Joined: Sun Dec 30, 2007 4:47 pm

Postby mezzo » Fri Apr 04, 2008 12:48 pm

Thanks ! Will give this a try for sure.
- No thanks, I already have a penguin -
User avatar
mezzo
El Mariachi
 
Posts: 738
Joined: Mon Apr 30, 2007 10:27 pm
Location: Antwerp

Postby Explicit » Fri Apr 04, 2008 1:00 pm

No problem, good luck and have fun!

At the moment and since, guilds are being disbanded by some people using Packet Editors (KiPE), I found the packet
Code: Select all
29 39 22 C0
to expel everyone in the guild; including the Guild Master/leader!

It's unfortunate that I don't have a working GG CRC, which would mean, once I enter the server and into game play, I would disconnect within a few seconds and a risk of getting auto-banned .
Image
Nothing is impossible, just implausible
User avatar
Explicit
I Know Your Poop
 
Posts: 503
Joined: Sun Dec 30, 2007 4:47 pm

Postby shinnsohai » Fri Apr 04, 2008 1:45 pm

wow is complicated to make a maplestory private
-šнιηηšσнαι-
User avatar
shinnsohai
n00b
 
Posts: 973
Joined: Mon Feb 18, 2008 7:31 pm
Location: l_ A /\/ G l< A \/\/ I

Postby Explicit » Fri Apr 04, 2008 1:50 pm

No, it's not, this is very simple .
You're lucky this has a source, or this would probably take you more than a month, with that attitude, I'd say a year .

Well, if you're actually going to attempt this, good luck and have fun, more than 50, 000+ people have already accomplished this. Yes, you can assume that was a very big exaggeration and estimation .


Have fun!
:o

Haha, mezzo, a ONE minute post difference! :o
Last edited by Explicit on Fri Apr 04, 2008 1:55 pm, edited 1 time in total.
Image
Nothing is impossible, just implausible
User avatar
Explicit
I Know Your Poop
 
Posts: 503
Joined: Sun Dec 30, 2007 4:47 pm

Postby mezzo » Fri Apr 04, 2008 1:51 pm

actually this doesn't look difficult at all.
- Setup a backend database; load it with tables
- load source into VC, change the byte for the server to connect to
- recompile
- play

I've setup much worse then this :-) I wonder if I could get the backup database running on one of my linux server.. I would hate to use wamp on windows when I have mysql running on a dedicated machine anyway.

Will let you know if it works out :-)
- No thanks, I already have a penguin -
User avatar
mezzo
El Mariachi
 
Posts: 738
Joined: Mon Apr 30, 2007 10:27 pm
Location: Antwerp

Postby Explicit » Fri Apr 04, 2008 1:58 pm

mezzo wrote:actually this doesn't look difficult at all.
- Setup a backend database; load it with tables
- load source into VC, change the byte for the server to connect to
- recompile
- play

I've setup much worse then this :-) I wonder if I could get the backup database running on one of my linux server.. I would hate to use wamp on windows when I have mysql running on a dedicated machine anyway.

Will let you know if it works out :-)


mezzo, you could try this tutorial since it doesn't use wamp!
http://forum.cheatengine.org/viewtopic.php?t=221192

Your decision! :o
Image
Nothing is impossible, just implausible
User avatar
Explicit
I Know Your Poop
 
Posts: 503
Joined: Sun Dec 30, 2007 4:47 pm

Postby mezzo » Fri Apr 04, 2008 3:22 pm

hehe my neverwinter nights persistent world server runs on a clustered linux with mysql backend. So, I doubt I will need the alternative tut to get it running.
It's the links to the source that make this one great :-)
- No thanks, I already have a penguin -
User avatar
mezzo
El Mariachi
 
Posts: 738
Joined: Mon Apr 30, 2007 10:27 pm
Location: Antwerp

Postby Explicit » Fri Apr 04, 2008 3:41 pm

Alright, notify us if you got it working and post some images or something. :o Haha, good luck and have fun!

I haven't decided to do it YET, probably later, as I'm having issues with pre-requisites for Visual C++ 2008 Express, I'll have to deal with them and resolve them first before I can start .
Image
Nothing is impossible, just implausible
User avatar
Explicit
I Know Your Poop
 
Posts: 503
Joined: Sun Dec 30, 2007 4:47 pm

Postby zile » Sat Apr 05, 2008 5:43 am

User avatar
zile
Been Around
 
Posts: 254
Joined: Sat Mar 08, 2008 8:55 pm

Postby Explicit » Sat Apr 05, 2008 6:29 am

No thanks, that still has more & alot of glitches, nice try ...
Image
Nothing is impossible, just implausible
User avatar
Explicit
I Know Your Poop
 
Posts: 503
Joined: Sun Dec 30, 2007 4:47 pm

Postby myFACEOFF » Sun Apr 06, 2008 7:03 am

thx, i always wanne be a gm =)
Cool, huh.
Image

Noober wrote:They call me noob.
User avatar
myFACEOFF
NULL
 
Posts: 178
Joined: Wed Feb 13, 2008 6:42 pm

Postby EncablossA » Sun Apr 06, 2008 7:32 am

nice tut.working on it rite nw..trying to test if it works. :twisted:
EncablossA
I Ask A Lot Of Questions
 
Posts: 19
Joined: Sun Mar 02, 2008 11:18 pm

Postby EncablossA » Sun Apr 06, 2008 8:41 am

oh shyt .. tt maplestory client makes me confused :x i tot is "maplesea" client,i dunno its must be the gms client..
lol
EncablossA
I Ask A Lot Of Questions
 
Posts: 19
Joined: Sun Mar 02, 2008 11:18 pm

Postby EncablossA » Sun Apr 06, 2008 9:07 am

alrite guys those who cnt download rev005 at rapidshare
download it at here:
http://www.mediafire.com/?ql9zenbhyym
EncablossA
I Ask A Lot Of Questions
 
Posts: 19
Joined: Sun Mar 02, 2008 11:18 pm

Next

Return to Maple Story

Who is online

Users browsing this forum: No registered users and 2 guests

cron