PDA

View Full Version : Need help with macroquest offsets



suziwon
09-09-2003, 03:30 PM
Ok, the following info is off of Macroquest's Site. Unfortunately, I can't figure out which ones we use.

[MacroQuest]
MacroQuestVersion=MQ-20030826-dev-edition
ClientName=eqgame
ClientVersion=Tue Sep 09 xx:xx:xx 2003
ClientOverride=1
MacroQuestWinClassName=__MacroQuestTray
MacroQuestWinName=MacroQuest

[Function Locations]
WriteChatColor=00490E9A
GetRaceByID=00486FB1
GetClassByID=00486956
GetDeityByID=00488453
LeftClick=0049D471
RightClick=0049B2F1
ScreenItem=0040B419
ScreenSpawn=0048C99E
NewUIINI=005025A1
MaxMana=00419DD6
Commands=0049AD9D
CmdCleanup=
MemChecker=004AED4D
MemChecker2=004B58E6
MemCheckAddr1=004B594D
MemCheckAddr2=004B597B
MemChecker3=004B3C1C
MemSpell=004FFE0F
LoadSpells=004FFCAC
StartTrader=004C0E78
BuyItem=004F242D
SellItem=004F260E
GetFocusCastingTimeModifier=00424542
GetAACastingTimeModifier=004248D2
SelectItem=004F2B40
CastSpell=004284BB

[Class Locations]
SpellBookWnd=005EDC94
InventoryWindow=005EDC98
CastingWindow=005EDC88
LootWnd=005EDCA4
ClassBazaarWnd=005EDCB8
ClassMerchWnd=005EDCAC
ClassTextureAnim=0076BEF8
ClassBazaarSearchWnd=005EDCBC
ClassCastSpellWnd=005EDC90
ClassHotButtonWnd=005EDC6C
ClassAltAdvManager=

[DirectInput8]
Main=00763254
Keyboard=00763258
Mouse=0076325C

[Memory Locations]
SlotList=005EDD0C
ActiveMerchant=00704050
HugeWindowList=00776EB0
SpellFavorites=00701318
Clicks=006A0E48
Zoning=00703FE0
Zones=00703FFC
ZoneInfo=006A0FBC
SpawnHeader=00704000
Items=00704018
Doors=006A0D3C
SpawnFooter=00704024
Char=00704038
CharInfo=00704040
Target=00704044
Guilds=00708694
OldAttack=
Mouse=007633C8
Attack=006A1BE0
Spells=0075E9DC
CommandList=005DD830
DoAbilityList=006DA994
DoAbilityAvailable=006A1B7C
Group=007026D0
GroupCount=00702588
clsItems=00704064
clsSpawns=00703FF0
clsMainNewUI=007633C8

EncryptPad=005E3E30
EncryptPad3=005E4240
EncryptPad2=005E7CB8

ServerHost=0070195C

