• 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 - Moveutils - commands - version

1) I am trying to streamline my camp options and am having trouble with the makecamp cmd. Can someone post how they are using it?

2) A search on the intarweb reveals a number of different versions of MQ2Moveutils and I can't tell what version we are using here (doesn't show in properties, and a search thru the compiled hex doesn't have a version string).

Tia

~ Incognito
 
at a guess, I would say try using this as a starting point. If you run into something that is not working as described, ask about it. Should not be too much difference, if any at all.

Outside of that, I have been usng macros to issue commands

Rich (BB code):
	/if (${ChatText.Find[guard here]} && ${Guard}) {
		/makecamp on
		/delay 1s
		/makecamp radius 10
		/delay 1s
		/makecamp leash 50
		/if (${ChatChannel.Equal[BC]}) {
			/BC [+g+]Guarding here Mastah!
			} else {
			/${ChatChannel} Guarding here Mastah!
			}
		}

Rich (BB code):
		/if (${ChatText.Find[camp here]} && ${Sender.NotEqual[${Me.CleanName}]}) {
			/if (${MakeCamp.Status.Equal[ON]}) /makecamp off
			/makecamp loc ${Spawn[${Sender}].Y} ${Spawn[${Sender}].X} 
		}

Rich (BB code):
Sub Event_Experience
	/if (!${RDPause} && ${DoMercStance} && ${Mercenary.State.Equal[ACTIVE]} && ${Mercenary.Stance.NotEqual[Balanced]} && (${Mercenary.Class.Name.Equal[Rogue]} || ${Mercenary.Class.Name.Equal[Wizard]} || ${Mercenary.Class.Name.Equal[Cleric]})) /stance Balanced
	/if (!${RDPause} && ${AutoNinja}) /call LootMobs
	/if (${Group.MasterLooter.ID}==${Me.ID} || ${Group.Leader.ID}==${Me.ID}) /call LootCheck
	/if (${Me.Class.ShortName.Equal[BRD]}) /squelch /twist stop
	/if (${MakeCamp.Status.Equal[ON]} && ${Me.XTarget}<1) /makecamp return
	/call XPCommon
	/return
 
I use chat commands to run subroutines for stick or camp:

Rich (BB code):
Sub Event_stayhere(S0,S1)
	/doevents flush stayhere
	/stick off
	/varset Istick 
	/varset stickid ${Me.ID}
	/varset stickto 
	/if (${S1.Equal[You]}) {
		/makecamp off
		/return
	}
	/varset campF ${Int[${Me.Heading.DegreesCCW}]}
	/makecamp on
	/if (${MyMount.NotEqual[0]} && ${OutDoors} && !${Me.Mount.ID}) {
		/casting "${MyMount}" item -invis
		/call castdelay CAmain ${Macro.CurLine} mount
	}

/return

Sub Event_followme(S0,S1)
	/doevents flush followme
	/makecamp off
	/if (${S1.Equal[You]}) {
		/varset Istick
		/varset stickto
		/varset stickid ${Me.ID}
		/return
	}
	/varset Istick 1
	/varset stickto ${Spawn[${S1}].CleanName}
	/varset stickid ${Spawn[${S1}].ID}
	/target id ${stickid}
	/delay 2s ${Target.ID}
	/stick hold loose ${stickdistance}
	/if (${Me.Pet.ID}) /pet follow

/return

The end of combat routine resets stick or camp:

Rich (BB code):
|stick or makecamp
	/if (${Istick}==1 && ${stickid}) {
		/target id ${stickid}
		/delay 2s ${Target.ID}==${stickid}
		/stick hold loose ${stickdistance}
		/delay 2s ${Stick.Active}
:wait1
		/delay 5
		/doevents camp
		/doevents followme
		/if (${Me.Moving}) /goto :wait1
/if (${debugmain}) /echo CAcombat ${Macro.CurLine} - entering main loop sticking to ${stickto}.
	} else /if (${MakeCamp.Status.Equal[on]} && ${MakeCamp.CampDist}<200) {
		/makecamp return
:wait2
		/delay 5
		/doevents camp
		/doevents followme
		/if (${Me.Moving}) /goto :wait2
		/delay 5s !${Me.Moving}
		/delay 2s
		/face heading ${campF} nolook
/if (${debugmain}) /echo CAcombat ${Macro.CurLine} - entering main loop return to camp.
	}
 
Question - Moveutils - commands - version

Users who are viewing this thread

Back
Top
Cart