Signup Now
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Moderator RoxZin xD's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    4,914
    Reputation
    109
    Rep Power
    31
    @ozzix @Exaltera you guys are using $lootsaround on a wrong way. It returns true/false not a number. $lootbodies return a number, that's why you both got problems. pausewalking() works as expected. Fix your codes.



    Troubled Animals Quest [100+]
    ALL
    Feyrist Animals Surface [160+]
    RP
    Feyrist Silencers Underground X1 [180+]
    RP | EK
    Feyrist Silencers Underground X2 [200+]
    RP | EK
    Feyrist Silencers Surface [210+]
    RP | EK
    Rathleton Sewers [240+]
    RP
    Glooth Fairy [350+]
    ED/MS
    Hardcore Draken Walls [400+]
    EK

  2. #12
    Free User
    Join Date
    Oct 2014
    Posts
    56
    Reputation
    14
    Rep Power
    20
    Quote Originally Posted by ozzix View Post
    do u have it under cavebot>scripts or scripts>persistants
    Scripter > Persistent

  3. #13
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    Quote Originally Posted by RoxZin xD View Post
    @ozzix @Exaltera you guys are using $lootsaround on a wrong way. It returns true/false not a number. $lootbodies return a number, that's why you both got problems. pausewalking() works as expected. Fix your codes.
    now that u say it, i know that, just thought false = 0 and true = 1, but i guess it doesnt work that way

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  4. #14
    Moderator RoxZin xD's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    4,914
    Reputation
    109
    Rep Power
    31
    Quote Originally Posted by ozzix View Post
    now that u say it, i know that, just thought false = 0 and true = 1, but i guess it doesnt work that way
    Yeah that's how it works on some languages but not on Lua (at least not on the version WindBot uses)



    Troubled Animals Quest [100+]
    ALL
    Feyrist Animals Surface [160+]
    RP
    Feyrist Silencers Underground X1 [180+]
    RP | EK
    Feyrist Silencers Underground X2 [200+]
    RP | EK
    Feyrist Silencers Surface [210+]
    RP | EK
    Rathleton Sewers [240+]
    RP
    Glooth Fairy [350+]
    ED/MS
    Hardcore Draken Walls [400+]
    EK

  5. #15
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by RoxZin xD View Post
    @ozzix @Exaltera you guys are using $lootsaround on a wrong way. It returns true/false not a number. $lootbodies return a number, that's why you both got problems. pausewalking() works as expected. Fix your codes.
    That's not what the docs say.
    https://tibiawindbot.com/docs.html#v...es-lootsaround

  6. #16
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    Quote Originally Posted by Raphael View Post
    ahaha, so who is correct?

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  7. #17
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by ozzix View Post
    ahaha, so who is correct?
    I am always correct.
    And I wrote the docs, so the docs are correct.

  8. #18
    Moderator RoxZin xD's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    4,914
    Reputation
    109
    Rep Power
    31
    Quote Originally Posted by Raphael View Post
    I should've checked it before saying. /facepalm

    Anyways, use $lootbodies and not $lootsaround and it'll work the way you guys were expecting it, I guess.



    Troubled Animals Quest [100+]
    ALL
    Feyrist Animals Surface [160+]
    RP
    Feyrist Silencers Underground X1 [180+]
    RP | EK
    Feyrist Silencers Underground X2 [200+]
    RP | EK
    Feyrist Silencers Surface [210+]
    RP | EK
    Rathleton Sewers [240+]
    RP
    Glooth Fairy [350+]
    ED/MS
    Hardcore Draken Walls [400+]
    EK

  9. #19
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by RoxZin xD View Post
    I should've checked it before saying. /facepalm

    Anyways, use $lootbodies and not $lootsaround and it'll work the way you guys were expecting it, I guess.
    I used $lootsaround for Fish Water Elementals and it worked perfectly.

  10. #20
    Free User
    Join Date
    Oct 2014
    Posts
    56
    Reputation
    14
    Rep Power
    20
    still doesn't work even with $lootbodies :<

 

 

Posting Permissions

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