Raised This Month: $ Target: $400
 0% 

/votekick say command for players


Post New Thread Reply   
 
Thread Tools Display Modes
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 05-23-2008 , 12:54   Re: /votekick say command for players
Reply With Quote #41

Thanks Ramono! I will test the update first non public as suggested and if it works public. I will post the result within a few days.
__________________
Luck? Luck is only one feeling of amazement concerning a seemingly incidental circumstance which one himself must create.
Maurice is offline
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 05-23-2008 , 17:30   Re: /votekick say command for players
Reply With Quote #42

The update works flawlesly, thanks Ramono! After some hours on a public server no VoteKick_STEAM_ID's 0 are added and only VoteKick_STEAM_ID's 1 are stored as it should be.

Maybe the same fix can be maded for the VoteKickTime_STEAM_ID's because after such a temporary block of the /votekick usage has expired the VoteKickTime_STEAM_ID with a number (a system time) behind it stay stored in the vault.ini while it isn't used anymore. If a new VoteKickTime_STEAM_ID for the same ID would be maded it get overrided. This VoteKickTime_STEAM_ID's are not that much writed as the VoteKick_STEAM_ID's in the vault.ini wichof if it isn't fixable it is not a big problem.
__________________
Luck? Luck is only one feeling of amazement concerning a seemingly incidental circumstance which one himself must create.
Maurice is offline
mats
Senior Member
Join Date: Jan 2005
Old 06-01-2008 , 09:45   Re: /votekick say command for players
Reply With Quote #43

Quote:
Originally Posted by Ramono View Post
Try this

No idea whenever it works or not.
Instead of setting the "VoteKickTime_STEAM:ID" to 0
It deletes the line.
This is the beta version with AMXBANS support,
set "amx_votekickamxmbans" to 1 if u use amxbans.

I suggest you to try it out before using it on your public, I don't have a server. and don't feel like making one since I don't play CS anymore.

Post if it works please. maybe I will update the main post.
I use this version with amxbans, but i think it bans the wrong person, the person who started the vote

amxbans:
Code:
01-06-08  	France {FR}^HastaSiempreComandante^  	[NL] NiceMaps - 24/7 Dust2 only www.nice-maps.nl  	66" "Votekicked by 60 procent or more, 10 minutes ban"  	10 minutes
votekick.log
Code:
06/01/08 15:28:38: {FR}^HastaSiempreComandante^ STEAM_** started a votekick against [Cheater]6y6y__7a7a STEAM_** Reason to votekick:
cheater
Vote succeeded, user kicked
__________________
mats is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 06-01-2008 , 10:25   Re: /votekick say command for players
Reply With Quote #44

I can't confirm this, By looking at the code its similair to the old version.
If it does kick the wrong user in this version it should also do it in the normal version.

Maybe its because you use nosteam? I have no idea how the STEAM ID's work there. So it might not be.
__________________
Um, hi.
Ramono is offline
mats
Senior Member
Join Date: Jan 2005
Old 06-01-2008 , 10:41   Re: /votekick say command for players
Reply With Quote #45

Quote:
Originally Posted by Ramono View Post
I can't confirm this, By looking at the code its similair to the old version.
If it does kick the wrong user in this version it should also do it in the normal version.

Maybe its because you use nosteam? I have no idea how the STEAM ID's work there. So it might not be.
If you do amx_ban PLAYERNAME
it will ban the IP if its a nosteam player
I don't know how you ban? because if it is amx_ban steamid it will not work
__________________
mats is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 06-01-2008 , 10:54   Re: /votekick say command for players
Reply With Quote #46

It does ban by steamid

amx_ban 10 STEAM_0:123456789

thats what the plugin does.
__________________
Um, hi.
Ramono is offline
mats
Senior Member
Join Date: Jan 2005
Old 06-01-2008 , 11:12   Re: /votekick say command for players
Reply With Quote #47

Quote:
Originally Posted by Ramono View Post
It does ban by steamid

amx_ban 10 STEAM_0:123456789

thats what the plugin does.
can you change it to do amx_ban 10 PLAYERNAME
that is the best way for amxbans (also for steam servers) then it will get all the information from the player, name,ip,steamid
__________________
mats is offline
hcxx
Senior Member
Join Date: Jan 2007
Location: 127.0.0.1
Old 06-01-2008 , 12:27   Re: /votekick say command for players
Reply With Quote #48

no steam is not supported in here
hcxx is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 06-01-2008 , 16:18   Re: /votekick say command for players
Reply With Quote #49

It takes me 5 seconds to get a new ip. So banning for IP is crap.
The STEAM_ID is the only real fixed information you can get.
The best way for amxbans is to run a steam-server.
__________________

Mordekay is offline
AleXi
Member
Join Date: Jun 2008
Location: next to my computer
Old 06-02-2008 , 11:16   Re: /votekick say command for players
Reply With Quote #50

nice job, very useful ;-)
__________________
if you +/- karma, please leave your name and reason.
AleXi 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 06:48.


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