• 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

help with offset

Siddin

Rikk-tikk-tikki-tikki-tchk!
ok, here's all the code, the bold are the things i normally nop, italics will be what i make a jmp and am then able to put the item in the trade window, but it then kicks me to server select

Rich (BB code):
.text:004A9136 sub_4A9136      proc near               ; CODE XREF: sub_4320A2+6D6p
.text:004A9136                                         ; sub_4320A2+6E6p ...
.text:004A9136
.text:004A9136 arg_0           = dword ptr  8
.text:004A9136
.text:004A9136                 push    ebp
.text:004A9137                 mov     ebp, esp
.text:004A9139                 push    ebx
.text:004A913A                 push    esi
.text:004A913B                 xor     ebx, ebx
.text:004A913D                 cmp     dword_87F280, ebx
.text:004A9143                 push    edi
.text:004A9144                 mov     esi, ecx
.text:004A9146                 jnz     loc_4A91F2
.text:004A914C                 cmp     dword_87F27C, 6
.text:004A9153                 jz      loc_4A91F2
.text:004A9159                 push    1
.text:004A915B                 call    sub_4A74D8
.text:004A9160                 test    eax, eax
.text:004A9162                 jnz     short loc_4A9197

here's what it all jumps through...
Rich (BB code):
4A91F2
.text:004A91F2 loc_4A91F2:                             ; CODE XREF: sub_4A9136+10j
.text:004A91F2                                         ; sub_4A9136+1Dj
.text:004A91F2                 mov     eax, [esi]
.text:004A91F4                 cmp     byte ptr [eax+24Ch], 0
.text:004A91FB                 jnz     loc_4A9164
.text:004A9201                 xor     edx, edx
.text:004A9203                 lea     eax, [esi+4]

Rich (BB code):
4A9164 loc_4A9164:                             ; CODE XREF: sub_4A9136+C5j
.text:004A9164                 cmp     [ebp+arg_0], ebx
.text:004A9167                 jz      short loc_4A9193
.text:004A9169                 cmp     [ebp+arg_0], 29Ah
.text:004A9170                 jz      short loc_4A9193
.text:004A9172                 push    1
.text:004A9174                 push    0Fh
.text:004A9176                 push    ebx
.text:004A9177                 push    3279h  (That item cannot be dropped, traded, or sold.)

Rich (BB code):
loc_4A9197:                             ; CODE XREF: sub_4A9136+2Cj
.text:004A9197                 mov     ecx, esi
.text:004A9199                 call    sub_4A95AC
.text:004A919E                 cmp     eax, 1
.text:004A91A1                 jnz     short loc_4A91D1
.text:004A91A3                 mov     ecx, esi
.text:004A91A5                 call    sub_4A958F
.text:004A91AA                 test    eax, eax
.text:004A91AC                 jle     short loc_4A91D1
.text:004A91AE                 lea     edi, [esi+4]


4A95AC sub_4A95AC      proc near               ; CODE XREF: sub_40C037+EDp
.text:004A95AC                                         ; sub_40C037+24Dp ...
.text:004A95AC                 mov     eax, [ecx]
.text:004A95AE                 movzx   eax, byte ptr [eax+0D5h]
.text:004A95B5                 retn


4A91D1 loc_4A91D1:                             ; CODE XREF: sub_4A9136+6Bj
.text:004A91D1                                         ; sub_4A9136+76j ...
.text:004A91D1                 xor     eax, eax
.text:004A91D3                 inc     eax
 
Last edited:
Be careful of what you use this with, last thing you want is a GM standing infront of your lvl 15 toon while your weilding a nifty - sparkly looking staff from PoTime +. :)
 
ok, i can either do it with the docrack route or the plugin route. I'd rather do a plugin, but unfortunately i'm not good with C code anymore :( here's the offset i want to change for any and all items
typedef struct _ITEMINFO {
*blah*
/*0xd3*/ BYTE NoDrop; // 0=can drop (and place in bank), 1=no drop, (2=no bank)
*more blah*
}
any suggestions?
 
Would doing this on a boat do any difference? (Thinking of old coin-maker)
Damnit, what would i give to go back in time on that boat and use 2 accounts to make ... millions ... *grins*
 
anybody want to change this to an actual plugin? not sure whats actually needed with calling things from mq2 and everquest...

void EquipGear()
If(item->NoDrop)
{
item->NoDrop = false;
}
If (item->Attuneable)
{
item->NoDrop = false;
item->Attuneable = false;
}
return;
 
help with offset

Users who are viewing this thread

Back
Top
Cart