Adding shops =D
2 posters
Phailscape :: Tutorials :: Servers
Page 1 of 1
Adding shops =D
Open your autospawn.cfg and add this for just a test thing
then open shop.cfg and add
Shop = ## Fill in the number that you want in. Make sure other shops do not have this number.
2 and the other 2 Make sure you have this so you can be able to sell and buy from the shop.
ID This is the identification number of the weapon, armour , food , or anything else you could think of.
Amount Amount is how much you want that number to be in there. For example
Open client.java and search for "case 17: //second Click npc" and under it add
NPCID == ## This is from when you added the npc to be the shop owner in the autospawn.cfg. For example that NPC = 460.
WanneShop = ## This is very important....If you mess up on a number it will open another shop no doubt. You must copy the shop number that you made and replace it with ##. If you made the shop number 40 you put 40 in there.
hope that works =D post errors!
spawn = 460 3250 3433 0 3235 3421 3235 3421 2 Shop Tester
then open shop.cfg and add
shop = ## Description 2 2 ID Amount ID Amount
Shop = ## Fill in the number that you want in. Make sure other shops do not have this number.
2 and the other 2 Make sure you have this so you can be able to sell and buy from the shop.
ID This is the identification number of the weapon, armour , food , or anything else you could think of.
Amount Amount is how much you want that number to be in there. For example
1050(santa id) 1000(how manny santa's in shop)
Open client.java and search for "case 17: //second Click npc" and under it add
} else if (NPCID == ##) {
PutNPCCoords = true;
WanneShop = ##;
NPCID == ## This is from when you added the npc to be the shop owner in the autospawn.cfg. For example that NPC = 460.
WanneShop = ## This is very important....If you mess up on a number it will open another shop no doubt. You must copy the shop number that you made and replace it with ##. If you made the shop number 40 you put 40 in there.
hope that works =D post errors!
Mysticpkz- Forum Moderator
- Posts : 137
Join date : 2008-03-13
Age : 30
Location : Netherlands!
Re: Adding shops =D
haha nice
savage- Moderator
- Posts : 347
Join date : 2008-03-12
Age : 31
Location : USA FTW!!!
Re: Adding shops =D
thanks =D
Mysticpkz- Forum Moderator
- Posts : 137
Join date : 2008-03-13
Age : 30
Location : Netherlands!
Similar topics
» Adding Objects
» Adding requirements to wield something!
» Adding stats to items!
» Adding godsword smithing!
» Adding full brimhaven dungeon! TOOK A LONG TIME!
» Adding requirements to wield something!
» Adding stats to items!
» Adding godsword smithing!
» Adding full brimhaven dungeon! TOOK A LONG TIME!
Phailscape :: Tutorials :: Servers
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum