Party.lua

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Bojer
Posts: 14
Joined: Wed Jul 20, 2011 3:20 pm

Party.lua

#1 Post by Bojer »

Ok I seem to have hit a snag here. Trying to finally party my priest with my rogue to heal but when I load rom\bot path:partyhealer it loads and all I get is

Party member has a name of Nibbs
No information for party 2
No information for party 3
No information for party 4
No information for party 5

That scrolls for awhile then crashes out. What am I doing wrong here?
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Party.lua

#2 Post by lisa »

Actually that is my fault, I didnt mean to upload my party.lua when I did last commit. Had it ticked by accident.

Update to rev 622 and it should be fine =)
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
Bojer
Posts: 14
Joined: Wed Jul 20, 2011 3:20 pm

Re: Party.lua

#3 Post by Bojer »

Works now ....kinda.

My priest will now buff himself and the other party member but now will keep alternating between targeting himself and my Scout Party member......is this supposed to happen? Nor is he actually healing the scout.
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Party.lua

#4 Post by lisa »

Yeah for now the healer will just follow round and target each party member and itself to see if they need healing or buffing.

When I get the time I am going to change that to get the hp and buffs from memory.

It should be using heals though, you need to have your profile set up with the skills though and have the hpper set to when you want it to heal. I set them kinda high for party bot in my profiles.

for priest I do this

Code: Select all

		<skill name="PRIEST_URGENT_HEAL"    	hotkey="MACRO" priority="100" hpper="80"  />
		<skill name="PRIEST_REGENERATE"     	hotkey="MACRO" priority="90"  hpper="90" />
		<skill name="PRIEST_SOUL_SOURCE"    	hotkey="MACRO" priority="110" inbattle="true" hpper="30" />
		<skill name="PRIEST_AMPLIFIED_ATTACK" 	hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_GRACE_OF_LIFE" 		hotkey="MACRO" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_HEALING_SALVE"     	hotkey="MACRO" priority="95" />
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
Bojer
Posts: 14
Joined: Wed Jul 20, 2011 3:20 pm

Re: Party.lua

#5 Post by Bojer »

This is my Priest skill setup which works solo.....

Code: Select all

<skills_priest>
		<skill name="PRIEST_RISING_TIDE"	        modifier="" hotkey="VK_1" priority="70" />
		<skill name="MAGE_LIGHTNING"		modifier="" hotkey="VK_2" priority="104" />
		<skill name="PRIEST_REGENERATE"		modifier="" hotkey="VK_6" priority="102" hpper="80" />
		<skill name="PRIEST_HEAL"		        modifier="" hotkey="VK_7" priority="108" hpper="20"  />
		<skill name="PRIEST_HOLY_AURA"		modifier="" hotkey="VK_8" priority="110"  inbattle="true" hpper="20" />
		<skill name="PRIEST_SOUL_SOURCE"	modifier="" hotkey="VK_9" priority="108" inbattle="true" hpper="10" />	
		<skill name="PRIEST_MAGIC_BARRIER"	modifier="VK_CONTROL" hotkey="VK_1" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_BLESSED_SPRING_WATER" modifier="VK_CONTROL" hotkey="VK_2" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="MAGE_FIRE_WARD"		modifier="VK_CONTROL" hotkey="VK_3" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_ANGELS_BLESSING"	modifier="VK_CONTROL" hotkey="VK_4" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_ANGELS_CAROL"	modifier="VK_CONTROL" hotkey="VK_5" priority="106" />
		<skill name="PRIEST_GRACE_OF_LIFE"	modifier="VK_CONTROL" hotkey="VK_6" priority="20" rebuffcut="60" inbattle="false" />
		<skill name="PRIEST_SOUL_BOND"		modifier="VK_CONTROL" hotkey="VK_7" priority="20" inbattle="false" />
	</skills_priest>
Now what I see different is that you have hotkey="MACRO" while I have VK keys do I need to switch those to Macro? Also Soul Bond ...my priest keeps trying to cast that on my Scout even though he already cast it on himself and there is a 30 min cooldown.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Party.lua

#6 Post by rock5 »

