• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Problem - 116 Mage not casting any DPS or DPSPET rotations, buffs and petpull work (1 Viewer)

Joined
Nov 7, 2005
RedCents
1,324¢
RGMercs Build?
1.2
What level is the character?
116
Gave a spin to RGMercs for the first time today, extremely impressive piece of work!

That said, I am trying some basic configurations and not getting any casts while in combat.

I am probably missing something obvious as a beginner to RGMercs :) Where did I go wrong?

In the fight Current Rotation goes between DPS and DPSPET with nothing happening
When the fight goes on the green target thingie cycles in DPS and DPSPET sections (see screenshot below).

At the very least I'd like to get Riotous Servant to work on my 116 mage that I am using for testing.


lua_mag_115_dps.jpg

I turned on logging briefly and got a 100k dump in a few seconds of fighting.
It looks like some condition is not being met.
A small sample from the log dump.

[MyChar:VERBOSE(rotation.Lua::ExecEntry():145 )] <264546.440> (Spell) Trying to use FireShroud - Exothermic Veil :: Failed!
[MyChar:VERBOSE(rotation.Lua::Run():303 )] <264546.486> Doing RunRotation(start(1), step(1), cur(6)) :: ExecEntry() => false
[MyChar:VERBOSE(rotation.Lua::Run():350 )] <264546.487> Ended RunRotation(step(1), start_step(1), next(1))
[MyChar:VERBOSE(class.Lua::unknown_func():953 )] <264546.540> :::TEST ROTATION::: => Weaves
[MyChar:VERBOSE(class.Lua::unknown_func():953 )] <264546.540> :::TEST ROTATION::: => DPS
[MyChar:VERBOSE(class.Lua::unknown_func():972 )] <264546.587> :::RUN ROTATION::: 3327 => DPS
[MyChar:VERBOSE(rotation.Lua::Run():295 )] <264546.632> Doing RunRotation(start(1), step(1), cur(1))
[MyChar:VERBOSE(rotation.Lua::TestConditionForEntry():243 )] <264546.684> :: Testing Condition for entry(SwarmPet) type(Spell) cond(Riotous Servant, a skeleton) ==> false
[MyChar:VERBOSE(rotation.Lua::Run():299 )] <264546.685> Doing RunRotation(start(1), step(1), cur(1)) :: TestConditionsForEntry() => false
[MyChar:VERBOSE(rotation.Lua::Run():318 )] <264546.685> Failed Condition RunRotation(start(1), step(1), cur(1))
[MyChar:VERBOSE(rotation.Lua::Run():295 )] <264546.782> Doing RunRotation(start(1), step(1), cur(2))
[MyChar:VERBOSE(rotation.Lua::TestConditionForEntry():243 )] <264546.782> :: Testing Condition for entry(ChaoticNuke) type(Spell) cond(Chaotic Pyroclasm, a skeleton) ==> false
[MyChar:VERBOSE(rotation.Lua::Run():299 )] <264546.825> Doing RunRotation(start(1), step(1), cur(2)) :: TestConditionsForEntry() => false
[MyChar:VERBOSE(rotation.Lua::Run():318 )] <264546.826> Failed Condition RunRotation(start(1), step(1), cur(2))
[MyChar:VERBOSE(rotation.Lua::Run():295 )] <264546.871> Doing RunRotation(start(1), step(1), cur(3))
[MyChar:VERBOSE(rotation.Lua::TestConditionForEntry():243 )] <264546.919> :: Testing Condition for entry(SpearNuke) type(Spell) cond(Spear of Molten Komatiite, a skeleton) ==> false
[MyChar:VERBOSE(rotation.Lua::Run():299 )] <264546.919> Doing RunRotation(start(1), step(1), cur(3)) :: TestConditionsForEntry() => false
[MyChar:VERBOSE(rotation.Lua::Run():318 )] <264546.920> Failed Condition RunRotation(start(1), step(1), cur(3))


Final note:
This is not a fully fleshed out char, a few spells are missing.

The missing spells are:
116 - Ecliptic Companion
114 - Summon Molten Komatiite Orb
109 - Grant Frostbound Paradox
115 - Firebound Coalition
But I presume those are not the issue.
 
Forgot to add:
  • Twincast is the only thing in those rotations that actually casts, but is not useful since I am not casting anything else...
  • Use Force selector is turned ON but Force of Elements is not being used (like other spells and AA I can cast it manually)
  • FORCE BURN THIS TARGET! similarly does nothing
  • Cohorts Robe (this char is undergeared) is not being clicked despite Do Chest Item being on
  • Cast Malo is on but not being cast through AA
  • Active Mode is PetTank
 
Forgot to add:
  • Twincast is the only thing in those rotations that actually casts, but is not useful since I am not casting anything else...
  • Use Force selector is turned ON but Force of Elements is not being used (like other spells and AA I can cast it manually)
  • FORCE BURN THIS TARGET! similarly does nothing
  • Cohorts Robe (this char is undergeared) is not being clicked despite Do Chest Item being on
  • Cast Malo is on but not being cast through AA
  • Active Mode is PetTank

The mage config predates any contribution I've made and was largely ported from macro... it is likely in need of a rewrite, unfortunately. It works well enough in DPS mode, but I've never touched Pet Tank mode myself.

For whatever reason, the author chose to stop almost any spell in the 'DPS' mode from firing if you are in Pet Tank mode.

Additionally, you won't use most of them if your mana is low. I would adjust "Mana to Nuke" on the Spells/Abils options tab down to something a little lower; its usage in a dps config may be questionable (as we largely use that setting to limit healers and tanks from blowing all their mana on dps and not being able to do their job).

If you are trying to tank with your pet, I can bandaid some of this; but my first sentence ultimately stands.

Edit: I'll make a bandaid change now and possibly some additional changes tonight.
 
Thanks Algar for the quick reply!

Legacy code is often the issue :)

A quick workaround was simply to switch to DPS mode. That activates the spell weave.

Still trying to see what will activate Robe, Malaise and Force of Elements.
 
Thanks Algar for the quick reply!

Legacy code is often the issue :)

A quick workaround was simply to switch to DPS mode. That activates the spell weave.

Still trying to see what will activate Robe, Malaise and Force of Elements.
I've not had any issues with force but I made an adjustment to the weave rotation that may help.
I'll be home this evening if you want to hmu on discord with any other issues. We will get you sorted.
 
Thanks Algar for the quick reply!

Legacy code is often the issue :)

A quick workaround was simply to switch to DPS mode. That activates the spell weave.

Still trying to see what will activate Robe, Malaise and Force of Elements.
Sorry to double reply here but Malo may be the con color of the mob. We have smart code not to waste time on fodder. You can change "min debuff con color" on that same spells/abils tab. If it doesn't show up, flip that advanced setting flag on for a sec. If not, we can filter the logs for specific functions and we have a debug console so either way we'll figure it out.
 
Last edited:
Thanks again!

Got Malaise to work by setting target to light blue.

Finally got the mage to med by fiddling with Med Mana % to 95 Med Mana % to Stop to 99 and Medding to Out of Combat only

Two more things I would like to figure out:

Would like to get Pet to receive single target 116 dmg shield - Emberweave Coat.

Emberweave Coat shows under GroupBuffs but is not being applied to main pet. All the group mates are getting this buff including DBG Merc.

Second it would be easier to just be on the mount constantly instead of using elemental form. Presently, if I set Summon Mount to for use as Mount RGMercs will keep trying to cast mount but fail because it conflicts with elemental form.

How would one make the mage use mount instead of elemental form that it is using presently?
 
I'd check to make sure that you can't simply block the illusion portion to be able to use a mount. I really don't know. I've never used mounts.

Ultimately, you are free to make a custom config and adjust anything you'd like about the default. Documentation is sparse, but I'm working on a guide.
 
Thanks again!

Got Malaise to work by setting target to light blue.

Finally got the mage to med by fiddling with Med Mana % to 95 Med Mana % to Stop to 99 and Medding to Out of Combat only

Two more things I would like to figure out:

Would like to get Pet to receive single target 116 dmg shield - Emberweave Coat.

Emberweave Coat shows under GroupBuffs but is not being applied to main pet. All the group mates are getting this buff including DBG Merc.

Second it would be easier to just be on the mount constantly instead of using elemental form. Presently, if I set Summon Mount to for use as Mount RGMercs will keep trying to cast mount but fail because it conflicts with elemental form.

How would one make the mage use mount instead of elemental form that it is using presently?
Most modern illusions with buff componites are split so that you can click off the illusion, but still get the buff. Being that you are level 116 (ish), should be able to block *form of elements* or w/e its call ILLUSION and still get the beni buff while you sit on the horse.
 
