Now there is nothing like this in grinding.lua and it is super weird, if anything when you XP afk this is probably one of the most important ones, so many people were frapsed while afk xping.-- Indicates whether or not to suspend activity with an enemy player in the area.
ProtectionEnemy = false,
-- Indicates the action when ProtectionEnemy is true and we found an enemy. Console command, i.e. "/Skill Return".
ProtectionEnemyEscape = "/Skill Return",
-- Indicates whether or not to suspend activity with a friendly player in the area.
ProtectionFriendly = false,
The only "security" you can have to run it on "safe mode" where it stops acting in anything if an enemy is found (or a character of the same function) but that is not enough in my opinion, XPing and then suddenly stop while an enemy is near you is still an obvious bot.
I would like to have an option like use an instant scroll or something, or force logout EVEN when a friendly player comes from the same function.
~~~~~~~~~~~~~~
I am more than sure that simply copying these lines and their functions below in the gathering.lua this wouldn't really work as is. I mean the .lua files all work together. They have "include this" and "include that" etc.
Helper.lua for example is an autonomous file for seeing the HP, MP and use Herb and Mana treatments which are globally available to characters, it is included in Grinder.lua for example.
I could try to do it but I will not be sure it will work until an enemy comes close (or a player from the same function equally).
I am simply asking if anyone has done it and share it with us.
Thanks for your time.