Commit Graph

484 Commits

Author SHA1 Message Date
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
Michael McKoy
af12ff000b @ symbol moved to a #define. say_team now checks if in a chat trigger.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401522
2007-10-02 00:20:18 +00:00
David Anderson
f956093b93 fixed return value in DisplayTopMenu()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401520
2007-10-01 20:34:46 +00:00
David Anderson
c181282248 fixed AddTargetsToMenu() not being marked as optional
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401519
2007-10-01 20:17:45 +00:00
David Anderson
602b0aa6a5 - added topmenus extension to build
- basecommands is slowly getting split into multiple source files now
- added experimental api of a potential admin menu design
- added experimental admin menu entry to basecommands to kick things off

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401516
2007-10-01 18:50:07 +00:00
David Anderson
2c5cd63552 added IsClientInKickQueue() to deal with a bot issue
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401515
2007-10-01 18:41:39 +00:00
Michael McKoy
cb3b2a9ab6 Fixed MapChooser using sm_mapvote_start as seconds instead of minutes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401512
2007-09-30 21:26:45 +00:00
Borja Ferrer
b609c4eb86 added amb964, DispatchKeyValue natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401510
2007-09-29 22:26:36 +00:00
David Anderson
b17cf5c7af cstrike shouldn't autoload
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401508
2007-09-29 18:45:12 +00:00
Michael McKoy
970826c9d4 Fixed accidental closing of the nomination menu handle in RTV
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401507
2007-09-29 14:51:56 +00:00
Michael McKoy
222acb80ee RTV Menu title translation bug fixed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401506
2007-09-29 14:46:59 +00:00
Borja Ferrer
b50d7697f6 added amb753, entity input native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401504
2007-09-28 19:56:19 +00:00
David Anderson
61ac102fe2 - various improvements to the plugin-level topmenu api
- categories are no longer displayed if they have no items

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401502
2007-09-26 21:44:12 +00:00
David Anderson
035d646dfd - TOPMENUS ARE STILL UNTESTED
- added appropriate client+plugins listeners to topmenus
- initial import of plugin API + implementation
- added call for finding category object ids
- various internal improvements

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401501
2007-09-26 20:34:50 +00:00
Michael McKoy
15d5d6620e Minor fix to RTV to stop possible "rogue votes"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401500
2007-09-26 18:15:36 +00:00
Michael McKoy
3a1961cfc0 Nextmap now has an error message if the reason it didn't load maps was due to non-existant file.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401498
2007-09-26 16:27:53 +00:00
David Anderson
5c58cbf624 added new menu api (oops, forgot to commit this)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401490
2007-09-26 13:12:37 +00:00
Michael McKoy
beafe4411a Small fraglimit fix
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401489
2007-09-26 04:03:22 +00:00