• 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

MQ2TDon

nijhal

Member
Ok, I am hoping somone can help me write this macro and I will run it and post all missions.

I have found just typing in /don <random number> I will alot of times get a mission not listed. What I would like to do is write a macro that will start at /don 1 and go upto 20000 and pause each time it gets a mission. Thus we can have ALL the mission codes available on the site, can anyone help me write this macro? Or write it for me and I will run it and post all the missions?

I think this could be something big for the community.

The code would work like this I think....

Rich (BB code):
Sub Main
/declare numbertostart at
/declare number to end at

:loop
/if (${Window[TaskWnd].Open}) /call wait
/don ${RandomNumber}
/if (${Window[TaskWnd].Open}) /call wait
/goto :loop
/return

Sub Wait
:loopit
/if (${Window[TaskWnd].Open}) /goto :loopit
/return

Or something similar...I just dont know how to make a macro run through the numbers 1-20000, if someone can help me with that, This would rock so we have all missions.

Anyways, let me know what you all think

N
 
This is a snipit from one of my macro's to check buff durations:
Rich (BB code):
#Event BuffCheck		"[MQ2] buffcheck"
Sub Event_BuffCheck
	/declare i int local 0 
		/for i 0 to 25 
		/if (${Me.Buff[${i}].ID} && ${Me.Buff[${i}].Duration} < 100) { 
		/echo Less then ${Me.Buff[${i}].Duration} Ticks left on > ${Me.Buff[${i}].Name} < 
		} 
	/next i
	/echo *Done Checking Buff Durations
/return

It check each buff up to 25, one at a time, and return's the buff name if the duration is less then 100 ticks (10 minutes).

So you need someything like this:
Rich (BB code):
      /declare i int local 0
         /for i 0 to 20000
         /if (${Window[TaskWnd].Open}) /call wait
         /don {i}
         /if (${Window[TaskWnd].Open}) /call wait
      /next i

I'm pretty sure /don {i} is not the way to put that bit of code in there, so hopefully someone else can help you there. Hope this gets you one step closer to your goal.
 
Here yall go, it works, just tested it, dont have a full group atm. So cant check group tasks.

Rich (BB code):
Sub Main

      /declare i int local 0
         /for i 0 to 20000
         /if (${Window[TaskWnd].Open}) /call wait
         /don ${i}
         /if (${Window[TaskWnd].Open}) /call wait
      /next i

Sub Wait
:loopit
/if (${Window[TaskWnd].Open}) /goto :loopit
/return

I will post missions when I have a complete listing.

N
 
Ok I put in a delay cause it was taking the server a few seconds to realise I got a task and it was therefore going over a few numbers.

My next question for this macro to make things easier for me.

Is there a way to comment out or have the macro NOT use numbers of missions I already know of?

Say if I find MissionA and its number is say 900 can I put an exclude in the macro so the next time I run it, it will not try 900?

Thanks in advance.

N

P.S. Got a list of probably 40 or so missions so far, gonna post the rest in my other thread when I am done.

P.P.S. I found a few missions called KunarkMMBeta1 through 4, and all the steps said the same thing only adding Step1, Step2 ect to them. lol
 
MQ2TDon

Users who are viewing this thread

Back
Top
Cart