Page 3 of 3

Re: 774 Changelog

Posted: Tue May 20, 2014 2:18 am
by lisa
well it is only if the profile option is set to true, which I think only very few people would do but either way I am looking at using the profile friend list atm, might get time tomorrow to play around with it.

_whispname is local to party.lua, it is set by checkEventParty, as in who ever whispers you.
If the profile option is not set to true then checkEventParty checks party chat, if it is set to true then checkEventParty checks whispers. So it all comes down to if profile option is set to true or not, if it is then that is the only time there may be any kind of issue.

Re: 774 Changelog

Posted: Tue May 20, 2014 6:33 pm
by lisa
ok commited my changes to party.lua, nothing else at this stage.

Code: Select all

function checkEventParty()
	repeat
		local time, moreToCome, name, msg = EventMonitorCheck("pm1", "4,1")
		if msg and name ~= player.Name then
			if settings.profile.options.MONITOR_WHISPERS then
				if table.contains(settings.profile.friends,name) then 
					_whispname = name
					return msg, name
				end
			else
				return msg, name
			end
		end
	until msg == nil
end
It checks the profiles friends list as to who to accept whispers from, so when you add in the profile option to accept whispers you should also make sure to add in the character names to friends list as to who may be leading the party bot.

Re: 774 Changelog

Posted: Tue May 20, 2014 8:00 pm
by lisa
Commited 777 with the changes from RoMScript to RoMCode, tested createpath and various other things in the game and all worked smoothly.
Any issues just post them here.