• 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
MQ2Profiler

Unmaintained MQ2Profiler

Server Type
🏢 Live
Adds a new command, /profile. This runs a macro just like /macro does, but when the macro ends it will output a csv file of every subroutine that has been called, and how long it took. The file will be in Macros/profiles, named for the macro and the time it started.

The output file contains one line per subroutine call, in the order they were called in. The columns are:

Command Count - how many commands (lines) have been run from the start of the macro to now
Seconds Since Start - how long the macro's been running
Stack Depth - how many subroutines deep we are (Main is one, anything called from Main is 2, next call is 3, etc)
Subroutine - Name of the sub
Subroutine (tabbed) - Name of the sub, but with a few spaces for each increase in depth so it looks kinda tree like
Commands (inc Children) - How many commands were executed by this sub and any subs it called
Commands (ex Children) - How many commands were executed by just this subroutine, not including those executed by called subs
ms inc - How long did this sub and its children take to run
ms ex - How long did just this sub take to run, excluding time taken by its called subs
Called Children - How many other subs were called by this sub (does not include subs called by children)
Return Value - Value from /return if any
Arguments - Arguments supplied to the sub, one per column

Goes nicely with a pivot table in excel, e.g. with this setup:

1544096232463.png


Gives this sort of output, e.g. from kiss11:

1544096821104.png


Can quickly see that a lot of time gets spent in the CheckHealth & RezCheck subs.
  • 1544096274397.png
    1544096274397.png
    20.6 KB · Views: 57
Author
alynel
Watchers
13
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from alynel

Share this resource

Latest updates

  1. it's back!

    Fixed compiling issue, and replaced offset with a pattern so it won't need updating each patch
Back
Top
Cart