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] All 62 Shop NPC's (Rev7)

Junior Spellweaver
Joined
Mar 22, 2008
Messages
139
Reaction score
5
The one that toxicwind posted, never worked for me, but this is garanteed to work.

XML files are at the bottom

Go to NPCsScripts.h and add this:

Code:
static void npc_1011000(NPC* npc);
static void npc_1011100(NPC* npc);
static void npc_22000(NPC* npc);
static void npc_9201001(NPC* npc);
static void npc_1012004(NPC* npc);
static void npc_1021100(NPC* npc);
static void npc_1001100(NPC* npc);
static void npc_1051002(NPC* npc);
static void npc_1061001(NPC* npc);
static void npc_1061002(NPC* npc);
static void npc_2041006(NPC* npc);
static void npc_2060004(NPC* npc);
static void npc_2012005(NPC* npc);
static void npc_1051000(NPC* npc);
static void npc_9201020(NPC* npc);
static void npc_2041002(NPC* npc);
static void npc_2041003(NPC* npc);
static void npc_9110003(NPC* npc);
static void npc_9110004(NPC* npc);
static void npc_9110005(NPC* npc);
static void npc_9110006(NPC* npc);
static void npc_9110007(NPC* npc);
static void npc_1021000(NPC* npc);
static void npc_1021001(NPC* npc);
static void npc_1051001(NPC* npc);
static void npc_1031000(NPC* npc);
static void npc_1031100(NPC* npc);
static void npc_2070003(NPC* npc);
static void npc_2090001(NPC* npc);
static void npc_9201058(NPC* npc);
static void npc_9201060(NPC* npc);
static void npc_9201059(NPC* npc);
static void npc_1031001(NPC* npc);
static void npc_1012103(NPC* npc);
static void npc_1012104(NPC* npc);
static void npc_1052100(NPC* npc);
static void npc_1052101(NPC* npc);
static void npc_2041007(NPC* npc);
static void npc_2041009(NPC* npc);
static void npc_1012105(NPC* npc);
static void npc_1052004(NPC* npc);
static void npc_1052005(NPC* npc);
static void npc_2041013(NPC* npc);
static void npc_2041010(NPC* npc);
static void npc_2010002(NPC* npc);
static void npc_2012008(NPC* npc);
static void npc_2010001(NPC* npc);
static void npc_2012007(NPC* npc);
static void npc_11000(NPC* npc);
static void npc_11100(NPC* npc);
static void npc_21000(NPC* npc);
static void npc_2070001(NPC* npc);
static void npc_2070002(NPC* npc);
static void npc_2090002(NPC* npc);
static void npc_2090003(NPC* npc);
static void npc_1081000(NPC* npc);
static void npc_1011001(NPC* npc);
static void npc_1001000(NPC* npc);
static void npc_1001001(NPC* npc);
static void npc_2022001(NPC* npc);
static void npc_2020001(NPC* npc);
static void npc_2022000(NPC* npc);
static void npc_2060003(NPC* npc);
static void npc_2060007(NPC* npc);
static void npc_2050000(NPC* npc);
static void npc_2050003(NPC* npc);
static void npc_2051000(NPC* npc);
static void npc_2012003(NPC* npc);
static void npc_2012004(NPC* npc);
static void npc_2093000(NPC* npc);
static void npc_2093002(NPC* npc);
static void npc_2093001(NPC* npc);
static void npc_2080002(NPC* npc);
static void npc_2080001(NPC* npc);
static void npc_1023104(NPC* npc);
static void npc_1032103(NPC* npc);
static void npc_2022002(NPC* npc);
static void npc_2041016(NPC* npc);
static void npc_2040049(NPC* npc);
static void npc_2030009(NPC* npc);
static void npc_1052104(NPC* npc);

Under:
Code:
static void npc_9900000(NPC* npc);

