Commit Graph

590 Commits

Author SHA1 Message Date
David Anderson
5f61876ab6 fixed amb1379 with sweeping changes to the entity stuff. all prop stocks are now natives so they can properly compute everything quickly, as well as do type checks. Get/SetEntDataEnt are deprecated for being sucky, the new 2 versions do more checking and uses better values. lastly, there are functions/parameters for finding types and sizes of property.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401853
2008-01-13 08:10:25 +00:00
Michael McKoy
a446121d6e New stock to get m_fFlags, and #defines for its bits.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401851
2008-01-12 19:45:36 +00:00
David Anderson
a2a8634bb2 fixed amb1382 - sm_cvar from console rte'd
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401850
2008-01-10 23:03:29 +00:00
David Anderson
42a313486a - added amb1332, new cvar protection mechanism for rcon_password
- removed FCVAR_PROTECTED from Core cvars

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401845
2008-01-08 03:06:33 +00:00
David Anderson
c033f5415a - added GuessSDKVersion()
- added rendermode and renderfx prop stocks and defines
- added MoveType tag to MOVETYPE defines
- changed Movetype functions to MoveType to use correct SourceMod casing

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401843
2008-01-07 06:59:44 +00:00
David Anderson
934fb9741a commited a new version of this file. suffice to say the massive inconsistencies and clear compiling bugs in this was disappointing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401840
2008-01-06 01:35:24 +00:00
David Anderson
1ffd1db733 added amb1348 - SetFailState() formatting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401839
2008-01-04 16:20:25 +00:00
David Anderson
4e07200cfb - added AddTargetsToMenu2() for using COMMAND_FILTER flags
- fixed amb1350 - sm_voteban/menu ban on fake clients would crash
- fake clients can no longer be banned and do not appear on ban menus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401838
2008-01-04 16:05:26 +00:00
David Anderson
89ac3a14ba added amb1341 - OnClientPostAdminFilter
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401837
2008-01-03 19:40:55 +00:00
David Anderson
4e1fb49096 added amb1336 - GetTrieSize()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401835
2008-01-03 06:11:26 +00:00
Matt Woodrow
d37e02c65c fixed amb1325 - SetEntityHealth()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401834
2007-12-31 01:47:33 +00:00
Michael McKoy
9970ad59ac A few runtime fixes for basefuncommands
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401833
2007-12-28 16:46:42 +00:00
Matt Woodrow
d0fac2def9 Added a new entity stock function GetClientButtons()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401832
2007-12-28 07:10:09 +00:00
Matt Woodrow
ef7fed49fa Removed '#include <core>'
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401828
2007-12-24 20:41:33 +00:00
Michael McKoy
6ab87ef821 Added sm_blind, sm_drug, sm_gravity, sm_noclip
Fixed the duration of sm_freeze when used from the menu

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401827
2007-12-24 00:45:28 +00:00
Michael McKoy
9ac2a2e318 More netprop stocks for entities
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401826
2007-12-24 00:44:48 +00:00
Michael McKoy
c02dc7f71d Changed the convar change hook for sv_alltalk to enforce sm_deadtalk correctly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401824
2007-12-23 00:47:49 +00:00
David Anderson
a079a87f68 fixed amb1305 by making OnClientPostAdminCheck() always occur after OnClientPutInServer(). this is now GUARANTEED. it was undefined before, however the usual case was opposite. if plugins were relying on this, they were written poorly and shouldn't have worked in the first place, especially with the threaded SQL plugin.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401819
2007-12-22 08:57:08 +00:00
Michael McKoy
4d594bd4c7 Fixed sm_freeze menu exit going to sm_freezebomb menu
Fixed countdown timer on bombs stopping at 2 seconds, now stops at 1 second like it should.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401814
2007-12-19 22:21:20 +00:00
David Anderson
023e5629c7 renamed slapslay to playercommands
--HG--
rename : plugins/slapslay.sp => plugins/playercommands.sp
rename : plugins/slapslay/slap.sp => plugins/playercommands/slap.sp
rename : plugins/slapslay/slay.sp => plugins/playercommands/slay.sp
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401809
2007-12-19 01:34:01 +00:00
Michael McKoy
4d5af8a946 Small adjustment to default convar values
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401808
2007-12-19 01:20:56 +00:00
Michael McKoy
5175e5fe92 Large additions to basefuncommands. Moved slay and slap to a new plugin.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401807
2007-12-19 01:16:15 +00:00
Michael McKoy
570dc75512 Added new stocks for entity props.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401806
2007-12-18 21:03:34 +00:00
David Anderson
6ba2593738 added amb1289 - FindPluginByNumber
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401804
2007-12-16 23:45:41 +00:00
David Anderson
63d301c4c7 added @error lines to a bunch of native docs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401803
2007-12-16 23:45:03 +00:00
David Anderson
abb763d1e1 added amb618 - binary file i/o
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401802
2007-12-16 23:11:00 +00:00
David Anderson
cf023a0b7d added amb1204 - concommandbase iteration
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401801
2007-12-14 23:27:34 +00:00
David Anderson
d87e00a82d added amb1281 - added nextmap command to server console
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401799
2007-12-14 06:20:07 +00:00
David Anderson
8ffeb9f627 fixed spacing and line endings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401798
2007-12-14 06:19:42 +00:00
David Anderson
af2142d70b fixed amb1282 - elev1.wav is cstrike only
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401797
2007-12-14 05:54:36 +00:00
Michael McKoy
46c98c64fa Fixed file headers on all base plugin includes.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401795
2007-12-13 00:21:07 +00:00
David Anderson
43150b07c9 fixed for amb1279 from ferret
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401794
2007-12-12 22:45:23 +00:00
Michael McKoy
b63963ef86 Removed player_death event from beacon.sp, wasn't needed, lol
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401793
2007-12-12 02:24:57 +00:00
Michael McKoy
0e4ea825d3 Removed duplicated line in beacon.sp, whoops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401792
2007-12-12 02:23:00 +00:00
Michael McKoy
18235d90e5 Added sm_beacon
Fixed burn menu returning you to the slay menu.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401791
2007-12-12 02:16:25 +00:00
David Anderson
1904348efc - fixed amb1237 part 1 - maplists.cfg missing could cause ReadMapList() to fail
- fixed amb1237 part 2 - nextmap could fail in certain cases with mapchooser present

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401789
2007-12-10 22:20:53 +00:00
David Anderson
d3a22aeff7 added amb1262 - adt_trie
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401785
2007-12-10 05:14:37 +00:00
Michael McKoy
5f81dd7be5 Small change to RTV to avoid timer issues.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401783
2007-12-09 21:45:23 +00:00
David Anderson
6151b89b94 fixed documented param order being wrong on ReadMapList()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401778
2007-12-06 14:08:22 +00:00
David Anderson
37096d7307 fixed doc error on GetClientMenu()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401777
2007-12-06 12:26:59 +00:00
Borja Ferrer
9ab9eba5d7 added amb1235, added support for the IServer interface
added a native to retrieve the spray file of a client
added a native to get the net traffic of the server

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401775
2007-12-06 02:25:35 +00:00
David Anderson
41ac66fceb deprecated IsValidHandle()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401771
2007-12-05 15:38:45 +00:00
David Anderson
dcb77e0918 addressed amb1230 - BfReadString() erroring on something that should be perfectly valid
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401756
2007-12-03 03:19:21 +00:00
David Anderson
049eff8336 fixed amb1233 - sm_psay from server console
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401754
2007-12-03 02:27:59 +00:00
David Anderson
ab2ef7a0e0 nextmap won't default to anything non-mapcyclefile now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401751
2007-12-02 16:43:19 +00:00
David Anderson
b6bb09e0b8 nextmap now use ReadMapList() and OnConfigsExecuted() instead of OnMapStart
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401750
2007-12-02 16:30:47 +00:00
Matt Woodrow
5b2e32da18 Added ReadMapList support for sm_votemap in the admin menu
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401746
2007-12-02 02:48:22 +00:00
David Anderson
ac058124cc added a note about ReadMapList() lifetime
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401745
2007-12-02 02:17:18 +00:00
David Anderson
a8ecd7fea4 - added beefy new ReadMapList() native
- admin menu now uses ReadMapList()
- added UTIL_TrimWhitespace() to stringutils
- moved GetFileTime() implementation to ILibrarySys
- cleaned up sorting include a bit
- removed adminmenu_maplist.ini, since it's specified by maplists.cfg
- added maplists.cfg

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401744
2007-12-02 02:10:37 +00:00
Matt Woodrow
1d2e7bb46b Fixed amb1219 - Proper tokenising of sm_addban
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401742
2007-12-02 01:59:19 +00:00