Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 09-03-2016 , 12:34   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #321

Hello Addons, its me... I have a Question what i have to edit when i want that after votemap the plugin change the map directly to new map? i was reading all in cfg but it dont work... ?!
Godofwar is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 09-03-2016 , 13:56   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #322

Quote:
Originally Posted by Godofwar View Post
Hello Addons, its me... I have a Question what i have to edit when i want that after votemap the plugin change the map directly to new map? i was reading all in cfg but it dont work... ?!
If I recall correctly, adding this line `g_isTimeToChangeLevel = true;` at `computeVotes(0)` should work:



Spoiler
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
utaker
Senior Member
Join Date: Dec 2013
Old 09-05-2016 , 14:20   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #323

server crashes alot
L 08/22/2016 - 19:54:14: Invalid array handle provided (0)
L 08/22/2016 - 19:54:14: [AMXX] Run time error 10 (plugin "galileo.amxx") (native "ArraySize") - debug not enabled!
L 08/22/2016 - 19:54:14: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
utaker is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 09-05-2016 , 14:32   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #324

Quote:
Originally Posted by utaker View Post
server crashes alot
L 08/22/2016 - 19:54:14: Invalid array handle provided (0)
L 08/22/2016 - 19:54:14: [AMXX] Run time error 10 (plugin "galileo.amxx") (native "ArraySize") - debug not enabled!
L 08/22/2016 - 19:54:14: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Enable debug as it is asking and restart the server:
Quote:
To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
And follow the Support instructions.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 09-15-2016 at 14:23. Reason: update
addons_zz is offline
vase070
Senior Member
Join Date: Jun 2011
Old 09-15-2016 , 21:45   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #325

so i have noticed something when using

Code:
gal_vote_minplayers
gal_vote_minplayers_mapfile
and it comes time for a vote and if no one votes it sets a completely different map for the nextmap witch was not even on the vote let me give a further example

lets say vote starts and the maps are

Code:
1. fy_snow
2. fy_pool_day
3. aim_headshot
4. aim_taliban
5. fy_iceworld
and 20 secs pass no one votes for anything and .....

Code:
No one voted. The next map was chosen to be 'de_nuke'.
i mean um is this supposed to be like this ? de_nuke is not even on the vote is the plugin not supposed to chose a random map from the vote to set as nextmap if no one votes for anything or ?

also mp_timelimit ends a bit early over like 20+ seconds before it is actually supposed to end i don't know if i put that right.... but in this pic i spammed "H > HELP > Time Left"

as you can see on the image timelimit ended 26 secs early before it was supposed to

vase070 is offline
BeNq!
Senior Member
Join Date: Mar 2009
Old 09-16-2016 , 08:38   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #326

Yes, Also I have a problem.
BeNq! is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 09-16-2016 , 08:53   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #327

Quote:
Originally Posted by BeNq! View Post
Yes, Also I have a problem.
Quote:
Originally Posted by vase070 View Post
and it comes time for a vote and if no one votes it sets a completely different map for the nextmap witch was not even on the vote let me give a further example
Does this cvar bellow is enabled on your game?

Code:
// Choose how to follow the map-cycle, when anyone vote for next map. // 0 - choose a random map from the current voting map list, as next map. // 1 - follow your current map-cycle order. amx_extendmap_allow_order 1

Quote:
Originally Posted by vase070 View Post
also mp_timelimit ends a bit early over like 20+ seconds before it is actually supposed to end i don't know if i put that right.... but in this pic i spammed "H > HELP > Time Left"
It is programmed to trigger on the last 30 seconds.

Code:
3620:         // are we managing the end of the map? 3621:         if( secondsLeft < 30 3622:             && secondsLeft > 0 ) 3623:         { 3624:             if( g_isOnMaintenanceMode ) 3625:             { 3626:                 prevent_map_change(); 3627:                 color_print( 0, "%L", LANG_PLAYER, "GAL_CHANGE_MAINTENANCE" ); 3628:             } 3629:             else if( !g_isTheLastGameRound 3630:                      && get_realplayersnum() >= get_pcvar_num( cvar_endOnRound_msg ) ) 3631:             { 3632:                 map_manageEnd(); 3633:             } 3634:         }

These cvar control them:
Spoiler
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 09-16-2016 at 09:57. Reason: update
addons_zz is offline
vase070
Senior Member
Join Date: Jun 2011
Old 09-16-2016 , 12:12   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #328

Quote:
Originally Posted by addons_zz View Post
Does this cvar bellow is enabled on your game?

Code:
// Choose how to follow the map-cycle, when anyone vote for next map. // 0 - choose a random map from the current voting map list, as next map. // 1 - follow your current map-cycle order. amx_extendmap_allow_order 1
yes it is i have set it to 0 now and i will see if it still chooses random unknown map

as for the timelimit i completely understand thanks for the answer
vase070 is offline
vase070
Senior Member
Join Date: Jun 2011
Old 09-16-2016 , 20:28   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #329

yes changing

Code:
amx_extendmap_allow_order
to 0 did the trick but i want to point something else out so:

after the map vote has been concluded and nextmap chosen if you type

Code:
amx_cvar amx_nextmap "map name"
in console and type "nextmap" in chat it will still show the map that was voted for instead of the map changed to via "amx_cvar amx_nextmap" as it shows in image

http://i.imgur.com/s8SUgwW.jpg

the nextmap does indeed change to whatever you set via "amx_cvar amx_nextmap" however

also when you join server after awhile it will say

Code:
Type 'amx_help' in the console to see available commands
Time Left: 19:39 min. Next Map: de_dust2002
but when you type nextmap in chat you get "Next Map: [not yet voted on]"

images:

when player joins server :http://i.imgur.com/L6TATNu.jpg
when player types nextmap :http://i.imgur.com/wRfPQum.jpg

i don't think these are bugs i mean as far as i know but i'm just pointing stuff out
vase070 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 09-16-2016 , 20:48   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #330

Thanks for the infos @vase070. I did not knew these strange behaviors. It should show `[not yet voted on]` also when you entered the server. I will look into the code to know why it is happening and do it to show correctly the `amx_cvar amx_nextmap "map name"` and `[not yet voted on]`. They will be fixed at the next minor or major version release.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Reply



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 16:51.


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