Thread: Rune pouch

Results 1 to 5 of 5
  1. #1 Rune pouch 
    Registered Member
    Join Date
    Aug 2012
    Posts
    52
    Thanks given
    3
    Thanks received
    0
    Rep Power
    11
    Hello, I'm using Ascend source.
    Anybody know how to fix rune pouch, If any1 adds more than 1000 runes it deletes them all.

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    WhiteDownMb | HYBRID JEFE

    Join Date
    Dec 2009
    Posts
    1,872
    Thanks given
    269
    Thanks received
    395
    Rep Power
    1276
    show gif exactly

    All of humanity's problems stem from man's
    inability to sit quietly in a room by himself

    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2017
    Posts
    28
    Thanks given
    3
    Thanks received
    3
    Rep Power
    11
    Code:
    		if (countItems(id,items) + amount >= 61 || countItems(id,items) + amount <= 0) {
    			player.sendMessage("Pouch cannot hold more than 60 runes of a single type.");
    			return;
    		}

    under addItemToRunePouch
    Reply With Quote  
     

  4. #4  
    OWNER @ BOFA (Now Hiring)
    Mr Bill's Avatar
    Join Date
    May 2010
    Posts
    511
    Thanks given
    14
    Thanks received
    24
    Rep Power
    19
    To simply debug this, why don't you call System.out.print("Method name here called"); (Obviously replace method name) with the method you're putting it inside of, then inside the game insert more than 1000 runes into the pouch and see which method is called.

    That will narrow it down to which method(s) is/are being called
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2017
    Posts
    28
    Thanks given
    3
    Thanks received
    3
    Rep Power
    11
    try this:

    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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

Similar Threads

  1. Looting bag / Rune Pouch
    By Matt' in forum Buying
    Replies: 27
    Last Post: 01-28-2016, 11:16 PM
  2. [PI] Rune Pouch
    By Pandemia in forum Snippets
    Replies: 5
    Last Post: 01-22-2016, 01:55 PM
  3. working rune pouch
    By bruap in forum Requests
    Replies: 1
    Last Post: 12-28-2015, 11:42 PM
  4. Buying Rune pouch interface
    By Someone in forum Buying
    Replies: 2
    Last Post: 06-13-2015, 06:22 PM
  5. Replies: 6
    Last Post: 06-07-2015, 09:08 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
  •