A few days ago, one of my bot was banned. The only record of the ban was the chat log with the last entries of a "iRO GM 25" pm'ing me to respond in 5 sec. and proceeded to count from 1 to 5. I have no idea if anything was casted on me or was teleported during the GM private message. If a GM pm's me, is he/she standing right next to my character or have my bot in his/her view? Or do they PM check from a remote location? Now having read the above linked thread, I am curious what type of tactics do GMs use to check if a char is a bot? Do they always do what is stated in the above thread? Is there a log of or a way to check actions performed in openkore?
I tried using the avoidGM functions in the config.txt but I found when I set avoidGM_talk to 1, the bot would disconnect when any character talked, in public chat, not PM. So when I am walking through prontera and some random player says something like "B> yadayada card" the bot would disconnect. On top of this, the avoidGM_near_inTown doesn't work either when set to 0. Even though my bot was in prontera, it should have stayed online, even though the avoidGM_talk feature didn't work correctly. Now, I am not even sure if the avoidGM_near function works either. I read this thread here: http://forums.openkore.com/viewtopic.php?f=56&t=1055 about the avoidGM_inTown bug, but did not clearly state how to fix the cities.txt file. I checked my cities.txt file and prontera was in there, as was other towns. I tried changing the following line:
Code: Select all
avoidGM_near() if ($config{avoidGM_near} >= 1 && (!$field->isCity || $config{avoidGM_near_inTown}));
Code: Select all
avoidGM_near() if ($config{avoidGM_near} >= 1 && (!$field->isCity && $config{avoidGM_near_inTown}));
As for the avoidGM_talk not working, i am not even sure how to figure out why it disconnects when any players says something in public chat. Let say if something is wrong with the match pattern (which I also have no clue where it check regex pattern for GM names), is there a way to make my bot disconnect for 30min if it receives any PM? It was mentioned that it was a valid bug, but I don't know if it has been addressed in newest releases of openkore. Does anyone know how to fix the avoidGM_talk bug? Also does the avoidGM_near function works as intended? There is no real way to test this unless I find a GM in game somewhere.