Re: Galileo 1.1.290 (a feature rich map voting plugin)
No, you're wrong. It won't lag with that because, again :
- It won't happen often - You won't loop through all the maps all the time - equal() is not an intensive native Yes, it can be optimized but that's not a major issue. Using TravTrie, you would need to recode severals parts, thus more testing and such and like Brad said, that's not the priority. Still Brad is interested by your suggestion, and I'm sure he will consider another time. So, wait & see. |
Re: Galileo 1.1.290 (a feature rich map voting plugin)
hy.this plugin give 5 maps for voting and after 1-5 min vot again 2 from those 5 maps?:?
and can i modify the time when will start the vote? |
Re: Galileo 1.1.290 (a feature rich map voting plugin)
Quote:
|
Re: Galileo 1.1.290 (a feature rich map voting plugin)
Arkshine
My tests: http://s44.radikal.ru/i104/1012/35/4a655a6b8d2b.png Used: PHP Code:
Quote:
Quote:
Quote:
|
Re: Galileo 1.1.290 (a feature rich map voting plugin)
Thank you for your benchmarks. That's something I like to see rather than the generic "it's better". :)
This will be looked at sometime in the future. It's not a high priority (though it appears to be an easy change) because while it's faster, both methods are still less than a thousandth of a second to run. The change wouldn't be perceptible. Thanks again for doing the dirty work of benchmarking it. |
Re: Galileo 1.1.290 (a feature rich map voting plugin)
I'm going to restore the previous functionality of the vote display unless people like the gentler version in which case I'll try to make it a wee bit better.
Currently When a vote begins, the server tells Galileo if a player already has a menu displayed. If the server says the player does, Galileo will patiently wait for it to go bye-bye, checking every second until the vote ends. The problem with this method is that the server will sometimes say the player has a menu displayed when the player doesn't. Proposed When a vote begins, Galileo will overwrite any existing menus. Everyone will always be shown a menu. This is how it worked prior to the 1.1.290 release. The problem with this method is that some servers make a lot of use of menus and it makes it likely that players will have a menu for something else overwritten. Pain in the Ass Option This is what I was going to do before I realized how much a pain in the ass it'd be, both for me writing it and for any players that it will apply to. I was going to change the way it currently works by telling a player, that the voting menu didn't show for, they could type "vote" and have the voting menu display, regardless of the server saying there's already a menu displayed. So basically, if at least a few people like the way it currently works (except for the issue of it not showing sometimes) then I'll do it. Otherwise, I'm just reverting it back to the way it used to work. People basically have a day or two to voice their opinion. |
Re: Galileo 1.1.290 (a feature rich map voting plugin)
There might yet be another way (though I doubt it). Whoever is using the SVN version of Galileo, can you please PM me immediately? I have a version with some additional debug code that I want you to use that I'll need to personally send you.
|
Re: Galileo 1.1.290 (a feature rich map voting plugin)
I think you could mix the "currently" and "Pain in the Ass Option" since probability that the player isn't open the menu are less than those that are now (I think). Then, a variable stores the player who voted, and after 3 seconds that the vote has started, get the players that haven't voted and send a message saying "If you haven't voted and you want to vote, write / galvote" or something).
PD: description about the new method ? :D I am lazy to send a pm :D sorry for my english :) |
Re: Galileo 1.1.290 (a feature rich map voting plugin)
Must say i like the current version, just seems better in my opinion.
|
Re: Galileo 1.1.290 (a feature rich map voting plugin)
it is possible that if are less then 10 players on serv,galileo will give to vote only maps fy_ awp_ and 35hp?and if are more then 10 players,maps de_ and cs_?or selective maps from 2 file text like small_maps.txt(only if are less then 10 players) and big_maps.txt(10>players)?
|
All times are GMT -4. The time now is 22:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.