Commit Graph
6459 Commits
Author SHA1 Message Date
Kyle Sanderson f3a5c8341d am-deque.h 2019-09-10 11:23:08 +02:00
Kyle Sanderson ee0fc2230f Update PlayerManager.h 2019-09-10 11:23:08 +02:00
Kyle Sanderson b024ad05bf Update PlayerManager.cpp 2019-09-10 11:23:08 +02:00
Kyle Sanderson ab218278f7 Update PlayerManager.h 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 eb61b40eaf lift consts to header. 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 9a3cad3b9d serials 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 eda65bb5bb remove m_PrintfStop 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
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
Batfoxkid cf0a49881e TFCond Descriptions (#1005)
This is mainly for API (https://sm.alliedmods.net/new-api/tf2/TFCond) to show description of the condition.
2019-06-01 15:43:06 +01:00
JoinedSenses 527a998740 Fix whitespace regression from #1012 (#1026) 2019-05-30 20:11:43 -07:00
JoinedSenses 352f078b07 Add Cookie methodmap (#1012) 2019-05-30 18:27:14 -07:00
JoinedSenses 4f3c3175e6 Create GlobalForward & PrivateForward methodmaps (#1004) 2019-05-29 14:17:42 -07:00
JoinedSenses 81dc80fbd1 Correct Plugin API Documentation Formatting (#1019) 2019-05-28 18:38:58 -07:00
Headline 28036966a6 Fix Miscellaneous Regressions and UBs (#1022) 2019-05-28 18:04:08 -07:00
Headline 2164f5191e Fix GCC 9 Builds (#1024) 2019-05-28 17:57:40 -07:00
Asher Baker 216ba8b4e9 Create FUNDING.yml 2019-05-27 17:15:04 +01:00
Bara 9c55eed549 Add Shield and Bumpmine to cstrike.inc (#991) 2019-05-24 06:03:42 -07:00
Amine B f9ce25a7fe PassType typo fixup (#1018)
* PassType typo fixup

Just some little observations, I will look up for more in other files whenever I can

* Update natives.cpp

* Update outputnatives.cpp
2019-05-15 07:22:34 -04:00
Nicholas Hastings 7e418933e7 Re-add missing GetEconItemView param (fixes #1001). (#1017) 2019-05-14 20:55:44 -04:00
Nicholas Hastings 05b3fc0fb9 Re-add float cast on TF2_AddCondition param (fixes #1013). (#1016)
Broken by ArgScuffer
2019-05-14 19:22:43 -04:00
Bruno Ronning d7990596f9 Update CS:GO "Reload" offset. (#1011) 2019-05-14 18:56:14 -04:00
Kyle Sanderson 86f974f242 NPOTB: Enable cstrike builds w/ Travis-CI. (#1014)
Travis-CI seems to have finally improved their environment so we should be okay to test this unique code-path now with CI.
2019-05-14 11:38:20 -07:00
Loïc 6addc5c8dd Fix wrong formatting to "Vote Delay Minutes" when delay above 60s (#1009)
Fixes #1007
2019-05-13 00:20:47 +01:00