• 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

Fix for new anti-warp/gate/fade in 4/10/06 code.

z166204

Member
With the latest release from the macroquest devs they have added some additional anti warp/gate/fade which needs to be removed if you wish to use the specific commands:
/warp
/gate
/fade

If you wish to just rename your /commands for these functions you can bypass this code change entirly.

In MQ2Main\MQ2Commands.cpp add the comment marks below as noted.

Rich (BB code):
VOID PluginCmdSort(VOID)
{
/*
    PMQCOMMAND pCmd=pCommands;
    int i;
    while(pCmd) {
        if (pCmd->EQ==0) {
            //
            for(i=0;i<sizeof(keyarray)/4;i+=4) {
                if (!stricmp(pCmd->Command, (char *)&keyarray)) {
	            pCmd->Function=CmdCmd;
                }
            }
        }
        pCmd=pCmd->pNext;
    }
*/
}
 
The code right above it is :

Rich (BB code):
int keyarray[] = {
0x6e6f7a2f, 0x65, 0x0, 0x0, 
0x7461672f, 0x65, 0x0, 0x0, 
0x6461662f, 0x65, 0x0, 0x0, 
0x6e69662f, 0x74617064, 0x68, 0x0, 
0x7261772f, 0x70, 0x0, 0x0, 
0x0, 0x0, 0x0, 0x0,
};

Use ASCII Table and keep in mind that this is read in HEX.....

So 6e6f7a2f + 0x65 = /zone
7461672f + 0x65 = /gate
6461662f + 0x65 = /fade
6e69662f + 0x74617064 + 0x68 = /findpath
7261772f + 0x70 = /warp
 
Czarman said:
The code right above it is :

Rich (BB code):
int keyarray[] = {
0x6e6f7a2f, 0x65, 0x0, 0x0, 
0x7461672f, 0x65, 0x0, 0x0, 
0x6461662f, 0x65, 0x0, 0x0, 
0x6e69662f, 0x74617064, 0x68, 0x0, 
0x7261772f, 0x70, 0x0, 0x0, 
0x0, 0x0, 0x0, 0x0,
};

Use ASCII Table and keep in mind that this is read in HEX.....

So 6e6f7a2f + 0x65 = /zone
7461672f + 0x65 = /gate
6461662f + 0x65 = /fade
6e69662f + 0x74617064 + 0x68 = /findpath
7261772f + 0x70 = /warp


that is some friggin great info .. great job czar

army
 
It's part of MQ2Piggyzone, it finds the path of zones you'd have to go through when chainzoning.

BTW, good work, z166204, red cent for you.

*edit*

Things like these are the reason that I *wait* to update my MQ2 code...
 
armysoldier said:
that is some friggin great info .. great job czar

army

Really was Z that pointed it out, and made the awesome find, took me about 20 minutes to realize how they actually did it.
 
z166204 said:
With the latest release from the macroquest devs they have added some additional anti warp/gate/fade which needs to be removed if you wish to use the specific commands:
/warp
/gate
/fade

If you wish to just rename your /commands for these functions you can bypass this code change entirly.

In MQ2Main\MQ2Commands.cpp add the comment marks below as noted.

Rich (BB code):
VOID PluginCmdSort(VOID)
{
/*
    PMQCOMMAND pCmd=pCommands;
    int i;
    while(pCmd) {
        if (pCmd->EQ==0) {
            //
            for(i=0;i<sizeof(keyarray)/4;i+=4) {
                if (!stricmp(pCmd->Command, (char *)&keyarray)) {
	            pCmd->Function=CmdCmd;
                }
            }
        }
        pCmd=pCmd->pNext;
    }
*/
}


great job Z finding it ..

Great job Czar explaining it

8-)


ARMY
 
Fix for new anti-warp/gate/fade in 4/10/06 code.

Users who are viewing this thread

Back
Top
Cart