You don't have to change them to "macro" but it does free up your action keys. It used to be that "macro" was only available to some users but now anyone from any language can use it so it was changed.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Party.lua

#7 Post by lisa »

Bojer wrote: Also Soul Bond ...my priest keeps trying to cast that on my Scout even though he already cast it on himself and there is a 30 min cooldown.
There is no cooldown added to the skills database, not sure why not.
You could try just adding in the cooldown and see how it goes.
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
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Party.lua

#8 Post by rock5 »

The skill doesn't need a cooldown because it's a buff with a long duration. It's supposed to detect the buff on yourself and not try to cast it again until the buff expires. If it's repeatedly casting it then it is not detecting the buff.

I can think of a number of reasons for this.
1. You don't have the buff but you say you do.
1. The buff id is wrong but it looks like it's correct.
2. It's not looking on himself for the buff, although it shouldn't do that.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Party.lua

#9 Post by lisa »

3. you have the buff but the bot is trying to cast it on a party member who doesn't have the buff ;)
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
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Party.lua

#10 Post by rock5 »

lisa wrote:3. you have the buff but the bot is trying to cast it on a party member who doesn't have the buff ;)
I was thinking something along those lines but it still shouldn't act that way. If it's checking a party member for a buff and then casts it on him then it should stop casting. If it's checking itself then it should cast it and then stop. So if it's trying to cast it on a party member and keeps casting it then that would mean it doesn't have the party member targeted. So maybe it's a targeting issue.

Or maybe the target can't recieve the buff? Maybe like a npc or pet.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
Bojer
Posts: 14
Joined: Wed Jul 20, 2011 3:20 pm

Re: Party.lua

#11 Post by Bojer »

rock5 wrote:
lisa wrote:3. you have the buff but the bot is trying to cast it on a party member who doesn't have the buff ;)
I was thinking something along those lines but it still shouldn't act that way. If it's checking a party member for a buff and then casts it on him then it should stop casting. If it's checking itself then it should cast it and then stop. So if it's trying to cast it on a party member and keeps casting it then that would mean it doesn't have the party member targeted. So maybe it's a targeting issue.

Or maybe the target can't recieve the buff? Maybe like a npc or pet.

Well it can be cast on other person but it has a 30 min recast timer. So once it casts it on my priest it cant cast is for another 30 mins but it is targeting my Scout trying to cast it on them but as it is on cooldown it fails and just keeps trying over and over.

After reading various posts on here would something like this work???

Code: Select all

<skill name="PRIEST_SOUL_BOND"		modifier="VK_CONTROL" hotkey="VK_7" priority="20" reqbufftype="buff" reqbufftarget="player" reqbuffname="SOUL_BOND" inbattle="false" />
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Party.lua

#12 Post by rock5 »

Bojer wrote:Well it can be cast on other person but it has a 30 min recast timer. So once it casts it on my priest it cant cast is for another 30 mins but it is targeting my Scout trying to cast it on them but as it is on cooldown it fails and just keeps trying over and over.
Actually that's a very good point and may just be the problem. It would mean we would have to add cooldown values to all friendly buffs for just this reason. Grrr...
Bojer wrote:would something like this work???

Code: Select all

<skill name="PRIEST_SOUL_BOND"      modifier="VK_CONTROL" hotkey="VK_7" priority="20" reqbufftype="buff" reqbufftarget="player" reqbuffname="SOUL_BOND" inbattle="false" />[/
quote]It might but I'm not a party player so I'm not sure. Probably Lisa would know.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Party.lua

#13 Post by lisa »

reqbuffname="SOUL_BOND"
No because you are saying you need to have the buff before casting the buff, which isn't what you want at all.

Just add in a cooldown to the existing skill in database and it should be fine. I think though for this specific skill it should be cast on the player only and not other party members. Assuming you have your healer set up to also resurect party members.
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
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Party.lua

#14 Post by rock5 »

I just saw "player" and thought thats only what he changed. Would changing just targert="player" work?
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Party.lua

#15 Post by lisa »

rock5 wrote:I just saw "player" and thought thats only what he changed. Would changing just targert="player" work?
I think it would need to be
target="self"
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
Post Reply