Update PVKII gamedata.

This commit is contained in:
Nicholas Hastings 2014-11-25 06:32:17 -05:00
parent 50898d7a4f
commit 19f2f46655
4 changed files with 219 additions and 91 deletions

View File

@ -1,119 +1,153 @@
"Games" "Games"
{ {
/* Pirates, Vikings and Knights II 2.3 */ /* Pirates, Vikings and Knights II */
"pvkii" "pvkii"
{ {
"Offsets" "Offsets"
{ {
"Blocked"
{
"windows" "103"
"linux" "104"
"mac" "104"
}
"EndTouch" "EndTouch"
{ {
"windows" "93" "windows" "101"
"linux" "94" "linux" "102"
"mac" "102"
} }
"FireBullets" "FireBullets"
{ {
"windows" "105" "windows" "113"
"linux" "106" "linux" "114"
"mac" "114"
}
"GetMaxHealth"
{
"windows" "118"
"linux" "119"
"mac" "119"
}
"GroundEntChanged"
{
"windows" "178"
"linux" "180"
"mac" "180"
} }
"OnTakeDamage" "OnTakeDamage"
{ {
"windows" "61" "windows" "63"
"linux" "62" "linux" "64"
"mac" "64"
}
"OnTakeDamage_Alive"
{
"windows" "274"
"linux" "275"
"mac" "275"
} }
"PreThink" "PreThink"
{ {
"windows" "292" "windows" "335"
"linux" "293" "linux" "336"
"mac" "336"
} }
"PostThink" "PostThink"
{ {
"windows" "293" "windows" "336"
"linux" "294" "linux" "337"
"mac" "337"
}
"Reload"
{
"windows" "272"
"linux" "273"
"mac" "273"
} }
"SetTransmit" "SetTransmit"
{ {
"windows" "20" "windows" "21"
"linux" "21" "linux" "22"
"mac" "22"
} }
"ShouldCollide" "ShouldCollide"
{ {
"windows" "15" "windows" "16"
"linux" "16" "linux" "17"
"mac" "17"
} }
"Spawn" "Spawn"
{ {
"windows" "22" "windows" "23"
"linux" "23" "linux" "24"
"mac" "24"
} }
"StartTouch" "StartTouch"
{ {
"windows" "91" "windows" "99"
"linux" "92" "linux" "100"
"mac" "100"
} }
"Think" "Think"
{ {
"windows" "46" "windows" "48"
"linux" "47" "linux" "49"
"mac" "49"
} }
"Touch" "Touch"
{ {
"windows" "92" "windows" "100"
"linux" "93" "linux" "101"
"mac" "101"
} }
"TraceAttack" "TraceAttack"
{ {
"windows" "59" "windows" "61"
"linux" "60" "linux" "62"
} "mac" "62"
"UpdateOnRemove"
{
"windows" "98"
"linux" "99"
} }
"Use" "Use"
{ {
"windows" "90" "windows" "98"
"linux" "91" "linux" "99"
"mac" "99"
} }
"VPhysicsUpdate" "VPhysicsUpdate"
{ {
"windows" "145" "windows" "158"
"linux" "146" "linux" "159"
"mac" "159"
} }
"Weapon_CanSwitchTo" "Weapon_CanSwitchTo"
{ {
"windows" "237" "windows" "268"
"linux" "238" "linux" "269"
"mac" "269"
} }
"Weapon_CanUse" "Weapon_CanUse"
{ {
"windows" "231" "windows" "262"
"linux" "232" "linux" "263"
"mac" "263"
} }
"Weapon_Drop" "Weapon_Drop"
{ {
"windows" "234" "windows" "265"
"linux" "235" "linux" "266"
"mac" "266"
} }
"Weapon_Equip" "Weapon_Equip"
{ {
"windows" "232" "windows" "263"
"linux" "233" "linux" "264"
"mac" "264"
} }
"Weapon_Switch" "Weapon_Switch"
{ {
"windows" "235" "windows" "266"
"linux" "236" "linux" "267"
} "mac" "267"
}
"Signatures"
{
"IEntityFactoryDictionary"
{
"library" "server"
"windows" "\xB8\x01\x00\x00\x00\x84\x2A\x2A\x2A\x2A\x2A\x75\x1D\x09\x2A\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x68\x2A\x2A\x2A\x2A\xE8\x2A\x2A\x2A\x2A\x83\xC4\x04\xB8\x2A\x2A\x2A\x2A\xC3"
"linux" "@_Z23EntityFactoryDictionaryv"
} }
} }
} }

View File

@ -18,10 +18,8 @@
{ {
"game" "ageofchivalry" "game" "ageofchivalry"
"game" "bg2" "game" "bg2"
"game" "pvkii"
"game" "gesource" "game" "gesource"
"game" "fas" "game" "fas"
"game" "fistful_of_frags"
"game" "cspromod" "game" "cspromod"
"game" "ag2" "game" "ag2"
} }
@ -71,8 +69,6 @@
"#supported" "#supported"
{ {
"game" "ageofchivalry" "game" "ageofchivalry"
"game" "pvkii"
"game" "fistful_of_frags"
"game" "cspromod" "game" "cspromod"
"game" "ag2" "game" "ag2"
} }
@ -97,12 +93,10 @@
"game" "ageofchivalry" "game" "ageofchivalry"
"game" "zps" "game" "zps"
"game" "bg2" "game" "bg2"
"game" "pvkii"
"game" "gesource" "game" "gesource"
"game" "RnLBeta" "game" "RnLBeta"
"game" "obsidian" "game" "obsidian"
"game" "fas" "game" "fas"
"game" "fistful_of_frags"
"game" "cspromod" "game" "cspromod"
"game" "ag2" "game" "ag2"
} }

