Offsets 25 nov 2003

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

deda
a lesser mummy
a lesser mummy
Posts: 33
Joined: Thu Apr 24, 2003 3:40 pm

Offsets 25 nov 2003

Post by deda » Tue Nov 25, 2003 9:21 am

Work in progress and not complete yet:

Code: Select all

[MacroQuest]
ClientName=eqgame
ClientVersion=Tue Nov 25 01:59:xx 2003
ClientOverride=1
MacroQuestWinClassName=__MacroQuestTray
MacroQuestWinName=MacroQuest

[Function Locations]
MemChecker=004B3B41
MemChecker2=004BA400
MemCheckAddr1=004BA467
MemCheckAddr2=004BA495
MemChecker3=004B86E6
MemSpell=00510AD8
ProcessGameEvents=004A3443
ConvertItemTags=00456973
SendMessage=004AEC5C
NewUIINI=005133E6

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

[Memory Locations] 
LastTell=006BD780 
Guilds=00722F14 
Mouse=0077BCC8 
Attack=006bc450 
InChatMode=006bb5f8 
gWorld=0071E858
GroupCount=0071CE08
CommandList=005F8918
DoAbilityList=006F5254
DoAbilityAvailable=006BC3EC
EncryptPad=005fe700 
EncryptPad3=005feb00 
EncryptPad2=005ff588 
ServerHost=0071c1dc 
ServerName=006f5214
HWnd=006bb5b8
SlotList= 
Clicks=006bb6b8
ScreenX=006bb5c4
ScreenY=006bb5c8
edit:
with mq2 client crashes after server select screen.
with mq1 client crashes on startup.
i wasnt able to debug with mq2 but with mq1 it crashed on

Code: Select all

memcpy(detour->array,(char *)address, 20);


we have to wait abit more until the devs have gone over the structs.
Last edited by deda on Tue Nov 25, 2003 11:31 am, edited 2 times in total.

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

Post by Ohmz » Tue Nov 25, 2003 10:20 am

Code: Select all

[MacroQuest]
ClientName=eqgame
ClientVersion=Wed Nov 25 01:59:xx 2003
ClientOverride=1
MacroQuestWinClassName=__MacroQuestTray
MacroQuestWinName=MacroQuest

[Function Locations]
MemChecker=004B3B41
MemChecker2=004BA400
MemCheckAddr1=004BA467
MemCheckAddr2=004BA495
MemChecker3=004B86E6
ProcessGameEvents=004A3443
ConvertItemTags=00456973
SendMessage=004AEC5C
NewUIINI=005133E6

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

[Memory Locations] 
LastTell=006BD780
Guilds=00722F14
Mouse=0077BCC8
Attack=006BC450
InChatMode=006BB5F8
gWorld=0071E858
GroupCount=0071CE08
CommandList=005F8918
DoAbilityList=006F5254
DoAbilityAvailable=006BC3EC
EncryptPad=005FE700
EncryptPad3=005FEB00
EncryptPad2=005FF588
ServerHost=0071C1DC
ServerName=006F5214
HWnd=006BB5B8
Clicks=006BB6B8
ScreenX=006BB5C0
ScreenY=006BB5C4
eqgame.h here I come!

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

Post by Ohmz » Tue Nov 25, 2003 1:34 pm

eqgame.h
totally untested

Code: Select all

/*
0x004...  (Updated Manually)
0x005...  (Updated Manually)
0x00607...+=0x1000
0x006BA...+=0x1000
0x0071A...+=0x1004
0x0071B...+=0x1008
0x00777...+=0xC08
0x0077B...+=0xB98
0x00783...+=0xB98
0x00784...+=0xB98
0x0071D...+=0x1008
Updated 11/25/03 Ohmz
*/

#define pinstCContextMenuManager                        0x0078FD08
#define pinstCCursorAttachment                          0x006084EC
#define pinstCSocialEditWnd                             0x00608530
#define pinstCInvSlotMgr                                0x00608570
#define pinstCContainerMgr                              0x00608574
#define pinstCChatManager                               0x00784728
#define pinstCConfirmationDialog                        0x00608474
#define pinstCFacePick                                  0x0060847C
#define pinstCItemDisplayMgr                            0x007849AC
#define pinstCSpellDisplayMgr                           0x00784B38
#define pinstCNoteWnd                                   0x00608480
#define pinstCHelpWnd                                   0x00608484
#define pinstCTipWndOFDAY                               0x00785408
#define pinstCTipWndCONTEXT                             0x0078540C
#define pinstCBookWnd                                   0x00608488
#define pinstCFriendsWnd                                0x0060849C
#define pinstCMusicPlayerWnd                            0x006084B0
#define pinstCAlarmWnd                                  0x006084AC
#define pinstCLoadskinWnd                               0x006084A8
#define pinstCPetInfoWnd                                0x0060848C
#define pinstCTrainWnd                                  0x00608490
#define pinstCSkillsWnd                                 0x00608494
#define pinstCSkillsSelectWnd                           0x00608498
#define pinstCAAWnd                                     0x006084A0
#define pinstCGroupWnd                                  0x007848EC
#define pinstCJournalNPCWnd                             0x007853B4
#define pinstCGroupSearchWnd                            0x007848D4
#define pinstCGroupSearchFiltersWnd                     0x006084A4
#define pinstCRaidWnd                                   0x006084B4
#define pinstCRaidOptionsWnd                            0x006084B8
#define pinstCBreathWnd                                 0x006084BC
#define pinstCMapToolbarWnd                             0x006084C4
#define pinstCMapViewWnd                                0x006084C0
#define pinstCEditLabelWnd                              0x006084C8
#define pinstCOptionsWnd                                0x006084DC
#define pinstCBuffWindowSHORT                           0x006084E0
#define pinstCBuffWindowNORMAL                          0x006084E4
#define pinstCTargetWnd                                 0x006084CC
#define pinstCColorPickerWnd                            0x006084D4
#define pinstCHotButtonWnd                              0x006084D0
#define pinstCPlayerWnd                                 0x006084D8
#define pinstCCastingWnd                                0x006084F0
#define pinstCCastSpellWnd                              0x006084F4
#define pinstCSpellBookWnd                              0x006084F8
#define pinstCInventoryWnd                              0x006084FC
#define pinstCBankWnd                                   0x00608500
#define pinstCQuantityWnd                               0x00608504
#define pinstCTextEntryWnd                              0x00608540
#define pinstCFileSelectionWnd                          0x00608544
#define pinstCLootWnd                                   0x00608508
#define pinstCActionsWnd                                0x0060850C
#define pinstCMerchantWnd                               0x00608510
#define pinstCTradeWnd                                  0x00608514
#define pinstCBazaarWnd                                 0x0060851C
#define pinstCBazaarSearchWnd                           0x00608520
#define pinstCGiveWnd                                   0x00608524
#define pinstCSelectorWnd                               0x00608518
#define pinstCTrackingWnd                               0x00608528
#define pinstCInspectWnd                                0x0060852C
#define pinstCFeedbackWnd                               0x00608534
#define pinstCBugReportWnd                              0x00608538
#define pinstCVideoModesWnd                             0x0060853C
#define pinstCCompassWnd                                0x00608548
#define pinstCPlayerNotesWnd                            0x0060854C
#define pinstCGemsGameWnd                               0x00608550
#define pinstCStoryWnd                                  0x00608560
#define pinstCFindLocationWnd                           0x00784858
#define pinstCAdventureRequestWnd                       0x007844C0
#define pinstCAdventureStatsWnd                         0x007844D8
#define pinstCAdventureLeaderboardWnd                   0x00784490
#define pinstCBodyTintWnd                               0x0060856C
#define pinstCGuildMgmtWnd                              0x00784904
#define pinstCJournalTextWnd                            0x00608564
#define pinstCJournalCatWnd                             0x00608568
#define pinstCPetitionQWnd                              0x00608558
#define pinstCSoulmarkWnd                               0x0060855C
#define pinstCTimeLeftWnd                               0x00608554 



#define pinstCDisplay					0x0071E8E4
#define pinstCEverQuest					0x0077BE30	// UNCHANGED !?
#define pinstPCData					0x0071E8C0
#define pinstCharData					0x0071E8C0
#define pinstCharSpawn                  		0x0071E8B8
#define pinstSpawnList					0x0071E880
#define pinstSpawnListTail				0x0071E8A4
#define pinstWorldData					0x0071E87C
#define pinstSpellManager				0x0077888C
#define pinstActiveMerchant             		0x0071E8D0
#define pinstSelectedItem				0x00784980
#define pinstGroup					0x0071CF50
#define pinstTarget					0x0071E8C4
#define pinstSwitchManager				0x006BB5AC
#define pinstEQItemList				 	0x0071E884
#define pinstSpellSets					0x0071BB98

#define instEQZoneInfo					0x006BB82C
#define DrawNetStatus					0x004A9FAF

// CEverQuest
#define CEverQuest__dsp_chat				0x00495480
#define CEverQuest__ClickedPlayer			0x00490D6B
#define CEverQuest__EnterZone				0x00496252
#define CEverQuest__InterpretCmd			0x0049FFDB
#define CEverQuest__RightClickedOnPlayer		0x0049BF5A
#define	CEverQuest__LeftClickedOnPlayer			0x004A203F
#define	CEverQuest__GetRaceDesc				0x0048AEFD
#define	CEverQuest__GetClassDesc			0x0048A6B3
#define CEverQuest__GetDeityDesc			0x0048C57B
#define CEverQuest__GetBodyTypeDesc			0x0048ABF5
#define CEverQuest__SetGameState			0x00490ED2

// EQ_Character
#define EQ_Character__Max_Mana				0x0041AA79
#define EQ_Character__Max_HP				0x0041A910
#define EQ_Character__Cur_HP                   		0x0041E5E1
#define EQ_Character__GetFocusCastingTimeModifier 	0x00425736
#define EQ_Character__GetAACastingTimeModifier		0x00425AA2
#define EQ_Character__CastSpell				0x00429781

// CXStr
#define CXStr__CXStr					0x0040104C
#define CXStr__CXStr1					0x00401046
#define CXStr__CXStr3					0x00587490
#define CXStr__dCXStr					0x004C4B45
#define CXStr__operator_plus_equal1			0x00588520
#define	CXStr__operator_equal1				0x00587490

// CStmlWnd
#define CStmlWnd__AppendSTML				0x0055F860

// CChatWindow
#define CChatWindow__CChatWindow			0x004D7E43
#define CChatWindow__dCChatWindow			0x004D862D

// CChatManager
#define CChatManager__InitContextMenu			0x004D536B
#define CChatManager__GetRGBAFromIndex			0x004D4A33


// CItemDisplayWnd
#define CItemDisplayWnd__SetItem			0x004F325B

// CLabel
#define CLabel__Draw					0x004F906E

// CDisplay
#define CDisplay__CleanGameUI				0x0040FC96
#define CDisplay__GetClickedActor			0x0040BB72
#define CDisplay__WriteTextHD2				0x004105CC
#define EQ_Item__GetItemLinkHash			0x0042EDDC

// CBankWnd
#define CBankWnd__GetNumBankSlots			0x004C4CCE

// CMerchantWnd
#define CMerchantWnd__SelectBuySellSlot			0x00500262
#define CMerchantWnd__RequestBuyItem			0x004FFB7D
#define CMerchantWnd__RequestSellItem			0x004FFD76

// CSpellBookWnd
#define CSpellBookWnd__MemorizeSet			0x0051096D

// MapViewMap
#define MapViewMap__SaveEx				0x004FB09D
#define EQ_PC__DestroyHeldItemOrMoney			0x00431D74
Let me know how these work

gnome001
a ghoul
a ghoul
Posts: 109
Joined: Fri Jan 24, 2003 1:01 am

Post by gnome001 » Tue Nov 25, 2003 2:30 pm

using right now.. working all right so far.

Teh_ish
UI Guru
Posts: 168
Joined: Wed Nov 05, 2003 12:18 am

Post by Teh_ish » Tue Nov 25, 2003 2:38 pm

Confirmed operational
OMGWTFBBQ

MSMage
a lesser mummy
a lesser mummy
Posts: 37
Joined: Sun Aug 03, 2003 3:14 am

Post by MSMage » Tue Nov 25, 2003 2:55 pm

Not to sound uninformed, but where is eqgame.h? Ive checked all the subdirectories for the zip.
MSMage

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Nov 25, 2003 2:57 pm

eqgame.h is for MQ2.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

MSMage
a lesser mummy
a lesser mummy
Posts: 37
Joined: Sun Aug 03, 2003 3:14 am

Post by MSMage » Tue Nov 25, 2003 2:58 pm

Then where do you change the structs in the original MQ?
MSMage

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

Post by Ohmz » Tue Nov 25, 2003 2:58 pm

eqgame.h is part of the MQ2 distro. All of the above offsets are for MQ2. As of this moment no one has gathered offsets for the MQ1 format.

Click here for the MQ2 Distro


http://macroquest2.com/downloads/MQ2-Beta.zip

User avatar
Dniper
a lesser mummy
a lesser mummy
Posts: 71
Joined: Tue Nov 25, 2003 2:54 pm

Post by Dniper » Tue Nov 25, 2003 3:00 pm

*EDIT*

Fixed, heh, I always make stupid little mistakes.

Thanks for the offsets Ohmz!
Last edited by Dniper on Tue Nov 25, 2003 3:40 pm, edited 2 times in total.

MSMage
a lesser mummy
a lesser mummy
Posts: 37
Joined: Sun Aug 03, 2003 3:14 am

Post by MSMage » Tue Nov 25, 2003 3:01 pm

Thanks :) I was in the process of doing just that as you posted :)
MSMage

MQSEQ
Hypocrite fag
Posts: 181
Joined: Fri Sep 19, 2003 5:18 pm

Post by MQSEQ » Tue Nov 25, 2003 3:02 pm

Thanks Deda and Ohmz for helping me get MySEQ Project up and running. Now I just need to figure out how Ohmz got the complete listed before I figured out the Zone Information hehe.

I guess it's time to start using MQ2 now that I finally started using MQ again after the major upgrade.

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 3:07 pm

client keeps crashing, what am i doing wrong to use these updated offsets for mq1?
You have gotten better at Carpal Tunnel! (247)

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Nov 25, 2003 3:10 pm

If you want to use MQ1 you need to convert the offsets from MQ2 to MQ1. None of the devs have shown any interest in continuing MQ1 or updating it.

MQ2 zip updated with offsets from Ohmz.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

KhaosWolf
a lesser mummy
a lesser mummy
Posts: 41
Joined: Wed Sep 10, 2003 11:34 pm

EQgame.exe hang

Post by KhaosWolf » Tue Nov 25, 2003 3:19 pm

My eqgame.exe just hangs and doesnt start at all, windows gives me the popup window do you wish to debug or report an error report. lol. but yah, im using eqwindows possible interference here...?