The bot will functional exactly the same as it did previously unless you add in some options to your character profiles.
A few things to know about how this works.
Basically you will want 1 character to Lead the party and this will be the only character to actual use a normal WP. This character will place a raid icon on the target to be killed and therefore needs to be the party leader. A tank or high HP dps character would be best for this position.
Another party member can be a pure healer (doesn't do any damage)
Another party member can be DPS but can also self heal (won't heal others).
I have set it up farely simply for usage.
All characters should have their usual skills set in their profile and also have this option
Code: Select all
<option name="PARTY" value="true" />
Code: Select all
<option name="PARTY_ICONS" value="true" />
DPS and leader can use this code if you are killing mobs with high HP, instances or elites.
Code: Select all
<option name="PARTY_INSTANCE" value="true" />
At the moment I use the follow command for all non-leader bots, I may look at moveinrange later but for not it uses follow.
Code: Select all
<option name="PARTY_FOLLOW_NAME" value="Charname" />
That is pretty much it for profile options required to make party bot work.
+_+_+_+_+_+_+_+_+_+_+_+
Party Leader
+_+_+_+_+_+_+_+_+_+_+_+
Add the options as described already, this character will use a normal WP file that tells it where to go and what to do. You don't need to add anything special to an existing WP for it to work.
+_+_+_+_+_+_+_+_+_+_+_+
Pure Healer
+_+_+_+_+_+_+_+_+_+_+_+
very important for a healer to be started before the leader starts it's WP.
Also very very important all party members to be very close to the healer when it is started, it will read from memory who is in party and their names and such. If member is out of range or not in party then it may error but deffinately won't heal or buff the member that was out of range.
The healer doesn't need much for it to work, I have attached a WP called partyhealer.xml if you use this WP then it will follow the designated player and it will check buffs and heal all party members, including itself. I have it set for priest skills at this stage.
+_+_+_+_+_+_+_+_+_+_+_+
DPS
+_+_+_+_+_+_+_+_+_+_+_+
This character should be nearby when others are started, it will only attack mobs with the raid icon I on it, which is set by the leader. It will use the skills in it's profile and behave normally except it will follow designated character and only kill what it's told to kill by party leader, follow is only used when out of combat, so it will move normally during combat.
I attached the WP partydps.xml
Check out classes/party.lua for details on how healing and following currently works.
For now that is pretty much all you need to know to make it work.
Please post any sugguestions or problems as a reply to this topic.
Thanks
Edit I forgot to mention some other things I added.
I added in a venue for people to customise what happens at stick counter points.
If you create a userfunction and have all or any functions called
Code: Select all
function unStick3()
function unStick6()
function unStick9()
There is also an addition of a function to get party member names and also a function for raid icon usage.
Code: Select all
GetPartyMemberName(1)
Raid icon detection is like this
Code: Select all
local icon = pawn:GetPartyIcon()
if icon == 1 then
So you can check if any pawn has an icon ie mob, npc, player.
Thanks to Rock5 for making up those functions, they are awesome =)