View File

@ -11,6 +11,32 @@
"Games" "Games"
{ {
/* General Temp Entities */
"#default"
{
"Offsets"
{
"GetTEName"
{
"windows" "4"
"linux" "4"
"mac" "4"
}
"GetTENext"
{
"windows" "8"
"linux" "8"
"mac" "8"
}
"TE_GetServerClass"
{
"windows" "0"
"linux" "0"
"mac" "0"
}
}
}
/* IServer interface pointer */ /* IServer interface pointer */
"#default" "#default"
{ {

View File

@ -12,6 +12,59 @@
"Games" "Games"
{ {
/* Pirates, Vikings and Knights II */ /* Pirates, Vikings and Knights II */
/* GameRules */
"#default"
{
"Offsets"
{
/* Offset into CreateGameRulesObject */
"g_pGameRules"
{
"windows" "5"
"linux" "9"
}
}
"Signatures"
{
/* This signature sometimes has multiple matches, but this
* does not matter as g_pGameRules is involved in all of them.
* The same g_pGameRules offset applies to each match.
*
* Sometimes this block of bytes is at the beginning of the static
* CreateGameRulesObject function and sometimes it is in the middle
* of an entirely different function. This depends on the game.
*/
"CreateGameRulesObject"
{
"library" "server"
"windows" "\x55\x8B\xEC\x8B\x0D\x2A\x2A\x2A\x2A\x85\xC9\x74\x07"
"linux" "\x55\x89\xE5\x56\x53\x83\xEC\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x5D\x08\x85\xC0\x74\x08\x8B\x10\x89"
}
"g_pGameRules"
{
"library" "server"
"mac" "@g_pGameRules"
}
}
}
/* CBaseEntityOutput::FireOutput */
"pvkii"
{
"Signatures"
{
"FireOutput"
{
"library" "server"
"windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\x53\x8B\xC1\xC7\x2A\x2A\x2A\x2A\x2A\x00\x56\x57\x89"
"linux" "\x55\x89\xE5\x57\x56\x53\x81\xEC\x2A\x2A\x2A\x2A\x8B\x55\x08\x8B\x75\x14\x8B\x5A\x14\x85\xDB\x0F\x84"
"mac" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
}
}
}
"pvkii" "pvkii"
{ {
"Offsets" "Offsets"
@ -19,80 +72,101 @@
/* CBasePlayer */ /* CBasePlayer */
"GiveNamedItem" "GiveNamedItem"
{ {
"windows" "354" "windows" "403"
"linux" "355" "linux" "404"
"mac" "404"
} }
"RemovePlayerItem" "RemovePlayerItem"
{ {
"windows" "241" "windows" "272"
"linux" "242" "linux" "273"
"mac" "273"
} }
"Weapon_GetSlot" "Weapon_GetSlot"
{ {
"windows" "239" "windows" "270"
"linux" "240" "linux" "271"
"mac" "271"
} }
"Ignite" "Ignite"
{ {
"windows" "196" "windows" "211"
"linux" "197" "linux" "212"
"mac" "212"
} }
"Extinguish" "Extinguish"
{ {
"windows" "200" "windows" "215"
"linux" "201" "linux" "216"
"mac" "216"
} }
"Teleport" "Teleport"
{ {
"windows" "101" "windows" "109"
"linux" "102" "linux" "110"
"mac" "110"
} }
"CommitSuicide" "CommitSuicide"
{ {
"windows" "395" "windows" "442"
"linux" "395" "linux" "442"
"mac" "442"
} }
"GetVelocity" "GetVelocity"
{ {
"windows" "131" "windows" "141"
"linux" "132" "linux" "142"
"mac" "142"
} }
"EyeAngles" "EyeAngles"
{ {
"windows" "123" "windows" "132"
"linux" "124" "linux" "133"
"mac" "133"
} }
"AcceptInput" "AcceptInput"
{ {
"windows" "35" "windows" "37"
"linux" "36" "linux" "38"
"mac" "38"
} }
"SetEntityModel" "SetEntityModel"
{ {
"windows" "24" "windows" "25"
"linux" "25" "linux" "26"
"mac" "26"
} }
"WeaponEquip" "WeaponEquip"
{ {
"windows" "232" "windows" "263"
"linux" "233" "linux" "264"
"mac" "264"
} }
"Activate" "Activate"
{ {
"windows" "32" "windows" "34"
"linux" "33" "linux" "35"
"mac" "35"
} }
"PlayerRunCmd" "PlayerRunCmd"
{ {
"windows" "374" "windows" "421"
"linux" "375" "linux" "422"
"mac" "422"
} }
"FireOutputBackup" "GiveAmmo"
{ {
"windows" "6" "windows" "254"
"linux" "10" "linux" "255"
"mac" "255"
} }
} }
"Keys"
{
"GameRulesProxy" "CPVK2GameRulesProxy"
}
"Signatures" "Signatures"
{ {
"FireOutput" "FireOutput"