Start of 2003-07-11 offsets...

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

Moderator: MacroQuest Developers

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

Start of 2003-07-11 offsets...

Post by Plazmic » Fri Jul 11, 2003 7:37 am

A lot of mem loc's didn't change, functions locs did...
I need sleep ;(
*'s need to be done (last known loc listed)

Code: Select all

[MacroQuest]
MacroQuestVersion=MQ-20030711-inprogress
ClientName=eqgame 
ClientVersion=Fri Jul 11 03:22:xx 2003 
ClientOverride=0 
MacroQuestWinClassName=__MacroQuestTray 
MacroQuestWinName=MacroQuest 


[Function Locations] 
WriteChatColor=0048D020
GetRaceByID=00482E3D
GetClassByID=004827E2
GetDeityByID=004842DF
LeftClick=00499E2C
RightClick=00497A55
ScreenItem=0040a143 *
ScreenSpawn=00488b8b *
NewUIINI=004F89D8
MaxMana=00469ee9 *
Commands=0049742D
CmdCleanup= 
MemChecker=004a60e5 *
MemChecker2=004ac6fe *
MemCheckAddr1=004ac761 *
MemCheckAddr2=004ac78f *
MemChecker3=004aa8c2 *
MemSpell=004F626C *
LoadSpells=004F6143 *
StartTrader=004B8E93 *
BuyItem=004E8A32 *
SelectItem=004E922F *

[Class Locations] 
SpellBookWnd=005FE258
InventoryWindow=005FE25C
CastingWindow=005FE250
LootWnd=005FE268
ClassBazaarWnd=005FE27C
ClassMerchWnd=005FE270
ClassTextureAnim=0077BF04

[DirectInput8] 
Main=007727F4
Keyboard=007727F8
Mouse=007727FC

[Memory Locations] 
SpellFavorites=007117D4
Clicks=006B12DC
Zoning=00714900 *
Zones=0071491c *
SpawnHeader=00714920
Items=00714924
Doors=0071492C
SpawnFooter=00714944
Char=00714958
CharInfo=00714960
Target=00714964
Guilds=00718b34
OldAttack= 
Mouse=00772800 *
Attack=006b20f4 *
Spells=0076e43c *
CommandList=005ECF98
DoAbilityList=006EaE90 *
DoAbilityAvailable=006b2090 *
Group=00713008 *
GroupCount=00712ec0 *
clsItems=00714984 *
clsSpawns=00714910 *
clsMainNewUI=00772968 

EncryptPad=005F48B8 *
EncryptPad3=005F4CB8 *
EncryptPad2=005F5728 *

ServerHost=0071227c *
- Plazmic

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

tested and seems ok...

Post by EqMule » Fri Jul 11, 2003 8:26 am

ok here is all of them... face/who/target works...

Code: Select all

[MacroQuest]
MacroQuestVersion=MQ-20030711-inprogress
ClientName=eqgame
ClientVersion=Fri Jul 11 03:22:xx 2003
ClientOverride=0
MacroQuestWinClassName=__MacroQuestTray
MacroQuestWinName=MacroQuest


[Function Locations]
WriteChatColor=0048D020
GetRaceByID=00482E3D
GetClassByID=004827E2
GetDeityByID=004842DF
LeftClick=00499E2C
RightClick=00497A55
ScreenItem=0040a150
ScreenSpawn=00488C38
NewUIINI=004F89D8
MaxMana=00469EF6
Commands=0049742D
CmdCleanup=
MemChecker=004A6159
MemChecker2=004AC7AA
MemCheckAddr1=004AC80D
MemCheckAddr2=004AC83B
MemChecker3=004AA96E
MemSpell=004F633F
LoadSpells=004F6216
StartTrader=004B8F5B
BuyItem=004E8B30
SelectItem=004E932D

[Class Locations]
SpellBookWnd=005FE258
InventoryWindow=005FE25C
CastingWindow=005FE250
LootWnd=005FE268
ClassBazaarWnd=005FE27C
ClassMerchWnd=005FE270
ClassTextureAnim=0077BF04

[DirectInput8]
Main=007727F4
Keyboard=007727F8
Mouse=007727FC

[Memory Locations]
SpellFavorites=007117D4
Clicks=006B12DC
Zoning=00714900
Zones=0071491c
SpawnHeader=00714920
Items=00714924
Doors=0071492C
SpawnFooter=00714944
Char=00714958
CharInfo=00714960
Target=00714964
Guilds=00718b34
OldAttack=
Mouse=00772800
Attack=006b20f4
Spells=0076e43c
CommandList=005ECF98
DoAbilityList=006EaE90
DoAbilityAvailable=006b2090
Group=00713008
GroupCount=00712ec0
clsItems=00714984
clsSpawns=00714910
clsMainNewUI=00772968

EncryptPad=005F48B8
EncryptPad3=005F4CB8
EncryptPad2=005F5728

ServerHost=0071227c
Last edited by EqMule on Fri Jul 11, 2003 9:46 am, edited 1 time in total.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

jonis
decaying skeleton
decaying skeleton
Posts: 3
Joined: Sun Jun 22, 2003 10:05 am
Contact:

Post by jonis » Fri Jul 11, 2003 9:36 am

thanks, these work for me :)

MagnanImus
decaying skeleton
decaying skeleton
Posts: 4
Joined: Thu Feb 06, 2003 11:29 pm

/click left item

Post by MagnanImus » Fri Jul 11, 2003 2:09 pm

The command "/click left item"

is crashing me with these offsets, it worked great two days prior.
Is there an offset wrong somewhere that would do this?

However /click left target and /click right target seem to work.


Mag

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Post by EqMule » Fri Jul 11, 2003 2:40 pm

MagnanImus wrote:The command "/click left item"

is crashing me with these offsets

I dont *think* that is an offset problem, but just to make sure you could doublecheck ScreenSpawn=00488C38 , because that was the only one I was unsure of when I checked thru the code... hmm
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

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

doh!

Post by azwildfire » Fri Jul 11, 2003 8:47 pm

/doors isnt working and /target door or /itemtarget doesnt work either

compuboy
a ghoul
a ghoul
Posts: 108
Joined: Thu Apr 24, 2003 8:19 am
Location: Good Question, if anyone finds out, let me know

Confused

Post by compuboy » Sat Jul 12, 2003 1:26 pm

I am confused, what works for the 11th patch and what dosent, i am getting incorrect client version.
ya know, i cant think of anything profound to say here, so....

GO DEVS

YKW-28983
a hill giant
a hill giant
Posts: 252
Joined: Sun Dec 01, 2002 11:37 pm

Post by YKW-28983 » Sat Jul 12, 2003 1:29 pm

compu boy. you need to update your cvs. you do that and all you have to do is recompile. simple as that.

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

Post by Mckorr » Sat Jul 12, 2003 6:11 pm

Definately a problem with items here. Used the pok book finder macro from the Depot and MQ won't find or target the book.
MQ2: Think of it as Evolution in action.

compuboy
a ghoul
a ghoul
Posts: 108
Joined: Thu Apr 24, 2003 8:19 am
Location: Good Question, if anyone finds out, let me know

Post by compuboy » Sat Jul 12, 2003 8:02 pm

ill try updating again and see how goes it
ya know, i cant think of anything profound to say here, so....

GO DEVS

Mental
orc pawn
orc pawn
Posts: 16
Joined: Mon Jun 02, 2003 5:55 pm

Post by Mental » Sun Jul 13, 2003 11:38 am

I am having the same problem compuboy.

I have downloaded the cvs/compiled 3 or 4 times now, as well as updated the eqclient.ini with whats been posted here, and as soon as I run a macro with /click left, I crash to desktop.

Either that or it is the /itemtarget and/or the /face item commands.

Let me try cutting those out and see what happens.

*Edit* upon testing, it is the /itemtarget or the /faceitem command thats causing the crash. Click left works fine.

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

Post by azwildfire » Sun Jul 13, 2003 2:43 pm

the /who does not show the people in trader mode like it used too in bazaar


lalal hehe

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Sun Jul 13, 2003 4:45 pm

the /who has been like that for some time, I've noticed... the item commands are definately broke, it's a bad offset.

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

Post by ap50 » Mon Jul 14, 2003 3:48 am

It's not a bad offset, I've just checked it again, going back to the June 11th EQGAME.EXE to check it from there forward.
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

_GROUNDITEM struct...

Post by EqMule » Mon Jul 14, 2003 12:39 pm

_GROUNDITEM struct was broken, just noticed that char NAME was 10 bytes too long, I will continue to check the other structs as well while im at it, but this could explain the items problem

here is the new one , but not tested as for some reason /items makes eq tell me the god old 'thats not a valid command. Pleas use /help'

Code: Select all

typedef struct _GROUNDITEM {
/*0x00*/	struct _GROUNDITEM *pPrev;
/*0x04*/	struct _GROUNDITEM *pNext;
/*0x08*/	DWORD ID;
/*0x0c*/	DWORD DropID;//this is like spawnID but for drops...
/*0x10*/	DWORD Unknown0x10;
/*0x14*/	DWORD DxID;
/*0x18*/	BYTE Unknown0x18[176];
/*0xc8*/	DWORD Unknown0xc8;
/*0xcc*/	FLOAT Heading;
/*0xd0*/	FLOAT Z;
/*0xd4*/	FLOAT X;
/*0xd8*/	FLOAT Y;
/*0xdc*/	CHAR Name[20];
			BYTE Unknownfornow[12];
} GROUNDITEM, *PGROUNDITEM;
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.