Commit Graph

6564 Commits

Author SHA1 Message Date
Asher Baker
17440fc4be
Update Reload offset ()
Update Reload offset
2020-03-04 21:56:08 +00:00
Asher Baker
bff8585411
Add an option to build against no SDKs () 2020-03-04 21:52:07 +00:00
Asher Baker
6a307bfcee
Restore the frame pointer on Linux ()
Looks like the default here changed when we upgraded the Linux build server.

This is causing issues when debugging crash dumps.
2020-03-04 21:43:13 +00:00
Headline
604942f0e7
Add helper stocks for getting numerical command arguments () 2020-03-04 13:17:10 -08:00
Kyle Sanderson
22eeb2f3a5
DarkM: build-fix for engine msg caching ()
* DarkM: build-fix for engine msg caching

* style + promote ptr casting to uintptr_t.

* sync type to uintptr_t in pm.h

* return of the uint32_t

* update header.

* oh, right, unsigned int...
2020-03-03 07:13:03 -08:00
BotoX
cc6059a4b7
engine: Implement message buffering. ()
* 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.

* UNTESTED! Switch to ke::LinkedList<ke::AString> for PrintfBuffer.
Switch from OnGameFrame to FramAction.
Fix compiling on Episode1 by essentially disabling the feature.

* UNTESTED! Cleanup on disconnect, passthrough for >= 2048 msgs

* try reference for CPlayer.

* fix

* remove m_PrintfStop

* remove m_PrintfStop

* ensure empty queue when netchan drops

* flip to serials.

* serials

* style

* Update PlayerManager.cpp

* lift consts to header.

* remove local const references

* ep1 static const

* flip to queue - fix serial on resched.

* Update PlayerManager.h

* Update PlayerManager.cpp

* Update PlayerManager.h

* am-deque.h

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-02-27 16:21:31 -08:00
BotoX
91480b6b91
sdktools: correct various ancient EntityOutput issues. () 2020-02-26 16:33:52 -08:00
GAMMACASE
4a8e0799bd
csgo: enable SayText + raise msg limits ()
Rised limits for SayText and HintText protobuffs in csgo, also switched from TextMsg to SayText in csgo.
2020-02-26 16:31:50 -08:00
Arthurdead
bcd5e40842
sdktools: expose additional tr sdk capabilities ()
* add the rest of the trace enumerate funcs

* fix ident
2020-02-26 16:19:55 -08:00
2251307218
9fb6430313
sdkhooks: correct velocity issues with dropweapon () 2020-02-26 16:11:17 -08:00
stickz
68e45f3583
mapchooser: Replace existing map entry from exclusion list () 2020-02-26 15:59:35 -08:00
Arron Vinyard
a1ed47be87
IsServerProcessing: improve grammar / present|correctness. ()
Wording of comment was a bit off.
2020-02-26 15:54:19 -08:00
Ҝờţأķ
ded3867605
regex: add/document missing offset param ()
* Regex Little Changes

* Prevented to triple and double call `strlen`.
* More informative message on `if (offset >= len)`.
* Add missing parametr in navite `MatchRegex`.

* Regex Little Changes v2

* Using `strdup` instead `strcpy`.
* Replaced NULL to nullptr.
* Removed note about MatchOffset.

Co-Authored-By: Headline <headline@users.noreply.github.com>

* Removed padding.

Co-Authored-By: Headline <headline@users.noreply.github.com>

* Removed more padding.

Co-Authored-By: Headline <headline@users.noreply.github.com>

Co-authored-by: Headline <michaelwflaherty@me.com>
2020-02-26 15:52:04 -08:00
David Anderson
2b6833f65d
Merge pull request from Scags/teleport-defaulted
Add default values to TeleportEntity
2020-02-26 13:17:45 -08:00
SM9
4d38f11367 Clarify detour creation errors ()
A logic error here meant that it wasn't printing the failing sig name in the common case
2020-02-26 19:14:51 +00:00
Juice
a3dd25f354
Update csgo InfoChanged offset () 2020-02-26 18:46:09 +00:00
komashchenko
4b0e73ca5a
WriteBaselines gamedata update () 2020-02-25 10:21:04 +00:00
MartLegion
cd37354634
Change sm_beacon to use game-specific team colors ()
Added game color config & specific settings for L4D/L4D2

Created the following keys:

"Team1Color"	"75,255,75,255"
"Team2Color"	"255,75,75,255"
"Team3Color"	"75,75,255,255"
"Team4Color"	"255,128,0,255"
"TeamUnknownColor"	"255,255,255,255"

Added a specific setting for L4D/L4D2 game:

"Team2Color"	"75,75,255,255"
"Team3Color"	"255,75,75,255"
2020-02-23 14:03:00 +00:00
Michael
8a5d0a58e4
Fix unnecessary ConVar cache misses ()
Fixes 
2020-02-11 00:39:19 -08:00
42
1a71f4fbde
Fix TF2_MakeBleed using incorrect custom damage type () 2020-02-08 17:39:47 -08:00
Bara
1534f8749b
NPOTB: Clarify forward declarations in sdhooks.inc () 2020-02-08 17:35:40 -08:00
proobs
4ea85a9291 Add new CSWeaponID knives () 2020-02-08 17:28:38 -08:00
peace-maker
739c07ca9b
Fix heap corruption in CUtlVector destructor () 2020-02-08 15:36:21 -08:00
thorgot
452338dc11
Fix incorrect nomination response () 2020-02-06 22:53:59 -08:00
sneak-it
b6a6387f16
Prevent basecommands from printing to disconnected clients () 2020-02-06 22:32:16 -08:00
proobs
4a8c869b7e
Update Forward Creation to Newer GlobalForward Methodmap () 2020-02-06 22:27:44 -08:00
peace-maker
c052eb3969
Update Contagion gamedata () 2020-02-06 22:11:05 -08:00
Deathreus
48ed38a8c1
Fix documentation in some DataPack methods () 2020-02-06 22:05:32 -08:00
naydef
fba71ed24d
Deprecate IsSoundPrecached ()
Fix 
2020-02-06 10:33:44 -08:00
Scags
625650c160
Add default values to TeleportEntity 2020-02-01 02:53:59 -06:00
Impact
9f4c6c61d9 Add comment about common.phrases to FindTarget ()
* Add note about common.phrases

* Update helpers.inc

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-01-14 15:00:27 -08:00
bottiger1
9d978f5581 Correct GetSteamAccountID validation parameter ().
Correctly forward the validated parameter within CPlayer::GetSteamAccountID.
2020-01-14 14:43:07 -08:00
Erik Minekus
664b352559 Fix Documentation Typo in functions.inc () 2020-01-12 12:23:08 -08:00
GAMMACASE
cfa4998ac1 WriteBaselines gamedata update after latest csgo update () 2020-01-07 21:36:16 +00:00
David Anderson
5efe6d0a42
Merge pull request from alliedmodders/update-sp
Update SourcePawn.
2019-12-28 12:24:19 -08:00
David Anderson
e34fbcce0d Update SourcePawn.
This fixes:
 
 
 
2019-12-28 12:07:36 -08:00
Kruzya
8746b2fd7f Adjust CanAdminTarget to support multiple Group Immunity IDs () 2019-12-23 10:45:36 -08:00
David Anderson
4328627326
Merge pull request from alliedmodders/update-sp
Update SourcePawn to tip-of-tree.
2019-12-15 20:48:27 -08:00
David Anderson
fc6925fa0a Update SourcePawn to tip-of-tree. 2019-12-15 20:34:44 -08:00
Asher Baker
b5de3eb588
Speculative fix for MySQL crashes ()
https://crash.limetech.org/stats/dbi.mysql.ext.%25/my_real_read
https://crash.limetech.org/stats/dbi.mysql.ext.%25/net_real_write

Both of these are caused by the VIO ptr ending up as null in the middle of reading/writing to a connection - I can't find any indication of a fix for this made to MySQL, so don't think it is a bug fix we're missing, but there are some musings around the internet that it could be caused by improper thread-safety initialisation.

`my_init` (what we had here) is called internally by `mysql_library_init` but I think would have still led to an automatic `mysql_library_init` call the first time `mysql_init` was called (which we can do on a thread in case of threaded connections), which is exactly the thread-safety issue called out by the MySQL docs, so hopefully doing things properly here will help.
2019-12-15 15:01:15 +00:00
Impact
26422fd425 Fix typo in clientprefs plugin description () 2019-12-14 16:12:14 -08:00
David Anderson
cd1a296e4f
Merge pull request from alliedmodders/update-sp
Update SourcePawn.
2019-11-24 20:57:06 -08:00
David Anderson
3ddf9f8a0d Update SourcePawn. 2019-11-24 20:41:59 -08:00
komashchenko
82df6087af Update CScore and MVP CSGO gamedata () 2019-11-19 21:31:54 -08:00
PerfectLaugh
bef8562de5 Fix CSGO Update crash (11/19/2019) ()
* Fix CSGO Update crash (11/19/2019)

We know what happened when Valve do something big.
Not tested on Linux

* Fix RoundRespawn on Windows

* Fix TerminateRound on Linux x86

* Comment out Linux x64 part of TerminateRound

Better leave blank here.
2019-11-18 22:18:28 -05:00
Nicholas Hastings
1000d419fc Throw configuration error on unsupported compilers () 2019-11-15 16:40:39 -08:00
Einyux
2a9deb6a64 Add missing const to origin parameters () 2019-11-13 00:33:00 -08:00
42
351e406f85 Fix ArrayStack.Pop documentation () 2019-11-13 00:26:36 -08:00
David Anderson
d6e518838f
Merge pull request from nosoop/remote-ext-filename-check
Check short name for remote extensions
2019-11-12 11:45:02 +09:00
hydrogen-mvm
9e39f18230 Fix OpenFile files.inc example ()
"rb" = binary file for *reading* (not writing, that would be "wb").
2019-11-11 16:24:12 -08:00