Evolution Server
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Evolution Server

This is the official site of Evolution!!!
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log inLog in  

 

 Adding Shops!

Go down 
AuthorMessage
nightleaf
Admin
Admin
nightleaf


Posts : 112
Join date : 2007-08-05
Age : 31
Location : In Evolution

Members
Nightscape 2: = Dead! Evolution Server!!!

Adding Shops! Empty
PostSubject: Adding Shops!   Adding Shops! Icon_minitimeTue Sep 04, 2007 9:32 am

Adding Shops!!!!
This is what I hear people ask for ALL the time you can download Shop Makers and they tell you what to do. But I do it manually the fun way! . So first we open Client.java and then search for


Code:
WanneShop = 2If you dont find it remove the spaces. This is the aurbury magic shop!

Code:
} else if (NPCID == 553) { //Aubury rune shop
               PutNPCCoords = true;
               WanneShop = 2; //Aubury Magic Shop
                   }Now we have the
NPC ID wich and the name of the shop. Now were done with that now we need to go into autospawn.java or .cfg either one. And look for something like Admin Town or High lvl Train or the spot you want the shop to be in. And then we see a bar something like this

Code:
Code:
spawn = 2253   2336   3173   0   0   0   0   0   2   admin town announcer
This controls the NPC like its "walk type" and the "range" of it's walking square. The first number the "2253" thats the NPC ID and there you have ALMOST keyword ALMOST finished your shop. Now comes the tough stuff. Open up shops.cfg and press CTRL+F and put in

Code:
Code:
shop = 2and thats your shop ID it doesn't matter. Now first we put it in this order.

Code:
Code:
//-----ShopID---ShopName----------------------------------------Sell----Buy-----Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount--Item----Amount
Back to top Go down
https://evolutionserver.forumotion.com
 
Adding Shops!
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Evolution Server :: Server Coding-
Jump to: