PDA

View Full Version : Test Server Offsets.



skorli
09-29-2006, 04:10 PM
Since I am unable to edit my last post. I guess I will have to post a new offset thread for every update to Test.



[File Info]
PatchDate=9-27-06

[Memory Offsets]
SpawnHeaderAddr=0x886664
CharInfo=0x886650
TargetAddr=0x886668
ZoneAddr=0x8a45f8
ItemsAddr=0x0

[SpawnInfo Offsets]
NameOffset=0x74
LastnameOffset=0x10
XOffset=0x3c
YOffset=0x40
ZOffset=0x44
SpeedOffset=0x54
HeadingOffset=0x58
PrevOffset=0x8
NextOffset=0x4
TypeOffset=0x140
LevelOffset=0x446
HideOffset=0x298
ClassOffset=0xe20
SpawnIDOffset=0x6c
RaceOffset=0xE1c


Also I have added the new spawninfo struct. And it did work on live servers in my testing. So enjoy.:)

elminster
10-01-2006, 09:37 AM
Con colors are still showing up incorrectly... Do you know of an updated concolors.ini anywhere? Everything below my level is showing up as blue, and I'm not sure if it's due to that file, or something else.

Seaxouri
10-01-2006, 09:41 PM
Actually the SpawnIDOffset value is not really used anymore. It used to be used to extract a unique number to identify each spawn, so they could be tracked in the spawnlist. However, this value moved a long time ago, and I was never able to find it again. I think it might have been removed from the structure. Instead, I used the pointer value of each spawn to represent this number, and that is the very large value you see inside parenthesis next to the target's name. This value has absolutely no meaning whatsoever to the end user.... so long as it is unique to each spawn.

As a result, you can change that secondary offset all you want. I never use it.

The con colors are probably a side effect of the new level cap increase. In the client cfg folder is a ConLevels.ini file. I need help from folks of each level from 71-75 to send me the correct values for Highest Green Level and the Highest Light Blue Level target mob.

The file's tail looks like this currently:

60=39,44
61=40,45
62=41,46
63=42,47
64=43,48
65=44,49
66=45,50
67=46,51
68=47,52
69=48,53
70=49,54

I need:
71=
72=
73=
74=
75=

purple
10-02-2006, 06:52 AM
For all levels above 57:
gray range = 1 to (level - 21)
green range = (level - 20) to (level -16)
light blue = (level - 15) to (level - 6)
blue range = (level - 5) to (level - 1)
even range = level
yellow range = (level + 1) to (level + 3)
red range = (level + 4) +

You can see showeq's handling of spawn colors in player.cpp in the fillConTable function.