Page 1 of 1
Improved safety
Posted: Sat Jul 15, 2017 10:11 pm
by unkn0wnus3r
Hey, is there a way to stop the bot if another player is around?
And a whitelist would be great, too so that other bots or own chars are not stopping the bot.
Re: Improved safety
Posted: Sun Jul 23, 2017 10:20 am
by Diavolakos
I think if you turn on safety mode on it should.

Re: Improved safety
Posted: Sun Jul 23, 2017 6:34 pm
by unkn0wnus3r
Thats just disableing cheats while others are around but it wont stop bot from botting around

Re: Improved safety
Posted: Sun Jul 30, 2017 2:04 pm
by Diavolakos
unkn0wnus3r wrote: ↑Sun Jul 23, 2017 6:34 pm
Thats just disableing cheats while others are around but it wont stop bot from botting around
Well I guess it should be included in a code at this point. I am a computer programmer but I cannot program anything in lua.
It must be something like Entity == player (or something) and then have a command that Disables the script from running.
I can figure an algorithm in theory but I cannot implement it in lua.
Re: Improved safety
Posted: Mon Jul 31, 2017 5:18 am
by unkn0wnus3r
We definetly have somthing like hostile and player check but i dont know if its only possible to check target.
Entity:IsPlayer()
Entity:IsHostile()
This only checks if the target is a player and if its hostile.
We also have somethink like an array of entitys called EntityList.
EntityList:GetEntity( Player:GetTargetID())
This calls the current target from the entity list i guess.
Propably it would be possible to implement something in HelperFunction.lua.