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
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-07-2023 , 13:09   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1021

Quote:
Originally Posted by IC3k1ng View Post
So how can i make it to play many sounds by order? (Like if countdown value is 5 seconds, then make the client play sound "5.mp3", later "4.mp3", and etc to finish at number 1)
The original code already does this by formatting the string to play the sound corresponding to the number. So, you'll do the same thing except for your own sounds. Use "real_number" for a decimal digit or "word" for the word for the number.
__________________

Last edited by fysiks; 04-07-2023 at 13:10.
fysiks is offline
IC3k1ng
Senior Member
Join Date: Mar 2023
Location: Argentina
Old 04-07-2023 , 13:52   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1022

Okay, thank you. I will test it.
__________________


IC3k1ng is offline
IC3k1ng
Senior Member
Join Date: Mar 2023
Location: Argentina
Old 04-07-2023 , 14:30   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1023

I think that webcompilers doesn't support the original SMA file from the plugin. It gives me 10 errors without getting modified. So i will try with a local compiler.

And about the code, it should be something like this?:

PHP Code:
        // audio countdown
        
if( !( get_pcvar_numcvar_soundsMute ) & SOUND_COUNTDOWN ) )
        {
            new 
word];
            
num_to_wordreal_numberword);

            
client_cmd0"mp3 play ^"sound/5united/%s^""word );
        } 
__________________


IC3k1ng is offline
IC3k1ng
Senior Member
Join Date: Mar 2023
Location: Argentina
Old 04-10-2023 , 23:05   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1024

Hmmm, now i found another method to add it, but it works only for .wav files. But i can convert it.

PHP Code:
        // audio countdown
        
if( !( get_pcvar_numcvar_soundsMute ) & SOUND_COUNTDOWN ) )
        {
            new 
word];
            
num_to_wordreal_numberword);

            
client_cmd0"spk ^"sound/5united/%s^""word );
        } 
Does this works too? And if code is wrong, please fix it for me.
__________________


IC3k1ng is offline
IC3k1ng
Senior Member
Join Date: Mar 2023
Location: Argentina
Old 04-13-2023 , 09:16   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1025

Can someone compile the plugin with the code that i send? I tried with local compilers but it doesn't worked too.
I got many array errors that i don't know how to fix it.

Quote:
plugin.sma(5901) : warning 209: function "isToLoadNextWhiteListEndProcess" should return a value
plugin.sma(758 : error 047: array sizes do not match, or destination array is too small
plugin.sma(7794) : error 047: array sizes do not match, or destination array is too small
plugin.sma(7933) : error 047: array sizes do not match, or destination array is too small
plugin.sma(8073) : error 047: array sizes do not match, or destination array is too small
plugin.sma(14162) : error 047: array sizes do not match, or destination array is too small
plugin.sma(14166) : error 047: array sizes do not match, or destination array is too small
plugin.sma(14180) : error 047: array sizes do not match, or destination array is too small
plugin.sma(14281) : error 047: array sizes do not match, or destination array is too small
plugin.sma(14606) : error 047: array sizes do not match, or destination array is too small
plugin.sma(16512) : error 047: array sizes do not match, or destination array is too small
__________________


IC3k1ng is offline
MikaMika
Junior Member
Join Date: Sep 2023
Old 09-29-2023 , 19:37   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1026

I have successfully installed the plugin.

I have a few questions:

1.) Is this possible if no one votes or if it's just me on the server that no voting takes place? Or does the map always remain when there is no voting? Even if no one is on the server, the map should remain!

2.) Can you set it so that you are iced at the beginning of the last round and you can choose. Because currently the voting comes in the middle of the game in the last round.

3.) For me if you write timeleft it comes up twice. Once he announces 5 rounds and once 6. Why?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_13.jpg
Views:	45
Size:	40.6 KB
ID:	201680  

Last edited by MikaMika; 09-29-2023 at 19:38.
MikaMika is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 09-30-2023 , 10:08   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1027

Quote:
Originally Posted by MikaMika View Post
Because currently the voting comes in the middle of the game in the last round.
This was designed intentionally to prevent voting from interfering with weapon purchases. If you've checked the configuration file and found no setting for this, you'll need to modify the code directly to change this behavior.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
MikaMika
Junior Member
Join Date: Sep 2023
Old 09-30-2023 , 19:15   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1028

Quote:
Originally Posted by addons_zz View Post
This was designed intentionally to prevent voting from interfering with weapon purchases. If you've checked the configuration file and found no setting for this, you'll need to modify the code directly to change this behavior.
I have seen it on a server. The menu is similar. Only there it is then that the players are freed for 5 seconds and then you can buy weapons.
Pity, i cant code

and this?

1.) Is this possible if no one votes or if it's just me on the server that no voting takes place? Or does the map always remain when there is no voting? Even if no one is on the server, the map should remain!

Last edited by MikaMika; 09-30-2023 at 19:17.
MikaMika is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-30-2023 , 20:53   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1029

Quote:
Originally Posted by MikaMika View Post
1.) Is this possible if no one votes or if it's just me on the server that no voting takes place? Or does the map always remain when there is no voting? Even if no one is on the server, the map should remain!
You mean this feature:

Quote:
Originally Posted by addons_zz View Post
The Galileo can:
...
10. Configure a map change to a popular map when the server is empty too much time.
...
Search for "emptyserver" in the config file (I assume there is a config file but not sure since I don't use this plugin; there are cvars relating to "emptyserver").
__________________
fysiks is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 09-30-2023 , 22:27   Re: Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16
Reply With Quote #1030

Quote:
Originally Posted by fysiks View Post
Search for "emptyserver" in the config file.
Thanks for helping; you're right; I had forgotten about that. If one searches the config file for 'empty,' they should find some relevant settings. When in doubt, it's a good idea to read through the entire config file.
__________________
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 14:51.


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