Commit Graph

466 Commits

Author SHA1 Message Date
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
Michael McKoy
3c9a2414df ExtendTimelimit works off seconds, so we should too.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401488
2007-09-26 02:48:22 +00:00
Michael McKoy
17b7f4c68d MapChooser "final"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401485
2007-09-26 02:39:27 +00:00
Michael McKoy
a9bab71084 Import of rockthevote, minor translation adjustments on basecomm and mapchooser
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401484
2007-09-26 02:18:26 +00:00
Michael McKoy
a4d85676e8 Import of basecomm. Import of randomcycle. New stock added to console.inc.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401481
2007-09-26 01:22:25 +00:00
David Anderson
a8aa9d2d7f added chat trigger detection
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401475
2007-09-24 15:06:10 +00:00
Michael McKoy
e4728b0413 Added VOICE_TEAM and VOICE_LISTENTEAM flags to the SDKTools voice functionality.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401474
2007-09-23 21:01:07 +00:00
Michael McKoy
7df54ec38d "say timeleft" changed to use new Core timeleft functionality.
Minor fix to mapchooser, in case no maps were loaded to the list

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401473
2007-09-23 20:33:22 +00:00
David Anderson
8bbbb57d8c clarified and fixed the meaning of timelimit/timeleft when no frames have been processed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401468
2007-09-23 20:11:48 +00:00
David Anderson
0f45f8b5ee - added timeleft functionality to cstrike extension
- finalized timeleft api once again (i hope)
- added weapon slot definitions to cstrike.inc
- bumped timer API

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401465
2007-09-23 19:33:19 +00:00
Michael McKoy
c49555b174 Removed a debug log message
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401460
2007-09-22 18:02:42 +00:00
Michael McKoy
dd076961bf Fixed most of mapchooser.sp. May have issues with mp_winlimit on DoD. Timelimits may not function 100% in cstrike (Depends on something else, sorry)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401458
2007-09-22 17:44:18 +00:00
Michael McKoy
d27a768d97 New IsStringInArray stock for array ADT
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401457
2007-09-22 17:43:19 +00:00
David Anderson
b38f0cc02e whoops, i forgot to update the banning API... this is the correct revision
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401456
2007-09-21 14:56:18 +00:00
David Anderson
34111ff1e4 clarified "error" and "data" parameters to threaded dbi callbacks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401455
2007-09-21 14:53:13 +00:00
Michael McKoy
b59e16ff97 Stupid semicolon
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401452
2007-09-21 02:30:01 +00:00
Michael McKoy
ea0678cf3c Some minor changes to mapchooser, plus added the translation file.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401451
2007-09-20 23:54:17 +00:00
Borja Ferrer
9733816b35 added new cstrike extension
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401447
2007-09-19 14:58:02 +00:00
Michael McKoy
d5998d6622 Initial import of mapchooser.sp. Untested, not in builds yet, awaiting a change to core
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401446
2007-09-19 00:24:53 +00:00