• 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 - Medding During Combat

Joined
Apr 8, 2015
RedCents
1,279¢
My toons won't med during combat even when I set sit agro radius to 0.

I have them set to med if less then 90% mana.

I feel like there is a plugin interfering, perhaps mq2melee?

Anyone come across this?

Thanks
 
Although I've taken similar measures, and my ENC was sitting in combat for a time, he has recently stopped sitting in combat and I don't know why?

However....

You can try this that I got from bb4:
blah.png
 
INI:
Cond1=!${Me.Casting} && (${SpawnCount[npc radius 10 zradius 10]} < 1) && !${Me.Sitting} && (${Me.XTHaterCount} < 6)

This works well for me in KissAssist for my Cleric and Druid, but my Enchanter is using ModBot so I need something similar.

It checks if he's casting, and if there's an NPC near 10/10 of him, and if he's standing, and if there's less than 6 (0-5) mobs within camp radius, then it sits. I could really use an index of all available things available to me for Modbot (ie: Me.<stuff>, and what i can put to detect mobs, mob counts within a range, etc).

:)
 
You want him to sit DURING combat? For instance, sit out a couple of mobs to get mana? I want to understand what you are asking.....
 
You want him to sit DURING combat? For instance, sit out a couple of mobs to get mana? I want to understand what you are asking.....

My assumption is that they want the enchanter to sit to med whenever it isn't casting during combat, but not to sit out a few mobs. TLP in the early expansions pretty much require this behavior. I had a downshit written on my casters to accomplish this, but I cannot find it. The script I wrote should work as well.
 
With a LOT of heartache and frustration this ended up working out for me:
Code:
PreCondition=/if (({Me.Casting.ID} == NULL) && ({SpawnCount[npc radius 15 zradius 15]} < 1) && !{Me.Sitting}) /return TRUE

HOWEVER, I have a new issue. I swapped back to MB from KA, and everyone EXCEPT my Cleric sits just fine in combat. My cleric, even with an empty profile, seems to force himself standing in combat no matter what. He ignores SitAggroRadiusCheck, etc.

I literally deleted his entire ini for MB, let it recreate, reran
Code:
/mac modbot & /mb letsroll
and he physically forces himself back to standing even if I manually sit him. Is this something hard-coded into Clerics for MB??
 
OK. Let me look at it. I forgot about the good ol' days where I needed to pay more attention to mana. You shouldn't have to do all that scripting and tweaking.
 
OK. Let me look at it. I forgot about the good ol' days where I needed to pay more attention to mana. You shouldn't have to do all that scripting and tweaking.

Did a super fast find on sit.

Looking at the SitCheck routine, it has a lot of stuff involving checking for NPCs nearby.

This is definitely going to be a culprit on line 476-480.
/if (${Spawn[${npcid}].Aggressive}) {
/if (!${Me.Mount.ID} && !${Me.Standing}) /stand
/return
}
 
[MQ2Melee]
downflag0=1
downflag1=1
downshit0=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.PctMana}<90 && !${Me.Moving} && !${Me.Sitting} && !${Me.Casting.Name.NotEqual[NULL]}) /Sit
downshit1=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.PctEndurance}<70 && !${Me.Moving} && !${Me.Sitting} && !${Me.Casting.Name.NotEqual[NULL]}) /Sit

Courtesy of Klompr via discord.
 
[MQ2Melee]
downflag0=1
downflag1=1
downshit0=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.PctMana}<90 && !${Me.Moving} && !${Me.Sitting} && !${Me.Casting.Name.NotEqual[NULL]}) /Sit
downshit1=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.PctEndurance}<70 && !${Me.Moving} && !${Me.Sitting} && !${Me.Casting.Name.NotEqual[NULL]}) /Sit

Courtesy of Klompr via discord.
nice..for my melees it would work good
 
Aren't downs only out of combat?

I think you use a down because your casters don't actually turn melee on. A down will check at all times unless auto attack is on then a holy only checks if auto attack is on.
 
[MQ2Melee]
downflag0=1
downflag1=1
downshit0=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.PctMana}<90 && !${Me.Moving} && !${Me.Sitting} && !${Me.Casting.Name.NotEqual[NULL]}) /Sit
downshit1=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.PctEndurance}<70 && !${Me.Moving} && !${Me.Sitting} && !${Me.Casting.Name.NotEqual[NULL]}) /Sit

Courtesy of Klompr via discord.
In order to get it to work during combat for me with kissassist I had to remove "!" in front of ${Me.CombatState.Equal[COMBAT]}. Not sure if thre is a list of TLO, but if there is an aggro one that might be better to use.
 
In order to get it to work during combat for me with kissassist I had to remove "!" in front of ${Me.CombatState.Equal[COMBAT]}. Not sure if thre is a list of TLO, but if there is an aggro one that might be better to use.
Sounds right, ! is "not" so you want to be checking if you're actually in combat. :)
 
[MQ2Melee]
downflag0=1
downflag1=1
downshit0=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.PctMana}<90 && !${Me.Moving} && !${Me.Sitting} && !${Me.Casting.Name.NotEqual[NULL]}) /Sit
downshit1=/if (!${Me.CombatState.Equal[COMBAT]} && ${Me.PctEndurance}<70 && !${Me.Moving} && !${Me.Sitting} && !${Me.Casting.Name.NotEqual[NULL]}) /Sit

Courtesy of Klompr via discord.
can anyone put a delay on this pls? i like the way it works but i got my cleric killed twice when getting agroo and sitting..maybe adding a 4 seconds delay on trying to sit
 
Is it possible to add maybe add !${target.AggroHolder.name.Equal[${Me}]. Not sure if this is correct but trying to throw the concept out there.
 
So i added the following so if they get hit and go below 90%hps they won't try to sit again. This seems to work for me. Yes the first hit is still a hard hit, but at least won't keep trying to sit.
downshit0=/if (${Me.CombatState.Equal[COMBAT]} && ${Me.PctMana}<90 && ${Me.PctHPs}>90 && !${Me.Moving} && !${Me.Sitting} && !${Me.Casting.Name.NotEqual[NULL]}) /Sit

Added: ${Me.PctHPs}>90
 
  • SitAggroRadiusCheck=<#>
If I set this to 0 and then use the downshit in mq2melee therotically they should sit all the time when they're not casting right?
 
I'm sorry, but where are you guys adding this to? Not seeing an Mq2melee ini file to edit. =(
 
I'm sorry, but where are you guys adding this to? Not seeing an Mq2melee ini file to edit. =(
make sure MQ2Melee is on

/melee on
then on the character you want to make the downshift for do
/melee save
then in /path/Macroquest you will find the following file:
{servername}_{charactername}.ini

You add it there
 
Problem - Medding During Combat

Users who are viewing this thread

Back
Top
Cart