8th April Offsets

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

8th April Offsets

Post by ap50 » Tue Apr 08, 2003 8:56 am

** At this time these offsets are not working, whether they're complete bollocks or whether they're not working for another reason is something I don't know - Ap50 **

I'm still crashing to desktop when I /who, which is why I pulled them the first time round, but I've updated the 3 offsets from Azwildfire, but GUILDS=006BC7C4 is an address I just cannot find in the old EQGAME.EXE to find a comparison in the new.

Code: Select all

[MacroQuest] 
MacroQuestVersion=SRC-20030308 
ClientName=eqgame 
ClientVersion=Tue Apr 08 03:05:xx 2003 
ClientOverride=0 
MacroQuestWinClassName=__MacroQuestTray 
MacroQuestWinName=MacroQuest 

[Function Locations] 
WriteChatColor=004DB0EB 
GetRaceByID=004D09EE 
GetClassByID=004D0399 
GetDeityByID=004D1E90 
LeftClick=0 
RightClick=0 
ScreenItem=0045C8B7 
ScreenSpawn=004E4A41 
NewUIINI=0044759C 
MaxMana=00464CE8 
Commands=004E3B79 
CmdCleanup=0 
MemChecker=004F3EEE 

[DirectInput8] 
Main=00772DDC 
Keyboard=00772DE0 
Mouse=00772DE4 

[Memory Locations] 
Zoning=00759B5C 
Zones=00759B70 
SpawnHeader=00759B74 
Items=00759B78 
Doors=00759B90 
SpawnFooter=00759B9C 
Char=00759BB0 
CharInfo=00759BB8 
Target=00759BBC 
Guilds=006EDEB4 
Packs=0
OldAttack=007575D6
Mouse=00772DE8 
Attack=0072BA6C
Spells=00767340 
CommandList=005A7808 
DoAbilityList=0073078C 
DoAbilityAvailable=0072BA08 
Group=006A9CF8 
GroupCount=006A9BB0 
HSliderItems=0 
HSliderMoney=0 
PackPanel1=0 
PackPanel2=0 
clsMain=0 
clsItems=00759BE0 
clsSpawns=00759B68 
clsInvPanel=0 
clsMerchantPanelStatus=0 
clsMerchantItemBase=0 
clsMerchantSelectedItem=0 
clsMerchantSelectedSlotID=0 
clsMainNewUI=00772F78 
clsMainSpellRefresh=0 
clsMainSpellMemId=0 
clsMainSpellMemBar=0 
clsMainSpellMemGem=0 

EncryptPad=005C1A7C
Last edited by ap50 on Wed Apr 09, 2003 12:41 pm, edited 5 times in total.
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

yocal
a lesser mummy
a lesser mummy
Posts: 43
Joined: Fri Jun 14, 2002 12:28 pm
Location: Denmark
Contact:

Argh *G*

Post by yocal » Tue Apr 08, 2003 12:28 pm

Help, help!!

Code: Select all

[color=orange]Work in progress [/color]
When i copy "Work in progress" into eqgame.ini - i just cant make it work :'(

...

Good job - looking forward to get them ;)

// Yoc

azwildfire
Contributing Member
Contributing Member
Posts: 72
Joined: Fri Jul 05, 2002 5:12 am
Location: Phoenix arizona
Contact:

Post by azwildfire » Tue Apr 08, 2003 12:41 pm

Guilds=006BC7C4 <---- that is correct OLD offset... at least it was workign fine for me. thanks to T. he also wrote the correct code for guild and i still cant get his /charinfo fix to work :cry:

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Tue Apr 08, 2003 1:26 pm

His /charinfo doesn't work for me either. Crashes EQ when writing to Items.txt. Have discussed it with him but neither one of us is sure why it's not working.

As soon as I get some time I'm going to build a debug version of EQLib.dll, trace the problem and see exactly where it fails That will help towards fixing things.

Droken
Contributing Member
Contributing Member
Posts: 17
Joined: Wed Jan 29, 2003 11:17 am

not working

Post by Droken » Tue Apr 08, 2003 2:46 pm

Not sure if those offsets work.

Asside from the /who command crashing EQ, the /target doesn't work and my macro scripts didn't work either.

Droken

Droken
Contributing Member
Contributing Member
Posts: 17
Joined: Wed Jan 29, 2003 11:17 am

not working

Post by Droken » Tue Apr 08, 2003 4:19 pm

Am I the only one who can't get these offsets to work?

Are they being worked on at the moment?

Droken

azwildfire
Contributing Member
Contributing Member
Posts: 72
Joined: Fri Jul 05, 2002 5:12 am
Location: Phoenix arizona
Contact:

Post by azwildfire » Tue Apr 08, 2003 4:33 pm

OldAttack=00725FDE
Attack=006fa374
Mouse=00739784

these are from the eqgame.ini posted for the PRE PATCHED eqgame.exe *to help you find the new offsets*

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Tue Apr 08, 2003 7:05 pm

Ok ..if these offsets are incorrect, why are they still posted?

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

Post by ap50 » Tue Apr 08, 2003 7:17 pm

So someone who WANTS to do the offsets themselves also, have something to compare with.

And perhaps let me know where I stuffed up.
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

User avatar
vzmule
Contributing Member
Contributing Member
Posts: 378
Joined: Thu Mar 13, 2003 11:56 pm

Post by vzmule » Tue Apr 08, 2003 10:29 pm

