UmagChris
Active Member
How to make a shop of your own (No editing old shops needed!)
By UmagGoose!
Difficulty - 0.1 ( 5 for newcomers )
Firstly open your shops.cfg file (use notepad if your new)
There will be 42 shops, the last one being the Pure_Shop (varies from source to source)
Example -
This shop is currently the last shop, to make another shop place it between this shop and the - [ENDOFSHOPLIST]
Just to show you how it would work
//-----ShopID---ShopName----------------------------------------Sell----Buy-----Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item
shop = 43 Example Shop 2 2 Item1 Amount Item2 Amount Item3 Amount ( ETCETRA! )
Pretty self explanatory. Im sure you will have the hang of this in about 20 seconds lol.
Step 2. Now you need an npc to own that shop, open up autospawn.cfg and select an npc (from ids) and state this -
--Height-- ? what is this?
Height is the level that the npc will spawn at
0 = normal 1 = one up 2= two up and etc
Ok.. Now that we have that spawned we need to tell the client.java how to accept this shop, for this shop we will need to do this
The End!
Have fun making your own shops
By UmagGoose!
Difficulty - 0.1 ( 5 for newcomers )
Firstly open your shops.cfg file (use notepad if your new)
There will be 42 shops, the last one being the Pure_Shop (varies from source to source)
Example -
Code:
shop = 42 Pure_Shop 2 2 6109 100 6107 100 6108 100 6111 100 4587 1000 7458 250 1115 120 1152 120 544 100 542 100 4151 100 3852 100 5574 200 5575 200 5576 200
This shop is currently the last shop, to make another shop place it between this shop and the - [ENDOFSHOPLIST]
Just to show you how it would work
//-----ShopID---ShopName----------------------------------------Sell----Buy-----Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item
shop = 43 Example Shop 2 2 Item1 Amount Item2 Amount Item3 Amount ( ETCETRA! )
Pretty self explanatory. Im sure you will have the hang of this in about 20 seconds lol.
Step 2. Now you need an npc to own that shop, open up autospawn.cfg and select an npc (from ids) and state this -
Code:
//------NpcID---CoordX--CoordY--Height--RangeX1-RangeY1-RangeX2-RangeY2-WalkType-Descrption
spawn = 1 2916 3147 0 0 0 0 0 1 A simple man spawn
Npc Number X Coord Y Coord
--Height-- ? what is this?
Height is the level that the npc will spawn at
0 = normal 1 = one up 2= two up and etc
Ok.. Now that we have that spawned we need to tell the client.java how to accept this shop, for this shop we will need to do this
Code:
else if (NPCID == 1) { // Shops by Umaggoose
PutNPCCoords = true;
WanneShop = 1; // This is the shop number, this tells the client java to open shop one with monster spawn one!
} // Of course, if theres an opening bracket make sure to close it!
The End!
Have fun making your own shops


