Page 2 of 3

Posted: Fri May 16, 2003 4:41 am
by dont_know_at_all
Offsets in CVS -- they pass basic tests (no crashes on /who)

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

Posted: Fri May 16, 2003 12:07 pm
by EqMule
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...)

Posted: Fri May 16, 2003 2:34 pm
by Draekz
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

Posted: Fri May 16, 2003 6:50 pm
by maq0r
Are the offsets in the CVS tree safe?

Posted: Fri May 16, 2003 7:18 pm
by dont_know_at_all
Define "safe"

Posted: Fri May 16, 2003 8:01 pm
by Mckorr
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?

Posted: Fri May 16, 2003 8:30 pm
by sprite

Code: Select all

Mouse=0077A478 
Under memory locations.

Posted: Fri May 16, 2003 9:04 pm
by Mckorr
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?

Posted: Fri May 16, 2003 9:28 pm
by Amadeus
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.

Posted: Fri May 16, 2003 11:31 pm
by Mckorr
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.

Posted: Sat May 17, 2003 1:50 am
by maq0r
Define "safe"
That it has the right memcheckers (the first post says memchecker 1 is not there)

Posted: Sat May 17, 2003 1:55 am
by dont_know_at_all
Maybe you could read all the posts in this thread.

Teamwork

Posted: Sat May 17, 2003 2:34 am
by Densetsu
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!

Posted: Sat May 17, 2003 7:01 am
by sprite
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

Posted: Sat May 17, 2003 8:39 am
by Mckorr
Wrong again, that one causes either a lockup when entering the world, or a crash to desktop.