Page 13 of 16

Re: Party Bot (questions/answers)

Posted: Wed Apr 02, 2014 1:17 am
by ZZZZZ
Would it be possible to alter partyhealer for a raid?

Re: Party Bot (questions/answers)

Posted: Wed Apr 02, 2014 2:59 am
by lisa
when i created party bot it worked fine for a raid, has it changed to not work in raids?

Re: Party Bot (questions/answers)

Posted: Wed Apr 02, 2014 3:26 am
by ZZZZZ
It does run in raids, but it only buffs those in the group it's in. It also only follows somebody in the same group, meaning that if you set the healer to follow your main character who is in a different group, it will follow a random instead. Not exactly sure about heals, didn't get a chance to test who it is healing.

Re: Party Bot (questions/answers)

Posted: Wed Apr 02, 2014 3:32 am
by lisa
maybe the inparty flag isn't working for raid members anymore, I'll have to check it when servers come back online.

Re: Party Bot (questions/answers)

Posted: Wed Apr 02, 2014 9:10 am
by lisa
It all works fine for me, buffs and heals entire raid.

As for the following yeah it was only set up to follow a party member, I have changed it in the attached file and did a small test and it worked fine, maybe you can fully test it for me.
party.lua
(17.72 KiB) Downloaded 221 times
Basically if the character named in profile is actually within memory range it will follow them even if not in party or raid. Still only heals/buffs party and raid members though.
If the named char isn't around then it will follow someone in party.

Re: Party Bot (questions/answers)

Posted: Wed Apr 02, 2014 10:06 am
by ZZZZZ
cool, will give it a shot when I get a chance next. One other question though, is it possible to add whisper to the event monitoring without adding another entire start/check/stop etc. Like

Code: Select all

EventMonitorStart("pm1", "CHAT_MSG_PARTY", "CHAT_MSG_WHISPER")
In a raid I don't exactly want to go typing code("yada yada") etc into party chat with other players xD
There are a lot of bosses particularly in hard mode that healers should stay away from....and can't turn follow off without using party commands

Re: Party Bot (questions/answers)

Posted: Wed Apr 02, 2014 7:35 pm
by lisa
That could complicate things, reason I did it just for party members was so that you wouldn't get people messing with your bots. If people knew that you were botting and didn't like the fact they may try to hinder you, if they knew whispering the bot might get some response then they might try it. Whereas I figured most people wouldn't try to bot in a party unless the people in the party knew what you were doing.

As for the question yeah it monitors an event and the event monitoring isn't set up to accept more than 1 event to monitor at a time so another monitor would need to be set up for whispers. You would then probably need to have a list of names you want to accept whispers from so you don't get random people whispering your bot commands.

Yeah it is possible though, I remember a while back setting up a whisper monitor on main bot, so if someone on the list whispered the bot a specific phrase it would invite them to party.

Ok well you can give this a test drive if you want.
Add a profile option
MONITOR_WHISPERS

Code: Select all

		 <option name="MONITOR_WHISPERS"	value="true" />
if that is true in your profile it will ONLY accept whispers and not monitor party chat, if it is false then it will ONLY accept party chat and not whispers.

There is no list of who it accepts commands from, so anyone at all can whisper your bot and it will react accordingly.
It won't post to party chat anything it has to say if whisper is set to true, it will send the messages as a whisper to who ever whispered it.

Hopefully I didn't forget anything.
party.lua
(18.01 KiB) Downloaded 235 times

Re: Party Bot (questions/answers)

Posted: Wed Apr 02, 2014 7:59 pm
by ZZZZZ
Ok, will try that. I did the whisper commands etc for my ch/m buff character, I can control everything it does, from spaming and following, to resing up and changing who it targets for the buff all through whispers. I have a list of names that it accept commands from though.

But with partybot, wouldn't it make sense to only accept whispers from the person it is following?

Re: Party Bot (questions/answers)

Posted: Wed Apr 02, 2014 8:34 pm
by lisa
ZZZZZ wrote:But with partybot, wouldn't it make sense to only accept whispers from the person it is following?
Well for me I don't always get it to follow the one I am controlling, I tend to have healers follow ranged DPS, it gets them that little bit further from the bosses as I generally control the "tank" which is always under the bosses feet.

