SourceMod Offsets for PVK II 2.3

RothgarRothgar Server Admin
edited February 2010 in Servers
The following block of text needs to be installed in the following location:

addons\sourcemod\gamedata\sdktools.games\custom

Make a file called "game.pvkii.txt"

Insert the following text in that file:

*** Updated values by Viper (Tested and working)

CODE
"Games"
{
    /* Pirates, Vikings and Knights II */
    "pvkii"
    {
        "Offsets"
        {
            /* CBasePlayer */
            "GiveNamedItem"
            {
                "windows"    "352"
                "linux"        "353"
            }
            "RemovePlayerItem"
            {
                "windows"    "239"
                "linux"        "240"
            }
            "Weapon_GetSlot"
            {
                "windows"    "237"
                "linux"        "238"
            }
            "Ignite"
            {
                "windows"    "194"
                "linux"        "195"
            }
            "Extinguish"
            {
                "windows"    "198"
                "linux"        "199"
            }
            "Teleport"
            {
                "windows"    "101"
                "linux"        "102"
            }
            "CommitSuicide"
            {
                "windows"    "393"
                "linux"        "393"
            }
            "GetVelocity"
            {
                "windows"    "131"
                "linux"        "132"
            }
            "EyeAngles"
            {
                "windows"    "123"
                "linux"        "124"
            }
            "AcceptInput"
            {
                "windows"    "35"
                "linux"        "36"
            }
            "DispatchKeyValue"
            {
                "windows"    "29"
                "linux"        "28"
            }
            "DispatchKeyValueFloat"
            {
                "windows"    "28"
                "linux"        "29"
            }
            "DispatchKeyValueVector"
            {
                "windows"    "27"
                "linux"        "30"
            }
            "SetEntityModel"
            {
                "windows"    "24"
                "linux"        "25"
            }
            "WeaponEquip"
            {
                "windows"    "230"
                "linux"        "231"
            }
            "Activate"
            {
                "windows"    "32"
                "linux"        "33"
            }
            "FireOutputBackup"
            {
                "windows"    "6"
                "linux"        "10"
            }
        }
        "Signatures"
        {
            "FireOutput"
            {
                "library"    "server"
                "windows"    "\x81\xEC\x2A\x2A\x2A\x2A\x53\x55\x56\x8B\x71\x2A\x85\xF6\x57"
                "linux"        "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f"
            }
        }
    }
}



You also need to edit the file in addons\sourcemod\gamedata\sdktools.games\engine.ep2.txt

Add:

CODE
"game"        "pvkii"


Inside the following blocks:

/* General Temp Entities */
/* Create Entity Signatures */
/* CGlobalEntityList */
/* General GameRules */


You also need to edit the following file in addons\sourcemod\gamedata\core.games\common.games.txt

Add:

CODE
"game"        "pvkii"


Inside the following blocks:

/* Which games need a radio menu timeout? */
Which games support HudMsg?


You also need to edit the following file in addons\sourcemod\gamedata\core.games\engine.ep2.txt

Add:

CODE
"game"        "pvkii"


Inside the following blocks:

/* CGlobalEntityList */


Note this has been tested on Windows Only at this point.



Enjoy.
Dawgclan Network > http://www.dawgclan.net
CustomFactor.com > Official PVK II #1 Beta 2.4 (-FF)
21 Players, 33 tick, Custom Maps & More
203.56.188.6:27019

Comments

Sign In or Register to comment.