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!

[Release] MapleIsland Shops

Newbie Spellweaver
Joined
Apr 4, 2008
Messages
50
Reaction score
0
DragonEyes - [Release] MapleIsland Shops - RaGEZONE Forums

##################################################
Hey, I just made the shops in MapleIsland.
All items are the same as GMS/EMS/...
In total there are 3 shops.

Amherst - Potion Shop
Amherst - Weapon Shop
Southperry - Armor Shop

Here's a little guide.

1) Download this .zip file with 3 XML files in it. [ ]
2) Extract it, and place the XML files in the MapleStoryServer/Shops map.
3) Open the page NPCsScripts.h
Add this:
Code:
            case 11000: npc_11000(npc); break;
            case 11100: npc_11100(npc); break;
            case 21000: npc_21000(npc); break;

And this:
Code:
    static void npc_11000(NPC* npc);
    static void npc_11100(NPC* npc);
    static void npc_21000(NPC* npc);
4) Open MapleIsland.cpp, and add the following code somewhere.
It doesn't matter where, as long it's not in another NPC o_O"
Code:
void NPCsScripts::npc_11000(NPC* npc){
    int state = npc->getState();
    if(state == 0){
        npc->showShop();
    }
    npc->end();
}
void NPCsScripts::npc_11100(NPC* npc){
    int state = npc->getState();
    if(state == 0){
        npc->showShop();
    }
    npc->end();
}
void NPCsScripts::npc_21000(NPC* npc){
    int state = npc->getState();
    if(state == 0){
        npc->showShop();
    }
    npc->end();
}

Good luck,
Hope ya like it!

##################################################
 
Junior Spellweaver
Joined
Oct 31, 2006
Messages
104
Reaction score
0
Wow. Nice job. are they selling the same items?
 
Newbie Spellweaver
Joined
Apr 4, 2008
Messages
50
Reaction score
0
Yup, the same as in GlobalMS ^^
Same items, same prices.
 
Experienced Elementalist
Joined
May 28, 2007
Messages
264
Reaction score
2
Nice. I was gona do. but i guess not. Im gona release my shop now =]
 
Junior Spellweaver
Joined
Oct 31, 2006
Messages
104
Reaction score
0
could you release pills from ludibrium and make it cheap please?
 
Newbie Spellweaver
Joined
Mar 13, 2007
Messages
53
Reaction score
0
Hey this is great, can you code the NPC to get out of Maple Island aswell as taxi's. Greatly appreciated.
 
Master Summoner
Joined
Apr 2, 2008
Messages
538
Reaction score
0
what about release all stores :p btw...how do you fix NPCing, your item just duplicates when you try to sell.
 
Newbie Spellweaver
Joined
May 18, 2006
Messages
74
Reaction score
0
it doesn't work for me. i just added those strings at the end of files but during building it give me error.
 
Newbie Spellweaver
Joined
Mar 30, 2007
Messages
52
Reaction score
0
how do i fix error on the building part?
 
Newbie Spellweaver
Joined
Jun 7, 2004
Messages
23
Reaction score
0
where do u get the maple island npc codes?but thanks
 
Newbie Spellweaver
Joined
Apr 4, 2008
Messages
13
Reaction score
0
where do i put
case 11000: npc_11000(npc); break;
case 11100: npc_11100(npc); break;
case 21000: npc_21000(npc); break;

help plox :(
 
Newbie Spellweaver
Joined
May 18, 2006
Messages
74
Reaction score
0
ok now it work great job :D

@ haris182: see in the file there are others "case", search for it and then put those strings under other cases ;)
 
Initiate Mage
Joined
Mar 21, 2008
Messages
2
Reaction score
0
I carnt seem to get it to work! I even tried the mapleisland one! Its not working! When i double click cody or the armor store or w.e it just wont open!
 
Newbie Spellweaver
Joined
Dec 23, 2006
Messages
57
Reaction score
0
cody is no shop >.>
and only 3 shops are working

Amherst - Potion Shop
Amherst - Weapon Shop
Southperry - Armor Shop
 
Back
Top