[ZPS] Gamedata update for sdktools/sdkhooks (#1369)

* Gamedata update for ZPS 3.1

Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>

* Offset updates for ZPS 3.1

Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>

* Updated offsets and signatures.

Signed-off-by: Mr.Silence <Silenci0@users.noreply.github.com>
This commit is contained in:
Mr. Silence 2020-10-19 20:58:35 -07:00 committed by GitHub
parent 90b68f095f
commit 104b6b878a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 59 additions and 107 deletions

View File

@ -1,24 +1,23 @@
"Games" "Games"
{ {
/* Zombic Panic Source 3.0.7 (Hotfix-3) */
"zps" "zps"
{ {
"Offsets" "Offsets"
{ {
"EndTouch" "EndTouch"
{ {
"windows" "113" "windows" "110"
"linux" "114" "linux" "111"
} }
"FireBullets" "FireBullets"
{ {
"windows" "125" "windows" "124"
"linux" "126" "linux" "124"
} }
"OnTakeDamage" "OnTakeDamage"
{ {
"windows" "74" "windows" "72"
"linux" "75" "linux" "73"
} }
"PreThink" "PreThink"
{ {
@ -31,24 +30,24 @@
"linux" "353" "linux" "353"
} }
"SetTransmit" "SetTransmit"
{
"windows" "26"
"linux" "27"
}
"ShouldCollide"
{
"windows" "22"
"linux" "23"
}
"Spawn"
{ {
"windows" "28" "windows" "28"
"linux" "29" "linux" "29"
} }
"ShouldCollide"
{
"windows" "16"
"linux" "17"
}
"Spawn"
{
"windows" "30"
"linux" "31"
}
"StartTouch" "StartTouch"
{ {
"windows" "111" "windows" "108"
"linux" "112" "linux" "109"
} }
"Think" "Think"
{ {
@ -57,8 +56,8 @@
} }
"Touch" "Touch"
{ {
"windows" "112" "windows" "109"
"linux" "113" "linux" "110"
} }
"TraceAttack" "TraceAttack"
{ {
@ -67,13 +66,13 @@
} }
"Use" "Use"
{ {
"windows" "110" "windows" "107"
"linux" "111" "linux" "108"
} }
"VPhysicsUpdate" "VPhysicsUpdate"
{ {
"windows" "170" "windows" "171"
"linux" "171" "linux" "172"
} }
"Weapon_CanSwitchTo" "Weapon_CanSwitchTo"
{ {
@ -81,25 +80,25 @@
"linux" "282" "linux" "282"
} }
"Weapon_CanUse" "Weapon_CanUse"
{
"windows" "274"
"linux" "275"
}
"Weapon_Drop"
{
"windows" "277"
"linux" "278"
}
"Weapon_Equip"
{ {
"windows" "275" "windows" "275"
"linux" "276" "linux" "276"
} }
"Weapon_Switch" "Weapon_Drop"
{ {
"windows" "278" "windows" "278"
"linux" "279" "linux" "279"
} }
"Weapon_Equip"
{
"windows" "276"
"linux" "277"
}
"Weapon_Switch"
{
"windows" "279"
"linux" "280"
}
} }
} }
} }

View File

@ -18,18 +18,18 @@
{ {
"GiveNamedItem" "GiveNamedItem"
{ {
"windows" "552" "windows" "420"
"linux" "553" "linux" "421"
} }
"RemovePlayerItem" "RemovePlayerItem"
{ {
"windows" "289" "windows" "288"
"linux" "290" "linux" "289"
} }
"Weapon_GetSlot" "Weapon_GetSlot"
{ {
"windows" "284" "windows" "283"
"linux" "285" "linux" "284"
} }
"Ignite" "Ignite"
{ {
@ -43,58 +43,52 @@
} }
"Teleport" "Teleport"
{ {
"windows" "121" "windows" "118"
"linux" "122" "linux" "119"
} }
"CommitSuicide" "CommitSuicide"
{ {
"windows" "465" "windows" "461"
"linux" "465" "linux" "461"
} }
"GetVelocity" "GetVelocity"
{ {
"windows" "153" "windows" "154"
"linux" "154" "linux" "155"
} }
"EyeAngles" "EyeAngles"
{ {
"windows" "144" "windows" "145"
"linux" "145" "linux" "146"
} }
"AcceptInput" "AcceptInput"
{ {
"windows" "42" "windows" "44"
"linux" "43" "linux" "45"
} }
"SetEntityModel" "SetEntityModel"
{ {
"windows" "30" "windows" "32"
"linux" "31" "linux" "33"
} }
"WeaponEquip" "WeaponEquip"
{ {
"windows" "275" "windows" "276"
"linux" "276" "linux" "277"
} }
"Activate" "Activate"
{ {
"windows" "39" "windows" "41"
"linux" "40" "linux" "42"
} }
"PlayerRunCmd" "PlayerRunCmd"
{ {
"windows" "443" "windows" "440"
"linux" "444" "linux" "441"
} }
} }
"Signatures" "Signatures"
{ {
"FindEntityByClassname"
{
"library" "server"
"windows" "\x55\x8B\xEC\x53\x56\x57\x8B\xF9\x8B\x4D\x2A\x85\xC9\x74\x2A\x8B\x01\xFF\x2A\x2A\x8B\x2A\x81\xE6\x2A\x2A\x2A\x2A\x46\x03\xF6\x8B\x34\x2A\xEB\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x85\xF6\x74\x2A\x8B\x5D\x2A\x8B\x3E\x85\xFF\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x2A\x2A\x2A\x83\xC4\x2A\xEB\x2A\x39"
"linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc"
}
"FireOutput" "FireOutput"
{ {
"library" "server" "library" "server"
@ -103,45 +97,4 @@
} }
} }
} }
"zps"
{
"Offsets"
{
/* Offset into CBaseTempEntity constructor */
"s_pTempEntities"
{
"windows" "19"
}
"GetTEName"
{
"windows" "4"
"linux" "4"
}
"GetTENext"
{
"windows" "8"
"linux" "8"
}
"TE_GetServerClass"
{
"windows" "0"
"linux" "0"
}
}
"Signatures"
{
"CBaseTempEntity"
{
"library" "server"
"windows" "\x55\x8B\xEC\x8B\x45\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x89"
}
"s_pTempEntities"
{
"library" "server"
"linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE"
}
}
}
} }