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
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?
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: GM detection and banning chance reduction
Maybe you don't have OpenAL installed? Or maybe you just need to update MicroMacro.
Re: GM detection and banning chance reduction
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?
- Administrator
- Site Admin
- Posts: 5313
- Joined: Sat Jan 05, 2008 4:21 pm
Re: GM detection and banning chance reduction
http://www.solarstrike.net/index.php/pr ... micromacroabron1 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?
Re: GM detection and banning chance reduction
thanks ill update it
edit just updated now going to check the gm function.. but no more yellow writhing...
edit just updated now going to check the gm function.. but no more yellow writhing...
Re: GM detection and banning chance reduction
hi, I have a problem with this userfunction:
The problem is the name: , I thought the code checks if there are only valid chars in the name.
best regards, pman
Code: Select all
pawn.Level
GM detected! Name: , Class IDs: 12124344/12320955
best regards, pman
Re: GM detection and banning chance reduction
the comma is just part of the string and not the actual name, it is saying the name is " " so basically a space.
Memory addresses change constantly in RoM and it may happen from time to time.
Code: Select all
printf("GM detected! Name: %s, Class IDs: %d/%d\n", tostring(pawn.Name), pawn.Class1, pawn.Class2);
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
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)
hope this will do it
EDIT: looks like it works now
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
EDIT: looks like it works now
Re: GM detection and banning chance reduction
This has happened at least twice to me.
So there does probably needs to be extra checks for valid pawns like what pman said.
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.
- 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
Re: GM detection and banning chance reduction
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
have a nice day, pman
Re: GM detection and banning chance reduction
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.
0 was GM class, it may have changed.
Code: Select all
pawn.Class1 == 0 or pawn.Class2 == 0
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
Looks like it's still workinglisa 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.
GM detection just spotted a GM in KS when my bot was working.
-Keep up good work, I wouldn't be playing RoM if there is no Rom Bot-
Re: GM detection and banning chance reduction
Looks like the userfunction saved your char, atleast for a little bittrias wrote:GM detection just spotted a GM in KS when my bot was working.
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
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.
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.
Re: GM detection and banning chance reduction
That would only happen if your friend is a GM lolwhyme 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.
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: I would like it to detect any normal player that is in my area.
"pawn" is the name I gave to the table of information for the objects in the area as it checks every object.whyme wrote: don't know where pawn.Class1, pawn.Level or pawn.Name are coming from so I can't follow all the code.
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
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: GM detection and banning chance reduction
It sure did, thank you for thatlisa wrote:Looks like the userfunction saved your char, atleast for a little bit
-Keep up good work, I wouldn't be playing RoM if there is no Rom Bot-
Re: GM detection and banning chance reduction
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.
Re: GM detection and banning chance reduction
Are you on an old server?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.
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: GM detection and banning chance reduction
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
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
Re: GM detection and banning chance reduction
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
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.
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.
Yep seems I copy pasted the error message so it says it used recall but didn't.whyme wrote:RoM Bot says "Logging out because GM whispered, used recall." However, it did not use recall. It just logged out.
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: No registered users and 3 guests