##################################################
Again a shop package of me!
I know... It's not that great, but anyway I hope you like it. :)
What does this thing include:
Lith Harbor - Potion Shop
Lith Harbor - Weapon Shop
Lith Harbor - Armor Shop
Here's a little guide.
1) Download this .zip file with 3 XML files in it. [Click]
2) Extract it, and place the XML files in the MapleStoryServer/Shops map.
3) Open the page NPCsScripts.h
Add this:
And this:Code:case 1001000: npc_1001000(npc); break; case 1001001: npc_1001001(npc); break; case 1001100: npc_1001100(npc); break;
4) Open MapleIsland.cpp, and add the following code somewhere.Code:static void npc_1001000(NPC* npc); static void npc_1001001(NPC* npc); static void npc_1001100(NPC* npc);
It doesn't matter where, as long it's not in another NPC o.O"
Good luck,Code:// LITH HARBOUR - DEPARTMENT STORE void NPCsScripts::npc_1001100(NPC* npc){ int state = npc->getState(); if(state == 0){ npc->showShop(); } npc->end(); } // LITH HARBOUR - WEAPON & ARMOR SHOP void NPCsScripts::npc_1001000(NPC* npc){ int state = npc->getState(); if(state == 0){ npc->showShop(); } npc->end(); } void NPCsScripts::npc_1001001(NPC* npc){ int state = npc->getState(); if(state == 0){ npc->showShop(); } npc->end(); }
Hope ya like it!
##################################################




Reply With Quote


