Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Free User downloadkct's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    1,167
    Reputation
    25
    Rep Power
    23

    Bot not retrieving information from upper/lower floors

    1. What OS you are at?
    Windows 10

    2. Real PC or VPS?
    Real

    3. Using WindAddons? Which version?
    No

    4. Which version of WindBot?
    .31

    5. Which version of Game Client?
    11.02.4171

    6. Do you have a Dedicated Graphics Card?
    Yes

    7. Detailed description of the problem.
    Levelspy hud is not working. I also noticed that my 2 alarm scripts which alert if theres someone +1 or -1 from me is also not working.
    Old 'n Proud Neobot-Elfbot and blackd user

  2. #2
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    @downloadkct

    I believe Level Spy is a World HUD, which is still not implemented (it's listed in the main thread) so that part really isn't a bug.

    Could you rework the details focusing on the +1/-1 script?

  3. #3
    Free User downloadkct's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    1,167
    Reputation
    25
    Rep Power
    23
    Quote Originally Posted by Raphael View Post
    @downloadkct

    I believe Level Spy is a World HUD, which is still not implemented (it's listed in the main thread) so that part really isn't a bug.

    Could you rework the details focusing on the +1/-1 script?
    I dont have the knowledge to give details about how it works because someone here kindly made it for me, i could post the action. Ps.: i made some small adjustments

    local playername = 'player'
    auto(1000)
    foreach creature m 'p' do
    if m.name ~= playername and $wptsection == "hunt" and ($posz - m.posz == -1 or $posz - m.posz == 0 or $posz - m.posz == 1) then
    beep()
    flashclient()
    end
    Last edited by downloadkct; 12-12-2016 at 01:00 PM.
    Old 'n Proud Neobot-Elfbot and blackd user

  4. #4
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    @downloadkct

    Can you try the following script? Try doing it in a location like Venore's DP. Go up and between the main depot floor (0) and the main city floor (+1).

    auto(1000)

    foreach creature m 'p' do
    if (m.posz ~= $posz) then
    printerror("ok")
    end
    end
    Last edited by Raphael; 12-12-2016 at 04:03 PM.

  5. #5
    Free User downloadkct's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    1,167
    Reputation
    25
    Rep Power
    23
    Quote Originally Posted by Raphael View Post
    @downloadkct

    Can you try the following script? Try doing it in a location like Venore's DP. Go up and between the main depot floor (0) and the main city floor (+1).

    auto(1000)

    foreach creature m 'p' do
    if (p.posz ~= $posz) then
    printerror("ok")
    end
    end
    11:54:40 error in Persistent script NewPersistentScript:
    ["if (p.posz ~= $posz) then"]:NewPersistentScript:4 attempt to index global 'p' (a nil value)
    Old 'n Proud Neobot-Elfbot and blackd user

  6. #6
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by downloadkct View Post
    11:54:40 error in Persistent script NewPersistentScript:
    ["if (p.posz ~= $posz) then"]:NewPersistentScript:4 attempt to index global 'p' (a nil value)
    Sorry, I'm noob. Please try again, I've fixed the script.

  7. #7
    Free User downloadkct's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    1,167
    Reputation
    25
    Rep Power
    23
    The new one worked
    Old 'n Proud Neobot-Elfbot and blackd user

  8. #8
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by downloadkct View Post
    The new one worked
    Did it ever print "ok"?

  9. #9
    Free User downloadkct's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    1,167
    Reputation
    25
    Rep Power
    23
    Yes, i've read the code before using it ^^
    Old 'n Proud Neobot-Elfbot and blackd user

  10. #10
    Moderator Josh's Avatar
    Join Date
    Dec 2013
    Posts
    1,394
    Reputation
    183
    Rep Power
    24
    Are you sure your waypoint section is named "hunt" when the alarms aren't working? The rest of that logic is pretty solid, this is something I can imagine you might be overlooking...
    Interested in software development and/or programming for Tibia?
    Check out the new Tibia Programming Forums (TibiaPF) by clicking the image below.

    Looking for a bot for the MMORPG, Medivia?
    Check out MediviaBotter, a powerful, injected bot by clicking the link below.


 

 

Posting Permissions

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