Peace-Maker
d3cc797f0f
Add missing |bool| return tag to RemoveFromTrie native
2016-01-05 16:52:30 +01:00
Kristian Klausen
4cba1925fd
Allow plugins to suppress entity outputs (fix 5515).
2015-12-30 17:51:57 +01:00
Nicholas Hastings
7fbcb81916
Merge pull request #456 from alliedmodders/canbeautobalanced
...
Add support for hooking CanBeAutobalanced to SDKHooks.
2015-12-29 15:56:24 -05:00
Nicholas Hastings
818e1e4e18
Add support for hooking CanBeAutobalanced to SDKHooks.
2015-11-26 10:35:00 -05:00
Nicholas Hastings
126ce99cd9
Resize clients array in newest NormalSHook prototype to MAXPLAYERS.
...
The old version of the newer one is left as a third typeset member to not break
compilation for users opting into it on dev branch. Both typeset members with
old array size are however marked as deprecated, since they can be missing
a client.
2015-11-26 09:43:08 -05:00
Nicholas Hastings
0d787e24ce
Converted NormalSHook to typeset and added old prototype.
...
New prototype was added in PR #247
2015-11-25 17:25:35 -05:00
Asher Baker
ef147860c2
Fix GetEntSendPropOffs returning 0 for missing props when actual=false
...
Issue introduced in #439 .
2015-11-21 01:46:35 +00:00
Asher Baker
c6323512ef
Deprecate FindSendPropOffs and FindDataMapOffs, add HasEntProp.
2015-11-04 20:26:55 +00:00
David Anderson
cb3f6df111
Require that no plugin code be live when any plugin unloads.
2015-10-31 19:38:30 -07:00
Asher Baker
4346e963e5
Correct spelling in API documentation.
2015-10-30 12:26:34 +00:00
David Anderson
d0dda098a2
Merge pull request #429 from powerlord/sqltxn-dbresultset
...
Allow SQLTxnSuccess to use DBResultSet[] in addition to Handle[]
2015-10-22 23:40:28 -07:00
Nicholas Hastings
366c3c0e16
Merge pull request #425 from WildCard65/WildCard65-FixedDBI.inc
...
Fixed DBResultSet.IsFieldNull
2015-10-13 15:12:18 -04:00
Ross Bemrose
a4b45aea9b
Allow SQLTxnSuccess to use DBResultSet[] in addition to Handle[]
2015-10-13 14:50:59 -04:00
Nicholas Hastings
fa65b62a04
Merge pull request #428 from FlaminSarge/tf_mannpower_conds
...
Update TFCond enum
2015-10-10 14:15:48 -04:00
FlaminSarge
e585e34670
Update TFCond enum
2015-10-10 02:27:08 -07:00
Ross Bemrose
f4adf33b4e
Renumber holidays
...
Add CommunityUpdate holiday
2015-10-07 09:40:06 -04:00
WildCard65
8627fe1fa8
Fixed DBResultSet.IsFieldNull
2015-09-30 08:38:14 -04:00
Nicholas Hastings
c982cc9991
Merge pull request #354 from powerlord/findmap-plugins
...
GetMapDisplayName and associated core plugin changes.
2015-09-17 11:17:40 -04:00
Ruben Gonzalez
6aa776eab7
Add comments to VIP RoundEnd reasons. Fix typo.
2015-09-16 19:21:21 -04:00
Ruben Gonzalez
c86a6abdc5
Add shim for TerminateRound for CS:GO
2015-09-16 19:03:40 -04:00
Ross Bemrose
10a95cfdce
Add new function: GetMapDisplayName.
...
This function will resolve the name of a map using FindMap, then (if applicable), will turn a workshop map name into a nicely formatted name.
Currently only TF2 and CS:GO Map Workshops are supported. More can be added at a later date.
This function returns false if a map was not found, but true in any other instance even if FindMap could not resolve the map name.
This patch also updates the following core plugins to use this GetMapDisplayName:
BaseTriggers
BaseVotes
MapChooser
NextMap
Nominations
RandomCycle
RockTheVote
2015-09-15 16:16:58 -04:00
Kyle Sanderson
274e7bd329
Add FileTransfer Hooks to SDKTools (r=Drifter).
2015-09-12 13:01:33 -07:00
Kyle Sanderson
f59df243ea
Change FindMap to take a const char* for searching instead of char*.
2015-09-10 11:47:46 -07:00
Kyle Sanderson
d85568b54b
Merge pull request #321 from Bara20/getentityrendercolor
...
Add GetEntityRenderColor stock.
2015-09-08 16:22:16 -07:00
Sebastian K
e030bb4451
Add define included
2015-08-19 20:27:33 +02:00
David Anderson
246c32a202
Update SourcePawn and AMTL.
2015-08-13 22:08:47 -07:00
David Anderson
bcfef75c5d
Update regex and datapack includes to not use binding syntax.
2015-08-12 11:52:57 -07:00
Ryan Stecker
86b04e36b5
Clarify the Get/SetPackPosition documentation.
2015-07-20 15:03:57 -05:00
Ryan Stecker
33d13ff81c
Hide datapack positions behind an opaque handle.
2015-07-20 15:03:04 -05:00
Nicholas Hastings
e7aa159896
Clarify doc regarding KV handle.
2015-07-12 19:21:28 -04:00
Nicholas Hastings
c85cc5cbf7
Add support for listening to, blocking, changing, and faking ClientCommandKeyValues.
2015-07-12 13:14:46 -04:00
Nicholas Hastings
e0a83ff7b2
Add support for setting string_t values with SetEntPropString.
...
Adds new AllowPooledString func to CHalfLife2 to allocate a string in the game's string pool.
Also fixes SetEntPropString using incorrect offset for nested sendprops.
2015-07-02 14:47:31 -04:00
Nicholas Hastings
60ac7e23d0
Updated FindMap function doc.
2015-06-27 20:04:20 -04:00
Nicholas Hastings
f107ff9cd2
Expose FindMap/ResolveFuzzyMapName to plugins.
2015-06-27 13:10:47 -04:00
Nicholas Hastings
d0574dbe28
Merge pull request #226 from powerlord/mapchooser-updates
...
More New API changes for MapChooser, Nominations, RockTheVote, RandomCycle, and NextMap.
2015-06-12 14:58:12 -04:00
Nicholas Hastings
13ecd11543
Merge pull request #344 from alliedmodders/update-convar-flags
...
Update ConVar flags in console.inc.
2015-06-07 11:18:27 -04:00
Ross Bemrose
338b4ed5d9
Merge remote-tracking branch 'remotes/origin/master' into mapchooser-updates
...
Conflicts:
plugins/nominations.sp
plugins/rockthevote.sp
2015-06-04 21:39:04 -04:00
Nicholas Hastings
74802ce96e
Minor indent fix.
2015-06-04 17:07:25 -04:00
Nicholas Hastings
952ee53383
Converted back to defines. Added deprecation notices on FCVAR_PLUGIN and FCVAR_LAUNCHERONLY.
2015-06-04 06:48:01 -04:00
Nicholas Hastings
1804dce9d9
More small convar flag inc changes:
...
* Re-added FCVAR_PLUGIN (shimmed to 0) and FCVAR_LAUNCHER with deprecation notes.
* Changed defines to const ints.
* Updated comments to use our newer, single-line comment style for cleanliness.
2015-06-03 23:38:31 -04:00
Nicholas Hastings
4231adaedf
Update ConVar flags in console.inc.
...
The existing list was from the original engine, not even being accurate for EP1.
Flags that were never used and have since been removed from headers were removed.
Flags that were removed, but were used at one time co-exist with new flags that took over their value where applicable.
Flags that only exist on some engine versions are noted as such in the comment.
2015-06-03 23:06:26 -04:00
Nicholas Hastings
9e0dbfcf68
Fix inconsistencies with buffer sizes for player names.
...
Found any I could not using MAX_NAME_LENGTH and changed them to use it. I think that we should
increase MAX_NAME_LENGTH to 128 for CS:GO at some point as that's what it uses internally.
(Presumably to get the client's full multibyte name from Steam without truncation mid-codepoint which
can happen in other games. Steam's max is 32 characters if I remember correctly, but allows multibyte chars).
2015-06-03 22:40:43 -04:00
Nicholas Hastings
9f8a40f482
Merge pull request #337 from alliedmodders/earlier-maxclients
...
Populate MaxClients before OnPluginStart is called.
2015-05-20 06:48:08 -04:00
Nicholas Hastings
cb4b710885
Removed comment regarding MaxClients not being available in OnPluginStart.
2015-05-18 09:11:57 -04:00
Nicholas Hastings
fda0978225
Merge pull request #338 from alliedmodders/nuke-address-minvalid
...
Remove Address_MinimumValid entry from sp incs
2015-05-12 13:05:31 -04:00
Nicholas Hastings
51344262c6
Merge pull request #333 from TheMadSword/IncreasedPrintToBufferSize
...
Increased PrintToChat, PrintCenter & PrintHint w/ "all" version, buffer sizes from 192 to 254.
2015-05-12 09:23:25 -04:00
Nicholas Hastings
5574acda3d
Remove Address_MinimumValid entry from sp incs
...
We have this defined in core for error checking, but it's useless in sp since unsigned comparisons are not supported.
2015-05-12 06:35:48 -04:00
TheMadSword
6686badc93
Increased PrintHint and PrintCenter buffer
2015-05-09 09:22:07 -04:00
TheMadSword
f57dbeb60f
Increased PrintToChat & PrintToChatAll buffer size from 192 to 254; works in CSS/CSGO; dunno for the rest
2015-05-07 09:38:25 -04:00
Nicholas Hastings
64f9aedebc
Add basic support for Black Mesa.
...
(Basically a copy of SDK 2013's support, but against BMS SDK).
2015-05-06 21:12:13 -04:00