Improved safety

Post Reply
unkn0wnus3r
Posts: 75
Joined: Wed Jan 18, 2017 12:27 pm
Has thanked: 10 times
Been thanked: 13 times

Improved safety

Post by unkn0wnus3r » Sat Jul 15, 2017 10:11 pm

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.

User avatar
Diavolakos
Posts: 114
Joined: Thu Apr 20, 2017 5:05 am
Has thanked: 31 times
Been thanked: 13 times

Re: Improved safety

Post by Diavolakos » Sun Jul 23, 2017 10:20 am

I think if you turn on safety mode on it should.

Image
I play on NA Server Siel

unkn0wnus3r
Posts: 75
Joined: Wed Jan 18, 2017 12:27 pm
Has thanked: 10 times
Been thanked: 13 times

Re: Improved safety

Post by unkn0wnus3r » Sun Jul 23, 2017 6:34 pm

Thats just disableing cheats while others are around but it wont stop bot from botting around :)

User avatar
Diavolakos
Posts: 114
Joined: Thu Apr 20, 2017 5:05 am
Has thanked: 31 times
Been thanked: 13 times

Re: Improved safety

Post by Diavolakos » Sun Jul 30, 2017 2:04 pm

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.
I play on NA Server Siel

unkn0wnus3r
Posts: 75
Joined: Wed Jan 18, 2017 12:27 pm
Has thanked: 10 times
Been thanked: 13 times

Re: Improved safety

Post by unkn0wnus3r » Mon Jul 31, 2017 5:18 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests