• 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
Resource icon

Utility HeadingToMe - Am I About To Get Jumped? 1.0

Server Type
🏢 Live
||| ---------------------------------------------------------------------------
||| HeadingToMe.mac - v1.0 By AmericanNero May 11,2021
|||
||| Usage: /mac headingtome
|||
||| Select a target.
|||
||| Proof-of-concept macro that computes the direction (heading) the spawn would
||| need to turn to face you, and given it's distance, how far away from you it
||| will be if it keeps going its current heading.
|||
||| Does not use Target TLO.
|||
||| What It Does
||| * Computes your compass bearing relative to the spawn.
||| * Computes the bearing the spawn needs to turn toward you.
||| * Computes the adjacent distance the spawn will go by if it went straight.
|||
||| Bearing Interpretations
||| 0: Spawn is looking directly at you.
||| 180: Spawn has its back to you.
||| -90: Spawn has to turn left 90 degrees to face you.
||| 90: Spawn has to turn right 90 degrees to face you.
||| -179: Spawn has to turn left 179 degrees to face you.
||| 179: Spawn has to turn right 179 degrees to face you.
|||
||| Use Case
||| Pretend you are blissfully minding your own business, pulling mobs,
||| doing uber things, or ganking newbs. Unbeknownst to you, a vicious hunter
||| spies you.
|||
||| Fortunately you are watching spawns and can be alerted that something
||| is looking in your general direction with time to deal with the potential
||| threat.
|||
||| How You Might Respond
||| It's 1000 feet away. Don't really care.
||| It's 500 feet away. Ok, mildly interested.
||| It's 300 feet away. Time to lift your head and be ready for action.
||| It's 150 feet away or less and is heading right for you! Fight or flight!
|||
||| Details
||| The heading the spawn must take to reach you is only part of the picture.
||| A spawn 1000 feet away looking within 15 degrees of you is going to have a
||| wider adjacent distance from you than one looking 5 degrees toward you.
|||
||| If the spawn is 200 ft and looking within 20 degrees of you the
||| adjacent view will be much smaller. Now you can readily assume it has very
||| likely seen you and checking you out. If the bearing to you is very small
||| and the viewport is very small, then YOU or someone near you is the mark.
|||
||| You can then make a decision to check your spawn search and see for sure
||| whether you are their target.
|||
||| ---------------------------------------------------------------------------
Author
AmericanNero
Watchers
10
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from AmericanNero

Share this resource

Back
Top
Cart