June 11 Structs; plus, *Important CHARINFO Research*!

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

Moderator: MacroQuest Developers

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

June 11 Structs; plus, *Important CHARINFO Research*!

Post by Amadeus » Tue Jun 10, 2003 11:28 pm

Ok...cleaning up.

I will be submitting the new charinfo struct to DKAA via patch since it involves editing other files. However, I would like to post the data from the new charinfo struct and see if anything rings a bell.

Please note all the new unknown FLOAT values....there quite a few floats that appeared out of the woodwork.

Code: Select all

Name = Amadeus (offset 0x2)
Lastname =  (offset 0x42)
Gender = 0 (offset 0x88)
Race = 4 (offset 0x8c)
Class = 6 (offset 0x90)
Level = 65 (offset 0x98)
Exp = 32 (offset 0x9c)
PracticePoints = 33 (offset 0xa0)
Mana = 4108 (offset 0xa4)
BaseHP = 2131 (offset 0xa8)
Stunned = 0 (offset 0xac)
BaseSTR = 70 (offset 0xb0)
BaseSTA = 85 (offset 0xb4)
BaseCHA = 75 (offset 0xb8)
BaseDEX = 80 (offset 0xbc)
BaseINT = 75 (offset 0xc0)
BaseAGI = 95 (offset 0xc4)
BaseWIS = 105 (offset 0xc8)
Face = 4 (offset 0xcc)
EquipType = 12295728 (offset 0xd0)
emptyforexpansion = 12295736 (offset 0xd8)
EquipColor = 12295740 (offset 0xdc)
Equipment = 12295772 (offset 0xfc)
InventoryBagIDs = 12295860 (offset 0x154)
languages = 12295896 (offset 0x178)
Buff = 12296424 (offset 0x388)
InventoryBag1 = 12296664 (offset 0x478)
InventoryBag2 = 12296704 (offset 0x4a0)
InventoryBag3 = 12296744 (offset 0x4c8)
InventoryBag4 = 12296784 (offset 0x4f0)
InventoryBag5 = 12296824 (offset 0x518)
InventoryBag6 = 12296864 (offset 0x540)
InventoryBag7 = 12296904 (offset 0x568)
InventoryBag8 = 12296944 (offset 0x590)
InventoryBag9 = 12296984 (offset 0x5b8)
SpellBook = 12298464 (offset 0xb80)
MemorizedSpells = 12300512 (offset 0x1380)
y = -802.999634 (offset 0x13c4)
x = 89.087608 (offset 0x13c8)
z = 4.126000 (offset 0x13cc)
heading = 166.426529 (offset 0x13d0)
standstate = 100 (offset 0x13d4)
Plat = 611 (offset 0x13d8)
Gold = 14 (offset 0x13dc)
Silver = 5 (offset 0x13e0)
Copper = 0 (offset 0x13e4)
BankPlat = 82531 (offset 0x13e8)
BankGold = 8 (offset 0x13ec)
BankSilver = 15 (offset 0x13f0)
BankCopper = 26 (offset 0x13f4)
Skill = 12300664 (offset 0x1418)
UnknownFlag0x160c = 65280 [256 512 1024 2048 4096 8192 16384 32768 ] (Offset: 0x160c)
UnknownFloat0x1610 = 5.000000 (offset 0x1610)
UnknownFloat0x1614 = 3.000000 (offset 0x1614)
UnknownFloat0x1618 = 2.500000 (offset 0x1618)
UnknownFloat0x161c = 5.500000 (offset 0x161c)
AutoSplit = 0 (offset 0x1668)
UnknownFlag0x1688 = 106365 [1 4 8 16 32 64 256 512 1024 2048 4096 32768 65536 ] (Offset: 0x1688)
UnknownFlag0x16a8 = 31 [1 2 4 8 16 ] (Offset: 0x16a8)
UnknownFlag0x16b0 = 1612766537 [1 8 64 256 1024 2048 4096 16384 32768 2097152 536870912 1073741824 ] (Offset: 0x16b0)
hungerlevel = 4778 (offset 0x16c0)
thirstlevel = 4442 (offset 0x16c4)
zoneId = 151 (offset 0x16dc)
pSpawn = 94383936 (offset 0x16e0)
Inventory = 12301380 (offset 0x16e4)
Cursor = 94479632 (offset 0x175c)
STR = 119 (offset 0x1764)
STA = 164 (offset 0x1768)
CHA = 88 (offset 0x176c)
DEX = 118 (offset 0x1770)
INT = 112 (offset 0x1774)
AGI = 128 (offset 0x1778)
WIS = 280 (offset 0x177c)
UnknownData0x1780 = 368 (offset 0x1780)
SaveMagic = 98 (offset 0x1784)
SaveFire = 119 (offset 0x1788)
SaveCold = 112 (offset 0x178c)
SavePosion = 52 (offset 0x1790)
SaveDisease = 56 (offset 0x1794)
CurrWeight = 92 (offset 0x1798)
UnknownData0x17a0 = 573 (offset 0x17a0)
UnknownData0x17e0 = 257 (offset 0x17e0)
ShortBuff = 12301636 (offset 0x17e4)
UnknownData0x18d8 = 0 (offset 0x18d8)
UnknownData0x1950 = 235 (offset 0x1950)
UnknownData0x19a4 = 0 (offset 0x19a4)
UnknownData0x19ec = 618 (offset 0x19ec)
UnknownData0x1a5c = 100 (offset 0x1a5c)
UnknownData0x1a6c = 100 (offset 0x1a6c)
ZoneBoundId = 224 (offset 0x1be0)
ZoneBoundX = -2076.250000 (offset 0x1bf4)
ZoneBoundY = 1683.000000 (offset 0x1c08)
ZoneBoundZ = -51.249001 (offset 0x1c1c)
UnknownFloat0x1c20 = 9.000000 (offset 0x1c20)
UnknownFloat0x1c24 = 9.000000 (offset 0x1c24)
UnknownFloat0x1c28 = 9.000000 (offset 0x1c28)
UnknownFloat0x1c2c = 9.000000 (offset 0x1c2c)
UnknownFloat0x1c30 = -1.000000 (offset 0x1c30)
GuildStatus = 65535 (offset 0x2a20)
Diety = 215 (offset 0x2bc0)
GuildID = 89 (offset 0x2bc4)
UnknownFloat0x2bc8 = 0.013465 (offset 0x2bc8)
UnknownFloat0x2bcc = 0.450664 (offset 0x2bcc)
Anon = 2 (offset 0x2bd2)
AAExp = 51 (offset 0x2da0)
AAPoints = 0 (offset 0x2f50)
UnknownFloat0x3284 = 0.427611 (offset 0x3284)
Server = kissmyass (offset 0x3908)
Bank = 12310332 (offset 0x39dc)
Last edited by Amadeus on Sat Jun 14, 2003 1:44 pm, edited 13 times in total.

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

