Raised This Month: $32 Target: $400
 8% 

Vote Ban


Post New Thread Reply   
 
Thread Tools Display Modes
WaSaAa1
Senior Member
Join Date: Dec 2011
Location: Andalusia (Spain)
Old 10-27-2012 , 05:57   Re: Vote Ban
Reply With Quote #101

The problem is the wrong code, this other plugin is compatible on all resolutions, you could see your code and correct the other plugin.

http://forums.alliedmods.net/showthread.php?p=108735

WaSaAa1 is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 10-28-2012 , 15:38   Re: Vote Ban
Reply With Quote #102

You would be more helpful if you have provided to me screenshot and detailed problem description.
I've got all needed info and I've started working on new code as said before.
__________________
isotonic is offline
WaSaAa1
Senior Member
Join Date: Dec 2011
Location: Andalusia (Spain)
Old 11-08-2012 , 09:45   Re: Vote Ban
Reply With Quote #103

as I can make it compatible with Advanced Bans (Real Time) by Exolent?
WaSaAa1 is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 11-08-2012 , 09:50   Re: Vote Ban
Reply With Quote #104

New plugin has been made already.
Yeah there are options to support Advanced Bans, AMXX Ban, AMXBans. So you don't need make it by your own ;) Just wait. I'll post plugin when I have time.
__________________
isotonic is offline
WaSaAa1
Senior Member
Join Date: Dec 2011
Location: Andalusia (Spain)
Old 11-09-2012 , 04:37   Re: Vote Ban
Reply With Quote #105

I need it now please help or upload the new plugin.
WaSaAa1 is offline
WaSaAa1
Senior Member
Join Date: Dec 2011
Location: Andalusia (Spain)
Old 11-11-2012 , 12:29   Re: Vote Ban
Reply With Quote #106

If I change this to work for Advanced Bans (Real Time) by Exolent?

Code original
PHP Code:
            case 1:
            {
                new 
szAuthid[32];
                
get_user_authid(idszAuthidcharsmax(szAuthid));
                
server_cmd("kick #%d;wait;wait;wait;banid %d ^"%s^";wait;wait;wait;writeid"get_user_userid(id), get_pcvar_num(g_iPcvar[CVAR_BANTIME]), szAuthid);
            }
            case 
2:
            {
                new 
szIp[32];
                
get_user_ip(idszIpcharsmax(szIp), 1);
                
server_cmd("kick #%d;wait;wait;wait;addip %d ^"%s^";wait;wait;wait;writeip"get_user_userid(id), get_pcvar_num(g_iPcvar[CVAR_BANTIME]), szIp);
            } 
Code for Advanced Bans (Real Time) by Exolent?
PHP Code:
            case 1:
            {
                new 
szAuthid[32];
                
get_user_authid(idszAuthidcharsmax(szAuthid));
                
server_cmd("amx_ban %d ^"%s^" VoteBan"get_pcvar_num(g_iPcvar[CVAR_BANTIME]), szAuthid);
            }
            case 
2:
            {
                new 
szIp[32];
                
get_user_ip(idszIpcharsmax(szIp), 1);
                
server_cmd("amx_banip %d ^"%s^" VoteBan"get_pcvar_num(g_iPcvar[CVAR_BANTIME]), szIp);
            } 

Last edited by WaSaAa1; 11-11-2012 at 12:29.
WaSaAa1 is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 11-11-2012 , 17:15   Re: Vote Ban
Reply With Quote #107

No. Use the code like this:
PHP Code:
server_cmd"amx_ban #%d %d ^"%s^""iUseridiBanTimeszReason 
Есть хорошее выражение на этот случай: поперёд батьки в пекло.
Don't ever try to translate that phrase.
__________________
isotonic is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 02-08-2013 , 17:59   Re: Vote Ban
Reply With Quote #108

It is 2 months passed after successor plugin was released for Russian community. And all bugs and wishes got fixed. But I still haven't any time to translate whole description. So I wonder if someone interested in could make that? So I'll be able to release unique rtv-style voteban here too.
__________________
isotonic is offline
girotto000
Senior Member
Join Date: Feb 2013
Old 05-11-2013 , 13:18   Re: Vote Ban
Reply With Quote #109

I have some questions about this plugin!
It's a very good plugin, but i found some things like:
-ADM's can be banned
-Player can vote in more than one player, so one palyer can vote in everybody on the server

Is this normal?
girotto000 is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 05-12-2013 , 18:37   Re: Vote Ban
Reply With Quote #110

Ofc no. Use completely rewrited version that I've attached. For description and answers for common questions please refer to official topic. I still hope that somebody will make complete description translation and screenshots.

__
Attached Files
File Type: sma Get Plugin or Get Source (rock2ban.sma - 740 views - 11.5 KB)
File Type: txt rock2ban.txt (1.3 KB, 169 views)
__________________

Last edited by isotonic; 05-12-2013 at 18:38.
isotonic 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 00:26.


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