Thread: [PI] Barrows Killcount

Results 1 to 6 of 6
  1. #1 [PI] Barrows Killcount 
    Registered Member
    Join Date
    Jan 2011
    Posts
    72
    Thanks given
    4
    Thanks received
    2
    Rep Power
    1
    Alright I haven't messed around with anything to do with barrows but I have been messing around with fixing other bugs. What happens is right when you kill a barrows brother you get a killcount, and when the actual body disappears, you gain another killcount...but only on for some brothers, I was messing around in actionhandler and just disabled it because it could easily be abused so I just made it so you had to have exactly 5 killcount to open the chest otherwise it would reset your barrows and teleport you out, but because of this wierd bug, you could just kill 2-3 brothers to open the chest. I'm not sure where the bug would even be, or how to fix it and that's why i'm here. Any assistance would be nice.
    Everyone is a leecher in some point of their runescape coding adventure.
    Reply With Quote  
     

  2. #2  
    Registered

    Izumi's Avatar
    Join Date
    Jun 2010
    Posts
    2,458
    Thanks given
    240
    Thanks received
    597
    Rep Power
    2463
    In NPCHandler

    search for

    Code:
    public void dropItems(int i) {
    somewhere under there, you should see this:

    Code:
    c.barrowsKillCount++;
    just edit it to

    Code:
    //c.barrowsKillCount++;
    That should work.



    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Jan 2011
    Posts
    72
    Thanks given
    4
    Thanks received
    2
    Rep Power
    1
    Thanks, it worked. Do you have any idea why commenting this out would have anything to do with fixing it? Where else would it be declared? I'd like to know because i'd rather not just have the fix and not know what i was fixing.
    Everyone is a leecher in some point of their runescape coding adventure.
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Feb 2012
    Posts
    32
    Thanks given
    0
    Thanks received
    2
    Rep Power
    11
    Basically there were 2 instances where it adds to killcount, by adding the // you made one of the instances not count.
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Jan 2011
    Posts
    72
    Thanks given
    4
    Thanks received
    2
    Rep Power
    1
    Obviously. I know how to code...

    I was asking where it was calling it you dunce.
    Everyone is a leecher in some point of their runescape coding adventure.
    Reply With Quote  
     

  7. #6  
    Registered

    Izumi's Avatar
    Join Date
    Jun 2010
    Posts
    2,458
    Thanks given
    240
    Thanks received
    597
    Rep Power
    2463
    Quote Originally Posted by craznevil View Post
    Obviously. I know how to code...

    I was asking where it was calling it you dunce.
    It was called in the method I gave you before and also in this one

    Code:
    private void killedBarrow(int i) {



    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. Help with barrows killcount (508)
    By jeremy! in forum Help
    Replies: 1
    Last Post: 04-02-2010, 04:30 AM
  2. Replies: 26
    Last Post: 03-21-2010, 12:33 AM
  3. Replies: 12
    Last Post: 01-30-2010, 07:18 PM
  4. Barrows Interface Killcount? Rep++
    By Zahhak in forum Help
    Replies: 6
    Last Post: 07-07-2009, 07:48 PM
Tags for this Thread

View Tag Cloud

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