XenoBot Forums - Powered by vBulletin

User Tag List

Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: Check kill?

  1. #21
    Senior Member
    Join Date
    Jul 2014
    Posts
    788
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Odemis View Post
    Which could be the problem, because I get debuff (on fire) everytime I fight it.
    How would I write that? I can't code for shit..lol.

    example:
    GoToLabel if item ID of (the remains of the boss) is seen on screen
    You can use such function.
    Self.GetCreatureKills("MONSTER")
    and
    Self.ResetCreatureKills("MONSTER")

  2. #22
    Queen Fatality Fatality's Avatar
    Join Date
    Mar 2014
    Location
    Canada
    Posts
    754
    Mentioned
    83 Post(s)
    Tagged
    1 Thread(s)
    something like this
    if Self.GetCreatureKills("BossName") > 0 then
    Walker.Goto("Leave")
    Self.ResetCreatureKills("BossName")
    else
    Walker.Goto("KillBoss")
    end

  3. #23
    Odemis's Avatar
    Join Date
    Oct 2013
    Posts
    239
    Mentioned
    42 Post(s)
    Tagged
    0 Thread(s)
    It still doesn't work. When I kill the boss, it doesn't even show the boss name in the recent kill HUD, or in server messages. That's why I think if I can make it like walker go to label IF item id is seen on screen, it should work.
    Last edited by Odemis; 01-01-2015 at 08:11 PM.

  4. #24
    Odemis's Avatar
    Join Date
    Oct 2013
    Posts
    239
    Mentioned
    42 Post(s)
    Tagged
    0 Thread(s)
    And say you have a check for item id running nonstop would it slow down the script? Or is it like an hp/mana pot checker where I'd have to place a label for it over and over in the waypoints?

  5. #25
    Senior Member
    Join Date
    Jul 2014
    Posts
    788
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Odemis View Post
    It still doesn't work. When I kill the boss, it doesn't even show the boss name in the recent kill HUD, or in server messages. That's why I think if I can make it like walker go to label IF item id is seen on screen, it should work.
    Coz you are using this script on fucking Open Tibia Server - 10.41 version huh?

  6. #26
    Odemis's Avatar
    Join Date
    Oct 2013
    Posts
    239
    Mentioned
    42 Post(s)
    Tagged
    0 Thread(s)
    No, normal tibs.. I never play OT's


    @HjugO
    Last edited by Odemis; 01-01-2015 at 09:14 PM.

  7. #27
    Odemis's Avatar
    Join Date
    Oct 2013
    Posts
    239
    Mentioned
    42 Post(s)
    Tagged
    0 Thread(s)
    To be honest, I didn't try your script, I just assumed it wouldn't work since the client doesn't even show the bosses name after killing it. Just says what your reward is...

  8. #28
    Senior Member
    Join Date
    Jul 2014
    Posts
    788
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Odemis View Post
    To be honest, I didn't try your script, I just assumed it wouldn't work since the client doesn't even show the bosses name after killing it. Just says what your reward is...
    What kind of boss? Grizzly Adams or other?

  9. #29
    Odemis's Avatar
    Join Date
    Oct 2013
    Posts
    239
    Mentioned
    42 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by HjugO View Post
    What kind of boss? Grizzly Adams or other?
    Other, pmed..

  10. #30
    Odemis's Avatar
    Join Date
    Oct 2013
    Posts
    239
    Mentioned
    42 Post(s)
    Tagged
    0 Thread(s)
    Could anyone produce this?:

    Code:
    --    Leave after Boss --
     
    local boss = { "deeds", "rewards", "boss name", "or boss remains id number"}
     
    --[[ Don't touch below ]]--
    function LootProxyCallback(proxy, message)
      for index, name in ipairs(boss) do
        if string.find(message:lower(), name) then
          gotoLabel("Leavehunt")
        end
      end
    end
    LootMessageProxy.OnReceive('LootProxy', LootProxyCallback)
    It loads up properly, but nothing happens..

Posting Permissions

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