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
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 05-24-2017 , 21:03   Re: Galileo v5.7.1-879 (a feature rich map voting plugin) | Last Update: 2017-05-24
Reply With Quote #711

I think it could be because of the AMXX 183 color chat, or the AMXX 182 color chat stock.
Can you record a galileo log within these messages which go to the console?

If you are using on your server the AMXX 183, you can try to compile the plugin with the AMXX 182 compiler and see if it still 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
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 05-24-2017 , 21:41   Re: Galileo v5.7.1-879 (a feature rich map voting plugin) | Last Update: 2017-05-24
Reply With Quote #712

Quote:
Originally Posted by addons_zz View Post
If you are using on your server the AMXX 183, you can try to compile the plugin with the AMXX 182 compiler and see if it still happens.
Fixed.

ReHLDS, AMXX 1.8.3 Half-Life Deathmatch (valve)
__________________
gabuch2 is offline
GoRiLliAz
Senior Member
Join Date: May 2013
Old 05-24-2017 , 21:59   Re: Galileo v5.7.1-879 (a feature rich map voting plugin) | Last Update: 2017-05-24
Reply With Quote #713

Hello
I'm testing the new version but I have a problem.
Which command I have to modify so that the RTV works only from numbers of players?

I have ReHLDS version: 3.0.0.535-dev

i compile with git 5116 and my version amxmodx is 5109 i have no problem as Gabe Iggy
__________________


Last edited by GoRiLliAz; 05-24-2017 at 22:03.
GoRiLliAz is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 05-24-2017 , 22:07   Re: Galileo v5.7.1-879 (a feature rich map voting plugin) | Last Update: 2017-05-24
Reply With Quote #714

Quote:
Originally Posted by Gabe Iggy View Post
Fixed.

ReHLDS, AMXX 1.8.3 Half-Life Deathmatch (valve)
I just noticed, is not a bug on AMXX 183. I looked into the `client_print_color` documentation at github,
and noticed it only works for counter-strike:
  1. https://github.com/alliedmodders/amxmodx/blob/be3ae83c44a92bc6d06d353ac6f4c975f30fad13/plugins/include/amxmodx.inc#L449
I need to update the code to not use the `client_print_color` when the amxx is compiled for other games modes.
Probably the only way to fix this is at runtime, as at compile time I cannot know where the user is going to put the `.amxx` file.

Quote:
Originally Posted by GoRiLliAz View Post
Hello
I'm testing the new version but I have a problem.
Which command I have to modify so that the RTV works only from numbers of players?
There is no cvar to limit the players count on RTV. There is only the percent ratio, calculated accordingly to the server players count:
Code:
// Specifies the ratio of players that need to rock the vote before a // vote will be forced to occur. When a single player is on the server, // that player can rock the vote and start an immediate vote, unless // the cvar `gal_rtv_commands` is set blocking it. // // To disabled this feature, set the cvar `gal_rtv_commands` to 0 // // Default: 0.60 gal_rtv_ratio 0.60
__________________
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; 05-24-2017 at 22:09.
addons_zz is offline
GoRiLliAz
Senior Member
Join Date: May 2013
Old 05-24-2017 , 22:10   Re: Galileo v5.7.1-879 (a feature rich map voting plugin) | Last Update: 2017-05-24
Reply With Quote #715

For there I was alone on the server I did RTV he threw me a vote, with the map of the file min_players and as I was the only one to vote it counted 100%
__________________

GoRiLliAz is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 05-24-2017 , 22:13   Re: Galileo v5.7.1-879 (a feature rich map voting plugin) | Last Update: 2017-05-24
Reply With Quote #716

For blocking it you can enable the option 8 on the cvar `gal_rtv_commands`:
Code:
// Indicates which say commands can be used to rock the vote. // The flags are additive. A value of 0 will disable this feature. // // 1  - Standard "rockthevote" command // // 2  - Shorthand "rtv" command // // 4  - Dynamic "rockthe<anything>vote" command (allows a player to type //     any one word (i.e. no spaces) that starts with "rockthe" and ends //     with "vote". Some examples might be: "rockthedamnvote", //     "rockthesillylittlevote", or "rockthefreakingvote". The total //     length of the word can not be longer than 31 characters. That //     leaves 20 characters for creativeness once you factor in the //     lengths of "rockthe" and "vote") // // 8  - Disable the RTV when there is only a single player on the server. // // 16 - Do not wait again the `gal_rtv_wait` time after the map extension. // // For example, if you want to use the options 1 and 2, use 1 + 2: // gal_rtv_commands 3 // // Instead of: // gal_rtv_commands 0 // // Default: 0 gal_rtv_commands 15
__________________
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; 05-24-2017 at 22:13.
addons_zz is offline
GoRiLliAz
Senior Member
Join Date: May 2013
Old 05-24-2017 , 22:14   Re: Galileo v5.7.1-879 (a feature rich map voting plugin) | Last Update: 2017-05-24
Reply With Quote #717

Thx i don't see my bad !
__________________

GoRiLliAz is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 05-24-2017 , 22:18   Re: Galileo v5.7.1-879 (a feature rich map voting plugin) | Last Update: 2017-05-24
Reply With Quote #718

No problem, neither I had saw it. I just had a felling this problem had already been solved once before.
So, I searched for the usage of the word `rtv` on the galileo configuration file, until I find it.
__________________
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; 05-24-2017 at 22:19.
addons_zz is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 05-25-2017 , 09:04   Re: Galileo v5.7.1-879 (a feature rich map voting plugin) | Last Update: 2017-05-24
Reply With Quote #719

Quote:
Originally Posted by addons_zz View Post
I need to update the code to not use the `client_print_color` when the amxx is compiled for other games modes.
What about is_running()?
__________________
gabuch2 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 05-25-2017 , 16:15   Re: Galileo v5.7.2-885 (a feature rich map voting plugin) | Last Update: 2017-05-25
Reply With Quote #720

Thanks, I fixed it creating a variadic macro:

1. https://github.com/addonszz/Galileo/commit/b4ca77e40e5d6d92c7a030e0aff060d8d964cf18

This way, you will use the AMXX 183 natives client_print() or client_print_color() and the
AMXX 182 color chat stock or the native client_print() if the colored chat is disabled.
Spoiler


However this will cut off the chat prefix. Now I do not know how to add the chat prefix within the macro.
So I reverted it back and kept only the AMXX 182 stock implementation for chat printing.

1. https://github.com/addonszz/Galileo/commit/d505e24ba9b10b4a6f9c87f8cd81716087802018

Released a new version:

2017-05-25 | v5.7.2-885
  1. Fixed the colored chat not working for AMXX 183 on most game mods.
__________________
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; 05-25-2017 at 17:05.
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 11:30.


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