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
abron1
Posts: 162
Joined: Wed Feb 22, 2012 12:43 am

Re: GM detection and banning chance reduction

#241 Post by abron1 » Thu Mar 01, 2012 9:51 pm

i did test it and MM said sound the alarm but i still hear no sound the bot stops and the gives the message to do the alarm but maybe i have something set up wrong... i have all the functions you put in that topic and i see the volume to 10 is there another setting i am supose to change?

User avatar
Administrator
Site Admin
Posts: 5313
Joined: Sat Jan 05, 2008 4:21 pm

Re: GM detection and banning chance reduction

#242 Post by Administrator » Thu Mar 01, 2012 10:00 pm

Maybe you don't have OpenAL installed? Or maybe you just need to update MicroMacro.

abron1
Posts: 162
Joined: Wed Feb 22, 2012 12:43 am

Re: GM detection and banning chance reduction

#243 Post by abron1 » Thu Mar 01, 2012 10:02 pm

ah ok ill try to update it and see what happens do i use the update in at the start of MM or do a svn update on the folders?

User avatar
Administrator
Site Admin
Posts: 5313
Joined: Sat Jan 05, 2008 4:21 pm

Re: GM detection and banning chance reduction

#244 Post by Administrator » Thu Mar 01, 2012 10:11 pm

abron1 wrote:ah ok ill try to update it and see what happens do i use the update in at the start of MM or do a svn update on the folders?
http://www.solarstrike.net/index.php/pr ... micromacro

abron1
Posts: 162
Joined: Wed Feb 22, 2012 12:43 am

Re: GM detection and banning chance reduction

#245 Post by abron1 » Thu Mar 01, 2012 10:31 pm

thanks ill update it


edit just updated now going to check the gm function.. but no more yellow writhing...

pman
Posts: 59
Joined: Thu Jul 28, 2011 10:44 am

Re: GM detection and banning chance reduction

#246 Post by pman » Fri Mar 02, 2012 5:44 am

hi, I have a problem with this userfunction:

Code: Select all

pawn.Level
GM detected! Name: , Class IDs: 12124344/12320955
The problem is the name: , I thought the code checks if there are only valid chars in the name.

best regards, pman

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

Re: GM detection and banning chance reduction

#247 Post by lisa » Fri Mar 02, 2012 6:39 am

the comma is just part of the string and not the actual name, it is saying the name is " " so basically a space.

Code: Select all

printf("GM detected! Name: %s, Class IDs: %d/%d\n", tostring(pawn.Name), pawn.Class1, pawn.Class2);
Memory addresses change constantly in RoM and it may happen from time to time.
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

pman
Posts: 59
Joined: Thu Jul 28, 2011 10:44 am

Re: GM detection and banning chance reduction

#248 Post by pman » Fri Mar 02, 2012 6:50 am

no, it says thet the name is "", so its basically empty.

so i added this code at the beginning of the local function valid_name(name)

Code: Select all

-- check name length
	if(#name == 0) then 
		return false;
	end
hope this will do it

EDIT: looks like it works now

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: GM detection and banning chance reduction

#249 Post by rock5 » Fri Mar 23, 2012 9:08 am

This has happened at least twice to me.

Code: Select all

Engaging enemy [XXXXXXX] in combat.
Use 1: SCOUT_AUTOSHOT      =>   XXXXXXX (34701/34701)
Use MACRO: SCOUT_SHOOT         pawn.Level
GM detected! Name: , Class IDs: 15794416/16056564

Did not find any crashed game clients.
11:45pm - ...scripts/645/userfunctions/userfunction_gmmonitor.lua:97: Logging out because GM detected.
So there does probably needs to be extra checks for valid pawns like what pman said.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

pman
Posts: 59
Joined: Thu Jul 28, 2011 10:44 am

Re: GM detection and banning chance reduction

#250 Post by pman » Fri Apr 13, 2012 8:26 am

hi :) is there a possibility to do an extra check if class is game master? because everytime i saw a gm, he was lvl 70 (so lvl check is useless) and had 2 classes (gm and something else), as you can see on my screenshot.
have a nice day, pman
Attachments
gm.jpg

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

Re: GM detection and banning chance reduction

#251 Post by lisa » Fri Apr 13, 2012 6:29 pm

the userfunction has always done a check for class, since they added in 2 new classes not sure if that is still working or not.

Code: Select all

pawn.Class1 == 0 or pawn.Class2 == 0
0 was GM class, it may have changed.
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

trias
Posts: 13
Joined: Sun Jan 15, 2012 6:21 am

Re: GM detection and banning chance reduction

#252 Post by trias » Wed Apr 18, 2012 2:28 pm

lisa wrote:the userfunction has always done a check for class, since they added in 2 new classes not sure if that is still working or not.
Looks like it's still working :D
GM detection just spotted a GM in KS when my bot was working.
Attachments
GM detection has done it's work.
GM detection has done it's work.
-Keep up good work, I wouldn't be playing RoM if there is no Rom Bot-

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

Re: GM detection and banning chance reduction

#253 Post by lisa » Wed Apr 18, 2012 9:07 pm

trias wrote:GM detection just spotted a GM in KS when my bot was working.
Looks like the userfunction saved your char, atleast for a little bit ;)
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

whyme
Posts: 4
Joined: Thu Apr 19, 2012 7:07 pm

