Monthly Target: $400 Donations: $140
 35% 

Setting up anti double-accounting bot for CSGO server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dreamzcs
New Member
Join Date: Jan 2017
Old 01-07-2017 , 21: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 21:17.
Dreamzcs is offline
Husker
Member
Join Date: Feb 2016
Location: Earth
Old 01-08-2017 , 10: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 online now
YoloMySolo
Member
Join Date: Jan 2016
Location: Mum's Basement
Old 01-08-2017 , 22: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 , 23: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 online now
8guawong
AlliedModders Donor
Join Date: Dec 2013
Old 01-12-2017 , 04: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?
__________________
Taking private hat requests
Add me on http://steamcommunity.com/id/8guawong/ or pm me if you have private hat requests
8guawong is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-12-2017 , 06:15   Re: Setting up anti double-accounting bot for CSGO server
Reply With Quote #6

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

flush cookies ;)
__________________
OSWO is offline
CamerDisco
Senior Member
Join Date: Aug 2015
Location: Poland
Old 01-18-2017 , 10: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 , 16: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 16:45.
Neuro Toxin is online now
CamerDisco
Senior Member
Join Date: Aug 2015
Location: Poland
Old 01-18-2017 , 16: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 19:14.


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