gmdetec exception

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Louis
Posts: 22
Joined: Sat Dec 17, 2011 4:52 pm

gmdetec exception

#1 Post by Louis » Sun Oct 28, 2012 1:57 pm

Hello friends, I have a question, gmdetect configure to ignore the whispers of my friends and so I do not pull out of the game?
o This is configured in the profile?

Thank you.

I use google translator xDD

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

Re: gmdetec exception

#2 Post by lisa » Sun Oct 28, 2012 7:06 pm

Unless your friends are GM's it shouldn't be an issue, it should detect the whisper and then do a print on screen saying you got whispered and add the info to the log but it shouldn't log out or anything unless they are an actual GM.

If you really want to ignore your friends though you can alter the userfunction_gmmonitor.lua

line 165 should have this

Code: Select all

		if msg ~= nil and name ~= "Newbie Pet" then -- make sure something was returned
notice the name ~= "Newbie Pet" that is checking to see if you were whispered by the newbie pet and will ignore any whispers from it.

You can add in or adapt that line to suit your needs.
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

Louis
Posts: 22
Joined: Sat Dec 17, 2011 4:52 pm

Re: gmdetec exception

#3 Post by Louis » Sun Oct 28, 2012 7:40 pm

Hi Lisa, my gmmonitor detects my alts lvl 1 when the addon autoacceptinvitations whisper, also caught my friends as GM.

I tried editing the line 165 but adding multiple pjs Rombot start I get an error with line 165.
but adding a single pj if it works:
example
if msg ~ = ~ = nil and name "Friend" then - make sure something was returned

there will be some way to add more pjs to line 165?

thanks for everything :)

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

Re: gmdetec exception

#4 Post by lisa » Sun Oct 28, 2012 7:56 pm

There are a few ways to do it.

You can add each friend with
name ~= "friendsname"
or you could set up a table with the names.

friends = {"someone","someoneelse","whoever"}
and then do

Code: Select all

for k,v in pairs(friends) do
if name == v then return end
end
in the file it would look something like this

Code: Select all

	local friends = {"someone","someoneelse","whoever","someotherperson"}	
	repeat
	local time, moreToCome, name, msg = EventMonitorCheck("GMdetect", "4,1")
		if msg ~= nil and name ~= "Newbie Pet" then -- make sure something was returned
			for k,v in pairs(friends) do
				if name == v then return end
			end

you can add as many names to the table as you want, it just needs to follow the same format.
names are within " " and a , between each name.
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

Louis
Posts: 22
Joined: Sat Dec 17, 2011 4:52 pm

Re: gmdetec exception

#5 Post by Louis » Sun Oct 28, 2012 8:44 pm

Thanks Lisa the table works well.
Sorry for the inconvenience :)

you're my goddess.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 16 guests