Commit Graph

523 Commits

Author SHA1 Message Date
Matt Woodrow
2f41af814e Initial import of regex extension
--HG--
branch : sourcemod-1.1.0
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401848
2008-01-10 22:01:36 +00:00
Matt Woodrow
d28eca4bb3 Increased max length for list items
--HG--
branch : sourcemod-1.1.0
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401831
2007-12-28 02:41:52 +00:00
Matt Woodrow
306be48027 Fixed dynamic menu reading userid2 as userid
--HG--
branch : sourcemod-1.1.0
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401830
2007-12-26 02:41:04 +00:00
Matt Woodrow
4ad308897f Few dynamic menu bug fixes.
--HG--
branch : sourcemod-1.1.0
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401829
2007-12-26 01:16:38 +00:00
Michael McKoy
f6b6dff4c0 Don't even bother trying to compile these, it's not finished. Just committing for archiving purposes, this is not intended for 1.0 release.
--HG--
branch : sourcemod-1.1.0
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401813
2007-12-19 22:19:34 +00:00
Matt Woodrow
3ba7c63862 Initial import of dynamic menu code (amb1039)
--HG--
branch : sourcemod-1.1.0
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401788
2007-12-10 21:02:00 +00:00
David Anderson
3f49d29274 merged trunk back into 1.1.0 branch for "safety"
--HG--
branch : sourcemod-1.1.0
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.1.0%401721
2007-11-23 05:10:33 +00:00
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