GM detection and banning chance reduction

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Locked
Message
Author
Budzer
Posts: 99
Joined: Fri Sep 23, 2011 12:44 am

Re: GM detection and banning chance reduction

#181 Post by Budzer » Fri Nov 18, 2011 5:06 am

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?

spawni
Posts: 100
Joined: Wed Sep 28, 2011 11:21 am

Re: GM detection and banning chance reduction

#182 Post by spawni » Fri Nov 18, 2011 6:01 am

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.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#183 Post by lisa » Fri Nov 18, 2011 6:22 am

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.
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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#184 Post by lisa » Fri Nov 18, 2011 6:36 am

to pause when GM nearby use this

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

spawni
Posts: 100
Joined: Wed Sep 28, 2011 11:21 am

Re: GM detection and banning chance reduction

#185 Post by spawni » Fri Nov 18, 2011 10:04 am

:D 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

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

Budzer
Posts: 99
Joined: Fri Sep 23, 2011 12:44 am

Re: GM detection and banning chance reduction

#186 Post by Budzer » Fri Nov 18, 2011 12:27 pm

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 :P

spawni
Posts: 100
Joined: Wed Sep 28, 2011 11:21 am

Re: GM detection and banning chance reduction

#187 Post by spawni » Fri Nov 18, 2011 1:40 pm

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....

Budzer
Posts: 99
Joined: Fri Sep 23, 2011 12:44 am

Re: GM detection and banning chance reduction

#188 Post by Budzer » Fri Nov 18, 2011 1:55 pm

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.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#189 Post by lisa » Fri Nov 18, 2011 9:32 pm

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.
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

spawni
Posts: 100
Joined: Wed Sep 28, 2011 11:21 am

Re: GM detection and banning chance reduction

#190 Post by spawni » Sun Nov 20, 2011 2:17 am

ty @Budzer - had the same prob :)

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#191 Post by lisa » Sun Nov 20, 2011 3:46 am

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 :P
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.

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

kuchen91
Posts: 64
Joined: Tue Nov 01, 2011 6:01 pm

Re: GM detection and banning chance reduction

#192 Post by kuchen91 » Thu Nov 24, 2011 7:42 am

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?

kuripot
Posts: 493
Joined: Mon Nov 07, 2011 9:14 pm

Re: GM detection and banning chance reduction

#193 Post by kuripot » Mon Nov 28, 2011 6:46 pm

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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#194 Post by lisa » Mon Nov 28, 2011 7:06 pm

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

User avatar
gloover
Posts: 304
Joined: Wed Jul 07, 2010 4:31 am

Re: GM detection and banning chance reduction

#195 Post by gloover » Tue Nov 29, 2011 4:41 am

lisa wrote:micromacro/scripts/rom/logs/GMdetectwhispers.xml
;) little correction: its a log file not xml GMdetectwhispers.log

botique
Posts: 40
Joined: Fri Oct 21, 2011 12:25 pm

Re: GM detection and banning chance reduction

#196 Post by botique » Tue Nov 29, 2011 3:08 pm

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.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#197 Post by lisa » Tue Nov 29, 2011 6:59 pm

gloover wrote:little correction: its a log file not xml GMdetectwhispers.log
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 .xml

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

User avatar
gloover
Posts: 304
Joined: Wed Jul 07, 2010 4:31 am

Re: GM detection and banning chance reduction

#198 Post by gloover » Wed Nov 30, 2011 5:47 am

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!

do002
Posts: 58
Joined: Tue Jan 04, 2011 8:18 pm

Re: GM detection and banning chance reduction

#199 Post by do002 » Thu Dec 01, 2011 4:36 am

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

spawni
Posts: 100
Joined: Wed Sep 28, 2011 11:21 am

Re: GM detection and banning chance reduction

#200 Post by spawni » Thu Dec 01, 2011 9:22 am

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

Locked

Who is online

Users browsing this forum: No registered users and 21 guests