Make afk (non) votes not count
Grrr. This has happened on many, many occasions:
Join a server, people (sometimes only one) are afk and then I can't load things. Not to name anybody (deadwrong =p) but there are a lot of people that do this, some are even admins, and even though they are great people and I don't mind them idling or afking, it makes voting annoying.
I'm sitting in the server right now waiting for someone to join so I can pass a vote. :rolleyes:
Join a server, people (sometimes only one) are afk and then I can't load things. Not to name anybody (deadwrong =p) but there are a lot of people that do this, some are even admins, and even though they are great people and I don't mind them idling or afking, it makes voting annoying.
I'm sitting in the server right now waiting for someone to join so I can pass a vote. :rolleyes:
Afk Votes.jpg
172.4K
Comments
As a summary, the voting system should ignore inactive players and only register those active as if those afk had left the game and those active are the remaining players.
i dont think it's complicated at all
you could log their Last Action, (using a con tool, a chat command, or even the last word spoken), and if the time stamp is over 10 minutes from the one now, count them out of the vote. which can be done easy with an If or something.
Or you could implement my system's way of doing it, so long as pieces to load remain, the building loads.
Of course this would not only "not count" AFK'ers, but also anyone who doesn't vote. And this shouldn't be too hard to implement, I have seen it on servers in the past.
Something to consider.
EDIT
To Phantom: That isn't a bad idea, but with SI pieces go over 1,000. So either the piece count it capped at 900something (which can be annoying) or people can load 5,000 piece buildings multiple times (which would be very annoying).
To make Phantom139's way work, one would need to count the pieces in the save file and compare it to the count of deployed pieces. Then, if there will be enough pieces left for other users, load it. Otherwise, don't.
Exactly, My system saves that data to a file which outputs that information to the client's load building hud. If there are not enough pieces available, the link is red and will not allow the building to be loaded, otherwise, the building can be loaded.
That is why I think they need to make it so afk votes not count.
simple, the system checks to see if the server is equipped with SI.
It seems to me that the easiest solution is to just ignore people who don't vote.
EDIT: Wow I'm inpressed! A constructive thread!
That is what I am trying to say =p
And yeah, if it only worked for loading votes that would make sense.
That would be a client-side script which wouldn't work because it would depend on the player having the script so that the system works.
A player may not know about the script, or choose not to get the script.
Therefore, your suggestion is invalid.
Wouldn't that be one sided? I mean, only Dead or the Admins got it. Then when the people wanted it and were given it they would just spam buildings. And we all know that's no fun to spam buildings and lag to death...
Although th Admins could give it to the people they know wouldn't spam buildings and such. (I'm not very good with scripts and the like so forgive me for that.)
PS. Spin nice sig..hahah
When a vote is initiated, they are stricken temporarily from the total players count, or whatever device the server uses to calculate total players for votes.
As i said i haven't coded in a while, and am unfamiliar with the voting process. My proposal wont work if the client derives it's own total player count.
But then again, that could be a null issue, because if you just make it so the server ignores non-voters and only accepts positive of negative votes to calculate a result, it could work.
An admin could have a clientside script to see how many people are afk, then look at how many yes votes there are for a vote. If the percentage of yes votes to non-afk people is high enough, they could auto pass the vote. It requires an admin, even if it is just an afk admin, but it could be done...
But, of course.. a serverside solution would be better...
@Deadwrong: