PDA

View Full Version : [317] Adding Shops to your Server [317] C&P



Xdragon
June 21st, 2010, 14:24
First open Client.java
Search for wanneshop
Until u find a thing like this :

if(NPCID == 710){
PutNPCCoords = true;
WanneShop = 5;
}

Under the last }
add this :

if(NPCID == $$$$){
PutNPCCoords = true;
WanneShop = @@;
}

Replace the $$$$ whith a npc id
Replace the @@ whith a Shop id [ Do it 60 if u want to be sure its good ]
Now save and go to your Config folder and open Shops.cfg
Scroll down add under the last shop this :

shop = 60 @gre@Shop name 2 2 35 10
The red one means : if you can sell it back or not
1 1 means you can sell it back
2 2 means you cant sell it back
the green one is the item ID u want to be in the shop
The magenta one is the Amoun of the item in the shop
U can add more item in it do at the last item : TAB dan enter a item id and then press tab again and typ the Amount of the item

Save&Compile and ur done
Have fun!

h1 sk1ller
June 22nd, 2010, 04:43
Lol Nice But I Think Everyone Knew This...

XxBryantD
June 22nd, 2010, 05:07
lol good job

Xdragon
June 22nd, 2010, 15:02
Its for the beginners lol Some beginner dont know what to do so they search here lol like i did 4 months ago

Dark bow199
June 27th, 2010, 17:47
Gd job

Perlisos
June 27th, 2010, 19:51
Lol im not noobish for first :p but im usign Emulous 1.7 Crash-Patched and i cant find "wanneshop" in client.java i dont even think this source really uses it.

jaska99
July 23rd, 2010, 10:14
How do i make shops at deltaclean i were cant find
if(NPCID == 710){
PutNPCCoords = true;
WanneShop = 5;
} someone please help?

darkvador317
July 25th, 2010, 23:28
jaska99 i think you might have a firstnpcclick.java or a secondnpcclick.java like i do, maybe try looking for it thats what i have.