Thread: [614] How do i add a shop?

Results 1 to 3 of 3
  1. #1 [614] How do i add a shop? 
    Registered Member DamoRSPS's Avatar
    Join Date
    Feb 2014
    Posts
    192
    Thanks given
    38
    Thanks received
    6
    Rep Power
    12
    Well, i was wondering how i add a shop. Cause when i click on a npc it says, coming up next event. How do i do this?


    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Jan 2014
    Posts
    1,617
    Thanks given
    8
    Thanks received
    196
    Rep Power
    39
    You'll need these files..
    Code:
    • Shopmanager.java
    • Spawnlist.txt,
    • Packets.java(Packet15),
    • Shops.java
    And in Shopmanager.Java add this:
    ShopsTitle.

    Code:
    public Shop getShop(int shopid) {
    		if(ShopManager.StoreOne) {
                    return shops.get(1);
                	} else if (ShopManager.StoreTwo) {
    	                   return shops.get(2);
                    } else if (ShopManager.StoreThree) {
                               return shops.get(3);
            }
    return shop;			
        }
    Just edit the StoreOne/Two/Three.

    Well I hope it helped, and I'm not sure since I haven't worked under 718 revisions.
    Reply With Quote  
     

  3. #3  
    Registered Member DamoRSPS's Avatar
    Join Date
    Feb 2014
    Posts
    192
    Thanks given
    38
    Thanks received
    6
    Rep Power
    12
    Quote Originally Posted by Enth_ View Post
    You'll need these files..
    Code:
    • Shopmanager.java
    • Spawnlist.txt,
    • Packets.java(Packet15),
    • Shops.java
    And in Shopmanager.Java add this:
    ShopsTitle.

    Code:
    public Shop getShop(int shopid) {
    		if(ShopManager.StoreOne) {
                    return shops.get(1);
                	} else if (ShopManager.StoreTwo) {
    	                   return shops.get(2);
                    } else if (ShopManager.StoreThree) {
                               return shops.get(3);
            }
    return shop;			
        }
    Just edit the StoreOne/Two/Three.

    Well I hope it helped, and I'm not sure since I haven't worked under 718 revisions.
    Great!


    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [614] How do i add shops
    By Wulfite in forum Help
    Replies: 2
    Last Post: 11-24-2013, 07:16 PM
  2. Replies: 0
    Last Post: 07-10-2012, 12:07 AM
  3. Replies: 0
    Last Post: 12-26-2011, 02:14 AM
  4. 614, how do i add armour weapons.
    By runescapeniger in forum Help
    Replies: 14
    Last Post: 04-22-2011, 05:08 PM
  5. how do i add new shops
    By Azir in forum Help
    Replies: 0
    Last Post: 11-12-2009, 09:21 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •