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
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: GM detection and banning chance reduction

#301 Post by lisa » Mon Aug 06, 2012 10:33 pm

Not sure what to say, try updating the files maybe ?

I used your code and it worked fine.

Code: Select all

<onload>
	function beingfollowed(pawn,alarmnumber)
		cprintf(cli.lightblue,"Inside beingfollowed \n");
		if alarmnumber == 1 then
			cprintf(cli.lightblue,"Player following us. Logout. \n");
			sendMacro("Logout();");
		end
	end 
while (true) do
yrest(1000)
end
</onload>

Code: Select all

GM detection started
Inside beingfollowed
Inside beingfollowed
Inside beingfollowed
Player following us. Logout.
Use MACRO: Executing RoMScript "Logout();".
Inside beingfollowed
Player following us. Logout.
Use MACRO: Executing RoMScript "Logout();".
Inside beingfollowed
Inside beingfollowed
Stopping execution.
Your post did make me think there needs to be a check for if in party or not, I didn't add that in to the code and it should be there.

Line 81 of the userfunction can be changed
from

Code: Select all

if pawn.Name == player.Name then return end
to this

Code: Select all

if pawn.Name == player.Name or pawn.InParty == true then return end
That should do 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

Alleexx
Posts: 120
Joined: Sun May 15, 2011 4:28 am
Location: Sweden

Re: GM detection and banning chance reduction

#302 Post by Alleexx » Fri Aug 10, 2012 6:15 am

For some reason when I use a testchar to whisper my bot nothing at all happens. It just continues. I have changed the testcharname in the userfunction I tried both to have startGMDetect() in profile onload and waypoint onload, I have all options in the profile but still nothing.
When I start the bot it says GM detection started but still it doesn't seem to work.

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

Re: GM detection and banning chance reduction

#303 Post by lisa » Fri Aug 10, 2012 7:26 am

Alleexx wrote:For some reason when I use a testchar to whisper my bot nothing at all happens. It just continues. I have changed the testcharname in the userfunction I tried both to have startGMDetect() in profile onload and waypoint onload, I have all options in the profile but still nothing.
When I start the bot it says GM detection started but still it doesn't seem to work.
My guess is you need to test to make sure you can monitor chat properly, on the first post have a look for this.
A WP purely for testing that you have event monitoring funtional.
Can be any character even brand new and you don't need any extra code in profile for it to work, just run bot with this waypoint file.


Attachment:
File comment: Tests if event monitoring is working, posts LOL in Say, posts on MM window that it is working.
eventmonitortest.xml [618 Bytes]
Downloaded 337 times
I would say that you are just missing the addon which is also mentioned on the first post =)
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

Alleexx
Posts: 120
Joined: Sun May 15, 2011 4:28 am
Location: Sweden

Re: GM detection and banning chance reduction

#304 Post by Alleexx » Fri Aug 10, 2012 11:33 am

I tried that and it said everything worked fine

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

Re: GM detection and banning chance reduction

#305 Post by lisa » Fri Aug 10, 2012 7:08 pm

hmmm, the charname has to be exact, capitals and all.
Does the charname have special characters in 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

Alleexx
Posts: 120
Joined: Sun May 15, 2011 4:28 am
Location: Sweden

Re: GM detection and banning chance reduction

#306 Post by Alleexx » Sat Aug 11, 2012 1:29 pm

Charname is exact, no special characters

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

Re: GM detection and banning chance reduction

#307 Post by lisa » Sat Aug 11, 2012 9:42 pm

Not sure what else it could be.

Maybe try redownloading the files, check the profile options, double check the monitor test.

I tested and it works fine for me

Code: Select all

GM detection started
Party Monitor started.
GM detected! Name: Char, Class IDs: 2/3
Alarm has been sounded
GM detected! Name: Char, Class IDs: 2/3
Alarm has been sounded
GM detected! Name: Char, Class IDs: 2/3
Alarm has been sounded
Use MACRO: Executing RoMScript "AskPlayerInfo('Char');".

You have been whispered by: Char
Alarm has been sounded
Alarm has been sounded
Use MACRO: Executing RoMScript "SendChatMessage('Sorry mum is yelling I ".
Did not find any crashed game clients.
12:38am - ...scripts/rom/userfunctions/userfunction_gmmonitor.lua:259: Logging out because GM whispered.

log file

Code: Select all

08/12/12 12:37:36 GM detected! Name: Char, class IDs: 2/3
08/12/12 12:37:41 GM detected! Name: Char, class IDs: 2/3
08/12/12 12:37:46 GM detected! Name: Char, class IDs: 2/3
08/12/12 12:37:49 Char name: Char Message: lol
08/12/12 12:37:50 Char name: Char Message: Char(guild) Scout (50) Rogue (21) Coast of Opportunity Human (Female)
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

Alleexx
Posts: 120
Joined: Sun May 15, 2011 4:28 am
Location: Sweden

Re: GM detection and banning chance reduction

#308 Post by Alleexx » Tue Aug 14, 2012 5:31 pm

Ok I've redownloaded eveything and eventmonitortest says everything works fine, but when I whisper my char from the test char or from any other char nothing happens. It just keeps going

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

Re: GM detection and banning chance reduction

#309 Post by lisa » Tue Aug 14, 2012 7:48 pm

Took me about an hour but I managed to replicate what was happening for you and fix it.

It was an error on I did in part of the code that made it leave the userfunction and so it wasn't doing all of the code.

In my earlier testing it worked as my "gm char" was close to the bot char and so it got out of the code causing the issue.

Long story short I messed up, grab V 7.1 (first post) and all will be good again =)
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

Alleexx
Posts: 120
Joined: Sun May 15, 2011 4:28 am
Location: Sweden

Re: GM detection and banning chance reduction

#310 Post by Alleexx » Wed Aug 15, 2012 4:26 pm

Thanks alot lisa!
Only problem I have now is that I can't hear any alarm sound but it doesn't really matter as I usually bot with the sound off.

Alleexx
Posts: 120
Joined: Sun May 15, 2011 4:28 am
Location: Sweden

Re: GM detection and banning chance reduction

#311 Post by Alleexx » Fri Aug 17, 2012 6:20 am

It seems I spoke too soon...

When the bot changes char using rock5's fast login I always get "Cannot get log event for monitor 'GMdetect'. No such monitor name exists." spammed in the ingame chat. And the bot won't stop when I whisper it. It only works when using the first char in the list.

Any ideas why this may happen?

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

Re: GM detection and banning chance reduction

#312 Post by lisa » Fri Aug 17, 2012 6:28 am

Do you have startGMDetect() in the WP or profile ?
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
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: GM detection and banning chance reduction

#313 Post by rock5 » Fri Aug 17, 2012 6:58 am

When you change character the gmevent monitor stops and has to be restarted. If you add it to the WP file and then reload the WP file when changing characters, the gm monitor will be restarted.

If you add it to the profile onload and reload the profile when changing characters, the old methods to do so wouldn't rerun the profile onload so the gm monitor doesn't get restarted. If you use the "loadProfile()" function it does redo the onload.

So if you prefer having the "startGMDetect()" in your profile, then make sure you use loadProfile() to reload the profile.
http://www.solarstrike.net/phpBB3/viewt ... 643#p32643
  • 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

Jandrana
Posts: 187
Joined: Thu Jul 05, 2012 5:53 am

Re: GM detection and banning chance reduction

#314 Post by Jandrana » Fri Aug 17, 2012 9:24 am

During the last days I encountered this problem: "Cannot get log event for monitor 'GMdetect'."

I have fast login installed, but the script I was running at that time, does not switch between any characters. (but it does switch channels)

Is this a general problem, when using fast login?

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

Re: GM detection and banning chance reduction

#315 Post by lisa » Fri Aug 17, 2012 9:29 am

if the startGMDetect() is in the waypoint then it isn't an issue with the login but if you have it in the profile then you will need to reload the profile, as rock said.

The event monitoring is an addon and as such when you log out, even to character screen, all addons are reloaded and therefore it stops tracking all previous events.
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

krix
Posts: 30
Joined: Sun May 13, 2012 7:26 pm

Re: GM detection and banning chance reduction

#316 Post by krix » Fri Aug 17, 2012 12:01 pm

What modification shoud I do to add option: change chanel if followed by <Table with character names> ?

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

Re: GM detection and banning chance reduction

#317 Post by lisa » Fri Aug 17, 2012 6:33 pm

something like this I guess.

Add it to WP onload if doing this code for specific waypoint file.
Add to profile onload if you want that char to always do this code when followed.

Code: Select all

function beingfollowed(obj,alarm)
	local tnames = {"Somechar","Anotherchar"}
	if playalarm then playalarm() end
	if 2 >= alarm then return end -- ignore the first couple and do the code on 3rd alarm
	for k,v in pairs(tnames) do
		if v == obj.Name then
			SetChannelForLogin("next")
			RoMScript("ChangeChar('current')")
			loadProfile()
			return
		end
	end
end
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

Alleexx
Posts: 120
Joined: Sun May 15, 2011 4:28 am
Location: Sweden

Re: GM detection and banning chance reduction

#318 Post by Alleexx » Tue Aug 21, 2012 7:00 am

I haven't had time to test this until today, but it works great when reloading the profile. Thanks rock!

vo2male
Posts: 122
Joined: Mon Aug 27, 2012 6:41 am

Re: GM detection and banning chance reduction

#319 Post by vo2male » Tue Sep 11, 2012 5:14 pm

Hi everyone. I'd like to ask if its is possible to add a script here that would whisper GMs from time to time to know if they are offline or online? Then if the whisper is received by the GM or he whispered back, it would trigger the

Code: Select all

function messagereply()
and automatically logs off your character. If it is possible, could you guys help me how to put it? I was thinking this would be another way of detecting GMs ^_^ because GM sometimes just don't whisper at you, they would just jump at you anytime. I know a friend of mine who was caught while botting. he was on one instance and the GM just jump right next to him.

Moreover i was wandering if there is a userfunction that would show you offline even though your are online?

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

Re: GM detection and banning chance reduction

#320 Post by lisa » Tue Sep 11, 2012 8:11 pm

vo2male wrote:I know a friend of mine who was caught while botting. he was on one instance and the GM just jump right next to him.
this userfunction detects if a GM is nearby, if your friend was using this function and properly configured he probably wouldn't have been banned.
vo2male wrote: to know if they are offline or online?
You would need to know all the GM character names, if you already know that then you can do a

Code: Select all

AskPlayerInfo("charname") 
and monitor the system chat for the response, no need to actually whisper the GM at all to know if they are online.
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 16 guests