URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       Xydia V2.0
  HTML https://xydia.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Programming
       *****************************************************
       #Post#: 1301--------------------------------------------------
       Beginner Delta Tutorial - How To add a shop to your game #2
   DIR By: Dan
       Date: August 14, 2012, 10:48 pm
       ---------------------------------------------------------
       Difficulty: 1/10
       Credits: 100% me
       This is very easy, but it does come in handy.
       Open up client.java
       Search: Zeke
       you will see something like this:
       --- Code ---
       } else if (NPCID == 519) {
       PutNPCCoords = true;
       WanneShop = 26;
       --- End Code ---
       Now Copy And Paste it and put the NPCID to whichever npc you
       want but it must have a trade option on them. And For the
       --- Code ---
       wanneshop = 26;
       --- End Code ---
       Change the 26 to a number that hasn't been used for a
       wanneshop.
       Now save and close
       Go to config and open up shops.cfg
       Now you should have codes like this:
       --- Code ---
       shop = 9
       --- End Code ---
       Okay Change the
       --- Code ---
       shop = 9
       --- End Code ---
       to
       --- Code ---
       shop = WHATEVER YOU SET THE WANNESHOP ID NUMBER TOO
       --- End Code ---
       . Now for Varrock_Swordshop change it to whatever title you
       want, now don't worry about the two 2's and the
       --- Code ---
       4161
       --- End Code ---
       is an item id. Change that to whatever item you want to be sold
       in the shop and the
       --- Code ---
       500
       --- End Code ---
       is the amount that you want to put in the shop. You can keep
       adding these.
       Thanks
       Dan
       #Post#: 1311--------------------------------------------------
       Re: Beginner Delta Tutorial - How To add a shop to your game #2
   DIR By: Colotsalot
       Date: August 15, 2012, 12:16 pm
       ---------------------------------------------------------
       oooooo... i like this... Now i know how to add a shop!
       Thanks sooo much... even though all of this is pretty simple.
       *****************************************************
       Page 1 of 1