Raised This Month: $ Target: $400
 0% 

Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wlmraziel
Member
Join Date: Mar 2017
Old 05-15-2017 , 16:26   Re: Galileo v5.5.0-807 (a feature rich map voting plugin) | Last Update: 2017-04-04
Reply With Quote #11

Quote:
Originally Posted by addons_zz View Post
It is doing that because the code I told to you add does that.

If you want to the voting to be ignored and normally change to the next map,
you need to replace this around the lines 9116 ~ 9125:
Code:
    //     if( numberOfVotesAtFirstPlace < 6 )     {         // Allow it only on a end map voting         if( g_isGameFinalVoting )         {             map_extend( "GAL_RUNOFF_REQUIRED_TOP" );         }         else         {             stayHereWon( "GAL_RUNOFF_REQUIRED_TOP" );         }         LOG( 1, "( computeVotes ) Its runoff extending `numberOfVotesAtFirstPlace < 6`" )     } else     //
With:
Code:
    //     if( g_totalVotesCounted < 6 )     {         chooseRandomVotingWinner();         LOG( 1, "( computeVotes ) chooseRandomVotingWinner(0) `numberOfVotesAtFirstPlace < 6`" )     } else     //
And set the cvar `amx_extendmap_allow_order` to 1 on the `galileo.cfg`:
Code:
// Choose how to follow the mapcycle, when anyone vote for next map, i.e., // no votes on any map on the voting list, but there are players playing. // // 0 - choose a random map from the current voting map list, as next map. // 1 - follow your current mapcycle order. // 2 - extend the current map. // // Default: 1 amx_extendmap_allow_order 1
TXS
wlmraziel is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode