1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

dont block blocklauncher (toolbox)

Discussion in 'Development' started by BlawoHD, Jun 22, 2019.

  1. BlawoHD

    BlawoHD Silverfish

    Messages:
    21
    PHP:
    public function onReceive(DataPacketReceiveEvent $event)
    {
        
    $packet $event->getPacket();
        
    $player $event->getPlayer();
        if (
    $packet instanceof LoginPacket) {
            if (
    $packet->clientId === 0) {
                
    $player->kick($this->prefix TF::RED "Toolbox ist auf dem Netzwerk nicht erlaubt."false);
            }
        }
    }
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    ???
    please include question or description or else no one can help you here
     
  3. Gianluxx

    Gianluxx Slime

    Messages:
    94
    GitHub:
    Gianluxx
    That code doesn't block any Mod App because they don't set clientid to 0. you can block a mod App from joining the server but you can detect if using hacks
     
  4. Swourire

    Swourire Spider Jockey

    Messages:
    49
    GitHub:
    swourire
    I'm not sure if I understand well what you're saying, but from what I understand you're trying to block hacks, you can't block every mod apps they'll just bypass what you did, I was talking with dylan about that, you should not try and block clients but more the hacks theirselves, so you should try and not block blocklauncher but let's say reach, for that you need to make an anticheat https://github.com/DarkWav/SAC is one you can make yours yourself and ask for help here !
     
  5. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    blocking client ID is like
    asking if a thief is the thief
    they can always lie, as you are asking them there's nothing you can stop them from lying if they wish
     
    HimbeersaftLP and Muqsit like this.
  6. Destroyer57

    Destroyer57 Zombie

    Messages:
    275
    He means blocklauncher the app wich is used to use mods
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.