Commit Graph

254 Commits

Author SHA1 Message Date
David Anderson
25dc806a2e fixed bug amb462
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401021
2007-06-25 14:58:59 +00:00
David Anderson
ca3d74be45 .txt is now assumed for LoadTranslations() when no extension exists
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401020
2007-06-24 21:38:02 +00:00
David Anderson
28d24a7f97 - renamed translation files from .cfg -> .txt
- renamed trans core file to core.phrases.txt
- renamed trans common file to common.phrases.txt
- added some backwards compat so this doesn't break everyone's plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401019
2007-06-24 21:14:06 +00:00
David Anderson
5271043e92 - fixed SetEntDataArray being bogus
- fixed some comments

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401016
2007-06-24 18:56:58 +00:00
David Anderson
e52e896396 changed comment on MenuAction_DrawItem
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401013
2007-06-22 22:37:58 +00:00
David Anderson
368432baf5 added MenuAction_DrawItem for changing how an item gets drawn
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401012
2007-06-22 22:37:22 +00:00
David Anderson
38f95fc63d - added request amb426
- "Back" is now "Previous" and "Back" is used for ExitBack
- menu api got bumped again, but will be compat

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401011
2007-06-22 21:04:13 +00:00
David Anderson
3931a1283a tiny comment changes to halflife.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401009
2007-06-22 17:25:19 +00:00
Scott Ehlert
aef5ba1d09 Implemented amb423 - Added IsClientObserver() native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401007
2007-06-22 15:37:12 +00:00
David Anderson
3e88c91ad2 added ability to use NULL_STRING in KeyValues natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401006
2007-06-22 14:59:26 +00:00
Scott Ehlert
102fa64a77 don't fix what isn't broken I guess :\ (Fixed reserved slots once and for all...)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401005
2007-06-22 04:35:27 +00:00
Scott Ehlert
db83c8e2d9 Fixed a million bugs in reserved slots plugin - should be perfect now (I hope)
Finalized KickClient native

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401004
2007-06-22 03:43:00 +00:00
David Anderson
58eedf6226 bumped menu api again - added feature to get menu end reason
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401003
2007-06-21 23:06:37 +00:00
Scott Ehlert
4a82ce501b Not sure how I did this, but fixed KickClient include
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401002
2007-06-21 19:51:34 +00:00
Scott Ehlert
f5093ebf68 Reserved slots plugin uses KickClient native now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40999
2007-06-20 11:12:50 +00:00
Scott Ehlert
243d31b7a6 Added KickClient() native. This is so that the "Kicked from console" string doesn't appear in the disconnect reason.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40998
2007-06-20 11:06:58 +00:00
Scott Ehlert
546c471e2c Moved pragams above includes in plugins. Not too sure why.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40995
2007-06-20 08:51:40 +00:00
Scott Ehlert
f94d080183 Added basic reserved slots plugin, finally...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40994
2007-06-20 08:48:11 +00:00
David Anderson
7c63139574 - added amb379
- fixed a format bug in basecommands.sp
- added an any tag to Call_Finish()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40988
2007-06-18 17:20:12 +00:00
David Anderson
5dbcd90895 fixed bug amb418
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40987
2007-06-18 17:09:33 +00:00
David Anderson
a76f3eba97 A few sdktools functions now accept all entities and the Player versions are deprecated
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40986
2007-06-18 17:02:42 +00:00
David Anderson
db5c7cdc80 added deprecation warning
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40985
2007-06-18 07:09:47 +00:00
David Anderson
254fc2557a - removed OnServerCfg in favor of OnConfigsExecuted
- added AutoExecConfig() which automates safe config execution

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40984
2007-06-18 07:04:22 +00:00
David Anderson
8437e8ee04 added request amb404
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40966
2007-06-16 21:56:12 +00:00
David Anderson
0b9447d986 added a few more natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40961
2007-06-16 18:27:23 +00:00
David Anderson
11ff381289 - added bool type
- added pointer support
- added three default natives
- added include file for sdktools
- cleaned up decoding api a bit

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40960
2007-06-16 18:03:05 +00:00
Scott Ehlert
a2a54f6000 Moved antiflood related phrase from core.cfg to plugin.antiflood.cfg
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40945
2007-06-15 21:03:34 +00:00
David Anderson
6acaaac769 added a hacky way to get NULL references
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40944
2007-06-15 20:23:40 +00:00
Scott Ehlert
6193ed8431 Convars with FCVAR_REPLICATED flag should now be replicated properly when sm_cvar is used.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40943
2007-06-15 06:31:12 +00:00
Scott Ehlert
28ae0b0d65 Added two new optional paramaters to SetConVar* natives for purpose of replicating convar value to client and/or notifying of convar change
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40942
2007-06-15 06:26:19 +00:00
David Anderson
2e3c61c849 SourceMod now does authentication in core; admin-auth gets removed. this has an added bonus that OnClientAuthorized reliably has whether an admin is validated
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40936
2007-06-08 07:54:45 +00:00
David Anderson
e85a6d280f root can use sv_cheats now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40935
2007-06-08 06:31:46 +00:00
David Anderson
706b28cb64 added another unban command and added forwards for banning (amb369)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40933
2007-06-08 05:11:49 +00:00
David Anderson
48830e2c16 added request amb369, part 1
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40932
2007-06-08 04:40:40 +00:00
David Anderson
7b9b90e2a2 added sm_unban
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40931
2007-06-08 03:50:23 +00:00
David Anderson
0ceec15c5a - ShowActivity() now handles command usage confirmation
- added sm_ban
- fixed up various issues and bugs in basecommands.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40930
2007-06-08 03:38:57 +00:00
David Anderson
a5d17bbf6b - sm_show_activity is now protected
- added sm_who
- added GetCmdReplySource() for sm_who

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40929
2007-06-08 01:58:26 +00:00
David Anderson
de339cab8b sm_kick now uses targeting properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40928
2007-06-08 01:09:17 +00:00
David Anderson
ce9b783485 added sm_execcfg
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40927
2007-06-08 01:01:44 +00:00
David Anderson
3a02db6a1e added sm_cvar
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40926
2007-06-07 23:48:51 +00:00
David Anderson
4066ab09eb added sm_rcon
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40924
2007-06-07 21:36:24 +00:00
David Anderson
9da7a82af8 - added sm_map
- moved some translations into a new file

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40923
2007-06-07 21:24:29 +00:00
Scott Ehlert
d4bc20d32b Whoa, bug. Hopefully fixed PrintToChatAll and PrintCenterTextAll once and for all...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40921
2007-06-07 07:36:41 +00:00
David Anderson
63c5d05747 added profiler (windows only for now) and a benchmark script
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40920
2007-06-07 07:29:55 +00:00
Scott Ehlert
f129a830b8 Added anti-flood plugin.
Added some missing includes to sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40919
2007-06-07 07:22:19 +00:00
David Anderson
092c4e88e9 - initial import of the first admin plugin (woot! it has one command!)
- added ShowActivity() native
- added lang.inc to sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40916
2007-06-07 06:17:57 +00:00
Scott Ehlert
ebf3afb35f Added SVN Id keyword to plugin headers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40914
2007-06-07 06:08:16 +00:00
David Anderson
d19aa9f576 finished doc on SearchForClients
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40909
2007-06-07 03:57:10 +00:00
David Anderson
877b604ce9 - added SearchForClients
- fixed versions and some header info in base plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40908
2007-06-07 03:45:44 +00:00
Scott Ehlert
7817602d75 Moved MAXPLAYERS define from sourcemod.inc to clients.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40907
2007-06-07 02:39:37 +00:00