Commit Graph

160 Commits

Author SHA1 Message Date
Kyle Sanderson
b024ad05bf Update PlayerManager.cpp 2019-09-10 11:23:08 +02:00
Kyle Sanderson
026678d182 flip to queue - fix serial on resched. 2019-09-10 11:23:08 +02:00
Kyle Sanderson
291b83ed74 ep1 static const 2019-09-10 11:23:08 +02:00
Kyle Sanderson
5d70bb0122 remove local const references 2019-09-10 11:23:08 +02:00
Kyle Sanderson
bb87127d92 Update PlayerManager.cpp 2019-09-10 11:23:08 +02:00
Kyle Sanderson
105d41c88d style 2019-09-10 11:23:08 +02:00
Kyle Sanderson
c4c4cf0085 flip to serials. 2019-09-10 11:23:08 +02:00
Kyle Sanderson
6b3e661b2b ensure empty queue when netchan drops 2019-09-10 11:23:08 +02:00
Kyle Sanderson
4cad93b505 remove m_PrintfStop 2019-09-10 11:23:08 +02:00
Kyle Sanderson
98f6ef8173 fix 2019-09-10 11:23:08 +02:00
Kyle Sanderson
9492337474 try reference for CPlayer. 2019-09-10 11:23:08 +02:00
BotoX
a51aa290d6 UNTESTED! Cleanup on disconnect, passthrough for >= 2048 msgs 2019-09-10 11:23:08 +02:00
BotoX
f1ca3e8c7f UNTESTED! Switch to ke::LinkedList<ke::AString> for PrintfBuffer.
Switch from OnGameFrame to FramAction.
Fix compiling on Episode1 by essentially disabling the feature.
2019-09-10 11:23:08 +02:00
BotoX
68e5c00f48 Avoid losing console messages.
Buffers up to 16k bytes of SVC_Print if buffer would overflow, then sends chunks every frame.
Sends up to 2048 bytes per frame and does not split messages.
2019-09-10 11:23:08 +02:00
Kyle Sanderson
255b9323cc
Flip sm_debug_connect to "1" (#860) 2018-07-27 22:02:31 -07:00
Michael Flaherty
5611ec54a2 Migrate extensions to common AMTL string funcs (#785) 2018-03-25 13:00:53 -07:00
Michael Flaherty
956f264b85 Replace ke::SafeSprintf with ke::SafeStrcpy (#784) 2018-03-19 20:12:51 +00:00
Scott Ehlert
ce1a4dcac0
64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
Nicholas Hastings
95afe72307
Separate out DOI build. (#718) 2017-11-03 15:45:16 -04:00
Nicholas Hastings
fd87cb6b23 Clear cached IClient ptr on disconnect (Fixes #637). 2017-07-08 08:25:23 -04:00
Nicholas Hastings
7f71f43c2e Another oops-fix for SDK 2013 mods.
Thanks @Ne3tCode
2017-06-24 08:49:36 -04:00
Nicholas Hastings
16d7e39b57 Oops. Fix non-bot IClient lookups for older SDK 2013 mods. 2017-06-23 14:43:39 -04:00
Nicholas Hastings
e762c2ee56 Add support for IClient lookups on SDK 2013 mods with new enough engine. 2017-06-23 14:43:39 -04:00
Nicholas Hastings
c31eaa01a3 Cache player IClient pointer on connect. 2017-06-23 14:43:39 -04:00
Nicholas Hastings
338fdb37f6 Switch to C++11 class initializers for CPlayer. 2017-06-23 14:43:39 -04:00
Nicholas Hastings
9924a28acf Fix AllowClLanguageVar setting being ignored in CS:GO. 2017-03-05 17:08:25 -05:00
Nicholas Hastings
ad3588d0aa Use newer MM:S api for Ep1/Original engine. (#548)
* Use newer MM:S api for Ep1/Original engine.

* Remove doubled FILENAME_1_6_EP1 define.
2017-01-11 21:25:00 -05:00
Kyle Sanderson
371e9f2f93 Check multiple engine sources for updated AuthIDs. (#552)
* Check multiple engine sources for updated AuthIDs.
* References are not defined.
2016-10-14 12:44:00 -07:00
Kyle Sanderson
20b7592fcd GetPlayerNetworkIDString isn't alone anymore, we have friends. (#551)
* GetPlayerNetworkIDString isn't alone anymore, we have friends.

Completely speculative CS:GO fix, 50/50, 60/40.

* Preserve existing cycle-saving techniques.
* Style.
2016-10-13 22:14:51 -07:00
Nicholas Hastings
d5ff829952 Speculative fix for CS:GO GetClientAuthId issue... 2016-10-13 21:21:58 -04:00
Nicholas Hastings
999f37800c Strip invalid UTF-8 char from end of player names. (#545) 2016-10-02 18:34:27 -04:00
Nicholas Hastings
20c9815619 Add support for sending gameevent to specific client. (#505) 2016-05-12 22:15:23 -04:00
Nicholas Hastings
40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -04:00
Nicholas Hastings
90ca9d7a47 Fix SourceTV bot detection on Source SDK 2013 mods and BM:S.
See bug 5529.
2016-01-25 18:52:58 -05:00
David Anderson
fd961f4712 Remove code to handle SourceHook versions 3 and lower. 2015-09-09 19:00:18 -07:00
David Anderson
b048dc7b10 Move ConCommand hooks into GameHooks and switch callbacks to ICommandArgs. 2015-09-09 18:40:04 -07:00
David Anderson
fa93426f6a Remove blanket includes from sm_stringutil. 2015-09-09 15:18:24 -07:00
David Anderson
13a783d441 Remove UTIL_Format() and UTIL_FormatArgs(). 2015-09-09 15:18:17 -07:00
David Anderson
e08697ad54 Remove strncopy(). 2015-09-09 14:57:47 -07:00
David Anderson
4e275eea97 Split intercom.h into separate headers and reduce shared header inclusion. 2015-08-31 10:00:49 -07:00
David Anderson
5d55ff23bd Move OnQueryCvarValueFinished into the global hook manager. 2015-08-31 09:22:08 -07:00
Nicholas Hastings
4db1280c59 Add comment to note that pStk actually gets deleted. 2015-07-12 19:18:27 -04:00
Nicholas Hastings
5893737321 Fix handle leak. 2015-07-12 17:38:50 -04:00
Nicholas Hastings
c85cc5cbf7 Add support for listening to, blocking, changing, and faking ClientCommandKeyValues. 2015-07-12 13:14:46 -04:00
Kyle Sanderson
0f9b9d0a24 Call OnClientDisconnect(_Post) if the client is already connected. 2015-06-11 20:14:25 -07:00
Nicholas Hastings
75a93314a2 Rename PlayerManager::m_FirstPass to m_bServerActivated for clarity. 2015-05-11 20:42:26 -04:00
Nicholas Hastings
91b2ab8be1 Fixed some badness with the player initialization moving. 2015-05-11 20:29:00 -04:00
Nicholas Hastings
8fc689c89a Populate MaxClients before OnPluginStart is called. 2015-05-11 19:31:22 -04:00
Ryan Stecker
ff27484527 Prevent null auth string comparisons. 2015-01-19 07:48:45 -05:00
Nicholas Hastings
abb8d8447f Move bot auth to after connect to fix old too-early-authid bug now causing crash (r=VoiDeD). 2014-12-19 18:27:18 -05:00