Thread: Help

Results 1 to 6 of 6
  1. #1 Help 
    Registered Member Chris_'s Avatar
    Join Date
    Sep 2012
    Posts
    65
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    What file do i have to look in to change sell 10 to sell 50
    Owner Of SeenScape

    Reply With Quote  
     

  2. #2  
    Extreme Donator

    Join Date
    Aug 2012
    Posts
    243
    Thanks given
    105
    Thanks received
    34
    Rep Power
    41
    Try BankX1.java

    Look for something like this:
    Code:
    if (c.xInterfaceId == 3900) {
    			c.getShops().buyItem(c.xRemoveId, c.xRemoveSlot, 20);// buy 20
    			c.xRemoveSlot = 0;
    			c.xInterfaceId = 0;
    			c.xRemoveId = 0;
    			return;
    		}
    Add this underneath:
    Code:
    if (c.xInterfaceId == 3823) {
    		       c.getShops().sellItem(c.xRemoveId, c.xRemoveSlot, 50);// sell 50
    		       c.xRemoveSlot = 0;
    		       c.xInterfaceId = 0;
    		       c.xRemoveId = 0;
    		       return;
    		}
    See if that works.
    Reply With Quote  
     

  3. #3  
    Registered Member Chris_'s Avatar
    Join Date
    Sep 2012
    Posts
    65
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Hurtz View Post
    Try BankX1.java

    Look for something like this:
    Code:
    if (c.xInterfaceId == 3900) {
    			c.getShops().buyItem(c.xRemoveId, c.xRemoveSlot, 20);// buy 20
    			c.xRemoveSlot = 0;
    			c.xInterfaceId = 0;
    			c.xRemoveId = 0;
    			return;
    		}
    Add this underneath:
    Code:
    if (c.xInterfaceId == 3823) {
    		       c.getShops().sellItem(c.xRemoveId, c.xRemoveSlot, 50);// sell 50
    		       c.xRemoveSlot = 0;
    		       c.xInterfaceId = 0;
    		       c.xRemoveId = 0;
    		       return;
    		}
    See if that works.
    I meant when you right click on a item in the shop interface it say "sell 10" how do i change the text?
    Owner Of SeenScape

    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2010
    Posts
    640
    Thanks given
    73
    Thanks received
    47
    Rep Power
    54
    Quote Originally Posted by Chris_ View Post
    I meant when you right click on a item in the shop interface it say "sell 10" how do i change the text?
    client & server sided
    Reply With Quote  
     

  5. #5  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    You can add the option to the actions array of the parent interface.

    Code:
    if (rsInterface.parentID == INTERFACE_ID_HERE)
    	rsInterface.actions[ACTION_INDEX] = "Sell 10";
    Reply With Quote  
     

  6. #6  
    GooRoo
    Guest
    RsInterface.java
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •