XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 6 of 6

Thread: EK Port Hope GS - Character sometimes does exori even if it's "false" in config.

  1. #1

    Join Date
    Nov 2012
    Posts
    332
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    EK Port Hope GS - Character sometimes does exori even if it's "false" in config.

    And it is not in magic shooter either.
    It is a critical error for me since I play on hardcore pvp and the character keep attacking other players which causes pz = im dead!!

    I have set true to exori ico/hur in the config, pressed all other exori to false, even deleted the monster name in the cave im hunting so I really don't know why he sometimes makes exori, any ideas?!

    He does it very rarely but I have ended up getting pz plenty of times now in the course of a few hours..

    I really cant find it why he does it since no monster i kill is in the config and all exori is set on false.

    If I was on retro pvp I would be rs pretty soon

    Please come up with any ideas of where he is getting his exori from! the only .lua running is the one from the script itself and i downloaded the script through XenoBot scripts.

  2. #2

    Join Date
    Nov 2012
    Posts
    332
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    maybe he thinks a mosnter is invisible? how do I remove so he dont "cancel invisibility"?

  3. #3

    Join Date
    Nov 2012
    Posts
    332
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    I searched the whole .lua file for exori and I found this, I don't know where to start and stop delete in the script:

    -- Label events
    local event = LABEL_ACTIONS[group] or _events[EVENT_LABEL][group]
    if event then
    event(unpack(label))
    end
    toggleCriticalMode(false)
    end

    function onErrorMessage(message)
    if not _script.ready then return end
    toggleCriticalMode(true)

    checkEvents(EVENT_ERROR, message)

    -- Snap back
    if message == ERROR_NOT_POSSIBLE then
    -- Only trigger in spawn
    if _script.inSpawn then
    local time = os.clock() * 1000
    local pos = xeno.getSelfPosition()
    -- It's been longer than 2 seconds, reset snapbacks
    if time - _lastsnapback > 2000 then
    _snapbacks = 0
    -- Moved since the last snapback
    elseif getDistanceBetween(_lastposition, pos) > 0 then
    _snapbacks = 0
    end

    -- Save time and increment snapbacks by one
    _lastsnapback = time
    _lastposition = pos
    _snapbacks = _snapbacks + 1
    -- If snapbacks are at 5 or more, assume an invisible monster is blocking
    if _snapbacks >= 5 then
    -- TODO: free account alternative (wait for "You must learn this spell first" or "You need a premium account" error message)
    if _script.vocation == 'Paladin' then
    cast('exori san')
    elseif _script.vocation == 'Knight' then
    cast('exori')
    else
    cast('exori frigo')
    end
    _snapbacks = 0
    end
    end
    end

    toggleCriticalMode(false)
    end

    so if you know where i can cut it out i would appreciate it

  4. #4
    XenoBot Scripts Developer Joshwa534's Avatar
    Join Date
    May 2012
    Location
    Texas, USA
    Posts
    4,890
    Mentioned
    517 Post(s)
    Tagged
    3 Thread(s)
    Added the issue to our Trello board, we'll look into it tonight.
    Next time just post in our sub-forum under the script's thread if you can.

  5. #5
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    @Syntax / @Joshwa I don't even think this code is needed. XenoBot will automatically know if there's an invisible creature and will path around it. Even if the player is stuck because of it, it's IMHO better to just wait for it to re-appear and attack it. Better to be trapped for fifteen seconds on very rare occasions than to die even once.

  6. #6
    XenoBot Scripts Developer Syntax's Avatar
    Join Date
    Feb 2011
    Posts
    1,658
    Mentioned
    431 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    @Syntax / @Joshwa I don't even think this code is needed. XenoBot will automatically know if there's an invisible creature and will path around it. Even if the player is stuck because of it, it's IMHO better to just wait for it to re-appear and attack it. Better to be trapped for fifteen seconds on very rare occasions than to die even once.
    It's definitely needed in tombs, the functionality was removed and then we started getting reports on invisible monsters sticking the bot.
    It only executes in spawn so I don't see the harm in leaving it in, we'll add a player check to make it pvp safe.

Posting Permissions

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