revision 587, It's a party - break out the streamers.
Posted: Wed Mar 30, 2011 4:53 am
Ok I have added in my party bot into the current revision.
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
The party leader should also have
This will let it know to assign the raid icon for kill targets, If only using leader and 1 healer then you don't need this.
DPS and leader can use this code if you are killing mobs with high HP, instances or elites.
It will negate the usual check for high HP and therefore not ignore targets of high HP.
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.
Add this to profile for characters who arn't the leader, Charname is the name of the character you want it to follow. If this option isn't used or if mispelt then it will follow the first party member on it's screen by default. If only leader and 1 follower you wouldn't need to add this.
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
Then that code will be performed at the number, ie 3 will be at 3 unsticks, 6 for 6 and 9 for 9. If you don't have a user function with any of these names then it will do what it always does.
There is also an addition of a function to get party member names and also a function for raid icon usage.
will return the name of the first party member, this is the character directly under the player avatar. can use 1-5 to get whole party. I haven't tested it for a raid size as yet.
Raid icon detection is like this
can be numbers from 1-8 (i think 8 is max I'll double check later)
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 =)
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 =)