Thanks for the tip! Yeah, just had to block Fire Elemental Form (in Songs) and unblock the Elemental Form in Spells that I had blocked incorrectly.

Now mount works in conjunction with form benefits.

Next step is start fiddling with custom configs.

Two goals:

How to activate unused rotations?

Under Class I see V and X next to a rotation. Depending on downtime or combat some rotations become active some inactive which is perfectly good.

However some rotations never activate.

So for example Weave rotation which contains Force of Elements is always X - that is not being used. (Again DoForce toggle is turned on)

How do I make Weave rotation V - that is make it active?

I checked mag_class_config.Lua found the places to define Weaves and general logic.

[CODE lang="Lua" title="Weaves"] {
name = 'Weaves',
state = 1,
steps = 1,
targetId = function(self) return Targeting.CheckForAutoTargetID() end,
cond = function(self, combat_state)
return combat_state == "Combat" and mq.TLO.Me.SpellInCooldown()
end,
},[/CODE]

However, the issue is that Weaves does not seem to be checked at all (it stays X)

How to modify existing rotations?

For example I would like to add Emberweave Coat to PetBuff rotation. PetBuff rotation works.

EDIT: well I did add Emberweave Coat to PetBuff section simply by modifying
mag_class_config.Lua and using PetHaste example to create LongDurDmgShield section.

That works but is that the recommended way to do it as far as RGMercs is concerned?

[CODE lang="Lua" title="Emberweave Code"] {
name = "PetHaste",
type = "Spell",
active_cond = function(self, spell)
return mq.TLO.Me.PetBuff(spell.RankName.Name())() ~= nil or mq.TLO.Me.PetBuff(spell.Name())() ~= nil
end,
cond = function(self, spell)
return Casting.PetBuffCheck(spell)
end,
},
{
name = "LongDurDmgShield",
type = "Spell",
active_cond = function(self, spell)
return mq.TLO.Me.PetBuff(spell.RankName.Name())() ~= nil or mq.TLO.Me.PetBuff(spell.Name())() ~= nil
end,
cond = function(self, spell)
return Casting.PetBuffCheck(spell)
end,
},[/CODE]
 
I added Force of Elements as first to Burn rotation section and it works as a workaround.

