Commit Graph

516 Commits

Author SHA1 Message Date
David Anderson
0aa30ccde2 fixed amb1121 - ban commands didn't tokenize reasons properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401678
2007-11-11 06:41:46 +00:00
David Anderson
bb82eb772b fixed amb1147 - truncation of cvars in sm_cvar
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401677
2007-11-11 06:24:31 +00:00
Matt Woodrow
a8f9073fb0 Addition of second half of amb1051. Immunity from reserved slot kicking without having a reserved slot.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401672
2007-11-10 02:03:27 +00:00
Matt Woodrow
1a09c2c1dc Fixed amb1112. sv_visiblemaxplayers now gets reset when reserved slots gets disabled
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401671
2007-11-10 02:00:04 +00:00
Michael McKoy
daaf961c07 New adt_array functions: CloneArray, FindStringInArray, FindCellInArray
Adjusted mapchooser/randomcycle/rockthevote and LoadMaps stock to use new array functions

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401670
2007-11-09 23:46:05 +00:00
Michael McKoy
b3fa7316d5 Changed basechat to exclude hl2mp from color messages, but include everything else.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401669
2007-11-09 18:08:09 +00:00
David Anderson
61cc4e3139 fixed amb1065 - vote map stuff didn't restore the menu properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401667
2007-10-31 06:58:03 +00:00
David Anderson
f12831bed4 fixed amb1076 - potential issues with deadtalk+alltalk I guess, I don't know
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401666
2007-10-31 06:37:21 +00:00
David Anderson
ed011618e4 fixed amb1087 - sm_unmute did not work
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401665
2007-10-31 06:22:36 +00:00
David Anderson
30f3067827 - fixed bug where the menu map parser truncated lines and thus gave IsMapValid() weird results
- fixed a bug where kicking yourself could throw an RTE

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401664
2007-10-31 05:26:08 +00:00
David Anderson
4abf26c626 fixed amb1098 - SetMenuExitButton() did not work with MENU_NO_PAGINATION
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401659
2007-10-30 01:22:47 +00:00
David Anderson
fe28f51e9a fixed nonsense documentation comment
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401658
2007-10-29 00:33:20 +00:00
Borja Ferrer
2cfd5bbaf3 added amb1062, get/set command flags natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401649
2007-10-26 20:37:02 +00:00
Michael McKoy
60af5442d4 Fixed handle leak in mapchooser and rtv
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401648
2007-10-25 03:29:55 +00:00
Matt Woodrow
92ee426225 Fixed amb1065 - Votemap clears itself properly after a failed vote
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401647
2007-10-23 20:08:19 +00:00
David Anderson
2e333caf77 - added amb1050 - topmenu info strings (similar to menus)
- added removal detection to topmenus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401640
2007-10-22 06:56:17 +00:00
David Anderson
c6eaccde0b added amb932 - sm_who can be used by normal clients if the server allows it
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401639
2007-10-22 06:23:58 +00:00
David Anderson
3c460aa48a fixed a compatibility bug in AddTargetsToMenu()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401638
2007-10-22 06:01:07 +00:00
David Anderson
b6e33a575f - fixed a bug where OnConfigsExecuted() could be ran before OnAllPluginsLoaded()
- added new commands for amb1036, war mode
- fixed a bug in the admin menu

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401636
2007-10-22 05:35:31 +00:00
David Anderson
b4896ecada commited overhaul of a large number of commands and phrases, which largely included basecomm. also re-implemented FindTarget() with ProcessTargetString()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401633
2007-10-22 02:54:27 +00:00
Matt Woodrow
f3e7bf4a16 Added alive checks before adding certain player lists to the admin menu
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401632
2007-10-22 02:05:51 +00:00
David Anderson
ef6da943d6 - moved more translation phrases around
- converted more code to ProcessTargetString()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401631
2007-10-22 00:49:44 +00:00
David Anderson
53156446d4 - updated basecommands and basefuncommands to use ProcessTargetString() and ShowActivity2()
- moved a bunch of translation phrases around
- ShowActivity2() no longer prints to console
- fixed a memory corruption bug in the translation parser

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401630
2007-10-21 23:50:37 +00:00
David Anderson
04b2845b0d - improved comments on ShowActivity() natives
- switched to ShowActivity2() in basecommands
- added lifestates offsets to core gamedata file
- added a few translation phrases that were missing
- added new API calls to IPlayerHelpers for extending target processing

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401629
2007-10-21 20:35:15 +00:00
David Anderson
02e8977ea0 - added ShowActivity2() which has a more convenient display algorithm
- added commandfilters.inc and ProcessTargetString(), an extensible API for processing a command target and getting back formatted replies + player lists.  This makes SearchForClients() look paltry, and base plugins will slowly be moved to support the new functionality
- removed IsPlayerAlive() from SDKTools, added it to Core
- fixed a small bug in re-entrant translations
- core.games.txt is now automatically added to all plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401627
2007-10-21 20:06:30 +00:00
Matt Woodrow
baeecb098e Fixed a potential issue with reservedslots. Thanks for the hint :)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401624
2007-10-21 06:43:03 +00:00
Matt Woodrow
a04f844b73 Reserve slots plugin now offers the option to kick public players (see sourcemod.cfg for details)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401623
2007-10-21 04:51:57 +00:00
David Anderson
1d3f8a44e5 added function for resolving team names -> indexes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401622
2007-10-21 00:16:46 +00:00
Borja Ferrer
c5391ecb5e fixed a native prototype
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401621
2007-10-20 23:47:15 +00:00
Borja Ferrer
ff2819e266 added amb814, added a set of team natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401619
2007-10-20 23:39:10 +00:00
David Anderson
98e921c210 fixed GetClientEyeAngles() again
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401618
2007-10-19 09:03:34 +00:00
David Anderson
c2644b2f94 - added GetClientAimTarget()
- fixed a bug where GetClientEyeAngles() was basically bogus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401617
2007-10-19 08:51:05 +00:00
David Anderson
4e1c0edfca added amb1015 part2 - more sm_who changes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401614
2007-10-19 06:36:06 +00:00
David Anderson
86dbfbd248 added amb1015 - sm_who now shows admin names
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401613
2007-10-19 05:45:56 +00:00
Michael McKoy
bd58aa930b Added new stock to helpers.inc: LoadMaps()
Adjusted all plugins that use LoadMaps()
Nextmap no longer worries about mapcyclefile until the map changes
RTV/MC/RC use OnConfigsExecuted() instead of OnMapStart() now
RTV/MC/RC will no longer "permanently" exclude the current map being played when the map file is loaded.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401612
2007-10-18 01:16:42 +00:00
David Anderson
1777c84a75 blocked sm_admin from being used by rcon
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401609
2007-10-17 17:12:26 +00:00
David Anderson
96cb8cbc38 renamed all the admin menu items
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401606
2007-10-17 02:40:41 +00:00
David Anderson
54febbbc48 cleaned up menu vote code a bit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401600
2007-10-16 19:28:02 +00:00
David Anderson
f0dc4e996f - more phrase changes
- added "mani" sorting to adminmenu

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401599
2007-10-16 19:06:11 +00:00
David Anderson
5d72810449 overhaul of the phrases for consistency
renamed config files for adminmenu
cleaned up execcfg menu code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401598
2007-10-16 18:37:24 +00:00
David Anderson
2b15d877aa renamed fun commands on menu
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401597
2007-10-16 17:29:06 +00:00
David Anderson
10042990ba adminmenu now loads config file
removed debug line

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401596
2007-10-16 17:28:36 +00:00
Matt Woodrow
0600be8c3a Menu map lists (map and votemap) now fall back to the contents of maps folder if the menu_maplist.ini isn't found
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401586
2007-10-15 21:12:52 +00:00
David Anderson
e08b4cdf1e - LibraryExists() now works on extensions
- geoip and cstrike now work as libraries

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401579
2007-10-15 04:27:56 +00:00
David Anderson
c803eb8328 fixed an overall deficiency where libraries did not include extensions. extensions can now mark themselves as libraries, and they thus become fully optional just as plugins do. additionally, a bug was fixed where plugins could be accidentally marked as required instead of optional. these changes resulted in a bcompat API bump to the extension/sharesys interface.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401578
2007-10-15 04:06:57 +00:00
Matt Woodrow
36f6a760b5 Uhh.. How'd that get there?
Removed blank file.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401546
2007-10-13 22:13:43 +00:00
Michael McKoy
69ee0e01b1 Fixed an incorrect variable name
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401545
2007-10-13 19:41:25 +00:00
Matt Woodrow
3ff2e4ad62 Fixed cs specific example in config and updated adminmenu header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401543
2007-10-13 05:21:52 +00:00
Matt Woodrow
ae5e3217bd Coded menus for most base plugins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401542
2007-10-13 04:43:42 +00:00
Michael McKoy
2008ca0e0b Misplaced (
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401541
2007-10-08 22:13:49 +00:00