Commit Graph

6519 Commits

Author SHA1 Message Date
Asher Baker
6465bd83a4 Update for latest Blade Symphony SDK 2020-03-11 22:36:25 +00:00
rumblefrog
e941c1acea
Update Black Mesa gamedata (#1208) 2020-03-10 20:20:08 +00:00
Asher Baker
ecad8f25a8
Revert "csgo: enable SayText + raise msg limits (#1118)" (#1209)
This reverts commit 4a8e0799bd.
2020-03-08 13:27:13 +00:00
Asher Baker
48c3a9f2fa
NMRiH gamedata update (#1204) 2020-03-05 18:37:09 +00:00
Asher Baker
d59edc5d0a
Use GetCmdArgInt(Ex) in base plugins (#1203) 2020-03-04 22:07:00 +00:00
Asher Baker
17440fc4be
Update Reload offset (#1202)
Update Reload offset
2020-03-04 21:56:08 +00:00
Asher Baker
bff8585411
Add an option to build against no SDKs (#1201) 2020-03-04 21:52:07 +00:00
Asher Baker
6a307bfcee
Restore the frame pointer on Linux (#1200)
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 (#1194) 2020-03-04 13:17:10 -08:00
Kyle Sanderson
22eeb2f3a5
DarkM: build-fix for engine msg caching (#1195)
* 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. (#1071)
* 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. (#1074) 2020-02-26 16:33:52 -08:00
GAMMACASE
4a8e0799bd
csgo: enable SayText + raise msg limits (#1118)
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 (#1145)
* 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 (#1159) 2020-02-26 16:11:17 -08:00
stickz
68e45f3583
mapchooser: Replace existing map entry from exclusion list (#1184) 2020-02-26 15:59:35 -08:00
Arron Vinyard
a1ed47be87
IsServerProcessing: improve grammar / present|correctness. (#1188)
Wording of comment was a bit off.
2020-02-26 15:54:19 -08:00
Ҝờţأķ
ded3867605
regex: add/document missing offset param (#1175)
* 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 #1167 from Scags/teleport-defaulted
Add default values to TeleportEntity
2020-02-26 13:17:45 -08:00
SM9
4d38f11367 Clarify detour creation errors (#1191)
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 (#1192) 2020-02-26 18:46:09 +00:00
komashchenko
4b0e73ca5a
WriteBaselines gamedata update (#1189) 2020-02-25 10:21:04 +00:00
MartLegion
cd37354634
Change sm_beacon to use game-specific team colors (#1187)
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 (#1177)
Fixes #1166
2020-02-11 00:39:19 -08:00
42
1a71f4fbde
Fix TF2_MakeBleed using incorrect custom damage type (#1163) 2020-02-08 17:39:47 -08:00
Bara
1534f8749b
NPOTB: Clarify forward declarations in sdhooks.inc (#1152) 2020-02-08 17:35:40 -08:00
proobs
4ea85a9291 Add new CSWeaponID knives (#1126) 2020-02-08 17:28:38 -08:00
peace-maker
739c07ca9b
Fix heap corruption in CUtlVector destructor (#1165) 2020-02-08 15:36:21 -08:00
thorgot
452338dc11
Fix incorrect nomination response (#1161) 2020-02-06 22:53:59 -08:00
sneak-it
b6a6387f16
Prevent basecommands from printing to disconnected clients (#1138) 2020-02-06 22:32:16 -08:00
proobs
4a8c869b7e
Update Forward Creation to Newer GlobalForward Methodmap (#1143) 2020-02-06 22:27:44 -08:00
peace-maker
c052eb3969
Update Contagion gamedata (#1169) 2020-02-06 22:11:05 -08:00
Deathreus
48ed38a8c1
Fix documentation in some DataPack methods (#1164) 2020-02-06 22:05:32 -08:00
naydef
fba71ed24d
Deprecate IsSoundPrecached (#1172)
Fix #1170
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 (#1155)
* 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 (#1158).
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 (#1156) 2020-01-12 12:23:08 -08:00
GAMMACASE
cfa4998ac1 WriteBaselines gamedata update after latest csgo update (#1153) 2020-01-07 21:36:16 +00:00
David Anderson
5efe6d0a42
Merge pull request #1151 from alliedmodders/update-sp
Update SourcePawn.
2019-12-28 12:24:19 -08:00
David Anderson
e34fbcce0d Update SourcePawn.
This fixes:
 alliedmodders/sourcepawn#432
 alliedmodders/sourcepawn#435
 alliedmodders/sourcepawn#439
2019-12-28 12:07:36 -08:00
Kruzya
8746b2fd7f Adjust CanAdminTarget to support multiple Group Immunity IDs (#1147) 2019-12-23 10:45:36 -08:00
David Anderson
4328627326
Merge pull request #1144 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 (#1135)
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 (#1142) 2019-12-14 16:12:14 -08:00
David Anderson
cd1a296e4f
Merge pull request #1131 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 (#1127) 2019-11-19 21:31:54 -08:00
PerfectLaugh
bef8562de5 Fix CSGO Update crash (11/19/2019) (#1125)
* 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