I tried comparing the values from the August 26th patch (our values vs. Macroquest's values) with no luck. :( If someone can clue me in, I can do the conversions next time.

Suziwon

***edit: this is a simple hex to dec conversion right? ***

cothaeto
09-09-2003, 05:07 PM
Char=00704038
SpawnHeader=00704000
Target=00704044
Items=00704018

Change base16 to base10..

CharAddr=7356472
SpawnHeaderAddr=7356416
TargetAddr=7356484
ItemsAddr=7356440

Only thing left is to get the curent ZoneAddr (post in http://seq.sourceforge.net/forums/showthread.php?threadid=3840 by slartibartfast explains how...)

doitda
09-09-2003, 05:23 PM
anyone figure out what the Zoneaddr is yet?

suziwon
09-09-2003, 05:26 PM
Ok, that the zone address is something you have to fiddle around with would explain my difficulties in converting from hex to dec. I thought that it was a simple hex to dec conversion, but missed the discussion about how one comes about getting the zone address offsets...and since that is the first value on the list, that is the one that I was using to "test" the hex to dec conversion. So, obviously I wouldn't be able to find the zone address listed in its hex form on the macroquest site.

pogoism9
09-09-2003, 05:32 PM
ZoneAddr=6950908

BUT

I've heard complaining that the structs were changed and needs new offsets...I can get MySEQ to fire up using the above offsets. but it spits out 34905830 errors after like 3 minutes and the spawn list doesnt display correctly at all.

suziwon
09-09-2003, 05:36 PM
Don't we also need the spawn Info Offsets for this to work? Sorry if this is a dumb question....am trying to learn more of how this works so that I can contribute more instead of just depending on the work of others...

Also, what program (or where do you look) to see the memory address information?

bseeeq
09-09-2003, 05:45 PM
sort of new to this. i almost have it working. It is currently trying to use my char name as the zonemap name.

If i finsih ill post offsets

pogoism9
09-09-2003, 05:58 PM
You can find that info here (about finding ZoneAddr)

http://leqm.sourceforge.net/forums/viewtopic.php?t=121

slartibartfast
09-09-2003, 08:14 PM
PARTLY FIXED...

still missing SpawnID, so client doesnt show all spawns correctly and crashes out when you move the move over spawns

Too late for me now to do any more tonight maybe somone else can find the rest

[Memory Offsets]
ZoneAddr=7735144
CharAddr=7356472
SpawnHeaderAddr=7356416
TargetAddr=7356484
ItemsAddr=7356440

[SpawnInfo Offsets]
NameOffset=1
XOffset=72
YOffset=76
ZOffset=80
SpeedOffset=96
HeadingOffset=100
LastnameOffset=304
LevelOffset=372
HideOffset=376
ClassOffset=378
RaceOffset=385
TypeOffset=408
NextOffset=284

SpawnIDOffset=???

Driix
09-09-2003, 09:10 PM
SpawnIDOffset=384 works for me.

Race offset is wrong, but no big deal at this point... it doesn't crash.

suziwon
09-09-2003, 09:20 PM
Ok, I had to change the TypeOffset to 364 instead of 408 and used SpawnIDOffset=384

TypeOffset=408 resulted in players being drawn with con colors (when the option is set to draw them without con colors ie purple triangle) and some mobs not being shown.

I'm currently working on the ground spawn info changes.

:D

Driix
09-09-2003, 09:33 PM
should be RaceOffset=392

suziwon
09-09-2003, 11:18 PM
Ok, I have been able to determine that ItemsAddr=7356440 is not correct; as far as I have seen, it always points to null. However, I have been unable to determine what the actual offset is. Due to this, I can't determine if the current offsets for the groundspawns is correct or not.

Anyone got any ideas :confused:

Shiori
09-10-2003, 02:14 AM
OK I had some problems with it but from the posts here I've pieced this together. From what I've determined it has stopped crashing and shows the things on the map. I reduced the TypeOffset from 408 to 405 - This was just a guess and things showed up, can't say that they're EXACTLY right but it works until the right one can be verified.


[Memory Offsets]
ZoneAddr=7735144
CharAddr=7356472
SpawnHeaderAddr=7356416
TargetAddr=7356484
ItemsAddr=7356440

[SpawnInfo Offsets]
NameOffset=1
XOffset=72
YOffset=76
ZOffset=80
SpeedOffset=96
SpawnIDOffset=384
HeadingOffset=100
LastnameOffset=304
LevelOffset=372
HideOffset=376
ClassOffset=378
RaceOffset=392
TypeOffset=405
NextOffset=284

suziwon
09-10-2003, 08:25 AM
TypeOffset=405 doesn't get the real one. All mobs and players show up as players with that setting. I have verified TypeOffset=364 is correct. The only thing that isn't working now is ground spawns and that is because the ItemsAddr is wrong and I haven't been able to find the correct one to even check if the Offsets for those are correct yet.

Fully correct offsets except ground spawns are:

[Memory Offsets]
ZoneAddr=7735144
CharAddr=7356472
SpawnHeaderAddr=7356416
TargetAddr=7356484
ItemsAddr=7356420

[SpawnInfo Offsets]
NameOffset=1
XOffset=72
YOffset=76
ZOffset=80
HeadingOffset=100
SpeedOffset=96
SpawnIDOffset=384
TypeOffset=364
ClassOffset=378
RaceOffset=392
HideOffset=376
LastnameOffset=304
NextOffset=284
LevelOffset=372

****EDIT: Found the correct ItemsAddr value and added it. The groundspawn offsets from the previous patch work. See post in News Section for all of the current offsets****

pogoism9
09-10-2003, 02:39 PM
with your offsets suzi my client crashes upon zoning.

Sentenza
10-09-2003, 06:05 PM
/sigh since patch, with no matter what offsets all I get is a red point in the middle of the map, nothing else changes :(

Dedpoet
10-10-2003, 07:16 AM
Did you try these (http://seq.sourceforge.net/forums/showthread.php?s=&threadid=4109) offsets that are linked on the front page?