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
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 11-20-2016 , 16:42   Re: Galileo v3.2.6-274 (a feature rich map voting plugin) | Last Update: 2016-11-13
Reply With Quote #11

Quote:
Originally Posted by kiarfuzzy View Post
I noticed another problem, sometimes after the map is extended a few times, the rtv won't work anymore, it says I must wait "x" minutes until I can rtv, sometimes more then the default mp_timelimit.
When the map is extended, the `rtv` could down is reset to `mp_timelimit` + the cvar `gal_rtv_wait`.

This is the responsible code. I just noticed now some trouble for the maps using `mp_maxrounds` or `mp_winlimit`. So, I just fixed it for the next plugin version release.
Code:
    // reset the "rtv wait" time, taking into consideration the map extension     if( g_rtvWaitMinutes )     {         g_rtvWaitMinutes += get_pcvar_float( cvar_mp_timelimit );         g_rtvWaitRounds  += get_pcvar_num( cvar_mp_maxrounds );         g_rtvWaitFrags   += get_pcvar_num( cvar_mp_fraglimit );     }
-->
Code:
    // reset the "rtv wait" time, taking into consideration the map extension     if( g_rtvWaitMinutes )     {         g_rtvWaitMinutes += get_pcvar_float( cvar_mp_timelimit );     }     if( g_rtvWaitRounds )     {         g_rtvWaitRounds += get_pcvar_num( cvar_mp_maxrounds );     }     if( g_rtvWaitFrags )     {         g_rtvWaitFrags += get_pcvar_num( cvar_mp_fraglimit );     }

So for the RTV to work you need to set it less than the cvar `amx_extendmap_step`. Something like:
Code:
mp_timelimit 20 amx_extendmap_step 15 gal_rtv_wait 5

Then after the map extend, you could do RTV again after the time `mp_timelimit` + `gal_rtv_wait `. On this example, it would be `20+5=25` minutes you can to call RTV again.
This is the same behavior as on the original `Galileo` from Brad. Currently there is no way to disable it, unless to set the cvar `gal_rtv_wait ` to 0. This way you can always to perform `RTV`, even after the map to be extended.

This correctly answer your report or are you experiencing some behavior not mentioned?
Note that at the second time the map is extended, the rule `mp_timelimit` + `gal_rtv_wait ` still working as the time limit is temporarily set to `mp_timelimit + amx_extendmap_step`.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz 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:16.


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