AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   GameGuard (Will this work?) (https://forums.alliedmods.net/showthread.php?t=337770)

Hawajiko 05-13-2022 17:37

GameGuard (Will this work?)
 
I am currently running a server for Counter Strike 1.6.
Some old school players have started reliving our glory days of playing competitive Counter Strike.

Since there are a lot of players, I feel there are some that are using cheats/bots and I want to stop them. Back then, we had sXe and that was enough but nowadays things have gotten more sophisticated.

I am not a coder nor do I claim to have an understanding however in my research I found that there is a CS1.6 competitive match from FastCup that uses GameGuard. I couldn't find a server version of it however, I found the below video claiming to have coded a plugin that will detect whether GameGuard client is running or not and will kick a player if they are not running it.

It's mostly in Hebrew so I cannot understand it but the code's there so I was hoping someone can look into this.

Video:

https://www.youtube.com/watch?v=tz8dk5Gsoxs

Code:

https://pastebin.com/7q1uHCt1

Code:

//FreeGameguard Plugin Version 1.2 By Doron Bachar
//Free Anti Cheat For Counter Strike 1.6 (Backdoor to Gameguard.ac FastCup eSport Anti Cheat)
//Video all about this plugin (Explanations and demonstrations): https://youtu.be/tz8dk5Gsoxs
//My Youtube Channel: https://www.youtube.com/c/dbachartechz
//Tested in 8.2.2022 work great
 
#include <amxmodx>
 
new Trie:g_tInfo
 
public plugin_init() {
    g_tInfo=TrieCreate()
    register_clcmd("+dscript", "duck")
}
 
public plugin_end() {
    TrieDestroy(g_tInfo)
}
 
public client_putinserver(id) {
    if(is_user_bot(id) || is_user_hltv(id)) return PLUGIN_CONTINUE
    else {
        TrieSetCell(g_tInfo, SteamId(id), 0)
        set_task(3.0, "check", id)
    }
    return PLUGIN_CONTINUE
}
 
public client_disconnect(id) {
    if(TrieKeyExists(g_tInfo, SteamId(id))) TrieDeleteKey(g_tInfo, SteamId(id))
}
 
public check(id) {
    client_cmd(id, "alias")
    client_cmd(id, "clear")
    set_task(10.0, "process_result", id)
}
 
public client_command(id) {
    if(!is_user_connected(id) || is_user_bot(id) || is_user_hltv(id)) return PLUGIN_CONTINUE
    else {
        new args[64]
        read_argv(0, args, charsmax(args))
        if(equal (args, "alias")) TrieSetCell(g_tInfo, SteamId(id), 1)
    }
    return PLUGIN_CONTINUE
}
 
public process_result(id) {
    new result
    TrieGetCell(g_tInfo, SteamId(id), result)
    if(result==0) server_cmd("kick #%d Gameguard.ac", get_user_userid(id))
}
 
public duck(id) {
    client_cmd(id, "+duck;wait;-duck")
}
 
stock SteamId(id) {
    new steamId[22]
    get_user_authid(id, steamId, charsmax(steamId))
    return steamId
}

Looking forward to your assistance.

Hawajiko 05-16-2022 02:09

Re: GameGuard (Will this work?)
 
Anyone?

Please check the code and confirm?

The outcome expected is the plugin will kick a person if they don't have GameGuard started.

DruGzOG 05-18-2022 17:43

Re: GameGuard (Will this work?)
 
Try it yourself?

bigdaddy424 05-18-2022 18:33

Re: GameGuard (Will this work?)
 
This is bullshit

fysiks 05-18-2022 23:04

Re: GameGuard (Will this work?)
 
Quote:

Originally Posted by bigdaddy424 (Post 2779696)
This is bullshit

Would you like to elaborate on the statement? Not sure who you're talking to or what you're talking about.

bigdaddy424 05-19-2022 01:09

Re: GameGuard (Will this work?)
 
Quote:

Originally Posted by fysiks (Post 2779706)
Would you like to elaborate on the statement? Not sure who you're talking to or what you're talking about.

The script dumbo

Tom324345 07-11-2022 05:33

Re: GameGuard (Will this work?)
 
Hello. I'm still an old school player. I'm so used to playing Counter Strike that I almost don't show up for classes at college anymore. I have problems with my studies because of my addiction, but I don't worry because I feed myself buy custom essays. For not much money, they help in writing assignments. Therefore, I can recommend them to you

Escap3d 03-12-2023 00:16

Re: GameGuard (Will this work?)
 
1 Attachment(s)
Warning: Symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead. on line 32


any solution for code ?

fysiks 03-12-2023 13:47

Re: GameGuard (Will this work?)
 
Quote:

Originally Posted by Escap3d (Post 2801079)
Warning: Symbol "client_disconnect" is marked as deprecated: Use client_disconnected() instead. on line 32


any solution for code ?

You simply do what it says and the warning will go away.

Escap3d 03-14-2023 12:09

Re: GameGuard (Will this work?)
 
Quote:

Originally Posted by fysiks (Post 2801106)
You simply do what it says and the warning will go away.

u can't fix thi ?


All times are GMT -4. The time now is 10:12.

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