Page 1 of 2

8th April Offsets

Posted: Tue Apr 08, 2003 8:56 am
by ap50
** 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

Argh *G*

Posted: Tue Apr 08, 2003 12:28 pm
by yocal
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

Posted: Tue Apr 08, 2003 12:41 pm
by azwildfire
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:

Posted: Tue Apr 08, 2003 1:26 pm
by Mckorr
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.

not working

Posted: Tue Apr 08, 2003 2:46 pm
by Droken
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

not working

Posted: Tue Apr 08, 2003 4:19 pm
by Droken
Am I the only one who can't get these offsets to work?

Are they being worked on at the moment?

Droken

Posted: Tue Apr 08, 2003 4:33 pm
by azwildfire
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*

Posted: Tue Apr 08, 2003 7:05 pm
by Amadeus
Ok ..if these offsets are incorrect, why are they still posted?

Posted: Tue Apr 08, 2003 7:17 pm
by ap50
So someone who WANTS to do the offsets themselves also, have something to compare with.

And perhaps let me know where I stuffed up.

Posted: Tue Apr 08, 2003 10:29 pm
by vzmule
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.

Posted: Tue Apr 08, 2003 11:25 pm
by renagade8
i get 004F77B2 for memchecker

Posted: Wed Apr 09, 2003 12:17 am
by L124RD
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

Memory read error

Posted: Wed Apr 09, 2003 2:18 am
by kryologik
am getting a little memory read error popup box from eq when I start it up.. I guess offsets aren't working =/

Offsets are correct - structure changes

Posted: Wed Apr 09, 2003 3:24 am
by megaton
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.

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

Posted: Wed Apr 09, 2003 3:35 am
by megaton
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;