08-01-2022, 10:59 PM
Hello, The GM's on faloria are catching cavebotters by teleporting your char 10 sqm away from ur previous SQM a bunch of times, and if you instantly keep continue walking, its a proof for them that you bot and you get banned, so i tried using the only persistent to get alert if u get tepelorted below =
local DISTANCE_ALERT = 3 -- If your character went X sqms far from last check then trigger.
if LAST_X == nil or LAST_Y == nil then
LAST_X = posx()
LAST_Y = posy()
end
if proximity(LAST_X, LAST_Y, posx(), posy()) >= DISTANCE_ALERT then
playsound('default')
flashclient()
pausebot(true)
end
the only problem with this persistent however is that the bot pauses even if you just WALK (not teleport) away from X amount of sqms that you have written in the local distance.
I want the bot to pause only when you get teleported, not when you walk away from X amount of sqms, is this possible to make? or do i have to use the spark alert persistent for this?
thanks alt="Smile" title="Smile" class="smilie smilie_1" />
local DISTANCE_ALERT = 3 -- If your character went X sqms far from last check then trigger.
if LAST_X == nil or LAST_Y == nil then
LAST_X = posx()
LAST_Y = posy()
end
if proximity(LAST_X, LAST_Y, posx(), posy()) >= DISTANCE_ALERT then
playsound('default')
flashclient()
pausebot(true)
end
the only problem with this persistent however is that the bot pauses even if you just WALK (not teleport) away from X amount of sqms that you have written in the local distance.
I want the bot to pause only when you get teleported, not when you walk away from X amount of sqms, is this possible to make? or do i have to use the spark alert persistent for this?
thanks