AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Binds (https://forums.alliedmods.net/showthread.php?t=88406)

VSA 03-24-2009 10:38

Binds
 
i want ot make a plugin that show me when anybody press a button that used for cheats...
i want to find cheaters on my server...

i was try to make a plugin, but it wont work:

Code:

#include <amxmodx>

public plugin_init()

{
    register_plugin("Binds", "1.0", "Nyusszy")

    client_cmd("bind ins hack")
    client_cmd("bind end hack")
    client_cmd("bind del hack")

    register_clcmd("hack", "say_team @I USE HACK!!!")
}

{
    return PLUGIN_CONTINUE
}


YamiKaitou 03-24-2009 10:39

Re: Binds
 
Changing client's binds without their permission is slowhacking and is not allowed here

fysiks 03-24-2009 18:28

Re: Binds
 
Also, just because someone uses their delete, insert, or end key doesn't mean they use it for cheats. I have some of those bound for less used commands.

One 03-24-2009 19:53

Re: Binds
 
Quote:

Originally Posted by fysiks (Post 788366)
Also, just because someone uses their delete, insert, or end key doesn't mean they use it for cheats. I have some of those bound for less used commands.

DELETE?

HLSS:crab:

Emilioneri 03-25-2009 09:55

Re: Binds
 
You can do this by Reallite HLGuard. Open reallite_block_keys.cfg and you should see this:
Code:
//====================================================// // Reallite HLGuard Anti-Cheat                        // // Автор: DJ_WEST                                     // // Copyright (C) Reallite Labs, 2002-2008             // // Версия: 2.6                                        // // Сайт: <a href="http://reallite.cs2.ru" target="_blank" rel="nofollow noopener">http://reallite.cs2.ru</a>                       // //====================================================// //====================================================// // Блокировка клавиш игроков                          // //====================================================// // Чтобы заблокировать клавишы игрока,                // // раскомментируйте нужные вам строчки.               // //====================================================// // Список клавиш:                                     // //====================================================// // TAB // ENTER // ESCAPE // SPACE // ' // + // , // - // . // / // 0 // 1 // 2 // 3 // 4 // 5 // 6 // 7 // 8 // 9 // ; // = // A // [ // \ // ] // ` // a // b // c // d // e // f // g // h // i // j // k // m // n // o // q // r // s // t // u // w // x // y // z // ~ // UPARROW // DOWNARROW // LEFTARROW // RIGHTARROW // ALT // CTRL // SHIFT // F1 // F2 // F3 // F4 // F5 // F6 // F7 // F8 // F9 // F10 // F11 // F12 // INS // PGDN // PGUP // END // HOME // DEL // MWHEELDOWN // MWHEELUP // MOUSE1 // MOUSE2 // MOUSE3 // PAUSE

Then uncomment keys you want to block and when someone presses that key you will see message something like this: PlayerName : [Reallite HLGuard] Admin check this player! (using key DELETE/INSERT/END and etc.)

SnoW 03-25-2009 10:41

Re: Binds
 
Though that wouldn't work if the player's smart. Basically those write them to config.cfg (and maybe others), but you can still execute any other config where's your real bindings.

Owyn 03-25-2009 11:20

Re: Binds
 
you can, but what for? if pressing button will ban player he won't be able to (;

SnoW 03-25-2009 13:19

Re: Binds
 
Quote:

Originally Posted by .Owyn. (Post 788751)
you can, but what for? if pressing button will ban player he won't be able to (;

Look... When you've contacted HLGUARD, in your config.cfg reads something like this(on some keys):
PHP Code:

bind "<button>" "say_team @ [HLGUARD] Key blocked (use <button>); disconnect; toggleconsole; echo ***[HLGUARD] Kicked. Reason: The used key is blocked... 

So it kicks you when you press it aye. But if you execute an other config at the end of config.cfg, where's all binds you want, the button does nothing what HLG wants. Ofc you can execute it manually as well, but it's easier to add it to the end.

SonicSonedit 03-25-2009 13:25

Re: Binds
 
SnoW is right.
Reallite HLGuard never provided any real guard -_-

Owyn 03-25-2009 13:45

Re: Binds
 
Quote:

. But if you execute an other config at the end of config.cfg, where's all binds you want, the button does nothing what HLG wants.
wrong, client_cmd bind is executed when client is connected to server, and config.cfg and all that inside it executed when game starts (game starts before you connect to server btw)


All times are GMT -4. The time now is 08:50.

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