25-11 Offsets

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

motd2k
a ghoul
a ghoul
Posts: 141
Joined: Fri Oct 25, 2002 9:46 am

25-11 Offsets

Post by motd2k » Tue Nov 25, 2003 4:00 pm

Code: Select all

[MacroQuest]
MacroQuestVersion=20031111
ClientName=eqgame
ClientVersion=Wed Nov 05 03:11:xx 2003
ClientOverride=1
MacroQuestWinClassName=__MacroQuestTray
MacroQuestWinName=MacroQuest

[Function Locations]
WriteChatColor=00495480
GetRaceByID=0048AEFD
GetClassByID=0048a6B3
GetDeityByID=0048c57b
GetBodyTypeByID=0048abf5
LeftClick=004a2b20
RightClick=004a055d
ScreenItem=0040bb72
ScreenSpawn=00490D6B
NewUIINI=005133e6
MaxMana=0041AA79
Commands=0049FFDB
SendMessage=004AEC5C
MemChecker=004B3B41
MemChecker2=004BA400
MemCheckAddr1=004BA467
MemCheckAddr2=004BA495
MemChecker3=004B86E6
MemSpell=00510ad8
LoadSpells=51096D
StartTrader=004c8470
BuyItem=004FFB7D
SellItem=004ffd76
GetFocusCastingTimeModifier=00425736
GetAACastingTimeModifier=00425aa2
SelectItem=00500262
CastSpell=00429781
WriteMapfile=004FB09D
RClickTarget=0049BF5A
LClickTarget=004A203F
CXStrConstructor=00587490
CXStrFree=00587390
CStmlWndAppend=0055f860
CChatManagerGetRGBAFromIndex=004d4a33
CChatWindowConstructor=004D7e43
CChatManagerInitContextMenu=004d536b
ProcessGameEvents=004a3443
CleanGameUI=0040FC96

ItemDisplaySetItem=004F325B
CXStrAppend=00588520
CXStrSet=00587490
ConvertItemTags=00456973 
GetItemLinkHash=0042eddc
GetNumBankSlots=004C4CCE
CLabelDraw=004f906e
Zoning=00496252
EQCharacterMaxHP=0041A910
EQCharacterCurHP=0041e5e1

[Class Locations]
SpellBookWnd=006084F8 
InventoryWindow=006084FC 
CastingWindow=006084F4 
LootWnd=00608508 
ClassMapWnd=006084C0
ClassBazaarWnd=0060851C
ClassMerchWnd=00608510 
ClassTextureAnim=00784980 
ClassBazaarSearchWnd=00608520 
ClassCastSpellWnd=006084F4 
ClassHotButtonWnd=006084D0
ClassGiveWnd=00608524 
ClassContainerMgr=00608574 
ClassNotesWnd=0060854C
ClassChatManager=00784728 
ClassDisplayObject=0071e8e4
ClassBankWnd=00608500 

[DirectInput8] 
Main=0077BCBC
Keyboard=0077BCC0
Mouse=0077BCC4

[Memory Locations] 
HWnd=006Bb5b8 
SlotList=006081d
ActiveMerchant=0071E8D0
ActiveCorpse=0071e8d8
HugeWindowList=0078fce4
SpellFavorites=0071BB98
Clicks=006bb6b8
Zones=0071e87c
ZoneInfo=006BB82C
SpawnHeader=0071e880
Items=0071e880
Doors=006bb5ac
SpawnFooter=0071e8a4
Char=0071e8b8
CharInfo=0071E8C0 
Target=0071e8c4
LastTell=006Bd780 
Guilds=00722f14 
gWorld=0071e858 
Mouse=0077bcc8
Attack=006bc450
InChatMode=006bb5f8
Spells=0077888C
CommandList=005f8918 
DoAbilityList=006F5254 
DoAbilityAvailable=006bc3ec 
Group=0071CF50
GroupCount=71CE08
clsItems=0071e8e4
clsSpawns=0071e870
clsMainNewUI=0077be30
EncryptPad=005FE700
EncryptPad3=005FEB00
EncryptPad2=005FF588
ServerHost=0071c1dc
ServerName=006f5214
Thanks to Ohmz for the MQ2 offsets from which several of these are derived. God i hate class locations.


MOTD
Last edited by motd2k on Tue Nov 25, 2003 4:38 pm, edited 1 time in total.

ubatch
a ghoul
a ghoul
Posts: 93
Joined: Tue Nov 18, 2003 3:57 pm

Post by ubatch » Tue Nov 25, 2003 4:43 pm

Thank you guys! :)

NotSoCSharp
a ghoul
a ghoul
Posts: 85
Joined: Sat Oct 25, 2003 10:48 am

Post by NotSoCSharp » Tue Nov 25, 2003 4:43 pm

These values go into a file called eqgame.ini in your release folder.

Space-Boy
a hill giant
a hill giant
Posts: 242
Joined: Wed Dec 04, 2002 12:53 pm
Contact:

Post by Space-Boy » Tue Nov 25, 2003 4:49 pm

thanks motd you're the best
You have gotten better at Carpal Tunnel! (247)

Marcalo
orc pawn
orc pawn
Posts: 23
Joined: Sun Nov 09, 2003 8:17 pm

Post by Marcalo » Tue Nov 25, 2003 4:56 pm

CTDing on /who all friend with these offsets

GothOpie
orc pawn
orc pawn
Posts: 11
Joined: Wed Nov 12, 2003 12:12 pm

working fine for me so far

Post by GothOpie » Tue Nov 25, 2003 5:10 pm

with those offsets, I can /who all friends without crashing
tried several other /who's and /who all's and no problem, I see he edited the post though :)
-
Classes are not that out of balance -AbsorEQ

Dantuss
decaying skeleton
decaying skeleton
Posts: 9
Joined: Sun Aug 03, 2003 3:21 pm

Post by Dantuss » Tue Nov 25, 2003 5:12 pm

These cause my client to crash just after i zone in.

boredom
a lesser mummy
a lesser mummy
Posts: 49
Joined: Thu Jun 19, 2003 3:45 pm

$char(casting)

Post by boredom » Tue Nov 25, 2003 6:30 pm

$char(casting) always == true even when not casting :?

/Bored

Ohmz
Developer
Developer
Posts: 97
Joined: Tue Feb 04, 2003 12:54 pm

Post by Ohmz » Tue Nov 25, 2003 7:46 pm

SlotList=00608570

Ohmz
Developer
Developer
Posts: 97
Joined: Tue Feb 04, 2003 12:54 pm

Post by Ohmz » Tue Nov 25, 2003 8:06 pm

Items=0071E884

bad motd2k, bad, bad!!

:P

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

Post by Amadeus » Tue Nov 25, 2003 8:47 pm

feel free to report any bugs with this patch here in this release and I'll look into it tomorrow. I'm still using MQ1 exclusively with my current schedule.

War1980
orc pawn
orc pawn
Posts: 15
Joined: Sat Nov 15, 2003 5:31 pm

question

Post by War1980 » Tue Nov 25, 2003 9:32 pm

so all we do is copy the code from the first post in the thread into a file called eqgame.ini in the release directory and macroquest will work again?

LANLord
decaying skeleton
decaying skeleton
Posts: 1
Joined: Tue Nov 25, 2003 9:50 pm

same as boredom

Post by LANLord » Tue Nov 25, 2003 9:52 pm

I still get $char(casting)==TRUE no matter what even after both updates by ohmz

War1980
orc pawn
orc pawn
Posts: 15
Joined: Sat Nov 15, 2003 5:31 pm

still need help

Post by War1980 » Wed Nov 26, 2003 12:27 am

i used the eqgame.ini file listed above, and as soon as EQ would normally load up, that is after the splash screen after you choose a character, EQ closes out and desktop is brought back up.

What do i need to do?

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

Post by Amadeus » Wed Nov 26, 2003 12:33 am

this offsets crash me too I'm afraid. Can a dev look into this please? I don't do offsets and I can't even start working on anything else until they're fixed.

CastingWindow is what is wrong if you're getting $char(casting) as wrong all the time. Again, I can probably fix one offset if I can at least get into the game proper.



I hope someone comes and fixes this...I really don't have the time to learn MQ2 at this point and would rather just stick with MQ1 for a while....