GM detection and banning chance reduction
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: GM detection and banning chance reduction
Well it seems, that pause for gmnearby isn't working for me to. Only info in MM window that GM was detected, alarm sound (btw. great job with this new user function) and no other action.
Also have a question. Is there any chance for GMdetect to have any false positives?
Also have a question. Is there any chance for GMdetect to have any false positives?
Re: GM detection and banning chance reduction
had two false positves so far, when other players use the "say" command near to my bot.
The players which talk to me were normal players.
The players which talk to me were normal players.
Re: GM detection and banning chance reduction
The userfunction doesn't monitor /say conversations, no idea why it would post a positive for GM if someone talked in /say, that makes no sence at all.
You can get false positives though because of the way the pawn information is constantly moving around in memory, it should be very rare though.
You can get false positives though because of the way the pawn information is constantly moving around in memory, it should be very rare though.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: GM detection and banning chance reduction
to pause when GM nearby use this
_pause = 30 -- 30 second pause
Obviously change the value to what you want, it's set to 30 seconds in that code. It will also do a print every 2 seconds so you know it is working.
I tested and works fine.
--=== NOTE ===--
using yrest() will not stop the bot from doing any actions in the gmnearby() loop, you need to use rest() and because of this keypresses arn't registerd while in the 2 second loop, so if you want to leave the pause loop you need to hold down the STOP_BOT key so that it is pressed when the loop finishes which is every 2 seconds.
Code: Select all
function gmnearby()
_pause = 30 -- 30 second pause
_time = os.time()
cprintf(cli.yellow,"Paused for GM detected, hold down (".. getKeyName(settings.hotkeys.STOP_BOT.key)..") to stop the pause..\n")
repeat
rest(2000)
_pause = _pause - 2
print(_pause.." seconds remaining.")
until os.time() - _time >= _pause or keyPressed(settings.hotkeys.STOP_BOT.key)
print("Bot resumed.")
end
_pause = 30 -- 30 second pause
Obviously change the value to what you want, it's set to 30 seconds in that code. It will also do a print every 2 seconds so you know it is working.
I tested and works fine.
--=== NOTE ===--
using yrest() will not stop the bot from doing any actions in the gmnearby() loop, you need to use rest() and because of this keypresses arn't registerd while in the 2 second loop, so if you want to leave the pause loop you need to hold down the STOP_BOT key so that it is pressed when the loop finishes which is every 2 seconds.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: GM detection and banning chance reduction
sometimes a fresh start is the best thing.
Installed mm totally new in a different folder - implemented only the gmnearby - and - it worked!
One things is open:
When whispered by the testchar - sound is not playing (when gmnearby-functions starts sound is playing)
btw - used lisas function from the 1. Post - not the short one
Installed mm totally new in a different folder - implemented only the gmnearby - and - it worked!
One things is open:
When whispered by the testchar - sound is not playing (when gmnearby-functions starts sound is playing)
btw - used lisas function from the 1. Post - not the short one
Code: Select all
function gmnearby()
printf("ich bin in gmnearby()");
_pause = 30 -- 30 seconds
_time = os.time()
cprintf(cli.yellow,"Paused for GM detected, hold down (".. getKeyName(settings.hotkeys.STOP_BOT.key)..") to stop the pause..\n")
repeat
rest(2000)
_pause = _pause - 2
print(_pause.." seconds remaining.")
until os.time() - _time >= _pause or keyPressed(settings.hotkeys.STOP_BOT.key)
print("Bot resumed.")
end
Re: GM detection and banning chance reduction
lisa wrote:The userfunction doesn't monitor /say conversations, no idea why it would post a positive for GM if someone talked in /say, that makes no sence at all.
You can get false positives though because of the way the pawn information is constantly moving around in memory, it should be very rare though.
Thanks for answer. I was wondering about that as lately I get GMdetect late at night, when i wouldn't expect any frog worker to actually work
Re: GM detection and banning chance reduction
hmm .... don´t want to spreed rumors.
But I have false positve in special case for at least four times
Your bot is going to an instance (in my case to cyclops lair) - in the moment you want to enter the instance someone uses the "say" ingame (standing very close) - the alarm went on.
Just what I have seen....
But I have false positve in special case for at least four times
Your bot is going to an instance (in my case to cyclops lair) - in the moment you want to enter the instance someone uses the "say" ingame (standing very close) - the alarm went on.
Just what I have seen....
Re: GM detection and banning chance reduction
I have just tested gmnerby and have a question is it normal, that my bot keep running forward for some time, while pause is actived?
Edit:
I have solution, at least it works for me... After pause I added line:
keyboardPress( key.VK_W );
"W" is of course key for move forward.
Now it stops same time, as bot is starting to pause.
Edit:
I have solution, at least it works for me... After pause I added line:
keyboardPress( key.VK_W );
"W" is of course key for move forward.
Now it stops same time, as bot is starting to pause.
Re: GM detection and banning chance reduction
Hmm good point with the keypress, a better way though would be to release the movement keys before entering the loop, This does however bring up the issue as to what if you are in combat at the time.
I was hoping to just keep the pause code simple but it seems simple won't do.
I'll do some more on it later today at some stage.
I was hoping to just keep the pause code simple but it seems simple won't do.
I'll do some more on it later today at some stage.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: GM detection and banning chance reduction
ty @Budzer - had the same prob
Re: GM detection and banning chance reduction
They had been playing around with using GM's from other servers to kind of drift from server to server, so even at 1am your server time a GM might pop in to say hi.Budzer wrote: Thanks for answer. I was wondering about that as lately I get GMdetect late at night, when i wouldn't expect any frog worker to actually work
From what I heard it was just being tested to see how effective it was, no idea if they still do it now.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: GM detection and banning chance reduction
can i change
if( pawn.Class1 == 0 or pawn.Class2 == 0 or pawn.Level > 70 or pawn.Name == testcharname ) then
to
if(pawn.Level > 0) then
that if i am whispered, i can answer everyone? or maybe stop, sit down and pause as long, as there are other players around me?
if( pawn.Class1 == 0 or pawn.Class2 == 0 or pawn.Level > 70 or pawn.Name == testcharname ) then
to
if(pawn.Level > 0) then
that if i am whispered, i can answer everyone? or maybe stop, sit down and pause as long, as there are other players around me?
Re: GM detection and banning chance reduction
where i can find the gmdetection log?.. one of my character are logging out coz he detect GM.. i just want to look my gmdetection log... if GM whisper my character or my character just log out when he detect the GM
Re: GM detection and banning chance reduction
micromacro/scripts/rom/logs/GMdetectwhispers.xml
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: GM detection and banning chance reduction
little correction: its a log file not xml GMdetectwhispers.loglisa wrote:micromacro/scripts/rom/logs/GMdetectwhispers.xml
Re: GM detection and banning chance reduction
on my computer that log file is however called GMdetectwhispers.xml
Sure, its content is not xml, but that is the name of the file.
Sure, its content is not xml, but that is the name of the file.
Re: GM detection and banning chance reduction
I can't remember exactly why I did it as a .xml but it doesn't change the format. I may have done it for easy reading with notepad++ can't remember, either way it is deffinately .xmlgloover wrote:little correction: its a log file not xml GMdetectwhispers.log
Code: Select all
filename = getExecutionPath() .. "/logs/GMdetectwhispers.xml";
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: GM detection and banning chance reduction
Ups, sorry lisa, you've right - your original version of gmdetec userfunction save the log into xml file.
I did some modiffications for me, one of them was to save all dialogs to a .log file
Sorry again - my mistake!
I did some modiffications for me, one of them was to save all dialogs to a .log file
Sorry again - my mistake!
Re: GM detection and banning chance reduction
Hi Lisa, i just tested this function and it works perfectly. I was just wondering if you could tell me how to make the bot play the alarm sound whenever there is someone whispering to me. Thank you
Re: GM detection and banning chance reduction
just search for "Beep when whispered" in forum - there is a snippet which can be implemented additonal
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2896
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2896
Who is online
Users browsing this forum: No registered users and 1 guest