peace-maker
0961e5dde3
Fix crash when accessing gamerules during mapchange ( #593 )
...
If the gamerules proxy entity doesn't exist, don't try to generate the
reference for it.
2017-03-11 08:54:38 -08:00
Ruben Gonzalez
89c4be525b
Ignore replay and sourcetv in @spec targeting. ( #595 )
2017-03-11 16:12:43 +00:00
Nicholas Hastings
1135f9024a
Fix error when configuring for csgo SDK build on VS 2017.
2017-03-11 09:28:24 -05:00
Nicholas Hastings
9924a28acf
Fix AllowClLanguageVar setting being ignored in CS:GO.
2017-03-05 17:08:25 -05:00
Ross Bemrose
8ad5862461
Make CS:GO recognize both / and \ for GetMapDisplayName ( #592 )
2017-03-04 08:59:25 -05:00
theSaint92
9d932b47fd
rockthevote.sp - RoundToFloor() -> RoundToCeil() ( #590 )
...
The reason of update is described here https://forums.alliedmods.net/showthread.php?p=2499471
2017-02-28 23:05:00 +00:00
Nicholas Hastings
25af750af0
Update TF2 gamedata.
2017-02-20 19:30:07 -05:00
Benoist3012
08238a8036
Add FireEntityOutput native. ( #587 )
...
* AcceptEntityOutput native
* define fix
* MSVC fix and renamed native
* Added requested changes.
* tab/space fix
2017-02-15 19:29:43 -05:00
Nicholas Hastings
61f46845bd
Update Insurgency gamedata.
2017-02-09 18:02:22 -05:00
Nicholas Hastings
9aec0b23dd
Update FoF gamedata.
2017-02-09 18:02:05 -05:00
peace-maker
86363dd3ec
Add ADT array blocksize getter ( #578 )
...
Add GetArrayBlockSize and GetStackBlockSize and equivalent properties to
the methodmaps to get the blocksize the array or stack was created with.
Useful when getting array handles from other plugins you didn't create
yourself.
2017-02-09 19:26:14 +00:00
Michael Flaherty
23feb54f6a
Update Plugin Blacklist ( #574 )
...
* Update Blacklisted Plugins
Sourceless edit of a public plugin being distributed
https://board-tr.nitrado.net/index.php?page=Thread&threadID=22197
* Close comment (oops)
2017-02-09 19:21:00 +00:00
Asher Baker
55e463426d
Update blacklist.plugins.txt
2017-02-09 19:07:25 +00:00
peace-maker
0743b757f6
Fix regression with GetEntPropEnt always returning -1 ( #584 )
...
Regression in #583
The `CBaseHandle *` was compared to a `IHandleEntity **` always failing
instead of comparing the actual base handles.
Fixes a small typo in MatchTypeDescAsInteger too, where a FIELD_CUSTOM
could fall through badly.
2017-02-09 07:43:15 -05:00
Nicholas Hastings
af9852a68f
Add support for getting and setting output variables with Get/SetEntProp*.
2017-02-07 07:52:00 -05:00
Nicholas Hastings
113a4a55c6
Fix incorrect bit size given for vectors with FindDataMapInfo.
2017-02-07 07:52:00 -05:00
Nicholas Hastings
5e4a69def6
Update GDC's symbols.txt.
2017-02-06 08:11:01 -08:00
Nicholas Hastings
6e79114dee
Update GDC's symbols.txt.
2017-02-06 07:58:57 -08:00
Nicholas Hastings
04055c411e
Fix startup crash on CS:GO caused by PR #514
2017-02-06 08:25:51 -05:00
WildCard65
90b3df1181
Add 2 CSGO gamerules netprops to CSGO blocklist if FollowCSGOServerGuidelines is enabled. ( #514 )
...
* Add m_bIsValveDS and m_bIsQuestEligible
* Fix compile
2017-02-04 08:18:58 -05:00
peace-maker
9e27a867dd
Fix typo in menu manager drawing no spacer ( #581 )
...
The "Back" slot was hidden even if the page had a "Next" button. Draw
the spacer correctly!
2017-02-04 08:16:27 -05:00
David Anderson
7239f1d00a
Merge pull request #582 from alliedmodders/update-sp
...
Update to the latest SourcePawn.
2017-02-03 23:12:58 -08:00
David Anderson
613838626e
Update to the latest SourcePawn.
2017-02-03 22:45:47 -08:00
Nicholas Hastings
5118ea621d
Update Linux CS:GO TerminateRound gamedata.
2017-02-03 23:37:02 -05:00
peace-maker
ea8fdd8fbb
Fix crash when a database transaction fails (bug 6531) ( #577 )
...
If one of the queries fails in a transaction, the DBI system would only allocate an array of the size of the amount of all the successful queries before the failed one. It writes data for all the queries though effectively writing past the array bounds leading to heap corruption.
Create the right sized array!
2017-01-22 22:27:31 -08:00
Kyle Sanderson
f9ec1484f8
Update SourcePawn Module to c687974f5451b9d312141bfa020f465bd8bf96aa .
2017-01-21 18:05:54 -08:00
Nicholas Hastings
c7f413f1b0
Sanitize servercfgfile and lservercfgfile values with sm_cvar (bug 6579).
2017-01-20 15:29:25 -05:00
GoD-Tony
3fd7b29d64
Fix GDC's Linux sigscanning ( #576 )
...
The pointer returned by dlopen is not inside the loaded librarys memory region.
2017-01-20 10:13:31 -05:00
GoD-Tony
a0f060f000
Update CS:GO TerminateRound gamedata ( #575 )
2017-01-20 07:33:42 -05:00
WildCard65
fd399b9b4b
Fix memory leak in Regex extension. ( #572 )
...
* Fix memory leak in Regex extension.
"x" is never deleted when compile fails.
* Handle handle allocation failures.
Handle allocation failures also result in memory leaks.
* Fix typo.
2017-01-11 21:25:46 -05:00
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