Post by Amadeus » Tue Jun 10, 2003 11:31 pm

CHARINFO still has a few kinks...but, should be stable as posted above with only the following values as wonky:
- GuildStatus
- Anon
- ZoneBirth*
- ZoneOther*


----------------------------------------------------------

If anyone is using any of the structs posted above, and encounter bugs, please post.

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

Post by Amadeus » Wed Jun 11, 2003 7:58 pm

Found AAPoints in CHARINFO (I'm fairly certain). Also added a lot of unknowndatas found between 0x2db4 and 0x2f4c.

Someone with a guildstatus of officer will need to figure out the guildstatus location ..hehe

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 » Wed Jun 11, 2003 8:20 pm

Ladies and gentlemen, i have an announcement!

This is the first time i ever edited code, AND IT COMPILED, now to see if it works worth a darn..... will edit later to let ya'll know

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 » Thu Jun 12, 2003 4:27 am

Updated in CVS.

hardarac
a lesser mummy
a lesser mummy
Posts: 37
Joined: Sat Nov 30, 2002 2:25 pm

Post by hardarac » Thu Jun 12, 2003 5:52 pm

I am sure that soeone will shout at me .......

But I got the source from the CVS earlier compiled it without errors .. and yet the inventory macro only lists the worn/held items and cash .....

Doesnt seem to see the bank at all ...

Help plz

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

Post by Amadeus » Thu Jun 12, 2003 9:56 pm

nt
Last edited by Amadeus on Sat Jun 14, 2003 1:44 pm, edited 1 time in total.

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

Post by Valerian » Fri Jun 13, 2003 8:43 am

jeez, wish I had even half that money in the bank.. 78k in the bank, eh? you're rich compared to me *grins*

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

Post by Amadeus » Fri Jun 13, 2003 10:01 am

heh... I just log on...run around LoY every night and kill the named ;) ..builds slowly..but it builds

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

Post by Valerian » Fri Jun 13, 2003 10:31 am

maybe way off base here... but I'm guessing Druid? stats reflect a wis caster... you say you run around LoY killing named.. so a soloing class most likely... and my real name is Sherlock Holmes ;)

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

Post by EqMule » Fri Jun 13, 2003 10:47 am

no need for guesses hehe...

Code: Select all

 Race = 4 (offset 0x8c)

Code: Select all

 Class = 6 (offset 0x90)
he is a wood elf druid.
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.

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

Post by Amadeus » Fri Jun 13, 2003 11:26 am

but, of course, since there are so many wood elf druids and you don't know my server...you're SOL ..haha

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

Post by Mckorr » Fri Jun 13, 2003 1:49 pm

Well if you are on my server Am, I'm still taking donations for my Horse Fund... :P
MQ2: Think of it as Evolution in action.

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

Post by Amadeus » Fri Jun 13, 2003 2:07 pm

Unfortunately, I am not in a guild that will probably pass the Temple of Sol Ro in the planes progression or ever see Vex Thal...so, I have to buy all my uber gear :(

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

Post by Mckorr » Sat Jun 14, 2003 10:04 am

Same here unfortunately. Unless I hire mercenaries to raid for me.
MQ2: Think of it as Evolution in action.