Re: GM detection and banning chance reduction

#254 Post by whyme » Thu Apr 19, 2012 7:22 pm

I really like this addon. However, I would like it to detect any normal player that is in my area. Would I modify this line:

if( pawn.Class1 == 0 or pawn.Class2 == 0 or pawn.Level > 70 or pawn.Name == testcharname ) then

to maybe something like

if( pawn.Level < 70 ) then

I don't know where pawn.Class1, pawn.Level or pawn.Name are coming from so I can't follow all the code.

Also, is there a way to check if the person that whispered you is in your friends list. I have had a friend whisper me a few times and it whispered him back with one of the pre-programmed responses and logged out. He was then confused with my pre-programmed response.

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

Re: GM detection and banning chance reduction

#255 Post by lisa » Thu Apr 19, 2012 8:54 pm

whyme wrote:Also, is there a way to check if the person that whispered you is in your friends list. I have had a friend whisper me a few times and it whispered him back with one of the pre-programmed responses and logged out. He was then confused with my pre-programmed response.
That would only happen if your friend is a GM lol
whyme wrote: I would like it to detect any normal player that is in my area.
You can just write your own userfunction to do what you want, this is specifically for detecting GM's. Doing what you want is much more simple then what this userfunction does.
whyme wrote: don't know where pawn.Class1, pawn.Level or pawn.Name are coming from so I can't follow all the code.
"pawn" is the name I gave to the table of information for the objects in the area as it checks every object.

So pawn.Name is the name of the object
pawn.Class1 is the first class of the object
pawn.Level is the level of first class of the object

So if all you want is to check for other players then you want.
pawn.Type == PT_PLAYER


I suspect what you want is to set up some sort of auto emote and replies to players. I suguest you start your own topic in the main "runes of magic" section of forum and see if others want to help you get it going.

For if name is on friend list the code you want goes like this

Code: Select all

for i=1, RoMScript("GetFriendCount('Friend')") do
if pawn.Name == RoMScript("GetFriendInfo('Friend', "..i..")") then
--some fancy code here
end
end
You can find the info for the in game function here
http://www.theromwiki.com/API:GetFriendInfo
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

trias
Posts: 13
Joined: Sun Jan 15, 2012 6:21 am

Re: GM detection and banning chance reduction

#256 Post by trias » Mon Apr 23, 2012 2:01 pm

lisa wrote:Looks like the userfunction saved your char, atleast for a little bit ;)
It sure did, thank you for that ;)
-Keep up good work, I wouldn't be playing RoM if there is no Rom Bot-

whyme
Posts: 4
Joined: Thu Apr 19, 2012 7:07 pm

Re: GM detection and banning chance reduction

#257 Post by whyme » Fri Apr 27, 2012 10:30 am

My GMdetect activates whenever someone whispers me. This has happened with guildies (lvl 70) and now gold spammers (lvl 1). The gold spammer today, made my character do a recall also. I have never been whispered by a real GM, which is fine by me.

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

Re: GM detection and banning chance reduction

#258 Post by lisa » Fri Apr 27, 2012 6:27 pm

whyme wrote:My GMdetect activates whenever someone whispers me. This has happened with guildies (lvl 70) and now gold spammers (lvl 1). The gold spammer today, made my character do a recall also. I have never been whispered by a real GM, which is fine by me.
Are you on an old server?
Have you got multiple versions of the userfunction?

I just don't see how that can happen with current userfunction and current bot.
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

whyme
Posts: 4
Joined: Thu Apr 19, 2012 7:07 pm

Re: GM detection and banning chance reduction

#259 Post by whyme » Fri Apr 27, 2012 10:25 pm

I have version 2.4 of GMdetect and RoM Bot is 3.29 revision 708. I am on a regular server, not private.

I ran GMdetect on one character and whispered him on another of my accounts. After the first whisper, the character stopped and started counting down for 300 seconds. I whispered him over 10 times during the 300 seconds and nothing else happened. At the end of 300 seconds, the character responded back with one of the canned responses and logged out.

RoM Bot says "Logging out because GM whispered, used recall." However, it did not use recall. It just logged out.

Here are my profile options for GMdetect:

<!-- GM detection options -->
<option name="GMDETECT" value="true" /> -- enables the GM detection userfunction
<option name="GMnearbylogout" value="true" /> -- If a GM is close to the character it will log out.
<option name="PAUSEONGM" value="300" /> -- Pauses when GM whispers for value in seconds. ie 300 = 5 minutes
<option name="RECALL" value="false" /> -- if in combat while pausing it will use recall and whisper/logout

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

Re: GM detection and banning chance reduction

#260 Post by lisa » Sat Apr 28, 2012 1:41 am

it should have done a count down with 10 second intervals
300
290
280
270
and so on

unless you are in combat and then it should say
We got aggro, skipping pause and logging out.
whyme wrote:RoM Bot says "Logging out because GM whispered, used recall." However, it did not use recall. It just logged out.
Yep seems I copy pasted the error message so it says it used recall but didn't.

It still shouldn't think everyone is a GM, Like I did say earlier though there are 2 new classes and maybe it has messed with the userfunction, since I don't even play RoM anymore I haven't tested it.
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

Locked

Who is online

Users browsing this forum: No registered users and 3 guests