[CODE lang="Lua" title="Burn"]['Burn'] = {
{
name = "Force of Elements",
type = "AA",
},
{
name = "EarthPetItemUse",
type = "CustomFunc",[/CODE]

However Cohort's Flameweaver Robe click is not firing from burn section, the robe is found but shows ! in UI meaning not ready even when ready.

The relevant section seems to be this part of Burn rotation:

[CODE lang="Lua" title="Robe click"] { --Chest Click, name function stops errors in rotation window when slot is empty
name_func = function() return mq.TLO.Me.Inventory("Chest").Name() or "ChestClick(Missing)" end,
type = "Item",
cond = function(self, itemName, target)
if not Config:GetSetting('DoChestClick') or not Casting.ItemHasClicky(itemName) then return false end
return Casting.SelfBuffItemCheck(itemName)
end,
},[/CODE]

What could be causing robe not to fire?

PS In Main Class Config Options section Do Chest Click is turned on
PS2 I commented out [CODE lang="Lua" title="commented out"] --if not Config:GetSetting('DoChestClick') or not Casting.ItemHasClicky(itemName) then return false end[/CODE]
still getting !

Hmm idea, could it be because Casting.SelfBuffItemCheck(itemName) is checking self buffs only and not pet buffs? Since Robe affects pet this could be an issue? - Actually seems like all buff checks end up at Casting.LocalBuffCheck anyway

Upgraded to Snowbound Flameweaver Robe but still getting ! - had an idea that ' in Cohort's was causing issues
 
Last edited:
The code your are linking does not seem to contain my updates concerning your force issue.
Thanks for the tip! Yeah, just had to block Fire Elemental Form (in Songs) and unblock the Elemental Form in Spells that I had blocked incorrectly.

Now mount works in conjunction with form benefits.

Next step is start fiddling with custom configs.

Two goals:

How to activate unused rotations?

Under Class I see V and X next to a rotation. Depending on downtime or combat some rotations become active some inactive which is perfectly good.

However some rotations never activate.

So for example Weave rotation which contains Force of Elements is always X - that is not being used. (Again DoForce toggle is turned on)

How do I make Weave rotation V - that is make it active?

I checked mag_class_config.lua found the places to define Weaves and general logic.

[CODE lang="lua" title="Weaves"] {
name = 'Weaves',
state = 1,
steps = 1,
targetId = function(self) return Targeting.CheckForAutoTargetID() end,
cond = function(self, combat_state)
return combat_state == "Combat" and mq.TLO.Me.SpellInCooldown()
end,
},[/CODE]

However, the issue is that Weaves does not seem to be checked at all (it stays X)

How to modify existing rotations?

For example I would like to add Emberweave Coat to PetBuff rotation. PetBuff rotation works.

EDIT: well I did add Emberweave Coat to PetBuff section simply by modifying
mag_class_config.lua and using PetHaste example to create LongDurDmgShield section.

That works but is that the recommended way to do it as far as RGMercs is concerned?

[CODE lang="lua" title="Emberweave Code"] {
name = "PetHaste",
type = "Spell",
active_cond = function(self, spell)
return mq.TLO.Me.PetBuff(spell.RankName.Name())() ~= nil or mq.TLO.Me.PetBuff(spell.Name())() ~= nil
end,
cond = function(self, spell)
return Casting.PetBuffCheck(spell)
end,
},
{
name = "LongDurDmgShield",
type = "Spell",
active_cond = function(self, spell)
return mq.TLO.Me.PetBuff(spell.RankName.Name())() ~= nil or mq.TLO.Me.PetBuff(spell.Name())() ~= nil
end,
cond = function(self, spell)
return Casting.PetBuffCheck(spell)
end,
},[/CODE]
First part of this. Weaves.
You could try updating first, as I made changes here....

Second looks just fine. I would consider breaking the damage shields out into group and single target sets instead of combined.

I've recently added a marked up class config in the base clas config folder that may help you.

I added Force of Elements as first to Burn rotation section and it works as a workaround.

[CODE lang="lua" title="Burn"]['Burn'] = {
{
name = "Force of Elements",
type = "AA",
},
{
name = "EarthPetItemUse",
type = "CustomFunc",[/CODE]

However Cohort's Flameweaver Robe click is not firing from burn section, the robe is found but shows ! in UI meaning not ready even when ready.

The relevant section seems to be this part of Burn rotation:

[CODE lang="lua" title="Robe click"] { --Chest Click, name function stops errors in rotation window when slot is empty
name_func = function() return mq.TLO.Me.Inventory("Chest").Name() or "ChestClick(Missing)" end,
type = "Item",
cond = function(self, itemName, target)
if not Config:GetSetting('DoChestClick') or not Casting.ItemHasClicky(itemName) then return false end
return Casting.SelfBuffItemCheck(itemName)
end,
},[/CODE]

What could be causing robe not to fire?

PS In Main Class Config Options section Do Chest Click is turned on
PS2 I commented out [CODE lang="lua" title="commented out"] --if not Config:GetSetting('DoChestClick') or not Casting.ItemHasClicky(itemName) then return false end[/CODE]
still getting !

Hmm idea, could it be because Casting.SelfBuffItemCheck(itemName) is checking self buffs only and not pet buffs? Since Robe affects pet this could be an issue? - Actually seems like all buff checks end up at Casting.LocalBuffCheck anyway

Upgraded to Snowbound Flameweaver Robe but still getting ! - had an idea that ' in Cohort's was causing issues
I am not specifically familiar with the robe you are taking about.

This chest click is designed to check the player. There are other buff checks for pets. They can be found elsewhere as examples or in the casting utils file.

My brevity is due to phone use.
I could give better answers in discord any given EDT evening.

Getting the ! means not much of anything. The UI displays the result of the last check. It is a visualization tool, moreso than a troubleshooting tool. The answers are generally found by filtering a verbose log to the item name or perhaps to a specific function you believe to be returning false. Most of them are verbose enough to tell you exactly what is going on.

The debug console could also be used to specifically/manually check certain functions or to perform buff checks for a given thingie on demand.
 
Thank You again! Appreciate all the help.

I will reload the changed RGmercs and start exploring the logs once again.

For the time being I simply added Snowbound Flameweaver Robe to Downtime clickies. That works.
 
Problem - 116 Mage not casting any DPS or DPSPET rotations, buffs and petpull work

Users who are viewing this thread

Back
Top
Cart