Still in NPCsScripts.h add(Only do this if you hav'nt already):
Code:
case 11000: npc_11000(npc); break; // Sid - Amherst Weapon Store (1010001)
case 11100: npc_11100(npc); break; // Lucy - Amherst Department Store (1010003)
case 21000: npc_21000(npc); break; // Pan - Southperry Armor Store (60001)
case 9201020: npc_9201020(npc); break; // Vivian Boutique - Amoria Wedding Shop (680000001)
case 2070003: npc_2070003(npc); break; // Dori - Korean Folk Town (222000000)
case 2070001: npc_2070001(npc); break; // Bung's Mama - Korean Folk Town (222000000)
case 2070002: npc_2070002(npc); break; // Moki - Korean Folk Town (222000000)
case 2041002: npc_2041002(npc); break; // Hid - Ludibrium Weapon Store (220000001)
case 2041003: npc_2041003(npc); break; // Miru - Ludibrium Weapon Store (220000001)
case 2041006: npc_2041006(npc); break; // Misky - Ludibrium Pharmacy (220000002)
case 2090002: npc_2090002(npc); break; // Bidiwon - Mu Lung (250000000)
case 2090001: npc_2090001(npc); break; // Gong Gong - Mu Lung (250000000)
case 2090003: npc_2090003(npc); break; // Dalsuk - Mu Lung Department Store (250000002)
case 9110003: npc_9110003(npc); break; // Janken - Mushroom Shrine (800000000)
case 9110004: npc_9110004(npc); break; // Taru - Mushroom Shrine (800000000)
case 9110005: npc_9110005(npc); break; // Bronze - Mushroom Shrine (800000000)
case 9110006: npc_9110006(npc); break; // Jin Jia - Mushroom Shrine (800000000)
case 9110007: npc_9110007(npc); break; // Robo - Mushroom Shrine (800000000)
case 9201058: npc_9201058(npc); break; // Delphi - New Leaf City - Town Center (600000000)
case 9201059: npc_9201059(npc); break; // Kyle - New Leaf City - Town Center (600000000)
case 9201060: npc_9201060(npc); break; // Miki - New Leaf City - Town Center (600000000)
case 1061001: npc_1061001(npc); break; // 24 Hr Mobile Store - Ant Tunnel Park (105070001)
case 1031000: npc_1031000(npc); break; // Flora the Fairy - Ellinia Weapon Store (101000001)
case 1031001: npc_1031001(npc); break; // Serabi the Fairy - Ellinia Weapon Store (101000001)
case 1031100: npc_1031100(npc); break; // Len the Fairy - Ellinia Department Store (101000002)
case 1081000: npc_1081000(npc); break; // Valen - Florina Beach (110000000)
case 1011000: npc_1011000(npc); break; // Karl - Henesys Weapon Store (100000101)
case 1011001: npc_1011001(npc); break; // Sam - Henesys Weapon Store (100000101)
case 1011100: npc_1011100(npc); break; // Luna - Henesys Department Store (100000102)
case 1051000: npc_1051000(npc); break; // Cutthroat Manny - Kerning City Self-Defence Item Store (103000001)
case 1051001: npc_1051001(npc); break; // Don Hwang - Kerning City Self-Defence Item Store (103000001)
case 1051002: npc_1051002(npc); break; // Dr. Faymus - Kerning City Pharmacy (103000002)
case 1001000: npc_1001000(npc); break; // Silver - Lith Harbor Weapon Shop (104000003)
case 1001001: npc_1001001(npc); break; // Natasha - Lith Harbor Armor Shop (104000001)
case 1001100: npc_1001100(npc); break; // Mina - Lith Harbor Department Store (104000002)
case 1021000: npc_1021000(npc); break; // River - Perion Weapon Store (102000001)
case 1021001: npc_1021001(npc); break; // Harry - Perion Weapon Store (102000001)
case 1021100: npc_1021100(npc); break; // Arturo - Perion Department Store (102000002)
case 1061002: npc_1061002(npc); break; // Mr. Sweatbottom - Regular Sauna (105040401)
case 2022001: npc_2022001(npc); break; // Hana - El Nath Department Store (211000102)
case 2020001: npc_2020001(npc); break; // Scott - El Nath Weapon Store (211000101)
case 2022000: npc_2022000(npc); break; // Rumi - El Nath Weapon Store (211000101)
case 2060004: npc_2060004(npc); break; // Oannes - Department Store (230000002)
case 2060003: npc_2060003(npc); break; // Melias - Department Store (230000002)
case 2060007: npc_2060007(npc); break; // Calypso - Department Store (230000002)
case 2050000: npc_2050000(npc); break; // Dr. San - Silo (221000200)
case 2050003: npc_2050003(npc); break; // Spacen - Silo (221000200)
case 2051000: npc_2051000(npc); break; // Dr. Pepper - Silo (221000200)
case 2012003: npc_2012003(npc); break; // Neri the Fairy - Orbis Weapon Store (200000001)
case 2012004: npc_2012004(npc); break; // Nuri the Fairy - Orbis Weapon Store (200000001)
case 2012005: npc_2012005(npc); break; // Edel the Fairy - Orbis Department Store (200000002)
case 2093000: npc_2093000(npc); break; // Mu Tan - Herb Town (251000000)
case 2093002: npc_2093002(npc); break; // Lan Ming - Herb Town (251000000)
case 2093001: npc_2093001(npc); break; // So Won - Herb Town (251000000)
case 2080002: npc_2080002(npc); break; // Max - Leafre (240000000)
case 2080001: npc_2080001(npc); break; // Sly - Department Store (240000002)
case 1052104: npc_1052104(npc); break; // Tulcus - The Swamp of Despair II (107000100)
case 1032103: npc_1032103(npc); break; // El Moth - The Tree That Grew III (101010102)
case 2022002: npc_2022002(npc); break; // Barun - Orbis Tower <14th Floor> (200080800)
case 2041016: npc_2041016(npc); break; // Vega - Eos Tower 44th Floor (221022000)
case 2040049: npc_2040049(npc); break; // Gumball Machine - Eos Tower 26th ~ 40th Floor (221021600)
case 2030009: npc_2030009(npc); break; // Glibber - Ice Valley II (211040200)

Under:
Code:
case 9900000: npc_9900000(npc); break;

Go to NPCShops.cpp(Or where ever you put your NPC shops) and replace whatever you have with this:

Code:
void NPCsScripts::npc_9201020(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2041002(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2041006(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2041003(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_9110003(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_9110005(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_9110007(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_9110004(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_9110006(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1061002(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1021000(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1021001(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1051001(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1031000(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1031100(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1031001(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2070003(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2090001(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2012005(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_9201058(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_9201060(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_9201059(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
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();
}
void NPCsScripts::npc_1012004(NPC* npc){
int state = npc->getState();
if(state == 0){
npc->showShop();
}
npc->end();
}
 
void NPCsScripts::npc_1011100(NPC* npc){
int state = npc->getState();
if(state == 0){
npc->showShop();
}
npc->end();
}
void NPCsScripts::npc_1011000(NPC* npc){
int state = npc->getState();
if(state == 0){
npc->showShop();
}
npc->end();
}
void NPCsScripts::npc_1021100(NPC* npc){
int state = npc->getState();
if(state == 0){
npc->showShop();
}
npc->end();
}
void NPCsScripts::npc_1001100(NPC* npc){
int state = npc->getState();
if(state == 0){
npc->showShop();
}
npc->end(); 
}
void NPCsScripts::npc_1051002(NPC* npc){
int state = npc->getState();
if(state == 0){
npc->showShop();
}
npc->end();
}
void NPCsScripts::npc_1061001(NPC* npc){
int state = npc->getState();
if(state == 0){
npc->showShop();
}
npc->end();
}
 
void NPCsScripts::npc_2060004(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2030009(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2040049(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2041016(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2022002(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1032103(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1052104(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2080001(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2080002(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2093001(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2093002(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2093000(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2012004(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2012003(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2051000(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2050003(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2050000(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2060007(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2060003(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2022000(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2020001(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2022001(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();
}
void NPCsScripts::npc_1001000(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1051000(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1011001(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_1081000(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2090003(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2090002(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2070002(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}
void NPCsScripts::npc_2070001(NPC* npc){
int state = npc->getState();
if(state == 0){ 
npc->showShop(); 
}
npc->end();
}


Credits to me for coding the shops
Credits to toxicwind for making the case IDs
 

Attachments

You must be registered for see attachments list
Experienced Elementalist
Joined
Dec 7, 2006
Messages
294
Reaction score
0
toxicwind's is working just fine for rev 007...
 
Junior Spellweaver
Joined
Mar 22, 2008
Messages
139
Reaction score
5
never worked for me...

the kerning shops were messed up
 
Newbie Spellweaver
Joined
Apr 3, 2009
Messages
71
Reaction score
0
Where can I find my NPCsScripts.h and NPCShops.cpp? I'm using ThePack II v3.
 
Back
Top