Raised This Month: $ Target: $400
 0% 

AMXBans ban by SID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Viera
Senior Member
Join Date: Sep 2008
Location: Poland
Old 06-16-2010 , 12:20   AMXBans ban by SID
Reply With Quote #1

Hi I edit cmdBan.inl and delete insert ip player in banning
after I edit check_player.inl:

After
Code:
135     SQL_ReadResult(query, 12, ban_type, 3)
I added


Code:
if(equali(ban_type, "S"))
                    {
                        get_user_authid(id, authid, 24)
                        if(!equal(player_steamid, authid))
                        {
                                return PLUGIN_HANDLED
                        }
                    }
                    else if(equali(ban_type, "SI"))
                    {
                        get_user_authid(id, authid, 24)
                        if(!equal(player_steamid, authid))
                        {
                                return PLUGIN_HANDLED
                        }
               }
But bans doesnt work... (if I don't insert player ip bans doesn't work).
How to edit to ban only steam without IP?
Viera is offline
Viera
Senior Member
Join Date: Sep 2008
Location: Poland
Old 06-16-2010 , 17:29   Re: AMXBans ban by SID
Reply With Quote #2

ok, simple I want make to first look/search ban on steam if exist kick user.
Viera is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-16-2010 , 18:04   Re: AMXBans ban by SID
Reply With Quote #3

This is for the AMX Bans plugins?
__________________
fysiks is offline
Viera
Senior Member
Join Date: Sep 2008
Location: Poland
Old 06-17-2010 , 05:34   Re: AMXBans ban by SID
Reply With Quote #4

yes amxbans 5.0
Viera is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 06-17-2010 , 13:39   Re: AMXBans ban by SID
Reply With Quote #5

upgrade your amxbans.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Viera
Senior Member
Join Date: Sep 2008
Location: Poland
Old 06-18-2010 , 14:07   Re: AMXBans ban by SID
Reply With Quote #6

I don't wanna new 6.0 it's shit.
Viera is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 06-18-2010 , 14:49   Re: AMXBans ban by SID
Reply With Quote #7

Quote:
Originally Posted by Viera View Post
I don't wanna new 6.0 it's shit.
you could always use 5.1b
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Kabuto
Senior Member
Join Date: Apr 2009
Location: Lithuania
Old 06-18-2010 , 14:30   Re: AMXBans ban by SID
Reply With Quote #8

I wonder it's
Quote:
if(equali(ban_type, "S"))
To
Quote:
if(equali(ban_type, "SI"))
Kabuto is offline
Send a message via Skype™ to Kabuto
Viera
Senior Member
Join Date: Sep 2008
Location: Poland
Old 06-19-2010 , 12:25   Re: AMXBans ban by SID
Reply With Quote #9

If I ban SI, IP and SI are saveing in sql, if S again IP and SID are save..
What I want to do:
If I banned someone on S or SI all players with steam with banned IP can play.
Now it's inpossible.

DruGzOG in 5.1b was change only website, not code of sma.

Last edited by Viera; 06-19-2010 at 12:32.
Viera 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 14:46.


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