Raised This Month: $12 Target: $400
 3% 

Setting up anti double-accounting bot for CSGO server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dreamzcs
Junior Member
Join Date: Jan 2017
Old 01-07-2017 , 20:15   Setting up anti double-accounting bot for CSGO server
Reply With Quote #1

Hey.

I need some help setting up an an til double-accounting bot (automatically prevents people from joining on smurf when they are banned on main) for my CSGO server. All i need is the plugin/mod for my bot :/
Thanks you guys so much if you know how to do it.

//Dreamzsc

Last edited by Dreamzcs; 01-07-2017 at 20:17.
Dreamzcs is offline
Husker
Member
Join Date: Feb 2016
Location: Earth
Old 01-08-2017 , 09:29   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #2

I'm not sure if this would work. There is a plugin that kicks accounts that are family shared but its impossible to indicate if someone is on his main or smurf account as they're not linked together.
Husker is offline
YoloMySolo
Member
Join Date: Jan 2016
Location: Mum's Basement
Old 01-08-2017 , 21:08   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #3

If you use sourcebans there should be an option to ip ban them
__________________
YoloMySolo is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-11-2017 , 22:25   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #4

Dont ip ban. Ips change.

If u want to get ppl properly.

Send a html motd. Store a tracking cookie. Apply cookie ban.

Smurf joins. Tracking cookie is found. If banned disconnect them.
__________________
Neuro Toxin is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 01-12-2017 , 03:35   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #5

Quote:
Originally Posted by Neuro Toxin View Post
Dont ip ban. Ips change.

If u want to get ppl properly.

Send a html motd. Store a tracking cookie. Apply cookie ban.

Smurf joins. Tracking cookie is found. If banned disconnect them.
will this work if they have html disabled?
__________________
8guawong is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-12-2017 , 05:15   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #6

You can always force html motd ;)
__________________
Neuro Toxin is offline
OSWO
Senior Member
Join Date: Jul 2015
Location: United Kingdom, London
Old 01-12-2017 , 06:35   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #7

flush cookies ;)
__________________
SourceTimer | WeaponSkins++ | BasePlugins++ https://github.com/OSCAR-WOS
OSWO is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 01-18-2017 , 09:20   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #8

Quote:
Originally Posted by Neuro Toxin View Post
Dont ip ban. Ips change.

If u want to get ppl properly.

Send a html motd. Store a tracking cookie. Apply cookie ban.

Smurf joins. Tracking cookie is found. If banned disconnect them.
Store a tracking cookie. - Can you say something more about this? How to get cookies, Will I need socket extension?
__________________


Max-Play.pl - the best polish servers
CamerDisco is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-18-2017 , 15:44   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #9

Quote:
Originally Posted by Neuro Toxin
Quote:
Originally Posted by Lubricant Jam
Hey,
I saw your post on a thread regarding stopping smurfs and forcing show MOTD, may I ask how you do this?

https://forums.alliedmods.net/showpo...26&postcount=4

https://forums.alliedmods.net/showpo...79&postcount=6

I'd love to know, if you don't wanna say then I won't bother you no longer!

Thanks.
The basic gist is below. It's using PHP and cookies.

PHP Code:
    function CreateTrackingCookie($playerid)
    {
        if (!isset(
$_COOKIE['cookieid_v4']))
        {
            
$cookie GetCookieByPlayerId($playerid);
            if (
$cookie == '')
            {
                
$cookie CreateCookie($playerid);
                
InsertPlayerCookie($playerid$cookie);
            }
            
            
setcookie('cookieid_v4'$cookietime()+3600*24*365);
        }
        else
        {
            
$cookie $_COOKIE['cookieid_v4'];
            
$playercookie GetCookieByPlayerId($playerid);

            if (
$cookie != '' && $playercookie == '')
            {
                
InsertPlayerCookie($playerid$cookie);
            }
        }
    } 
__________________

Last edited by Neuro Toxin; 01-18-2017 at 15:45.
Neuro Toxin is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 01-18-2017 , 15:48   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #10

The $playerid will be a what from user?
__________________


Max-Play.pl - the best polish servers
CamerDisco is offline
Reply


Thread Tools
Display Modes

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 15:30.


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