• 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

Release TOB Hazuri mission automation [Deleted]

Status
Not open for further replies.
Joined
Dec 1, 2006
RedCents
1,529¢
Nightmare327 submitted a new resource:

TOB Hazuri mission automation - Automates most of the Hazuri Mission.

The script will do zone checks, then run the mission. It curently uses CWTN automation, though as there is more interest, I could probably add in some of the others. It will also make sure all of your toons are full mana, health, and endurance before starting (I hit the start mission button too many times before everyone was ready).

Thanks to @Darkwynd3 for the original scripts, which I have used as a basis for mine with his permission.

Please let me know of any...

Read more about this resource...
 
There are a few things I'd like you to consider:

In regards to routines like this:

Code:
if mq.TLO.Target.CleanName() ~= mq.TLO.Spawn('Hazuri Replicant').CleanName() then mq.cmd('/mqtarget Hazuri Replicant npc') end
mq.delay(100)
mq.cmd('/attack on')

You are assuming that your target will what you want it to be and force attack on every time it enters that section of the script. I would recommend that you rather do a while loop where you check the target you expect and target the expected NPC accordingly until you have the target. Once you have the target, then another while loop checking you are you not in combat and if not in combat (meaning that you are attacking) then do the /attack on. This is going to spam /attack on and that's bad in my opinion.

You are assuming that everyone has the alias `/cwtna` which is kind of safe but maybe change to a variable in case someone got creative.

I'm sure there's more but that's my read and thoughts at the moment.
 
WooHoo!!
Dance Dancing GIF by The .GIFYS
 
Let me look into those. It was mainly written for my personal use, so it is still kinda rough. Thanks for the code review, I am always willing to learn some better processes and techniques. If I add that into one of the scripts, I tend to try and add the same processes into all of them.

So on that statement above, I should probably change it to a while loop, then validate the target once more before turning the attack on. That seems like a pretty easy fix.

I have those code changes done, let me run it through a test run to make sure I didnt introduce any bugs
 
Last edited:
@Nightmare327


1757693796499.png

/target is /mqtarget

you really want to use /eqtarget, which you can avoid if you just make sure you're NEAR the mob before you target it

Code:
July 17, 2021- Added /mqtarget and /eqtarget commands.  /mqtarget is the equivalent of the current /target commmand while/eqtarget will use the game's existing command.  Macro authors can begin migrating to /mqtarget when they wantto use MacroQuest specific targeting.|
[/icode]
 
Release TOB Hazuri mission automation [Deleted]
Status
Not open for further replies.

Users who are viewing this thread

Back
Top
Cart