Commit Graph

6133 Commits

Author SHA1 Message Date
Nicholas Hastings
ad3588d0aa Use newer MM:S api for Ep1/Original engine. (#548)
* Use newer MM:S api for Ep1/Original engine.

* Remove doubled FILENAME_1_6_EP1 define.
2017-01-11 21:25:00 -05:00
Nicholas Hastings
d9312799c3 Allow direct event FireToClient if broadcast disabled.
Event.FireToClient should not care whether or not broadcasting
is enabled for the event since we're already intentionally not
broadcasting.
2017-01-03 20:31:40 -05:00
Nicholas Hastings
cb39030cce Don't check handle ownership on Event.FireToClient
The handle does not get mutated here, so it is safe. Since we
don't currently support cloning event handles or copying events,
this also facilitates the only easy way of firing an existing game-
created event to a client.
2017-01-03 20:31:40 -05:00
Nicholas Hastings
0aa11374d8 Fix some gamedata issues.
"engine" and "game" were in the same #supported key in places, where
we wanted either to match, rather than both match.
2016-12-26 16:13:38 -05:00
Max Maton
0b7d99f03d Send the complete TextMsg usermsg (#571)
The source 2013 handler for TextMsg expects five strings in the message here: https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/client/hud_chat.cpp#L124

Because sourcemod doesn't send the last four strings along each message sent from sourcemod triggers an assert if the game is not built with RELEASE.
2016-12-25 17:33:18 -08:00
Nicholas Hastings
47d22a3051 Allow CStrike ext to load on CS:GO "mods".
They theoretically cannot have any binary changes since there is no
real SDK, so it should be compatible.
2016-12-25 08:31:39 -05:00
Nicholas Hastings
600f7e2342 Fix gamedata for CS:GO "mods". 2016-12-24 23:28:08 -05:00
Nicholas Hastings
fbe377a53d Limit Black Mesa to 6 max radio menu items. (7+ not bound) 2016-12-13 13:30:18 -05:00
Nicholas Hastings
8a7262afd5 Enable Radio menus for Black Mesa. 2016-12-13 13:23:24 -05:00
iNilo
02fcf37088 Use method-map .Style instead of GetMaxPageItems. (sm_msay patch) (#569) 2016-12-12 10:18:59 -05:00
iNilo
ec455394b4 Change sm_msay behavior to use GetMaxPageItems instead of hardcoded values (#568)
* Fix for CS:GO not showing the sm_msay exit button

Fix for CS:GO not showing the sm_msay exit button

![mSayPanel.CurrentKey = 9](http://i.imgur.com/t8079No.png)

![mSayPanel.CurrentKey = 10](http://i.imgur.com/qxgVoUM.png)

* Someone ate the semicolon

Made a new one

* Uses gamedata to determine the exit button

Uses gamedata to determine the exit button

* GetMenuStyle -> GetPanelStyle
2016-12-12 08:57:29 -05:00
Nicholas Hastings
ee501058fb Fix Panel.Style getter not being bound. 2016-12-12 08:52:26 -05:00
peace-maker
b74573fa12 Fix crash in CloneArray for too large arrays (#566)
If there is not enough memory to clone an array, throw an error instead
of crashing the server.
2016-12-11 20:55:11 -08:00
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