This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Players Votes (v1.5.0) Updated Aug 09 2009


Post New Thread Reply   
 
Thread Tools Display Modes
NouveauJoueur
SourceMod Donor
Join Date: May 2009
Old 08-09-2009 , 10:00   Re: Players Votes (v1.4.1) Updated May 30 2009
Reply With Quote #151

Feature Request : Admin's names with immunity wont be show in the voteban / votekick / votemute list.
It would be a major exploit fixed.
NouveauJoueur is offline
The Resident
Member
Join Date: May 2008
Old 08-09-2009 , 13:13   Re: Players Votes (v1.4.1) Updated May 30 2009
Reply With Quote #152

Quote:
Originally Posted by Raptor10 View Post
Hi all, I got following errors but I m not able to fix them..Can anybody help me pls ?

thanks

L 07/04/2009 - 20:257: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/04/2009 - 20:257: [SM] Native "Format" reported: Language phrase "extend map by" not found
L 07/04/2009 - 20:257: [SM] Displaying call stack trace for plugin "playersvotes.smx":
L 07/04/2009 - 20:257: [SM] [0] Line 954, /home/groups/alliedmodders/forums/files/3/8/0/3/8/42940.attach:isplayVoteMenu()
L 07/04/2009 - 20:257: [SM] [1] Line 798, /home/groups/alliedmodders/forums/files/3/8/0/3/8/42940.attach:rocessClientVoteCommand()
L 07/04/2009 - 20:257: [SM] [2] Line 875, /home/groups/alliedmodders/forums/files/3/8/0/3/8/42940.attach::Command Say
Quote:
Originally Posted by mgunnett View Post
Ah, I am having the same problem and Grabbing the latest translation file provided by this thread does nothing to fix the problem. I've tried the one uploaded recently from FrozenHaxxor with the same result.
What directory are you installing the translation file into? Typically it should be \addons\sourcemod\translations. Could you also send the file to me?

As a temporary workaround, you can set sm_votemap_extend "-1.0" to disable map extensions. That should sweep this particular problem under the rug for now...

Last edited by The Resident; 08-09-2009 at 14:57. Reason: added workaround.
The Resident is offline
The Resident
Member
Join Date: May 2008
Old 08-09-2009 , 13:24   Re: Players Votes (v1.4.1) Updated May 30 2009
Reply With Quote #153

Quote:
Originally Posted by NouveauJoueur View Post
Feature Request : Admin's names with immunity wont be show in the voteban / votekick / votemute list.
It would be a major exploit fixed.
What game is this under? Depending on which particular game, the Admin names may show up but not be selectable (IE they are disabled). I am updating to simply not even show immune admins. If people are actually able to vote against the immune people, then you need to take a closer look at your admin groups/immunity levels and the PV config file, and make sure you have either the immunity level or immune groups correctly specified there.
The Resident is offline
The Resident
Member
Join Date: May 2008
Old 08-09-2009 , 13:49   Re: Players Votes (v1.4.1) Updated May 30 2009
Reply With Quote #154

Quote:
Originally Posted by daleGEND View Post
Is the next version going to include a way to bring up a vote question people can see in-game. Like if one person wants to start a votekick (similar to L4d) it brings up a yes/no scenario and they can vote. Maybe even a third option of "decline" if they don't wany any part of the vote that does not count either way?
Unfortunately session-based voting is fundamentally very different from what PV does internally. There's just no way to add voting sessions without a MAJOR redesign of PV, and I just personally don't have the time for that.

If anyone were to offer development assistance or outright add voting sessions, I would definitely welcome the help.
The Resident is offline
NouveauJoueur
SourceMod Donor
Join Date: May 2009
Old 08-09-2009 , 14:06   Re: Players Votes (v1.4.1) Updated May 30 2009
Reply With Quote #155

Quote:
Originally Posted by The Resident View Post
What game is this under? Depending on which particular game, the Admin names may show up but not be selectable (IE they are disabled). I am updating to simply not even show immune admins. If people are actually able to vote against the immune people, then you need to take a closer look at your admin groups/immunity levels and the PV config file, and make sure you have either the immunity level or immune groups correctly specified there.

The exploit is that if an admin is connected, with immunity, he will be immune, but when he disconnects, his name stay into the voteban, so if someone connect with his name, he'll be immune too. I had this problem on my ba_jail server where a guy came (not for long cause I banned him) and started to free kill, no one could voteban him cause of this stolen immunity.

Edit : the game is Counter-Strike: Source
NouveauJoueur is offline
The Resident
Member
Join Date: May 2008
Old 08-09-2009 , 14:52   Re: Players Votes (v1.4.1) Updated May 30 2009
Reply With Quote #156

Quote:
Originally Posted by NouveauJoueur View Post
The exploit is that if an admin is connected, with immunity, he will be immune, but when he disconnects, his name stay into the voteban, so if someone connect with his name, he'll be immune too. I had this problem on my ba_jail server where a guy came (not for long cause I banned him) and started to free kill, no one could voteban him cause of this stolen immunity.

Edit : the game is Counter-Strike: Source
Edit: Are you sure about that sequence of events? 1. Immune admins cannot be voted against, and 2. the only time a user's name gets stored for voteban is when a vote is actually cast against them. I don't see any way for an immune admin's name to get stored. The voteban persistence stuff works either on IP address or Steam ID, depending on whether the client ever authenticates with a valid Steam ID. The player's name only matters as something to show in the menu, and it turns out that the menu allows multiple items with identical strings, after all.

As I said earlier, the next version of the plugin will simply not even list immune admins, so the exploit (along with some other bugs) should be fixed or at least worked-around. I plan on having the update released tonight.

Last edited by The Resident; 08-09-2009 at 17:22.
The Resident is offline
The Resident
Member
Join Date: May 2008
Old 08-09-2009 , 23:45   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #157

1.5.0 is released! I bumped up to 1.5 because of the new team-restriction feature, which is only beta-quality at this point, but represents a radical use-case change. If anyone uses it regularly, please let me know how it's working out. Some other bugs and smaller changes went in also.

Unfortunately I wasn't able to add all the new features I had hoped for this release. They will have to wait for version 1.5.1 or 1.6.0.
The Resident is offline
GEVREKA
Member
Join Date: Sep 2006
Old 08-09-2009 , 23:55   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #158

Code:
PrintToChatAll ("VoteBan: %s changed name to %s!!", sStoredName, sClientName);
To:

Code:
PrintToChatAll ("%t: %s changed name to %s!!", sStoredName, sClientName);
+ new trans maybe ?
GEVREKA is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 08-10-2009 , 07:12   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #159

Thanks for a nice plugin Resident
__________________
shustas is offline
-Sky
Member
Join Date: May 2009
Old 08-10-2009 , 07:22   Re: Players Votes (v1.5.0) Updated Aug 09 2009
Reply With Quote #160

hi, any idea what happened on the error?

Quote:
/groups/sourcemod/upload_tmp/textZdc5I1.sp(140) : error 001: expected token: ",", but found "-identifier-"
/groups/sourcemod/upload_tmp/textZdc5I1.sp(140) : error 017: undefined symbol "number"
/groups/sourcemod/upload_tmp/textZdc5I1.sp(140) : error 017: undefined symbol "of"
/groups/sourcemod/upload_tmp/textZdc5I1.sp(140) : fatal error 127: too many error messages on one line
__________________

-Sky 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 23:09.


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