From 73999911817cc634a03f161e26a42c235ae86387 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 22 Mar 2015 15:17:31 -0400 Subject: [PATCH] Add SetClientName gamedata. --- gamedata/sdktools.games/engine.bgt.txt | 9 +++++++++ gamedata/sdktools.games/engine.blade.txt | 11 +++++++++++ gamedata/sdktools.games/engine.contagion.txt | 11 +++++++++++ gamedata/sdktools.games/engine.csgo.txt | 11 +++++++++++ gamedata/sdktools.games/engine.css.txt | 11 +++++++++++ gamedata/sdktools.games/engine.darkm.txt | 9 +++++++++ gamedata/sdktools.games/engine.dota.txt | 11 +++++++++++ gamedata/sdktools.games/engine.ep1.txt | 10 ++++++++++ gamedata/sdktools.games/engine.ep2.txt | 10 ++++++++++ gamedata/sdktools.games/engine.ep2valve.txt | 11 +++++++++++ gamedata/sdktools.games/engine.eye.txt | 8 ++++++++ gamedata/sdktools.games/engine.insurgency.txt | 11 +++++++++++ gamedata/sdktools.games/engine.l4d.txt | 11 +++++++++++ gamedata/sdktools.games/engine.l4d2.txt | 11 +++++++++++ gamedata/sdktools.games/engine.sdk2013.txt | 11 +++++++++++ gamedata/sdktools.games/engine.swarm.txt | 8 ++++++++ gamedata/sdktools.games/game.nucleardawn.txt | 11 +++++++++++ 17 files changed, 175 insertions(+) diff --git a/gamedata/sdktools.games/engine.bgt.txt b/gamedata/sdktools.games/engine.bgt.txt index 3465c6e38..9ad410865 100644 --- a/gamedata/sdktools.games/engine.bgt.txt +++ b/gamedata/sdktools.games/engine.bgt.txt @@ -119,6 +119,15 @@ "windows" "17" } + /** + * CBaseClient::SetName(char const*); + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + } + /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.blade.txt b/gamedata/sdktools.games/engine.blade.txt index 5dbe09d56..32da0ee07 100644 --- a/gamedata/sdktools.games/engine.blade.txt +++ b/gamedata/sdktools.games/engine.blade.txt @@ -210,6 +210,17 @@ "linux" "64" "mac" "64" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + "linux" "63" + "mac" "63" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.contagion.txt b/gamedata/sdktools.games/engine.contagion.txt index 697bb7244..2b81c5431 100644 --- a/gamedata/sdktools.games/engine.contagion.txt +++ b/gamedata/sdktools.games/engine.contagion.txt @@ -169,6 +169,17 @@ "linux" "63" "mac" "63" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + "linux" "62" + "mac" "62" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.csgo.txt b/gamedata/sdktools.games/engine.csgo.txt index 19ca6dc5d..32cc3b50f 100644 --- a/gamedata/sdktools.games/engine.csgo.txt +++ b/gamedata/sdktools.games/engine.csgo.txt @@ -189,6 +189,17 @@ "SetUserCvar" { /* Not 100% sure on this, why would windows change and not linux - TEST ME */ + "windows" "28" + "linux" "65" + "mac" "65" + } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { "windows" "27" "linux" "64" "mac" "64" diff --git a/gamedata/sdktools.games/engine.css.txt b/gamedata/sdktools.games/engine.css.txt index eaae257c9..a77d2a0b6 100644 --- a/gamedata/sdktools.games/engine.css.txt +++ b/gamedata/sdktools.games/engine.css.txt @@ -157,6 +157,17 @@ "linux" "58" "mac" "58" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "17" + "linux" "57" + "mac" "57" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.darkm.txt b/gamedata/sdktools.games/engine.darkm.txt index 7153562dc..27acd6f40 100644 --- a/gamedata/sdktools.games/engine.darkm.txt +++ b/gamedata/sdktools.games/engine.darkm.txt @@ -189,6 +189,15 @@ { "windows" "17" } + + /** + * CBaseClient::SetName(char const*); + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + } "UpdateUserSettings" { diff --git a/gamedata/sdktools.games/engine.dota.txt b/gamedata/sdktools.games/engine.dota.txt index 2713e866f..fa858e35b 100644 --- a/gamedata/sdktools.games/engine.dota.txt +++ b/gamedata/sdktools.games/engine.dota.txt @@ -218,6 +218,17 @@ "SetUserCvar" { "windows" "26" + "linux" "63" + "mac" "63" + } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "25" "linux" "62" "mac" "62" } diff --git a/gamedata/sdktools.games/engine.ep1.txt b/gamedata/sdktools.games/engine.ep1.txt index a2d2c1fc4..ab234e030 100644 --- a/gamedata/sdktools.games/engine.ep1.txt +++ b/gamedata/sdktools.games/engine.ep1.txt @@ -254,6 +254,16 @@ "windows" "17" "linux" "53" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + "linux" "52" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.ep2.txt b/gamedata/sdktools.games/engine.ep2.txt index 07e9c9b2d..887b21858 100644 --- a/gamedata/sdktools.games/engine.ep2.txt +++ b/gamedata/sdktools.games/engine.ep2.txt @@ -219,6 +219,16 @@ "windows" "17" "linux" "55" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + "linux" "54" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.ep2valve.txt b/gamedata/sdktools.games/engine.ep2valve.txt index 544b6028d..fc9dd6c92 100644 --- a/gamedata/sdktools.games/engine.ep2valve.txt +++ b/gamedata/sdktools.games/engine.ep2valve.txt @@ -162,6 +162,17 @@ "linux" "58" "mac" "58" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "17" + "linux" "57" + "mac" "57" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.eye.txt b/gamedata/sdktools.games/engine.eye.txt index a600d8ff7..c31b3b810 100644 --- a/gamedata/sdktools.games/engine.eye.txt +++ b/gamedata/sdktools.games/engine.eye.txt @@ -149,6 +149,14 @@ { "windows" "17" } + /** + * CBaseClient::SetName(char const*); + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.insurgency.txt b/gamedata/sdktools.games/engine.insurgency.txt index b057d84df..13c0b8968 100644 --- a/gamedata/sdktools.games/engine.insurgency.txt +++ b/gamedata/sdktools.games/engine.insurgency.txt @@ -177,6 +177,17 @@ "linux" "67" "mac" "67" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "19" + "linux" "66" + "mac" "66" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.l4d.txt b/gamedata/sdktools.games/engine.l4d.txt index e8dd87fa6..d772b2e77 100644 --- a/gamedata/sdktools.games/engine.l4d.txt +++ b/gamedata/sdktools.games/engine.l4d.txt @@ -185,6 +185,17 @@ "linux" "63" "mac" "63" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + "linux" "62" + "mac" "62" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.l4d2.txt b/gamedata/sdktools.games/engine.l4d2.txt index 4a6e85028..d3a28af8d 100644 --- a/gamedata/sdktools.games/engine.l4d2.txt +++ b/gamedata/sdktools.games/engine.l4d2.txt @@ -60,6 +60,17 @@ "linux" "63" "mac" "63" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + "linux" "62" + "mac" "62" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.sdk2013.txt b/gamedata/sdktools.games/engine.sdk2013.txt index f6a1fbc36..29c73df12 100644 --- a/gamedata/sdktools.games/engine.sdk2013.txt +++ b/gamedata/sdktools.games/engine.sdk2013.txt @@ -91,6 +91,17 @@ "linux" "58" "mac" "58" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "17" + "linux" "57" + "mac" "57" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/engine.swarm.txt b/gamedata/sdktools.games/engine.swarm.txt index 73e443ac9..077892417 100644 --- a/gamedata/sdktools.games/engine.swarm.txt +++ b/gamedata/sdktools.games/engine.swarm.txt @@ -144,6 +144,14 @@ /* Not 100% sure on this, why would windows change and not linux - TEST ME */ "windows" "17" } + /** + * CBaseClient::SetName(char const*); + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end. diff --git a/gamedata/sdktools.games/game.nucleardawn.txt b/gamedata/sdktools.games/game.nucleardawn.txt index 591ff363a..406e5b2f2 100644 --- a/gamedata/sdktools.games/game.nucleardawn.txt +++ b/gamedata/sdktools.games/game.nucleardawn.txt @@ -119,6 +119,17 @@ "linux" "63" "mac" "63" } + /** + * CBaseClient::SetName(char const*); + * Linux offset straight from VTable dump. + * Has string "(%d)%-0.*s" + */ + "SetClientName" + { + "windows" "16" + "linux" "62" + "mac" "62" + } /** * Offset into CBaseClient - Used by CBaseServer::UpdateUserSettings to determine when changes have been made. * Find CBaseClient::UpdateUserSettings (strings "net_maxroutable", "cl_updaterate" etc) and the offset is set to 0 near the end.