But then I usually have 4-5 bots following me through an instance.

Re: Party Bot (questions/answers)

Posted: Tue May 13, 2014 11:42 am
by beanybabe
I was wondering if it would be hard to add everyone in party to the friend list
/waypoint
-- subroutine to add all party members as friends
changeOptionFriendMob("friend", "party member 1", "Add");
changeOptionFriendMob("friend", "party member 2", "Add");
...

if this was auto done then it would save editing every waypoint if party member changes.

Re: Party Bot (questions/answers)

Posted: Tue May 13, 2014 5:54 pm
by lisa
I never add anyone to friend list, so I'm not sure exactly what you mean.
Is there a waypoint where you want party members added to friend list?

Re: Party Bot (questions/answers)

Posted: Mon May 19, 2014 6:17 am
by ZZZZZ
beanybabe wrote:I was wondering if it would be hard to add everyone in party to the friend list
/waypoint
-- subroutine to add all party members as friends
changeOptionFriendMob("friend", "party member 1", "Add");
changeOptionFriendMob("friend", "party member 2", "Add");
...

if this was auto done then it would save editing every waypoint if party member changes.
Im not sure why you would want to add party members to that list, but you could always use this function

Code: Select all

function addPartyToFriendsList()
	for i=1, 5 do
		local partyName = GetPartyMemberName(i)
		if partyName then
			changeOptionFriendMob("friend", ""..partyName.."", "Add");
		end
	end
end

Re: Party Bot (questions/answers)

Posted: Tue May 20, 2014 6:21 pm
by Lamkefyned
Event party to stopped working?

Code: Select all

		function LTU_HossEP(arg1)
			eventParty()
			repeat
			yrest(100)
			until checkEventParty() == arg1
			eventParty("stop") 
		end

Re: Party Bot (questions/answers)

Posted: Tue May 20, 2014 6:37 pm
by lisa
Lamkefyned wrote:Event party to stopped working?
I just commited a change, try updating and reverting party.lua


The new profile option MONITOR_WHISPERS will now only accept whispers from characters in your profiles friend list, make sure to get the name exact.

Code: Select all

	<friends>
		<!-- names of friends we help fighting or enemys we don't want to attack -->
		<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer         -->
		<friend name="MyOtherCharacter1" />
		<friend name="MyOtherCharacter2" />
		<friend name="Elite_Mob_Name1" />
		<friend name="Elite_Mob_Name2" />
	</friends>

Re: Party Bot (questions/answers)

Posted: Tue May 20, 2014 6:40 pm
by Lamkefyned
This be fixed in later versions?

Re: Party Bot (questions/answers)

Posted: Tue May 20, 2014 7:21 pm
by Lamkefyned
lisa wrote:
Lamkefyned wrote:Event party to stopped working?
I just commited a change, try updating and reverting party.lua


The new profile option MONITOR_WHISPERS will now only accept whispers from characters in your profiles friend list, make sure to get the name exact.

Code: Select all

	<friends>
		<!-- names of friends we help fighting or enemys we don't want to attack -->
		<!-- for umlauts use \129 (ue),\132 (ae),\148 (oe) e.g. K\132fer         -->
		<friend name="MyOtherCharacter1" />
		<friend name="MyOtherCharacter2" />
		<friend name="Elite_Mob_Name1" />
		<friend name="Elite_Mob_Name2" />
	</friends>
and since the character's name and sent the message in the group but still not working

Re: Party Bot (questions/answers)

Posted: Tue May 20, 2014 7:26 pm
by lisa
ONLY set MONITOR_WHISPERS to true in profile if you ONLY want to accept whispers and not party chat.
If you want to monitor party as usual then don't add the profile option.

Re: Party Bot (questions/answers)

Posted: Tue May 20, 2014 7:36 pm
by Lamkefyned
Hello, but does not work neither with the function or with the function disabled.

Does not react the character to what you put in the group chat.(party chat)

Re: Party Bot (questions/answers)

Posted: Tue May 20, 2014 8:03 pm
by lisa
maybe you need to do a svn revert because it is working fine for me.

Re: Party Bot (questions/answers)

Posted: Tue May 20, 2014 8:07 pm
by Lamkefyned
I already have the latest version R776