Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 07-23-2016 , 02:56   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #291

Quote:
Originally Posted by Shattered Heart Lynx View Post
Hello addons_zz

Great job on everything you have done so far.
You are welcome.


Quote:
Originally Posted by Shattered Heart Lynx View Post
Do you mind expanding Sven Co-op support?

You can use is_running("svencoop") to add some extra checks and to manipulate some specific cvars.

Examples:
PHP Code:
set_pcvar_stringg_cvar_amx_nextmapnextMap );
if(
is_running("svencoop"))
{
    
set_cvar_string"mp_nextmap_cycle"nextMap );

This controls the Next Map: [map name] text which appears in the scoreboard, which is tied to the mp_nextmap_cycle cvar. I know there are more references to amx_nextmap in your code but it was just an example.

Also:
PHP Code:
#include <hamsandwich> 
[plugin_init()]
PHP Code:
if(is_running("svencoop"))
{
    
RegisterHam(Ham_Use"game_end""voteNextmap");

PHP Code:
voteNextmap()
{
    [
call the vote next map methodto immediately change]

This allows the players to choose the nextmap everytime they complete the current one. I tested with server_cmd("gal_startvote") and it works (executing the command because it's a different .amxx plugin), and it would be better if you call the function directly.

Thanks in advance.
I am working on this, as I improve some plugin maintainability. Moreover, there is something more needed from a mapchooser for Sven Coop?
I saw this other plugin 'NextMap with Sven Co-op Fix'. You think, is there something not covered here yet or with the next update you suggested, everything is well covered?
__________________
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; 07-23-2016 at 02:57. Reason: misspellings
addons_zz is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 07-23-2016 , 19:30   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #292

NextMap with Sven Co-op Fix covers an specific issue, it makes the default map chooser plugin (AMXX's Nextmap) to NOT move the cursor on map series. Let's take for example this mapcycle.txt.

Code:
[...]
afrikakorps1
sc_another
[...]
If the nextmap in afrikakorps1 is sc_another, it will maintain it in afrikakorps2, and afrikakorps3 (these are not in the mapcycle because they are continuations to afrikakorps1 and 2, respectively).

Sadly it only works with the vanilla nextmap.amxx plugin.

If you can implement something like this in Galileo it would be great as well.
__________________
gabuch2 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 07-23-2016 , 20:29   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #293

Quote:
Originally Posted by Shattered Heart Lynx View Post
Sadly it only works with the vanilla nextmap.amxx plugin.

If you can implement something like this in Galileo it would be great as well.
Will be pleasure to implement something like it.
This feature is coming on the next version as the others already asked.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
BeNq!
Senior Member
Join Date: Mar 2009
Old 07-23-2016 , 22:47   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #294

Hello,

Please next bugs fix.

AD 1. Spam in console:
Code:
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
AD 2. When empty the server, HLTV kicked.
BeNq! is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 07-23-2016 , 23:49   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #295

Quote:
Originally Posted by BeNq! View Post
Hello,

Please next bugs fix.

AD 1. Spam in console:
Code:
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
AD 2. When empty the server, HLTV kicked.
It does not do it on my server.

Paste here your log as this other you send last time:
Quote:
Originally Posted by BeNq! View Post
Fix please: "map change failed: "," not found on server."

Log console:

Code:
L 06/07/2016 - 16:19:14: Server cvar "amx_language" = "en"
L 06/07/2016 - 16:19:14: Server cvar "amx_client_languages" = "1"
L 06/07/2016 - 16:19:14: Server cvar "amx_language" = "pl"
L 06/07/2016 - 16:19:15: Log file started (file "cstrike/addons/amxmodx/logs/_galileo.log") (game "cstrike") (amx "1.8.2")
L 06/07/2016 - 16:19:15: {1.0000} 



GALILEO PLUGIN VERSION v2.6.1-88 INITIATING...
L 06/07/2016 - 16:19:15: Server cvar "gal_version" = "v2.6.1-88"
L 06/07/2016 - 16:19:15: {1.0000} gal_debug_level: 1048575 | 8
L 06/07/2016 - 16:19:15: Server cvar "gal_debug_level" = "1048575 | 8"
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON nextmap_plugin_init(0)
L 06/07/2016 - 16:19:15: Server cvar "amx_nextmap" = "$10000$"
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON configureEndGameCvars(0)
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON configureTheVotingMenus(0)
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON register_dictionary_colored(1) | dictionaryFile: galileo.txt
L 06/07/2016 - 16:19:15: {1.0000} EXITING PLUGIN_INIT()...
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: Server cvar "map_spawns" = "T(20) CT(20)"
L 06/07/2016 - 16:19:15: Server cvar "jtp10181" = "chute"
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON plugin_cfg(0)
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON reset_rounds_scores(0)
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON loadPluginSetttings(0)
L 06/07/2016 - 16:19:15: {1.0000} ( loadPluginSetttings ) dir_configs_path: addons/amxmodx/configs/galileo, data_dir_path: addons/amxmodx/data/galileo,
Executing AMX Mod X Configuration File 
Czestotliwosc wyswietlania wiadomosci: 5:00 minut
map <levelname> : changes server to specified map
L 06/07/2016 - 16:19:15: Server cvar "mp_timelimit" = "nie"
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map change failed: 'wy' not found on server.

map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
map change failed: ',' not found on server.

map <levelname> : changes server to specified map
map <levelname> : changes server to specified map
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON initializeGlobalArrays(0)
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: {1.0000}  The current map is [de_dust2].
L 06/07/2016 - 16:19:15: {1.0000}  The next map is [$10000$]
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON cacheCvarsValues(0)
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON configureRTV(0)
L 06/07/2016 - 16:19:15: {1.0000} ( map_loadNominationList() ) cvar_nomMapFilePath nomMapFilePath: #
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: {1.0000}     map_populateList(...) Loading the MAPCYCLE! mapFilePath: mapcycle.txt
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 0, loadedMapName: $10000$
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 1, loadedMapName: aim_ak_colt_pool
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 2, loadedMapName: de_airstrip
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 3, loadedMapName: cs_havana
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 4, loadedMapName: de_chateau
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 5, loadedMapName: de_aztec
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 6, loadedMapName: as_oilrig
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 7, loadedMapName: cs_siege
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 8, loadedMapName: de_cbble
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 9, loadedMapName: de_dust
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 10, loadedMapName: cs_747
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 11, loadedMapName: de_prodigy
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 12, loadedMapName: cs_assault
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 13, loadedMapName: cs_office
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 14, loadedMapName: cs_italy
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 15, loadedMapName: cs_backalley
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 16, loadedMapName: cs_militia
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 17, loadedMapName: de_train
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 18, loadedMapName: de_dust2
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 19, loadedMapName: de_inferno
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 20, loadedMapName: de_nuke
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON configureServerStart(0)
L 06/07/2016 - 16:19:15: {1.0000} ( getRestartsOnTheCurrentMap ) lastMapChangedFilePath: addons/amxmodx/data/galileo/lastChangedMapName.dat, mapToChange: de_dust2
L 06/07/2016 - 16:19:15: {1.0000} ( getRestartsOnTheCurrentMap ) lastMapChangedName: de_dust2
L 06/07/2016 - 16:19:15: {1.0000} lastMapChangedCountString: 0, lastMapChangedCount: 0
L 06/07/2016 - 16:19:15: {1.0000} ( getRestartsOnTheCurrentMap ) mapToChange is equal to lastMapChangedName.
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: {1.0000}     map_populateList(...) Loading the mapFilePath: mapcycle.txt
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 0, loadedMapName: $10000$
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 1, loadedMapName: aim_ak_colt_pool
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 2, loadedMapName: de_airstrip
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 3, loadedMapName: cs_havana
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 4, loadedMapName: de_chateau
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 5, loadedMapName: de_aztec
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 6, loadedMapName: as_oilrig
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 7, loadedMapName: cs_siege
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 8, loadedMapName: de_cbble
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 9, loadedMapName: de_dust
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 10, loadedMapName: cs_747
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 11, loadedMapName: de_prodigy
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 12, loadedMapName: cs_assault
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 13, loadedMapName: cs_office
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 14, loadedMapName: cs_italy
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 15, loadedMapName: cs_backalley
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 16, loadedMapName: cs_militia
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 17, loadedMapName: de_train
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 18, loadedMapName: de_dust2
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 19, loadedMapName: de_inferno
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 20, loadedMapName: de_nuke
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: {1.0000} ( configureTheMapcycleSystem ) possibleNextMapPosition: 19,
L 06/07/2016 - 16:19:15: {1.0000} restartsOnTheCurrentMap: 1, currentMap: de_dust2, possibleNextMap: de_inferno
L 06/07/2016 - 16:19:15: {1.0000} ( configureTheNextMapPlugin ) NP_g_nextMapCyclePosition: 19, possibleNextMap: de_inferno
L 06/07/2016 - 16:19:15: Server cvar "amx_nextmap" = "de_inferno"
L 06/07/2016 - 16:19:15: {1.0000} ( configureTheMapcycleSystem ) restartsOnTheCurrentMap < MAX_SERVER_RESTART_ACCEPTABLE
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: {1.0000} I AM ENTERING ON configureServerMapChange(0)
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: {1.0000}     map_populateList(...) Loading the mapFilePath: addons/amxmodx/configs/galileo/emptycycle_maplist.txt
L 06/07/2016 - 16:19:15: {1.0000} map_populateList() 0, loadedMapName: de_dust2
L 06/07/2016 - 16:19:15: {1.0000} 
L 06/07/2016 - 16:19:15: {1.0000} ( map_loadEmptyCycleList() ) g_emptyCycleMapsNumber = 1
This time enable the debug on the level 23 as below, and recompile the plugin:

__________________
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; 07-23-2016 at 23:57. Reason: misspellings
addons_zz is offline
ositoe
Member
Join Date: Nov 2009
Location: Palmdale, CA
Old 07-26-2016 , 14:30   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #296

was wondering if there is a way to add custom vote sound to this plugin? If there is where can i find the sound to change it?
__________________
It isnt time to Hibernate????
ositoe is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 07-26-2016 , 14:42   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #297

Quote:
Originally Posted by ositoe View Post
was wondering if there is a way to add custom vote sound to this plugin? If there is where can i find the sound to change it?
You can insert a sound to be played here:
https://github.com/addonszz/Galileo/blob/f8352e5990b7886609b2bdec581e8a07340c0d85/scripting/galileo.sma#L5193-L5198

But may be you will also want to disable the count down sound. To do that, to remove/comment this lines:
https://github.com/addonszz/Galileo/blob/f8352e5990b7886609b2bdec581e8a07340c0d85/scripting/galileo.sma#L5223-L5230

Or just set the cvar 'gal_sounds_mute' to 2, on the configuration file:
Code:
// Indicates if any sounds should be muted during the various events in // which they'd normal be spoken. // The flags are additive. A value of 0 will not mute any of the sounds. // 1 - "get ready to choose a map" // 2 - "7", "6", "5", "4", "3", "2", "1" // 4 - "time to choose" // 8 - "runoff voting is required" gal_sounds_mute 2
__________________
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; 07-26-2016 at 14:44. Reason: update
addons_zz is offline
ositoe
Member
Join Date: Nov 2009
Location: Palmdale, CA
Old 08-05-2016 , 19:33   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #298

Awesome ty bro!!!!
__________________
It isnt time to Hibernate????
ositoe is offline
Adryyy
Member
Join Date: Oct 2011
Old 08-06-2016 , 15:58   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #299

When the menu pops up for a vote, and i press 1-9 i don't know who ) play radio sounds
Adryyy is offline
Send a message via Yahoo to Adryyy Send a message via Skype™ to Adryyy
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 08-06-2016 , 16:03   Re: Galileo v3.2.2-248 (a feature rich map voting plugin) | Last Update: 2016.07.20
Reply With Quote #300

Quote:
Originally Posted by Adryyy View Post
When the menu pops up for a vote, and i press 1-9 i don't know who ) play radio sounds
This plugin does not play radio sounds when the vote menu pops. Try disable all plugin, except Galileo and the AMXX Default ones, and see if this happens.
__________________
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 21:39.


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