• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - Pulling by Con/Level??

theGreatGizm0

Active member
Searched for a bit and I only found a few references of people saying "I had my toon set up to pull by con" or "i was pulling by level in such and such" but I can't figure out how to set up what levels to pull by in kiss assist?

Is there a way to assign what to pull by con color or level?
 
This is how I did it, added to Sub ValidateTarget (Line 850 or so)
/declare PullValid int local 0
/declare min int local 5
/declare max int local 12

/if (${DebugCombat}) /echo DEBUGCOMBAT ValidateTarge Validate 2
| Pullers check your con
/if (${Select[${Role},PullerPetTank,PullerTank,Hunter,Puller]}) {
/if (${Target.Level} > ${max}) /return BadLevel
/if (${Target.Level} < ${min}) /return BadLevel
}


The bold parts are what I added. Set the min and max level to pull and it seems to work.
 
Wow he over complicated the fuck out of that, lol.

/target range 5 12

Would target the closest mob between between 5 and 12.

He is validating the mob for pulling. you don't want to /target a mob until you are sure it is validated. /target range 5 12 will target the closest mob between 5 and 12, that includes mobs you may want to ignore that are of the same level range.
 
I see none of that in his post. I see him going through a targeting loop and canceling the mob if they're higher than x or lower than y. There's no check in there to ignore mobs you don't want to pull either, which would be easily added with noalert #.

Given that he uses ${Target.Level} all of his "validations" take place after the mob is targeted which can result in a constant stream of target -> cancel targets instead of just validating the target BEFORE it's even targeted by using spawnsearch filters.

- - - Updated - - -

Oh I see now he put it in the "validate" sub. But regardless he still uses ${Target} which, last I checked, doesn't work unless the mob is actually targeted.

A better spot to put that is the actual spot where KA searches for spawns before theyre targrted as opposed to after they're targeted.
 
He just needs to change his reference from ${Target.Level} to ${Spawn[${MobID}].Level} and it should still work in the validatetarget routine.

Rich (BB code):
/if (${Select[${Role},PullerPetTank,PullerTank,Hunter,Puller]}) { 
   /if (${Spawn[${MobID}].Level} > ${max}) /return BadLevel
   /if (${Spawn[${MobID}].Level} < ${min}) /return BadLevel
}
 
Not Touche at all, You partially touched on a big change made to the validatetarget routine.

Oh I see now he put it in the "validate" sub. But regardless he still uses ${Target} which, last I checked, doesn't work unless the mob is actually targeted

This change was made due to an announcement made by EQMule. The change had to do with not being able to target mobs greater than a certain distance. The ValidateTarget routine was changed to reference the Spawn TLO and not the Target TLO so distance was not an issue.
 
Question - Pulling by Con/Level??

Users who are viewing this thread

Back
Top
Cart