Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Web [Tut] Setup WeedStory Repack

Status
Not open for further replies.
Banned
Banned
Joined
Oct 19, 2006
Messages
400
Reaction score
1
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:


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);
And this one for a bug I fixed:
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:
Newbie Spellweaver
Joined
Sep 3, 2007
Messages
12
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

lawl you forgot gm in the table
 
Initiate Mage
Joined
Apr 11, 2008
Messages
2
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

btw what version of maplestory does it need?
 
Initiate Mage
Joined
Apr 11, 2008
Messages
2
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

ow sorry i found it patch v.53
 
Junior Spellweaver
Joined
Apr 4, 2007
Messages
164
Reaction score
2
Re: [GUIDE] Setup WeedStory Repack

Hey
Im trying to make 1000x exp so i did this line:
Levels::giveEXP(player, mobinfo[mob->getMobID()].exp *1000 player->getLevel() + 10);
So when im rebuilding it i get this errors:
3>d:\weedstory_0.0.1\maplestoryserver\mobs.cpp(127 ) : error C2146: syntax error : missing ')' before identifier 'player'
3>d:\weedstory_0.0.1\maplestoryserver\mobs.cpp(127 ) : error C2059: syntax error : ')'
Can you help me please?
Thanks.
 
Junior Spellweaver
Joined
Dec 22, 2006
Messages
124
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

nice ,
altho this is exacly the same as a normal setup guide :p
 
Banned
Banned
Joined
Oct 19, 2006
Messages
400
Reaction score
1
Re: [GUIDE] Setup WeedStory Repack

It's not. "The normal" setup guide is outdated as f*ck..
 
Initiate Mage
Joined
Apr 10, 2008
Messages
2
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

noob question, why does it always say that project is out of date, Debug Win32? -.-
 
Banned
Banned
Joined
Oct 19, 2006
Messages
400
Reaction score
1
Re: [GUIDE] Setup WeedStory Repack

Because you edited a file, and it want to re-compile the updates. Don't worry, it's no error.
 
Newbie Spellweaver
Joined
Apr 5, 2008
Messages
5
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

Its a great repack, and I plan to use it, its just that the !cashshop command brings up "Vector is out of range" error and basically freezes the client. Do you think its just me? o.o
 
Initiate Mage
Joined
Apr 10, 2008
Messages
2
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

Didn't edit anything, followed your guide step by step, i tryed again and get the same error :I
 
Newbie Spellweaver
Joined
Sep 3, 2007
Messages
12
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

Its a good repack anyway
 
Newbie Spellweaver
Joined
Apr 6, 2008
Messages
13
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

Hey
Im trying to make 1000x exp so i did this line:
Levels::giveEXP(player, mobinfo[mob->getMobID()].exp *1000 player->getLevel() + 10);
So when im rebuilding it i get this errors:
3>d:\weedstory_0.0.1\maplestoryserver\mobs.cpp(127 ) : error C2146: syntax error : missing ')' before identifier 'player'
3>d:\weedstory_0.0.1\maplestoryserver\mobs.cpp(127 ) : error C2059: syntax error : ')'
Can you help me please?
Thanks.
Its "Levels::giveEXP(player, mobinfo[mob->getMobID()].exp *player->getLevel() + 1000);"
 
Newbie Spellweaver
Joined
Apr 5, 2008
Messages
10
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

i get same problem i can't put two 0 in the users table...
 
Newbie Spellweaver
Joined
Apr 6, 2008
Messages
12
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

What npc gives 1th job and 2th job and 3th job?
 
Newbie Spellweaver
Joined
Apr 5, 2008
Messages
10
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

my error come from here :

mrow = mysql_fetch_row(mres);
if(mrow){
return 1;
}
return 0;

... At mysql i enter put my acc press enter it automatically minimize and say that the error is in thet
( mrow = mysql_fetch_row(mres);
if(mrow){
return 1;
}
return 0; )
 
Newbie Spellweaver
Joined
Mar 24, 2006
Messages
93
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

Crashes when you try to use a scroll
Crashes when you try to open the !cashshop
 
Newbie Spellweaver
Joined
Oct 11, 2007
Messages
23
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

wtf??? i get Access Denied when it is intiallizing the Mysql.cpp file
 
Junior Spellweaver
Joined
Feb 4, 2007
Messages
136
Reaction score
0
Re: [GUIDE] Setup WeedStory Repack

Crashes when you try to use a scroll
Crashes when you try to open the !cashshop

Yeah, maybe someone forgot to put a break in there.. ^^'
Anyway, its working for me now. Only needed a few minor adjustment.
 
Status
Not open for further replies.
Back
Top