• 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

Ubarh4x - Choosing your own target if your the MA (EQMule Kissassist1004e15)

I wanted to get this out there, well because it is awesome and it works. This will be a huge help if you want to be in control when your the MA, picking the targets manually. The only small nuance is you may have to click the target you want twice for it to stick when mobs are incoming or after your current target dies.


First be sure you have updated file. This can be found here: https://www.redguides.com/community/threads/kissassist-10-0-4-eqmule-edition.55948/

1. Navigate to the Macros folder: EX: C:\Release\Macros.
2. Find the file kissassist1004e15.mac and edit it. (Making a back up would be advised, in case something goes wrong.)
3. Go to line 1884 or use Ctrl+F to find "SUB: CombatTargetCheck"

Follow the below directions:

Delete lines 1884 to 1906 and insert the below code. Then Save.

Code:
| -------------------------------------------------------------------------------------
| SUB: CombatTargetCheck
| -------------------------------------------------------------------------------------
   Sub CombatTargetCheck
        | If mob is dead return
        /if (${Spawn[${MyTargetID}].Type.Equal[Corpse]} || !${Spawn[${MyTargetID}].ID} || ${DPSPaused}) /return
        /declare CMyTargetID int Local ${MyTargetID}
        | Check target matches MA if group mainassist assigned and MA is in group
        /if (${Spawn[=${MainAssist}].ID} && ${Group.MainAssist.ID} && ${Spawn[=${MainAssist}].ID}==${Group.MainAssist.ID}) {
            /if (${Target.ID}!=${Me.GroupAssistTarget.ID} && ${Group.MainAssist.ID}!=${Me.ID}) {
                /if (${MyTargetID}!=${Me.GroupAssistTarget.ID} && ${Spawn[id ${Me.GroupAssistTarget.ID} npc].ID}) {
                    /echo My target does not match MA's. Switching to new target.
                    /varset MyTargetID ${Me.GroupAssistTarget.ID}
                    /varset MyTargetName ${Spawn[id ${Me.GroupAssistTarget.ID}].CleanName}
                }
            } else /if (${Group.MainAssist.ID}==${Me.ID} && ${Target.ID}!=${MyTargetID}) {
                /echo I am MA, and I switched to new Target.
                /varset MyTargetID ${Target.ID}
                /varset MyTargetName ${Target.CleanName}
            }
        }
        /if (${CMyTargetID}!=${MyTargetID} && ${Target.ID}!=${MyTargetID} && ${Spawn[${MyTargetID}].ID}) {
            /squelch /target id ${MyTargetID}
            /delay 10 ${Target.ID}==${MyTargetID}
            /if (!${Group.Member[${MainAssist}].Index} && ${Target.Type.NotEqual[PC]}) /xtarget set ${XTSlot} currenttarget
        }
    /return
| -------------------------------------------------------------------------------------
| SUB: DoBandolier
| -------------------------------------------------------------------------------------

This code was provided by @ctaylor22. Original thread here: https://www.redguides.com/community/threads/changing-targets-in-fight.67588/#post-371495
 
Ubarh4x - Choosing your own target if your the MA (EQMule Kissassist1004e15)

Users who are viewing this thread

Back
Top
Cart