AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Setting up anti double-accounting bot for CSGO server (https://forums.alliedmods.net/showthread.php?t=292508)

Dreamzcs 01-07-2017 20:15

Setting up anti double-accounting bot for CSGO server
 
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

Husker 01-08-2017 09:29

Re: Setting up anti double-accounting bot for CSGO server
 
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.

YoloMySolo 01-08-2017 21:08

Re: Setting up anti double-accounting bot for CSGO server
 
If you use sourcebans there should be an option to ip ban them

Neuro Toxin 01-11-2017 22:25

Re: Setting up anti double-accounting bot for CSGO server
 
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.

8guawong 01-12-2017 03:35

Re: Setting up anti double-accounting bot for CSGO server
 
Quote:

Originally Posted by Neuro Toxin (Post 2485726)
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?

Neuro Toxin 01-12-2017 05:15

Re: Setting up anti double-accounting bot for CSGO server
 
You can always force html motd ;)

OSWO 01-12-2017 06:35

Re: Setting up anti double-accounting bot for CSGO server
 
flush cookies ;)

CamerDisco 01-18-2017 09:20

Re: Setting up anti double-accounting bot for CSGO server
 
Quote:

Originally Posted by Neuro Toxin (Post 2485726)
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?

Neuro Toxin 01-18-2017 15:44

Re: Setting up anti double-accounting bot for CSGO server
 
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);
            }
        }
    } 



CamerDisco 01-18-2017 15:48

Re: Setting up anti double-accounting bot for CSGO server
 
The $playerid will be a what from user?


All times are GMT -4. The time now is 19:54.

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