Help needed: Logout or escape when enemy is found

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

Help needed: Logout or escape when enemy is found

Post by Diavolakos » Thu May 04, 2017 12:16 pm

Hello, I hope this makes sense. I have seen in the gathering.lua some options to logout or use escape when you see a specific list of people or enemies etc.
-- 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,
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.

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

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests