Commit Graph
76 Commits
Author SHA1 Message Date
Michael McKoy 97e8e16012 Typo fixed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401767
2007-12-04 03:29:02 +00:00
Michael McKoy 5849a0d2e2 The current map played shouldn't appear in MapChooser votes or RTV votes now. It can still be nominated in RTV though.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401725
2007-11-24 03:28:33 +00:00
Michael McKoy 7c95678241 Small RTV adjustment
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401719
2007-11-23 01:13:13 +00:00
Michael McKoy d0bcaecdef RTV Adjustments
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401718
2007-11-23 01:06:35 +00:00
Michael McKoy 58ff2d14af Fixed permissions for Basechat say aliases, removed sm_psay_mode. Use command overrides for sm_psay instead.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401712
2007-11-21 01:21:32 +00:00
Michael McKoy 776e51dbac Moved some variables in RTV to OnMapStart
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401709
2007-11-20 03:55:54 +00:00
Michael McKoy fa3f1991ff Added sort functions for ADT Arrays, see sorting.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401707
2007-11-20 03:02:11 +00:00
Michael McKoy 3d4d583182 Fixed the counting of team wins and rounds played in MapChooser
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401704
2007-11-19 23:11:10 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Michael McKoy 315f20d0c8 nextmap reloads the map list on map change, IF the file has changed.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401445
2007-09-19 00:24:00 +00:00
Michael McKoy 53d5b04016 Fixed amb890
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401444
2007-09-19 00:20:46 +00:00
Michael McKoy b24a28d834 Fixed amb729, implemented amb778. Admin needs ADMFLAG_CHANGEMAP to use sm_setnextmap
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401372
2007-08-22 01:19:10 +00:00
Michael McKoy 4441de43f4 Fixed amb822. Fixed tag mismatches in vote plugins. Fixed "No votes casts"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401371
2007-08-22 01:18:17 +00:00
Michael McKoy f70881d641 Fixed amb822. Fixed tag mismatches in vote plugins. Fixed "No votes casts"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401370
2007-08-22 00:58:47 +00:00
Michael McKoy 267f2bd60a VoteCancel_NoVotes implemented in vote plugins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401303
2007-08-10 01:07:07 +00:00
Michael McKoy ddf6726f14 Vote plugin changes, added basefunvotes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401301
2007-08-09 23:34:53 +00:00
Michael McKoy c8f03384cb oops, tag mismatch on MenuActionAll, forced tag for now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401293
2007-08-09 00:45:38 +00:00
Michael McKoy cb8a6cddeb MENU_ACTIONS_ALL, lawls.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401292
2007-08-09 00:38:26 +00:00
Michael McKoy 87ba626fe5 Basevote changes based on testing and BAILOFEEDBACK
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401291
2007-08-09 00:31:45 +00:00
Michael McKoy 59687e802d Import of baseplugins.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401290
2007-08-08 23:45:24 +00:00
Michael McKoy 681477cd24 Import of new phrase file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401289
2007-08-08 23:44:56 +00:00
Michael McKoy ba43b95d73 Base Votes import.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401287
2007-08-08 23:35:16 +00:00
Michael McKoy 3d26e26d52 Corrected filename in header of basefuncommands.sp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401286
2007-08-08 23:26:42 +00:00
Michael McKoy 6b18b901ae You really should use your booleans right! sm_cancelvote fixed...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401284
2007-08-08 21:46:44 +00:00
Michael McKoy acfd5204d9 Switched to hinttext native and added sm_hsay back to non-CSS mods. Color is still CSS only.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401283
2007-08-08 21:32:39 +00:00
Michael McKoy 803f2122cf Added sm_cancelvote to the base commands, as well as appropriate translations.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401282
2007-08-08 21:32:06 +00:00
Michael McKoy 2fcf4e2567 Added Invalid Amount phrase to common.phrases.txt
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401202
2007-07-27 23:09:18 +00:00
Michael McKoy 65dc62d818 basecommands.sp: Removed plugin.basecommands.txt, switched to FindTarget stock, and added a 2 minute IP ban to sm_ban to stop retry spammers.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401201
2007-07-27 22:30:05 +00:00
Michael McKoy ead84293c8 Added basefuncommands.sp (Slay, Slap, Burn)
Moved all basecommands translations into common.phrases.txt

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401200
2007-07-27 21:27:56 +00:00
Michael McKoy 8556c6925d Adjustment to basetriggers.sp to stop sm_timeleft_interval from running when it shouldn't.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401195
2007-07-27 03:29:15 +00:00
Michael McKoy 201c35c501 Removed usage of basecommands translation file
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401194
2007-07-27 00:35:39 +00:00
Michael McKoy 74e90db64d New phrase file standard, use xxxx.phrases.txt
plugin.basecommands.txt not changed at this time

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401193
2007-07-27 00:34:58 +00:00
Michael McKoy b079ad448a Forgot one little change.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401191
2007-07-27 00:25:39 +00:00
Michael McKoy 42786664e1 Added basetrigger cvars
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401190
2007-07-27 00:24:28 +00:00
Michael McKoy 493e591750 Import of basetriggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401189
2007-07-27 00:24:15 +00:00
Michael McKoy bcad149712 Import of basetriggers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401188
2007-07-27 00:24:04 +00:00
Michael McKoy fbd597d932 Added basechat cvars
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401187
2007-07-27 00:01:09 +00:00
Michael McKoy 7c469fb517 Tested and ready for release
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401186
2007-07-26 23:56:55 +00:00
Michael McKoy efe5f0d2fe Fully tested, ready for release
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401185
2007-07-26 23:52:19 +00:00
Michael McKoy 6b3a0c6a95 Now uses new FindTarget stock
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401184
2007-07-26 23:42:13 +00:00
Michael McKoy 9ddf5504ff Added FindTarget stock.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401183
2007-07-26 23:31:58 +00:00
Michael McKoy 5f8641fa95 Import
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401182
2007-07-26 22:41:21 +00:00
Michael McKoy a7d74f54cd Import for Bail's review
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401181
2007-07-26 22:41:13 +00:00
Michael McKoy 1cfbd3c4a3 Import
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401180
2007-07-26 21:37:13 +00:00