Thread: Looting Bag interface

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31
  1. #21  
    Registered Member
    Join Date
    Mar 2011
    Posts
    569
    Thanks given
    146
    Thanks received
    65
    Rep Power
    52
    Quote Originally Posted by Psychoactive View Post
    404 Not Found for me.
    Here's a mirror for people that can't download it from uppit like myself
    https://mega.nz/#!edUHAIYC!n5TQbzqfL...GqsJ0Mn8LsvHSc
    Reply With Quote  
     

  2. Thankful users:


  3. #22  
    ¯\_(ツ)_/¯


    Join Date
    Jul 2014
    Posts
    1,803
    Thanks given
    928
    Thanks received
    550
    Rep Power
    299
    Quote Originally Posted by Epoch View Post
    Here's a mirror for people that can't download it from uppit like myself
    https://mega.nz/#!edUHAIYC!n5TQbzqfL...GqsJ0Mn8LsvHSc
    thanks, added link to main post
    Reply With Quote  
     

  4. Thankful user:


  5. #23  
    Banned Looting Bag interface Market Banned

    Join Date
    Jan 2016
    Posts
    117
    Thanks given
    45
    Thanks received
    20
    Rep Power
    0
    Thanks for this man
    Reply With Quote  
     

  6. #24  
    Registered Member
    1210saad's Avatar
    Join Date
    Aug 2013
    Posts
    315
    Thanks given
    39
    Thanks received
    22
    Rep Power
    132
    Off topic question, can u please tell me how you added those hd textures to ur client?
    Attached image
    Reply With Quote  
     

  7. #25  
    ¯\_(ツ)_/¯


    Join Date
    Jul 2014
    Posts
    1,803
    Thanks given
    928
    Thanks received
    550
    Rep Power
    299
    Quote Originally Posted by 1210saad View Post
    Off topic question, can u please tell me how you added those hd textures to ur client?
    I paid Zion to do it.
    Reply With Quote  
     

  8. #26  
    Banned

    Join Date
    Apr 2014
    Posts
    419
    Thanks given
    117
    Thanks received
    56
    Rep Power
    0
    HD textures are not done right, in my opinion.

    OT: Thanks for the release, appreciate it
    Reply With Quote  
     

  9. #27  
    ¯\_(ツ)_/¯


    Join Date
    Jul 2014
    Posts
    1,803
    Thanks given
    928
    Thanks received
    550
    Rep Power
    299
    Quote Originally Posted by Katagon2015 View Post
    HD textures are not done right, in my opinion.

    OT: Thanks for the release, appreciate it
    yeah I noticed that they're weird, idk if it's because we're using older maps, but if tht's not the problem, then gotta get zion to fix them because they're ugly.
    Reply With Quote  
     

  10. #28  
    leme give u some n00ts

    noot noot's Avatar
    Join Date
    Dec 2012
    Posts
    1,186
    Thanks given
    191
    Thanks received
    132
    Rep Power
    409
    yesyesyes
    ty op!
    Attached image
    Spoiler for :

    [Today 05:42 AM] Thakiller: Danced to make us lauigh and put a smile on our faces
    Reply With Quote  
     

  11. Thankful user:


  12. #29  
    Banned

    Join Date
    Jan 2012
    Age
    25
    Posts
    2,703
    Thanks given
    906
    Thanks received
    630
    Rep Power
    0
    Quote Originally Posted by Hitten View Post
    So ya uhm, some guy made a thread saying that he was selling the looting bag interface for $15 (with an extra $25 for server side) and that kind of pissed me off, because this interface is literally like 15 lines of code, and easy to make (took me like 10 mins to get sprites, positioning, etc, and make whole interface). I don't want to see anybody getting ripped off for something so easy to make, so I decided to make the interface and release it. I've also seen a couple of threads asking for the interface, plus his didn't even fit 28 items on the interface. So yeah here it is.

    What you're adding:
    Attached image


    SPRITES DOWNLOAD: Download looting.rar @ UppIT
    Mirror:



    Step 1:
    Download the sprites, and extract the folder inside it (looting) to your sprites folder in your cache.
    It should look like "Cache/Sprites/looting/"



    Step 2:
    In your client files, open RSInterface.java and add this code anywhere you want.
    Code:
    public static void lootingBag(TextDrawingArea[] tda) {
    		RSInterface tab = addInterface(26700);
    		addSprite(26701, 0, "looting/BAG");
    		addHoverButton(26702, "looting/BAG", 1, 16, 16, "Close", 0, 26703, 1);
    		addHoveredButton(26703, "looting/BAG", 2, 16, 16, 26704);
    		addText(26705, "Looting bag", tda, 2, 0xFF9900, true, true);
    		itemGroup(26706, 4, 7, 13, 0, false, true);
    		addText(26707, "Value: 0 coins", tda, 0, 0xFF9900, true, true);
    		tab.totalChildren(6);
    		tab.child(0, 26701, 9, 21);
    		tab.child(1, 26702, 168, 4);
    		tab.child(2, 26703, 168, 4);
    		tab.child(3, 26705, 95, 4);
    		tab.child(4, 26706, 12, 23);
    		tab.child(5, 26707, 95, 250);
    	}

    Step 3:
    In RSInterface.java find

    and under that, add this:
    Code:
    lootingBag(textDrawingAreas);

    Step 4:
    You may need this method to make the interface work, unless you already have it
    Code:
    public static void itemGroup(int id, int w, int h, int x, int y) {
    		RSInterface rsi = addInterface(id);
    		rsi.width = w;
    		rsi.height = h;
    		rsi.inv = new int[w * h];
    		rsi.invStackSizes = new int[w * h];
    		rsi.usableItemInterface = false;
    		rsi.isInventoryInterface = false;
    		rsi.invSpritePadX = x;
    		rsi.invSpritePadY = y;
    		rsi.spritesX = new int[20];
    		rsi.spritesY = new int[20];
    		rsi.sprites = new Sprite[20];
    		rsi.type = 2;
    	}


    So there you go, you now have the looting bag interface.
    The interface ID is 26700.

    To display items on the interface, use packet 34 server sided by doing something like
    Code:
    player.getPA().sendFrame34(26706, itemId, slot, amount);

    Enjoy
    Nice little release, here's a mirror for the files because uppit deletes uploads after a while.

    https://mega.nz/#!ZN1ihJxB!7lhijL1GI...CAOyE9_BLhZmuc

    Edit: didn't realise someone already made a mirror lol, oh well more the merrier
    Reply With Quote  
     

  13. Thankful user:


  14. #30  
    Professional Lurker
    null's Avatar
    Join Date
    Mar 2017
    Posts
    121
    Thanks given
    15
    Thanks received
    31
    Rep Power
    67
    itemGroup(26706, 4, 7, 13, 0, false, true);
    at the end there are 2 booleans given
    but the x and y are ints:
    public static void itemGroup(int id, int w, int h, int x, int y)
    mind telling me what the sprite padding should be?
    Reply With Quote  
     

Page 3 of 4 FirstFirst 1234 LastLast

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. Buying Rune pouch interface
    By Someone in forum Buying
    Replies: 2
    Last Post: 06-13-2015, 06:22 PM
  2. Money pouch interface id
    By Andy in forum Requests
    Replies: 1
    Last Post: 04-20-2012, 03:14 PM
  3. need a pouch interface paying
    By Gio33n in forum Buying
    Replies: 1
    Last Post: 01-31-2012, 10:17 PM
  4. Replies: 1
    Last Post: 01-03-2012, 10:48 PM
  5. Create pouch interface
    By Valkrion in forum Requests
    Replies: 4
    Last Post: 12-31-2011, 11:23 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •