May 15th Offsets

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

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri May 16, 2003 4:41 am

Offsets in CVS -- they pass basic tests (no crashes on /who)

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

hmm thought more should know what im trying to do here...

Post by EqMule » Fri May 16, 2003 12:07 pm

Jaerin said: So...hmm...dunno what to tell ya
hmm well I dont know much about the cls stuff either, Im just trying to get merchant and spell memming to work, as well as Im looking into the structures they use to open bags and so on, I found all the stuff Mckorr is reading from the xml files, its right there in memory and its laid out kinda like the xml files, it looks like the program is going there everytime it needs to open a bag or maybe its just for keeping track of peoples settings, anyhow the cls offsets are a mystery, I found the updated offsets by looking at an old eqgame.exe and searched for the values... thats how I found them, and I also noticed that the offset was for spawninfo nowdays, but the point is, they are using it in the same place as the old offset was(in the decompiled eqgame that is...)
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.

Draekz
a hill giant
a hill giant
Posts: 263
Joined: Thu Aug 01, 2002 6:07 pm
Location: Winnipeg, Manitoba, Canada

Post by Draekz » Fri May 16, 2003 2:34 pm

Hmm sorry to post this but using search i couldnt find the post again, I know theres one about it somewhere. Anyway, I get a solid black screen upon character select when MQ is running! Using latest CVS and nmake in command prompt to make it go. Yet once at character select and selecting the char it goes black and doesnt return!

Any ideas? that or just gimme a hint on which forum that damn link (that this relates to) is at :P

Thanks

Draekz

maq0r
a lesser mummy
a lesser mummy
Posts: 43
Joined: Fri Jan 03, 2003 10:09 am

Post by maq0r » Fri May 16, 2003 6:50 pm

Are the offsets in the CVS tree safe?

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri May 16, 2003 7:18 pm

Define "safe"

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

Post by Mckorr » Fri May 16, 2003 8:01 pm

I think the mouse offsets are wrong. I get horrible errors when determining the current mouse position. Can't finish testing the parser without them :cry:

Mouse positions are being reported as things like 21495880,0... and that's in the middle of the screen.

Looks like SOE read the boards, saw the upcoming return of all things mousey, and did some shuffling.

Like an idiot I didn't back up my old eqgame.exe, so can't disassemble to check these on my own. Could someone take a look and double (triple) check all the mouse related offsets?

sprite
a lesser mummy
a lesser mummy
Posts: 51
Joined: Tue Apr 15, 2003 8:42 am

Post by sprite » Fri May 16, 2003 8:30 pm

Code: Select all

Mouse=0077A478 
Under memory locations.

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

Post by Mckorr » Fri May 16, 2003 9:04 pm

Ummm, nope, now I get all mouse positions reported as 0 0.

Need both mouse offsets checked, Both DirectInput8 and Memory Locations. Either they are wrong, or SOE has changed code someplace, maybe the MOUSEINFO struct?

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

Post by Amadeus » Fri May 16, 2003 9:28 pm

Was the mouse offset correct before the 5-14 patch? I'm checking an old stack with the old offset (pre 5-14) and I'm getting nothing on the mouse= offset location

The directx8 offset for mouse that is current now looks right if the 4/30 offset was correct.

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

Post by Mckorr » Fri May 16, 2003 11:31 pm

Offsets prior to May 14th gave the right mouse locations. I haven't played in a couple days, so don't know if the offset for the 14th was correct. But the 15th isn't working.

maq0r
a lesser mummy
a lesser mummy
Posts: 43
Joined: Fri Jan 03, 2003 10:09 am

Post by maq0r » Sat May 17, 2003 1:50 am

Define "safe"
That it has the right memcheckers (the first post says memchecker 1 is not there)

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sat May 17, 2003 1:55 am

Maybe you could read all the posts in this thread.

User avatar
Densetsu
orc pawn
orc pawn
Posts: 22
Joined: Sat Apr 19, 2003 3:31 am
Location: NYC
Contact:

Teamwork

Post by Densetsu » Sat May 17, 2003 2:34 am

Sorry if I'm stepping out of line here or ruining the thread integrity but I feel that I realy must say how impressed I am! Your dedication and hard work realy is inspiring and the way you all band together to overcome these obstacles everytime they try and throw a wrench in your work is more than admirable. I just wanted to say how much I respect and admire you all my peers and to let you know your diligence is appreciated.

Again pardon my gushing, I was just moved and could'nt help myself.

Thanks again guys!
Who's pants are these?!

sprite
a lesser mummy
a lesser mummy
Posts: 51
Joined: Tue Apr 15, 2003 8:42 am

Post by sprite » Sat May 17, 2003 7:01 am

sorry looked at wrong eqgame.ini, here is the one with correct mouse offset.

Code: Select all

[MacroQuest] 
MacroQuestVersion=SRC-20030308 
ClientName=eqgame 
ClientVersion=Thu May 15 02:59:xx 2003 
ClientOverride=0 
MacroQuestWinClassName=__MacroQuestTray 
MacroQuestWinName=MacroQuest 

[Function Locations] 
WriteChatColor=004E2779 
GetRaceByID=004D7F4B 
GetClassByID=004D78F6 
GetDeityByID=004D93ED 
LeftClick=0 
RightClick=0 
ScreenItem=0045DBC5 
ScreenSpawn=004EC092 
NewUIINI=00447FFA 
MaxMana=00465E04 
Commands=004EB1D8 
CmdCleanup=0 
MemChecker=004FB60C 
MemChecker2=004FF0B4 
MemCheckAddr1=004FF122 
MemCheckAddr2=004FF15A 
MemChecker3=004FC509 

[DirectInput8] 
Main=0077A7E4 
Keyboard=0077A7E8 
Mouse=0077A7EC 

[Memory Locations] 
Zoning=007600B8 
Zones=007600D4 
SpawnHeader=007600D8 
Items=007600DC 
Doors=007600F4 
SpawnFooter=00760100 
Char=00760114 
CharInfo=0076011C 
Target=00760120 
Guilds=006F440C 
Packs=0 
OldAttack=0075DB32 
Mouse=0077A7F0 
Attack=00731FC8 
Spells=0076D880 
CommandList=005AEEC0 
DoAbilityList=00736CE8 
DoAbilityAvailable=00731F64 
Group=006B010D 
GroupCount=006B0108 
HSliderItems=0 
HSliderMoney=0 
PackPanel1=0 
PackPanel2=0 
clsMain=0 
clsItems=00760144 
clsSpawns=007600C8 
clsInvPanel=0 
clsMerchantPanelStatus=0 
clsMerchantItemBase=0 
clsMerchantSelectedItem=0 
clsMerchantSelectedSlotID=0 
clsMainNewUI=0077A980 
clsMainSpellRefresh=0 
clsMainSpellMemId=0 
clsMainSpellMemBar=0 
clsMainSpellMemGem=0 

EncryptPad=005C9130 
EncryptPad2=005C9554 
EncryptPad3=005C9D80

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

Post by Mckorr » Sat May 17, 2003 8:39 am

Wrong again, that one causes either a lockup when entering the world, or a crash to desktop.