Commit Graph

501 Commits

Author SHA1 Message Date
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
Michael McKoy
936d90a93c Remove non-deterministic loop from rockthevote.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401540
2007-10-08 22:13:17 +00:00
Michael McKoy
3fb88f9178 Removed nondeterministic loop in mapchooser.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401539
2007-10-08 21:55:20 +00:00
Michael McKoy
41ba6db2d6 Fixed bad loop in RTV
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401538
2007-10-07 20:50:52 +00:00
Michael McKoy
2173773f35 -Fixed MapChooser translating the last map in a vote without extend to "Extend Map"
-Added convar sm_mapvote_novote to MapChooser. Default is 1. Set to 0 and MapChooser will not set the map when no one votes
-Added convar sm_mapvote_extend. Default is 1, set to 0 and Extend option will not appear, even if the other extend cvars would allow it.
-MapChooser now sets sm_nextmap to "Vote Pending" when the map starts. (Note: If using RandomCycle as well, it will be changed to RandomCycle's choice.)
-Nextmap changed to reset sm_nextmap if it is invalid at end of map intermission

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401537
2007-10-05 22:38:22 +00:00
Michael McKoy
de496cc583 Fixed GetArraySize problem in mapchooser
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401536
2007-10-05 00:12:14 +00:00
Michael McKoy
a15f245e5c Crash loop in Mapchooser fixed.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401535
2007-10-03 23:51:34 +00:00
Michael McKoy
f4f5083ef2 Minor adjustments in mapchooser, no bugs fixed...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401534
2007-10-02 22:42:38 +00:00
David Anderson
97d2c4b5a9 - fixed admin menu regression bugs
- if a category fails to draw, the root menu now gets re-displayed

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401533
2007-10-02 16:11:02 +00:00
David Anderson
5fa3cbf134 experimental changes to topmenu api -- drawing/displaying is now properly abstracted
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401532
2007-10-02 15:13:13 +00:00
David Anderson
bd89b6d126 - removed incorrect information about DrawOption, renamed to DisplayOption
- renamed DrawTitle to DisplayTitle

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401531
2007-10-02 14:48:44 +00:00
David Anderson
a130fede3a added note about TopMenuAction_DrawOption
Cancel vote option now only appears if a vote is in progress

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401530
2007-10-02 14:42:38 +00:00
David Anderson
ee90188103 added voting category and a menu option for cancelling votes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401529
2007-10-02 14:34:45 +00:00
David Anderson
9c1807bd31 simpler demo, added "Reload admins" option to "Server Commands" category
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401527
2007-10-02 01:52:15 +00:00
David Anderson
5600942b3c experimental commit of a menu attachment for sm_reloadadmins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401524
2007-10-02 01:02:40 +00:00
Michael McKoy
f8e2a09b39 Log messages added to MapChooser to help debug issues with repeated or early votes.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401523
2007-10-02 00:23:14 +00:00