Commit Graph

6474 Commits

Author SHA1 Message Date
SM9
bad0b51ab9 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:19:26 +00:00
Juice
7da2b89ec9 Update csgo InfoChanged offset (#1192) 2020-02-26 18:47:31 +00:00
komashchenko
05a265e61c WriteBaselines gamedata update (#1189) 2020-02-25 10:30:09 +00:00
42
b413d67aec Fix TF2_MakeBleed using incorrect custom damage type (#1163) 2020-02-25 10:30:00 +00:00
Bara
e473bd145f NPOTB: Clarify forward declarations in sdhooks.inc (#1152) 2020-02-25 10:29:45 +00:00
proobs
ff748945b8 Add new CSWeaponID knives (#1126) 2020-02-25 10:29:33 +00:00
thorgot
d1e52a4284 Fix incorrect nomination response (#1161) 2020-02-25 10:28:36 +00:00
sneak-it
6d3e4e756f Prevent basecommands from printing to disconnected clients (#1138) 2020-02-25 10:28:09 +00:00
peace-maker
c6df989061 Update Contagion gamedata (#1169) 2020-02-25 10:27:51 +00:00
Deathreus
b375cadc44 Fix documentation in some DataPack methods (#1164) 2020-02-25 10:27:33 +00:00
Impact
6f44e88009 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-02-25 10:27:15 +00:00
bottiger1
c94886cdda Correct GetSteamAccountID validation parameter (#1158).
Correctly forward the validated parameter within CPlayer::GetSteamAccountID.
2020-02-25 10:26:47 +00:00
Michael
45f987211f Fix unnecessary ConVar cache misses (#1177)
Fixes #1166
2020-02-11 12:10:14 -08:00
naydef
816c7fc3fd Deprecate IsSoundPrecached (#1172)
Fix #1170
2020-02-06 10:34:57 -08:00
GAMMACASE
2896435739 WriteBaselines gamedata update after latest csgo update (#1153) 2020-01-07 21:38:03 +00:00
Asher Baker
9cd4f9c210 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:11:12 +00:00
David Anderson
def6d0ff72
Merge pull request #1132 from alliedmodders/update-sp-1.10
Update SourcePawn (1.10-dev branch).
2019-11-24 21:14:47 -08:00
David Anderson
7a580e8535 Update SourcePawn (1.10-dev branch). 2019-11-24 20:43:05 -08:00
komashchenko
c5a138056c Update CScore and MVP CSGO gamedata (#1127) 2019-11-21 00:58:56 -08:00
PerfectLaugh
e135eff1b0 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.

(cherry picked from commit bef8562de5)
2019-11-18 22:31:02 -05:00
Headline
8c380e45da Add bounds check for userid reset on disconnect (#1108) 2019-10-30 17:19:23 -07:00
David Anderson
e433dbf3b6 Trigger build. 2019-10-18 20:59:20 -07:00
Asher Baker
77f4ddf2c2
Fix virtual SDKCall with object params (#1104)
PR #705 made some changes for 64-bit support that required callers to
provide a buffer for object storage, but only added the required code to
the non-virtual call builder, not the virtual call builder.

Copy it over to CreateValveVCall so that ValveParamToBinParam stops
writing to a null pointer.

Fixes #1059 (Hopefully.)
2019-10-18 00:23:45 +01:00
nosoop
024ae2b9ed Use map display name for admin map chooser menu (#1097) 2019-10-07 19:15:36 +01:00
Headline
8a4295d699 NPOTB: Correct GitHub's Linguist inaccuracies (#1096) 2019-10-07 19:14:09 +01:00
David Anderson
f05e39afe1
Merge pull request #1090 from alliedmodders/update-sp
Update SourcePawn to 1.10-dev tip.
2019-10-01 09:50:25 -07:00
Headline
3b1fb85bb8
Fix quote mismatch (#1092) 2019-09-30 22:43:18 -07:00
Playa
a405f85eee Remove SourcePawn JIT license references (#1091) 2019-09-30 15:09:40 -07:00
David Anderson
78511afa4c Update SourcePawn to 1.10-dev tip. 2019-09-28 18:32:47 -07:00
David Anderson
c37c4f830f
Merge pull request #1088 from alliedmodders/update-sp
Update SourcePawn to the tip of 1.10-dev.
2019-09-26 13:14:29 -07:00
David Anderson
4fe2ae780b Update SourcePawn to the tip of 1.10-dev. 2019-09-25 21:59:32 -07:00
Einyux
e02e6bcb4f Add TR_GetHitBoxIndex() native (#1085)
Fixes #1080
2019-09-17 21:24:36 +01:00
David Anderson
c7392aeded Fully convert dynamicmenu to transitional enum structs. (#1082) 2019-09-15 14:02:46 -07:00
David Anderson
14247af323
Merge pull request #1081 from alliedmodders/enum-structs
Update SourcePawn.
2019-09-15 11:55:56 -07:00
David Anderson
32cb00a4c6 Update SourcePawn. 2019-09-15 11:38:21 -07:00
BotoX
d93f6984cc cstrike: Fix wrong timeleft calculation (#1072)
* Fix wrong timeleft calculation

* reorder function calls
2019-09-02 15:33:28 -07:00
42
207584818f Add RequestFrameCallback optional data param (#1068) 2019-09-02 14:00:22 -07:00
Asher Baker
7a42d6b564 Fix build with latest hl2sdk-csgo 2019-09-02 21:45:04 +01:00
David Anderson
94b3ca08a2 Update SourcePawn & amtl submodules (#1067) 2019-09-01 13:24:39 -07:00
RumbleFrog
ab5f00b65b Correct FrameIterator retval regression (#1066) 2019-08-26 19:26:51 -07:00
JoinedSenses
b8fd7db58d Create menu if multiple nom matches found (#983)
This change checks the nomination against the map arraylist. If the nomination matches multiple results, those results are then added to a menu to allow the client to select available maps. The maps added to the menu go against the same checks as the normal nomination menu and wont allow nomination of disabled maps.

Example image of /nominate jump_b
https://i.imgur.com/ZdzB0gk.png

If reply source is console, menus wont be generated and it will attempt to nominate as normal.
2019-08-01 13:48:10 +01:00
hydrogen-mvm
22635d8d35 Add File.Flush methodmap (#1056)
This allows us to do FileHandle.Flush() instead of FlushFile(FileHandle) and maintain consistency in always using methodmaps for file I/O operations.
2019-07-31 22:18:07 +00:00
hydrogen-mvm
fb9b284bcf Correct malformed Regex documentation (#1055) 2019-07-31 10:48:46 -07:00
David Anderson
5868ffd04e
Merge pull request #1050 from alliedmodders/update-sp-093edef
Update SourcePawn to 093edef
2019-07-24 09:38:43 -07:00
Asher Baker
8ce99e0540 Link pthread library for Linux binaries 2019-07-24 14:47:13 +01:00
Asher Baker
efb02755bc Update SourcePawn to 093edef 2019-07-24 13:51:15 +01:00
Asher Baker
fcafd0784c
Workaround CS:GO Stringtable bug (#1046)
The cause of the infamous "Index error writing string table baseline"
error appears to be a timing issue between the engine's network message
processing, the stringtable encoding, and command processing when adding
stringtable entries in OnConfigsExecuted.

When the first client connects the map is re-loaded which causes a full
refresh, the game's stringtable entries are added at tick 65, the client
connection is registered at tick 66, and stringtable entries added in
OnConfigsExecuted are registered as being added in tick 67. The engine
later calls WriteBaselines with the client's signon tick, and neglects
to encode the SM added entries as it considers them from the future.

To avoid this, always pass INT_MAX as the current tick when encoding
the baseline, so all stringtable entries are included regardless of when
they were added. Tested on both Windows and Linux.
2019-07-19 09:13:34 +01:00
42
199802150b Update TF2_IgnitePlayer to support setting duration of fire (#1038)
Related to #713
2019-07-05 22:37:25 +01:00
MartLegion
e47c1a840a Pad plugin ID based on the total plugin count (#1027)
Closes #994
2019-06-17 01:06:03 +01:00
Nicholas Hastings
14227c04b8
Fix matchmaking_ds bin not being found for gamedata (#1006). (#1028) 2019-06-01 14:30:22 -04:00