hello,
faced some troubles, im using script is vip online, if not logout then pausebot
i added some check for connection and some ghetto way to check if viplist table is not empty
the problem is, if my char running this script relogs or loses connection, it still pauses the bot sometimes
any hint?
edit :added isreconnecting() check, gonna test if that works edit 2: --adding reconnecting check didn't fix that problem--
also, safe lists are kinda bugged
loading="lazy" alt="[Image: wapmD6N.png]" class="mycode_img" />
after re-entering turns into that
loading="lazy" alt="[Image: lfwyglU.png]" class="mycode_img" />
Another thing is reconnecting function, sometimes it locks somehow locks on the menu where you can select char, it tries to connect yet instantly backs up to the menu, idk why, maybe ots related
faced some troubles, im using script is vip online, if not logout then pausebot
PHP Code:
if isviponline('Raijiin') == false and connected() == true and next(getviplist()) ~= nil then
logout()
print("Raijiin off")
pausebot(true)
end
the problem is, if my char running this script relogs or loses connection, it still pauses the bot sometimes
any hint?
edit :added isreconnecting() check, gonna test if that works edit 2: --adding reconnecting check didn't fix that problem--
also, safe lists are kinda bugged
after re-entering turns into that
Another thing is reconnecting function, sometimes it locks somehow locks on the menu where you can select char, it tries to connect yet instantly backs up to the menu, idk why, maybe ots related