• 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

Question - can I disable movement/run on hit?

xilo15

New member
Joined
Apr 16, 2015
RedCents
66¢
Can i disable the GotHit event? because of the place i am running the macro, I don't want my guy to run away when they get hit. Any way to disable this?
 
Delete the events from kissassist.mac

Remove these lines:
#Event GotHit "#1# tries to #*# YOU, but #*#"
#Event GotHit "#1# punches YOU for #*# points of damage.#*#"
#Event GotHit "#1# crushes YOU for #*# points of damage.#*#"
#Event GotHit "#1# kicks YOU for #*# points of damage.#*#"
#Event GotHit "#1# pierces YOU for #*# points of damage.#*#"
#Event GotHit "#1# slashes YOU for #*# points of damage.#*#"
#Event GotHit "#1# hits YOU for #*# points of damage.#*#"
#Event GotHit "#1# mauls YOU for #*# points of damage.#*#"
#Event GotHit "#1# bashes YOU for #*# points of damage.#*#"
#Event GotHit "#1# tries to #*# YOU, but #*#"
 
he just runs like 20 0r 25 feet away from the mob.. as he tells pet to engage that specific mob beating on you.... or runs back to camp if he is being hit on pull... are you in such a tight location you are running into a mob camp 20 to 25 paces from your setup location???? if so... MOVE away a bit.. lol

But yes... if you absolutley HAVE to ... rem the events for GotHit out with a | in front.

Down and dirty way.... but don't forget you did it.... when you decide you want it back...
 
We need a toggle button for GOT HIT. I'd like it on in some zones, but it's a killer in Degmar. 25 feet is like 2 rooms away.
 
Well I just wanted to annoy THD and it has been a while since I did anything for eqgeek. So here would be my solution. Just add the Highlighted Lines.

just create a hot key /movewhenhit to toggle it on and off. Make the changes to the macro and run it once and stop the macro. Go edit the ini file and set MoveWhenHit=0 in the pet section to turn it off.

In the bottom of the Alias section:
Rich (BB code):
        /squelch /alias /setheals       /echo Set Heals
        /squelch /alias /switch         /echo Switch Target
        /squelch /alias /movewhenhit    /echo toggle MoveWhenHit 
        /ini "${IniFileName}" "General" "KissAssistVer" "${MacroVer}"


loadini pet section:

Rich (BB code):
| ************************* Pet *****************************************|
    /if (${Select[${Me.Class.ShortName},DRU,SHM,BST,ENC,MAG,NEC,SHD]}) {
        /call LoadIni Pet PetOn                 int         0
        /call LoadIni Pet PetSpell              string      "YourPetSpell"
        /if (${Select[${Me.Class.ShortName},BST,MAG,NEC]})  /call LoadIni Pet PetFocus   string  "NULL"
        /call LoadIni Pet PetShrinkOn           int         0
        /call LoadIni Pet PetShrinkSpell        string      "Tiny Companion"
        /call LoadIni Pet PetBuffsOn            int         0
        /declare PetBuffs[8]                    string      outer
        /call LoadIni Pet PetBuffs              string      NULL        PetBuffs
        /call LoadIni Pet PetCombatOn           int         1
        /declare PetToysDone                    int         outer       0
        /declare PetToys[6]                     string      outer
        /if (${Select[${Me.Class.ShortName},MAG]}) {
            /call LoadIni Pet PetToysOn         int         0
            /call LoadIni Pet PetToys           string      NULL        PetToys
            /call LoadIni Pet PetToysGave       string      NULL
        }
        /call LoadIni Pet PetBreakMezSpell    string      NULL
        /call LoadIni Pet PetRampPullWait       int         0  
        /call LoadIni Pet PetSuspend            int         0
        /call LoadIni Pet MoveWhenHit           int         1 
    }


Event GotHit:

Rich (BB code):
| ----------------------------------------------------------------------------
| SUB: Event GotHit - Written by TreeHuginDruid for RedGuides
| ----------------------------------------------------------------------------
    Sub Event_GotHit(string Line, string AttackingMob)
        /if (!${MoveWhenHit}) {
           /doevents flush GotHit
           /return
        }
        /declare GotHitDistChk int local 25
        /varset GotHitToggle 1
        /declare AttackingMobID int local

OK. THD let me know if I missed anything. hehe.
 
Question - can I disable movement/run on hit?

Users who are viewing this thread

Back
Top
Cart