00759BBC for Target -confirmed
004DB0EB for WriteChatColor -confirmed
004D09EE for GetRaceByID -confirmed
004D0399 for GetClassByID -confirmed
004D1E90 for GetDeityByID -confirmed
0045C8B7 for ScreenItem -confirmed
004E4A41 for ScreenSpawn -confirmed
0044759C for NewUIINI -confirmed
00464CE8 for MaxMana -confirmed
004E3B79 for Commands -confirmed
004F3EEE for MemChecker -confirmed

There are the ones I've found so far that agree with the ones AP50 posted. It's gettin late and I have to work early if anyone wants to doublecheck the rest.
Last edited by vzmule on Wed Apr 09, 2003 1:30 am, edited 7 times in total.

renagade8
orc pawn
orc pawn
Posts: 28
Joined: Sat Oct 19, 2002 9:17 pm

Post by renagade8 » Tue Apr 08, 2003 11:25 pm

i get 004F77B2 for memchecker

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Wed Apr 09, 2003 12:17 am

Salutations:
This will be updated for all _VERIFIED_ offsets

Code: Select all

[MacroQuest]
MacroQuestVersion=SRC-20030308
ClientName=eqgame
ClientVersion=Tue Apr 08 03:05:xx 2003
ClientOverride=0
MacroQuestWinClassName=__MacroQuestTray
MacroQuestWinName=MacroQuest

[Function Locations]
WriteChatColor=004DB0EB
GetRaceByID=004D09EE
GetClassByID=004D0399
GetDeityByID=004D1E90
ScreenItem=0045C8B7
ScreenSpawn=004E4A41
NewUIINI=0044759C
MaxMana=00464CE8
Commands=004E3B79
CmdCleanup=0
MemChecker=0

[DirectInput8]
Main=00772DDC
Keyboard=00772DE0
Mouse=00772DE4

[Memory Locations]
Zoning=759B5C
Zones=759B70
SpawnHeader=759B74
Items=759B78
Doors=0
SpawnFooter=759B9C
Char=759BB0
CharInfo=759BB8
Target=759BBC
Guilds=0
Packs=0
OldAttack=0
Mouse=772DE8
Attack=72BA6C
Spells=767340
CommandList=0
DoAbilityList=73078C
DoAbilityAvailable=72BA08
Group=6A9CF8
GroupCount=6A9BB0
HSliderItems=0
HSliderMoney=0
PackPanel1=0
PackPanel2=0
clsMain=0
clsItems=759BE0
clsSpawns=759B68
clsInvPanel=0
clsMerchantPanelStatus=0
clsMerchantItemBase=0
clsMerchantSelectedItem=0
clsMerchantSelectedSlotID=0
clsMainNewUI=772F78
clsMainSpellRefresh=0
clsMainSpellMemId=0
clsMainSpellMemBar=0
clsMainSpellMemGem=0

EncryptPad=5C1A7C
Last edited by L124RD on Thu Apr 10, 2003 9:37 am, edited 3 times in total.

kryologik
orc pawn
orc pawn
Posts: 11
Joined: Mon Feb 17, 2003 1:40 pm
Contact:

Memory read error

Post by kryologik » Wed Apr 09, 2003 2:18 am

am getting a little memory read error popup box from eq when I start it up.. I guess offsets aren't working =/
Fuck you, I have enough friends.

megaton
decaying skeleton
decaying skeleton
Posts: 5
Joined: Mon Aug 05, 2002 4:10 am

Offsets are correct - structure changes

Post by megaton » Wed Apr 09, 2003 3:24 am

Hi guys,

The problem is not the offsets, but structure changes. I ran into the same problem with my own little project.

The reason /who, and /charinfo, etc is crashing is that the struct for spawns has changed. Looks like they just messed up the order inside this struct. This struct is a linked list in memory, so if you have the wrong position for the next pointer, you're going to read invalid memory and crash.

megaton
decaying skeleton
decaying skeleton
Posts: 5
Joined: Mon Aug 05, 2002 4:10 am

oops - here is the info from the struct I know so far..

Post by megaton » Wed Apr 09, 2003 3:35 am

Since I'm not using MQ, I don't need all the offsets / completed struct - but here is the information I have confirmed:

Charinfo: 0x00759bb8
CharacterSpawn: 0x00759bb0
SpawnLinkListTop: 0x00759b74
TargetSpawn: 0x00759bbc

Code: Select all

typedef struct _SPAWNINFO {
        BYTE Unk0[0x1c]; //0x00 - 0x1b
        CHAR Name[0x1e]; //0x1c - 0x39
        BYTE Unk1[0x2c]; //0x3a - 0x65
        BYTE Type;       //0x66
        BYTE Class;      //0x67
        DWORD Race;      //0x68 - 0x6b
        BYTE Unk2;       //0x6c
        BYTE Level;      //0x6d
        BYTE Unk3[0x0e]; //0x6e - 0x7b
        FLOAT Heading;   //0x7c - 0x7f 
        FLOAT Y;         //0x80 - 0x83 
        BYTE Unk4[0x08]; //0x84 - 0x8b
        FLOAT Z;         //0x8c - 0x8f 
        FLOAT X;         //0x90 - 0x93 
        BYTE Unk5[0x18]; //0x94 - 0xab
        DWORD SpawnID;   //0xac - 0xaf
        BYTE Unk6[0x3c]; //0xb0 - 0xeb
        struct _SPAWNINFO *pNext; // 0xec

} SPAWNINFO, *PSPAWNINFO;