This guide will show you how to setup my repack WeedStory, Ver.0.0.1.
Also see the dev thread here:
And the release thread:
Let's get started with the guide.
Step #1 - Downloading what's required
What you need to setup the server is:
WeedStory_0.0.1: http://forum.ragezone.com/f427/release-weedstory-repack-0-0-1-a-383877/
Localhost client:
MySQL 5.1:
MySQL Gui Tools (Query Browser):
VC++ (to compile):
Step #2 - Setting up MySQL
When you're done installing everything, open up the MySQL installer.
Install it fully, then choose "Configure MySQL now" or something like that.
Then choose standard configuration, and if you haven't been using MySQL before, leave
everything by default.
Step #3 - Adding MySQL tables with Query Browser
Install MySQL Gui Tools, and then go in to Start > MySQL > MySQL Query Browser
Now type "maplestory" in Default Scheme and press OK if you didn't set any password.
If you set a password, type it in the password bar.
In the big window at the top of Query Browser, type these, one by one and press execute on each of them:
And this one for a bug I fixed:
Now you're done. You can close Query Browser for the moment.
Step #4 - Configuring and compiling WeedStory
Install VC++, it might take a while, just be patience.
Extract the repack anywhere you like, and open the .sln file (which is the project) with VC++
Now, if you set a password on your MySQL, try to find "MySQLM.cpp" in the bar next to the script window.
You should see this:
So, between the empty "", write your password: "mypassword".
Now go to Build > Build Solution.
Wait while it compile, let the server load and you're ready to rock!
Step #5 - Creating an account
To great an account, go to the query browser. Then open the 'user' table and press EDIT.
Now, write your information in every window.
Be sure to put:
gender = 0
pin = 0
GM = 1
Then press save changes.
------------------------
Hope this helped. PLEASE DO NOT PM ME WITH QUESTIONS. WRITE THEM HERE!
Also see the dev thread here:
And the release thread:
Let's get started with the guide.
Step #1 - Downloading what's required
What you need to setup the server is:
WeedStory_0.0.1: http://forum.ragezone.com/f427/release-weedstory-repack-0-0-1-a-383877/
Localhost client:
You must be registered to see links
MySQL 5.1:
You must be registered to see links
MySQL Gui Tools (Query Browser):
You must be registered to see links
VC++ (to compile):
You must be registered to see links
Step #2 - Setting up MySQL
When you're done installing everything, open up the MySQL installer.
Install it fully, then choose "Configure MySQL now" or something like that.
Then choose standard configuration, and if you haven't been using MySQL before, leave
everything by default.
Step #3 - Adding MySQL tables with Query Browser
Install MySQL Gui Tools, and then go in to Start > MySQL > MySQL Query Browser
Now type "maplestory" in Default Scheme and press OK if you didn't set any password.
If you set a password, type it in the password bar.
In the big window at the top of Query Browser, type these, one by one and press execute on each of them:
PHP:
create table users(ID int auto_increment primary key, username varchar(20), password varchar(20), pin int default 0, gender int default 0, gm int default 0);
create table characters(ID int auto_increment primary key, name varchar(12), userid int, level tinyint unsigned 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 int 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);
create table skills(charid int, skillid int, points int);
PHP:
ALTER TABLE `characters` CHANGE `exp` `exp` BIGINT( 10 ) NULL DEFAULT '0'
Now you're done. You can close Query Browser for the moment.
Step #4 - Configuring and compiling WeedStory
Install VC++, it might take a while, just be patience.
Extract the repack anywhere you like, and open the .sln file (which is the project) with VC++
Now, if you set a password on your MySQL, try to find "MySQLM.cpp" in the bar next to the script window.
You should see this:
PHP:
if(!mysql_real_connect(&maple_db, "localhost", "root", "", "maplestory", 3306, NULL, 0)){ // Set your MySQL password
So, between the empty "", write your password: "mypassword".
Now go to Build > Build Solution.
Wait while it compile, let the server load and you're ready to rock!
Step #5 - Creating an account
To great an account, go to the query browser. Then open the 'user' table and press EDIT.
Now, write your information in every window.
Be sure to put:
gender = 0
pin = 0
GM = 1
Then press save changes.
------------------------
Hope this helped. PLEASE DO NOT PM ME WITH QUESTIONS. WRITE THEM HERE!
Last edited: