[TUT] How to add your first Shops

Discussion in 'Archives' started by UmagChris, May 27, 2007.

[TUT] How to add your first Shops
  1. Unread #1 - May 27, 2007 at 4:31 AM
  2. UmagChris
    Joined:
    Mar 13, 2007
    Posts:
    135
    Referrals:
    0
    Sythe Gold:
    0

    UmagChris Active Member

    [TUT] How to add your first Shops

    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 -
    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
     
  3. Unread #2 - May 27, 2007 at 2:30 PM
  4. Pimpinballa
    Joined:
    Apr 28, 2007
    Posts:
    915
    Referrals:
    0
    Sythe Gold:
    0

    Pimpinballa The Magician
    Banned

    [TUT] How to add your first Shops

    Nice lttle guide.
     
  5. Unread #3 - May 28, 2007 at 8:02 PM
  6. dbmain
    Referrals:
    0

    dbmain Guest

    [TUT] How to add your first Shops

    edited yeah i know that now i just downloaded testscape and this wont work. i try to add the shops every thing compiles and wen i start the server everything will be there i have the santa ready but nothing will happon.
     
  7. Unread #4 - May 29, 2007 at 5:28 AM
  8. UmagChris
    Joined:
    Mar 13, 2007
    Posts:
    135
    Referrals:
    0
    Sythe Gold:
    0

    UmagChris Active Member

    [TUT] How to add your first Shops

    you cant add shops to a default hybridscape

    you must firstly download a client like CheezScape, TestScape, Pimpscape etc. Theres plenty to choose from
     
< selling lvl 42 with 81 mage and 10hp!!!! | buying lvl 90+main requirements inside >

Users viewing this thread
1 guest


 
 
Adblock breaks this site