You may want to get the fuck out of the game completely when a GM is in your map, not just teleport away, especially in highly botted ones. I would do that even when I play normally because they are too fast to decide lol.
Consider also that monsters in this game have a stat called "HitRequiredFor100%" / "100% Hit". That means that if your character has an hit rate high enough, it is virtually impossible for you to miss, so if you're really missing it's a proof that something fishy is going on.
dcOnAtkMiss is here to help this.
WIKI DOCUMENTATIONS:
Code: Select all
; dcOnAtkMiss [<number>]
: Automatically reconnect when the number of times your attacks have missed a monster is greater than or equal to the specified number.
[[Category:config.txt]]
[[Category:auto disconnect]]
Code: Select all
; dcOnAtkMiss_reconnect [<seconds>]
: If [[dcOnAtkMiss]] is set and you disconnect after consecutive missed attacks, this option specifies the time in seconds Kore will wait and sleep before reconnecting again.
[[Category:config.txt]]
[[Category:auto disconnect]]
dcOnAtkMiss_reconnect default = 1800 (like the other reconnects)
src\Misc.pm CODE:
to add BEFORE this line:
if (AI::action eq "attack" && mon_control($monster->{name},$monster->{nameID})->{attack_auto} == 3 && $damage)
Code: Select all
if ($config{dcOnAtkMiss} && $monster->{atkMiss} >= $config{dcOnAtkMiss}) {
warning TF("*** Disconnecting after missing a monster %d times ***\n", $config{dcOnAtkMiss});
warning TF("Disconnect for %s seconds...\n", $config{dcOnAtkMiss_reconnect});
relog($config{dcOnAtkMiss_reconnect}, 1);
Code: Select all
if ($config{dcOnAtkMiss} && $monster->{atkMiss} >= $config{dcOnAtkMiss}) {
warning TF("*** Disconnecting after missing a monster %d times ***\n", $config{dcOnAtkMiss});
quit();
So what do you think about this?