Signup Now
Page 9 of 14 FirstFirst ... 7891011 ... LastLast
Results 81 to 90 of 131

Thread: Kill Counter

  1. #81
    Free User
    Join Date
    Mar 2014
    Posts
    4
    Reputation
    10
    Rep Power
    0
    @Raphael
    I have a problem that i cant fix by my own. The thing is im hunting sea serpents in party(for better exp/shared) and because of it this counter doesnt work so good. I mean it is counting monsters killed by both characters so every char is going to grizzly when it get like 500+ sea serpents. Im not sure about it and first of all im just asking if that can be fixed.
    Thanks for the answers.

  2. #82
    Free User Garkstal's Avatar
    Join Date
    Dec 2013
    Location
    www.garkstalscripts.com
    Posts
    795
    Reputation
    124
    Rep Power
    23
    Quote Originally Posted by satan remain View Post
    @Raphael
    I have a problem that i cant fix by my own. The thing is im hunting sea serpents in party(for better exp/shared) and because of it this counter doesnt work so good. I mean it is counting monsters killed by both characters so every char is going to grizzly when it get like 500+ sea serpents. Im not sure about it and first of all im just asking if that can be fixed.
    Thanks for the answers.
    Since its based on loot msg you can't.
    http://i.imgur.com/lkWkIMg.png
    ........................Script Name......................
    Profession
    Asura Palace ED + EK
    Characters for sale! | Like Our Facebook! | Sell Tibia Gold

  3. #83
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by satan remain View Post
    @Raphael
    I have a problem that i cant fix by my own. The thing is im hunting sea serpents in party(for better exp/shared) and because of it this counter doesnt work so good. I mean it is counting monsters killed by both characters so every char is going to grizzly when it get like 500+ sea serpents. Im not sure about it and first of all im just asking if that can be fixed.
    Thanks for the answers.
    I'm afraid there's no real solution to this. I mean, something could be worked on if the characters were on the navigation server, but I don't think I'll have time to work on it right now.

  4. #84
    Free User
    Join Date
    Sep 2015
    Posts
    10
    Reputation
    10
    Rep Power
    0
    Could you please be so kind and explain to me as to why this does not work.

    reachcreature('Grizzly Adams')
    wait(1234)
    say('hi')
    wait(1500)
    npcsay('tasks')
    wait(1500)
    npcsay('tasks')
    wait(1500)
    npcsay('tarantulas')
    wait(1500)
    npcsay('yes')
    killCount.Reset('Tarantula')
    wait(1500)
    ¨

    It does not reset the tarantula counter and you said it could be in a normal npc talk action.

  5. #85
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by Evil Mark View Post
    Could you please be so kind and explain to me as to why this does not work.

    ¨

    It does not reset the tarantula counter and you said it could be in a normal npc talk action.
    reset, not Reset.

  6. #86
    Free User
    Join Date
    Sep 2015
    Posts
    10
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Raphael View Post
    reset, not Reset.
    Still does nothing..

  7. #87
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by Evil Mark View Post
    Still does nothing..
    How exactly are you checking whether it works or not?

  8. #88
    Free User
    Join Date
    Sep 2015
    Posts
    10
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Raphael View Post
    How exactly are you checking whether it works or not?
    After going to grizzly adams, my action looks like this

    reachcreature('Grizzly Adams')
    wait(1234)
    say('hi')
    wait(1500)
    npcsay('tasks')
    wait(1500)
    npcsay('tasks')
    wait(1500)
    npcsay('tarantulas')
    wait(1500)
    npcsay('yes')
    killCount.reset('Tarantula')
    wait(1500)
    So technically it should have reset my task kill count but whenever it goes back to my waypoints and it reaches an action to check for amount killed which looks like this

    if killCount.get('Tarantula') > killAmountTarantula then
    gotolabel(0, 'Boss')
    end
    and my killAmountTarantula is set to 300 in config. It goes straight to the boss, everytime. 100/100.

    So really I'm lost, I know I aint done nothing wrong and I've even read through the entire thread.
    Last edited by Evil Mark; 10-19-2015 at 04:28 PM.

  9. #89
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by Evil Mark View Post
    After going to grizzly adams, my action looks like this



    So technically it should have reset my task kill count but whenever it goes back to my waypoints and it reaches an action to check for amount killed which looks like this



    and my killAmountTarantula is set to 300 in config. It goes straight to the boss, everytime. 100/100.

    So really I'm lost, I know I aint done nothing wrong and I've even read through the entire thread.
    Try this, tell me what it prints to the console:

    reachcreature('Grizzly Adams')
    wait(1234)
    say('hi')
    wait(1500)
    npcsay('tasks')
    wait(1500)
    npcsay('tasks')
    wait(1500)
    npcsay('tarantulas')
    wait(1500)
    npcsay('yes')
    printerror()
    print('Amount before reset: ' .. killCount.get('Tarantula'))
    killCount.reset('Tarantula')
    print('Amount after reset: ' .. killCount.get('Tarantula'))
    wait(1500)

  10. #90
    Wind Powered
    Join Date
    Dec 2013
    Location
    dvscripts.com
    Posts
    7,105
    Reputation
    433
    Rep Power
    39
    Well i am using it with Giant Spiders and all is working fine, probably you are make smth wrong ;>

 

 

Posting Permissions

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