Signup Now
Page 6 of 14 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 131

Thread: Kill Counter

  1. #51
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by obscureterror View Post
    so u can help me plis

    if killCount.get('Carniphila') > 150 then
    gotolabel(0, 'Task','Inicio')
    end

    this is the action who i use, so they no go to label =/ somenthing is wrong ?
    Too many arguments on that gotolabel call. Please check our docs for more info: https://tibiawindbot.com/docs.html#functions-gotolabel

  2. #52
    Free User ash katchup's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    144
    Reputation
    15
    Rep Power
    24
    Quote Originally Posted by obscureterror View Post
    so u can help me plis

    if killCount.get('Carniphila') > 150 then
    gotolabel(0, 'Task','Inicio')
    end

    this is the action who i use, so they no go to label =/ somenthing is wrong ?
    The code is correct, indeed.

    The problem is that Raphael's script starts with 0 to every creature. It ignores the amount you already killed (as it isn't possible to read from questlog without opening it).

    To work around this:
    -open your questlog and write down how many creatures you've already killed;
    -create a HOTKEY script and paste the following code


    -- 100 = number of creatures you've already killed. Just change it.
    killCount.set(100, 'Carniphila')


    Remember to put this on as HOTKEY SCRIPT and NOT as PERSISTENT
    Last edited by ash katchup; 02-20-2015 at 09:11 PM.

  3. #53
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by ash katchup View Post
    The code is correct, indeed.

    The problem is that Rafael's script starts with 0 to every creature. It ignores the amount you already killed (as it isn't possible to read from questlog without opening it).

    To work around this:
    -open your questlog and write down how many creatures you've already killed;
    -create a HOTKEY script and paste the following code


    -- 100 = number of creatures you've already killed. Just change it.
    killCount.set(100, 'Carniphila')


    Remember to put this on as HOTKEY SCRIPT and NOT as PERSISTENT
    Raphael*. And no, the code isn't correct.

  4. #54
    Free User ash katchup's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    144
    Reputation
    15
    Rep Power
    24
    Quote Originally Posted by Raphael View Post
    Raphael*. And no, the code isn't correct.
    Ah, my bad. But he still needs to load the database.

  5. #55
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by ash katchup View Post
    Ah, my bad. But he still needs to load the database.
    Yes, but it would be more effective to just do it on the console.

  6. #56
    Free User ash katchup's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    144
    Reputation
    15
    Rep Power
    24
    Quote Originally Posted by Raphael View Post
    Yes, but it would be more effective to just do it on the console.
    That is why you're a Mod and i'm a humble user.

  7. #57
    Free User
    Join Date
    Jan 2015
    Posts
    13
    Reputation
    10
    Rep Power
    0
    one last question , is there any Hud or something that shows on the screen of my tibia the amount of monsters I've ever killed ?

  8. #58
    Free User
    Join Date
    Jan 2015
    Posts
    13
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Raphael View Post
    Raphael*. And no, the code isn't correct.
    Bro why dont work =( look

    -- 100 = number of creatures you've already killed. Just change it.
    killCount.set(400, 'Mutated Rat')

    i use this hotkey to test and this action

    if killCount.get("Mutated Rat") >= 400 then
    gotolabel(0, "Task")
    else
    gotolabel('Pot')
    end

    so no go to the label =( help me plis bro =S

  9. #59
    Free User ash katchup's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    144
    Reputation
    15
    Rep Power
    24
    Quote Originally Posted by obscureterror View Post
    if killCount.get("Mutated Rat") >= 400 then
    gotolabel(0, "Task")
    else
    gotolabel('Pot')
    end

    so no go to the label =( help me plis bro =S
     gotolabel("start","waypoint") 


    First param: label name

    Second param: waypoint section

  10. #60
    Free User
    Join Date
    Jan 2015
    Posts
    13
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by ash katchup View Post
     gotolabel("start","waypoint") 


    First param: label name

    Second param: waypoint section
    =((((

    same no work, they dont go to the correct label =(

 

 

Posting Permissions

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