Commit Graph

6020 Commits

Author SHA1 Message Date
peace-maker
d3d16a93cf Fix threaded query's result handle access rights (#567)
Plugins were able to close the results handle in the threaded query
callback causing a double free crash. The access rights are setup right
before the handle is created, but weren't used.
2016-12-11 16:35:53 -08:00
Asher Baker
71788e2325 Update blacklist.plugins.txt 2016-12-09 18:36:35 +00:00
Nicholas Hastings
70d81430f8 Add support for more SQLite database open options. (#565)
* Add support for in-memory SQLite databases.

* Add support for opening SQLite databases via file URI.
2016-12-04 11:23:08 -05:00
ErikMinekus
19db7aef46 Fixed description for CharToLower and CharToUpper (#564) 2016-12-04 09:08:13 -05:00
peace-maker
151834a948 Fix case of not calling OnMapTimeLeftChanged in CS:GO (#563)
Round end reasons in CS:GO are +1 from the ones in CS:S. The
CSRoundEnd_GameStart reason for when the OnMapTimeLeftChanged forward
should be called should be one higher than in CS:S.
2016-12-01 17:09:48 -08:00
GoD-Tony
ec9af8feb6 Fix null check when generating signature. (#562) 2016-12-01 08:44:23 +00:00
peace-maker
3e201dd521 Add DETOUR_DECL_* marcos for more parameter counts (#561)
Add more macros for up to 8 parameters, because DETOUR_DECL_MEMBER8 is
the highest one yet.
2016-11-29 14:55:39 -08:00
Nicholas Hastings
152a86f6f4 Fix CS:GO OnGetWeaponPrice forward on Linux. 2016-11-29 11:05:39 -05:00
Nicholas Hastings
93da058dbd Fix innocuous copy/paste error. 2016-11-29 11:05:18 -05:00
Nicholas Hastings
7885d62f03 Add gamedata missing from last commit. 2016-11-29 10:53:04 -05:00
Nicholas Hastings
c4487b74ee Semi-tested fix for CS:GO GetWeaponPrice on Linux. 2016-11-29 10:42:05 -05:00
Nicholas Hastings
90cefa9daf Revert "Update CS:GO GetWeaponPrice gamedata."
This reverts commit f3994ce6dc.
2016-11-29 09:01:33 -05:00
Nicholas Hastings
f3994ce6dc Update CS:GO GetWeaponPrice gamedata. 2016-11-29 08:52:38 -05:00
Nicholas Hastings
2f82ef5ec6 Add CS:GO FindEntityByClassname signature for Linux. 2016-11-29 07:56:48 -05:00
Nicholas Hastings
e2ac0a085e Update Linux IServer gamedata. 2016-11-28 22:20:23 -05:00
Ruben Gonzalez
6290834e2b Update cstrike extension gamedata. 2016-11-28 21:54:24 -05:00
Nicholas Hastings
efa98f6b7f Untested Core, SDKTools, SDKHooks fixes. (CStrike ext fixes pending) 2016-11-28 21:27:53 -05:00
Asher Baker
87b0a8533f Update blacklist.plugins.txt 2016-11-17 23:21:50 +00:00
Nicholas Hastings
7a4a0271ef Trigger build for hl2sdk-bms changes. 2016-11-07 21:03:22 -05:00
Nicholas Hastings
990b45a273 Update TF2 gamedata. 2016-11-02 20:08:26 -04:00
David Anderson
1ff7b72bb0 Merge pull request #558 from peace-maker/suppress_not_runnable
Suppress logging of "Plugin not runnable" errors
2016-10-27 02:57:47 -04:00
Peace-Maker
7907a07686 Update to latest SourcePawn 2016-10-27 00:42:20 -06:00
Peace-Maker
4a8068d1c4 Suppress logging of "Plugin not runnable" errors
SourceMod itself and thirdparty extensions call functions in plugins
without making sure it is runnable. The plugin pausing feature isn't
supported anymore and is set to get nuked #438 which will reduce the
amount of not-runnable error reports.

We can't fix every third party extension, so suppressing the error from
the logs will stop the spam until pausing is removed.

#489 can be reverted after this.
2016-10-26 23:48:56 -06:00
Wliu
6a4500733d Add spacing to compile.sh (#53) 2016-10-24 14:50:24 +01:00
Luki
482a2f2eb5 Add AutoExecConfig native call to basevotes.sp (#535) 2016-10-14 13:17:23 -07:00
Luki
e74b5807a9 Add AutoExecConfig native call to basevotes.sp (#534)
Basevotes convars are missing from sourcemod.cfg and there is no config file for this, so I added AutoExecConfig.
2016-10-14 13:16:45 -07: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
9158d3734e Trigger build against hl2sdk-csgo change. 2016-10-13 21:34:34 -04:00
Nicholas Hastings
6f9776e3f4 Trigger build against hl2sdk-csgo change. 2016-10-13 21:29:15 -04:00
Nicholas Hastings
d5ff829952 Speculative fix for CS:GO GetClientAuthId issue... 2016-10-13 21:21:58 -04:00
Nicholas Hastings
7fda6e412a Don't build for CS:GO on Mac anymore. (Game is 64-bit-only there now). 2016-10-13 20:54:54 -04:00
Nicholas Hastings
273cab1bbf Trigger build for hl2sdk-csgo update. (Fixes crash on player join.) 2016-10-13 20:40:17 -04:00
Ruben Gonzalez
c097bdc9ce Update more tf2 gamedata. 2016-10-12 21:36:29 -04:00
Ruben Gonzalez
da69ae0371 Update tf2 gamedata. 2016-10-12 21:22:48 -04:00
Nicholas Hastings
72ddd865d1 Add note about uninitialized data in ArrayList.Resize / ResizeArray. 2016-10-11 13:45:36 -04:00
Nicholas Hastings
1dd84e3ed3 Update CS:GO InfoChanged gamedata. (Fixes SetClientInfo). 2016-10-07 14:41:53 -04:00
Jonhasacat
fdb80bd9cf Fixed offsets for SetClientName (#547) 2016-10-07 09:41:05 +01:00
Ruben Gonzalez
549fea4b0a Trigger Build 2016-10-06 23:19:09 -04:00
Ruben Gonzalez
0c08b72b5e Update pushbuild.txt 2016-10-06 22:36:29 -04:00
»SoD« XeroX
227e324aa9 Fixed wrong return type in UserMessageToBfRead (#546)
Fixed wrong return type in UserMessageToBfRead
2016-10-06 13:55:27 +01:00
Nicholas Hastings
aae39da235 Update Insurgency gamedata. 2016-10-05 21:07:35 -04:00
Nicholas Hastings
cff585f2a1 Fixed doc on RadToDeg. 2016-10-04 12:42:22 -04:00
Asher Baker
ec7f1727e5 Allow setting multiple chat trigger characters (PR #449, bug 4341, bug 5668)
Special characters only, minus a couple of potentially-problematic characters.

Technically this is a breaking change - but anyone using multi-char triggers is probably crazy anyway and has been driven off by now.
2016-10-04 16:34:42 +01:00
Nicholas Hastings
098a693c1a Fixed return doc on CharToLower, CharToUpper. 2016-10-03 19:35:49 -04:00
Asher Baker
215599b90f Merge PR #489: Do not call functions in paused plugins
This should be reverted when pausing is removed, see PR discussion.
2016-10-03 16:51:45 +01:00
peace-maker
47eb7d60e5 Fix use-after-free crash in SQLite extension (#481)
When the server crashed and the process got terminated, the SqDriver
instance was killed first (e.g. by atexit). SqDatabase tries to access
SqDriver in its destructor.
This patch tells SqDatabase to not use anything from SqDriver anymore
after SqDriver got destroyed.

Next to that, the clientprefs extension relied on the IDatabase pointer
being valid to get the driver pointer. Cache the pointer, so the dbi
system still knows the IDBThreadOperation belonged to the now gone
driver, even after the database object is gone.
2016-10-03 16:31:17 +01:00
Kyle Sanderson
2deaa666f3 Fix erroneous () in DebugReport:: printouts. (#517) 2016-10-03 16:29:51 +01:00
Asher Baker
47dd2870d9 Merge pull request #476 from alliedmodders/query-format
Implement an auto-escaping Format native for SQL query construction
2016-10-03 16:20:01 +01:00
Nicholas Hastings
999f37800c Strip invalid UTF-8 char from end of player names. (#545) 2016-10-02 18:34:27 -04:00