Commit Graph

1219 Commits

Author SHA1 Message Date
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
2463cf50bf mispelled "phrase"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40925
2007-06-07 22:26:38 +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
David Anderson
be6335c91a Fixed bugs amb352 and amb274
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40922
2007-06-07 18:50:52 +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
0883cc8769 added translations for basecommands (whoops)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40918
2007-06-07 07:11:37 +00:00
David Anderson
18d2d3a2b1 added admin plugin to the core package
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40917
2007-06-07 06:19:23 +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
David Anderson
a2dff5f7d0 - fixed a bug where translation parameters were simply not read right
- fixed some oddness about how SourceMod determines that a phrase does not exist

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40915
2007-06-07 06:16:38 +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
d79c0223c1 fixed a bug where GetAdminFlag could return false if a user had root
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40913
2007-06-07 05:53:50 +00:00
David Anderson
9f9b92ec43 fixed a bug where the console was not a valid loggable player from %L
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40912
2007-06-07 05:53:32 +00:00
David Anderson
c94e1f7a97 added %L format specifier for logging player info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40911
2007-06-07 04:47:03 +00:00
David Anderson
30eb92174f fixed the Windows build! (it's not too often we say that, eh)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40910
2007-06-07 04:08:34 +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
David Anderson
00e9d047c7 added sm_dump_handles command for tracking down Handle leaks... more to come someday
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40906
2007-06-07 02:36:54 +00:00
Scott Ehlert
897135194b Moved FakeClientCommand from clients.inc to console.inc since it was also moved internally
Fixed internal buffer sizes in PrintToChat() and PrintCenterText()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40905
2007-06-07 02:26:06 +00:00
Scott Ehlert
95dee16788 Yikes, fixed PrintToChatAll() and PrintCenterTextAll()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40904
2007-06-07 02:04:05 +00:00
David Anderson
f6a1db7633 added say_team hooks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40903
2007-06-06 22:37:36 +00:00
David Anderson
7ab88f2020 added config options for chat triggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40902
2007-06-06 22:31:54 +00:00
David Anderson
1eb1072687 the "No Access" phrase now replies correctly from chat triggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40901
2007-06-06 22:26:40 +00:00
David Anderson
c094ea1b22 added linux support to chat triggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40900
2007-06-06 22:18:53 +00:00
David Anderson
c843825e71 - added experimental (so far) support for SourceMod chat triggers
- added ReplyToCommand() for replying to triggers nicely

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40899
2007-06-06 22:16:15 +00:00
Scott Ehlert
bd15f93d7d Implemented amb370 - added PrintToChatAll stock
Also added PrintCenterTextAll stock

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40898
2007-06-06 20:51:17 +00:00
Scott Ehlert
96527c93dc Changed a few natives/stocks that should have used IsClientInGame() rather than IsClientConnected()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40897
2007-06-06 20:42:46 +00:00
Scott Ehlert
3a182c20b1 Plugin_Stop now works for event hooks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40896
2007-06-06 20:03:35 +00:00
Scott Ehlert
db97cf2cc8 Fixed Linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40895
2007-06-06 18:38:23 +00:00
David Anderson
5193fe5a4e - fixed a serious bug where %T arguments were read backwards (they now match the wiki documentation of phrase and then client)
- fixed a bug where the argument count for %T was not checked properly

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40894
2007-06-06 17:34:35 +00:00
David Anderson
8303b79ef7 fixed a crash bug in translation file loading where big files would reset the string cache and not update pointers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40893
2007-06-06 17:34:16 +00:00
David Anderson
1b6b0f6c5e added GetSysTickCount for benchmarking
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40892
2007-06-06 16:40:30 +00:00
David Anderson
13493fd7d5 exposed new voting features to plugins (MenuAction_VoteCancel, IsVoteInProgress)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40891
2007-06-06 06:33:57 +00:00
David Anderson
6f4784e3d1 - vote menus now get cancelled properly (and get a new callback with it)
- added api for seeing if a menu is in a VoteDisplay
- fixed another item count bug
- removed some cruft from the vote handler header

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40890
2007-06-06 06:27:47 +00:00
David Anderson
749f2a2ce7 fixed inheritance not being used in the base menu style when removing clients from the watch list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40889
2007-06-06 06:04:16 +00:00
David Anderson
92e8b40b99 fixed a bug where votes could potentially select a completely invalid item
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40888
2007-06-06 06:02:43 +00:00
David Anderson
465a3962cb yet again
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40887
2007-06-05 18:27:31 +00:00
David Anderson
2a801d8c09 reverted bad change
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40886
2007-06-05 18:24:30 +00:00
David Anderson
a290cf6c1b fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40885
2007-06-05 17:21:47 +00:00
David Anderson
2ee18824e9 added vote functionality
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40884
2007-06-05 16:44:19 +00:00
David Anderson
aea69f5fe8 added experimental voting API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40883
2007-06-05 16:27:45 +00:00
Scott Ehlert
2884483bef Fixed amb363 - Compiler reports wrong line number for unused global symbols
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40882
2007-06-05 05:45:48 +00:00
David Anderson
a3687d9258 databases now get separate handles for persistent connections
removed GetHandle from IDatabase
simplified IDatabase::Close

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40881
2007-06-01 21:26:52 +00:00
Scott Ehlert
3ed301e9af Fixed builds *sigh*
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40880
2007-06-01 07:21:07 +00:00
Scott Ehlert
6c17b9f37b - Added natives: PrintToChat() and PrintCenterText()
- Bit of reorganization with moving some natives from sourcemod.inc to halflife.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40879
2007-06-01 06:33:54 +00:00
Scott Ehlert
1ab452c897 Return values of GetNativeCell() and GetNativeCellRef() have been tagged as any. As a result GetNativeFloat() and GetNativeHandle() are now deprecated.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40878
2007-06-01 06:31:02 +00:00
David Anderson
14b0cc6efe fixed linus build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40877
2007-06-01 04:43:31 +00:00