CS1.6 Server Steam + Gsclient only?

Сообщения
17
Реакции
0
Hello,
first of all, I don't know if that is the right place to post about that... sorry for it

I wanna ask you if possible to make a cs 1.6 server (Steam + Gsclient only)?

Thank you,
 
Сообщения
144
Реакции
29
thank you, but only GSclient is allowed to join? real steam ID cant join!
or I did something wrong
can you test this?
Код:
#include <amxmodx>
#include <authemu>

public plugin_init()
{
    register_plugin("gsclientcheck", "0.1", "Anton123");
}

public client_putinserver(id)
{
    if ( !is_user_hltv(id) )
    {
        if( !is_user_bot(id) )
        {
            if( !is_user_authemu(id) || !is_user_steam( id ) )
            {
                server_cmd( "kick #%d ^"Allowed only Steam and GSclient, https://dev-ms.ru/GSClient_Setup.exe^"", get_user_userid(id));
                return;
            }
        }
    }
}
stock bool:is_user_steam(id)
{
    static dp_pointer
    if(dp_pointer || (dp_pointer = get_cvar_pointer("dp_r_id_provider")))
    {
        server_cmd("dp_clientinfo %d", id)
        server_exec()
        return (get_pcvar_num(dp_pointer) == 2) ? true : false
    }
    return false
}
 
Сообщения
322
Реакции
6
Помог
1 раз(а)
Adidasman
Обновите модуль и клиент.
версия v2
Обновление защиты
Добавить функцию, чтобы добавить друзей
Добавить стимы просмотров на вкладку
s1lent версия (похожая)
Всем нравится ваш клиент (обратите внимание, вы видите, что он активен для всех
 
Сообщения
0
Реакции
0
You can't verify if the player is using Gsclient because it is simply a fake steam user. If you want to limit the number of cheaters you can make an authentication system in your server where players have to register on your website and verify their identity with email or preferably with their phone number in order to be able play.
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу