From 44fd0a8cb0bb75afc8eae1cef77bafbe1575e0df Mon Sep 17 00:00:00 2001 From: mjkzy Date: Tue, 28 Jun 2022 02:35:41 -0500 Subject: [PATCH] fix tokens + add a few tokens --- src/client/game/scripting/function_tables.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/client/game/scripting/function_tables.cpp b/src/client/game/scripting/function_tables.cpp index efb13087..81360c2d 100644 --- a/src/client/game/scripting/function_tables.cpp +++ b/src/client/game/scripting/function_tables.cpp @@ -2718,10 +2718,10 @@ namespace scripting {"killanimscript", 0x233}, {"killcamentity", 0x234}, {"killcamentitylookat", 0x235}, - {"kills", 0x236}, + {"_not_kills", 0x236}, // was "kills" {"killstreak", 0x237}, {"killstreakcount", 0x238}, - {"killstreakrestricted", 0x239}, + {"kills", 0x239}, // was "killstreakrestricted" {"killstreakunlocked", 0x23A}, {"knife_off", 0x23B}, {"knife_on", 0x23C}, @@ -3501,13 +3501,17 @@ namespace scripting {"QuickMessageToAll", 0x70a2}, {"SetupCallbacks", 0x8301}, {"_effect", 0x58f}, + {"_hasPerk", 0x5cb}, {"_objective_delete", 0x603}, + {"_unsetPerk", 0x67b}, {"addSpawnPoints", 0x82f}, {"addStartSpawnPoints", 0x831}, {"addToCharactersArray", 0x848}, {"addToTeam", 0x851}, {"allowUse", 0xab2}, {"applyLoadout", 0xcae}, // has applyLoadout notify like IW6's giveLoadout does at the end + similar logic + {"Callback_PlayerDamage", 0x19f5}, + {"callbackPlayerDamage", 0x19fe} {"characters", 0x1c8e}, {"checkDynamicSpawns", 0x1cfa}, {"clearOnVictimDisconnect", 0x1ef9}, @@ -3528,12 +3532,14 @@ namespace scripting {"getSpawnPoint", 0x40d2}, {"getSpawnpoint_FreeForAll", 0x40d5}, {"getTeamSpawnPoints", 0x411f}, + {"getWeaponClass", 0x4167}, {"giveLoadout", 0x41e0}, // this may not even be giveLoadout but it's a wrapper for it and it does the same logic so {"guid", 0x4450}, {"inGracePeriod", 0x4c6d}, {"initSpawns", 0x4e26}, {"initializeMatchRules", 0x4de0}, {"initializeTagPathVariables", 0x4de3}, + {"isKillstreakWeapon", 0x513d}, {"lastWave", 0x560e}, {"mapCenter", 0x5986}, {"waveDelay", 0xa2ab},