AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSGO] Wallhack Round (https://forums.alliedmods.net/showthread.php?t=334249)

Lantejoula 09-09-2021 13:04

[CSGO] Wallhack Round
 
3 Attachment(s)
[CSGO] Wallhack Round

Description

This plugin creates a Wallhack round. Only Staff can start the Wallhack round with the commands!

This plugin can be used on fun servers. Example: AWP

Commands

• !wallhackround - Open Wallhack Round Menu
• !whr - Open Wallhack Round Menu
• !wallhack - Open Wallhack Round Menu
• !wh - Open Wallhack Round Menu
• !staff - Open Wallhack Round Menu on Admin Menu

ConVars

• sm_wallhackround_chat_prefix - Chat Prefix

• sm_wallhackround_prestartround_message - Enable/Disable the Message on Wallhack Round (1 - Enable | 0 - Disable)
• sm_wallhackround_forcestop_message - Enable/Disable the Message when Staff Force Stop the Wallhack Round (1 - Enable | 0 - Disable)
• sm_wallhackround_roundend_message - Enable/Disable the Message when Round End (1 - Enable | 0 - Disable)

Changelog

12-09-2021 (v1.2)

• Add RegPluginLibrary - Compatible with another plugin that I will release in the future
• FIX: Commands only for STAFF
• Update translations
• Fix Vote Question (Remove Spaces)

10-09-2021 (v1.1) - Thanks for Help - boink

• Fix Error: Remove FakeClientCommand for call commands

09-09-2021 (v1.0)

• Initial release.

Plugin tested in CSGO with:

Sourcemod 1.10
Metamod:Source 1.10


Credits

Thanks to the Owners of these Plugins - I used parts of scripting in my Plugin

Admin STEALTH - By Potatoz

Instalation

• Upload the files (.smx for plugins folders and .txt for translations folder)
• Restart your Server or Change the Map

• [Optional] Configure the file .cfg (csgo/cfg/sourcemod/.cfg)
• [Optional] Change Translations the file .txt (csgo/addons/sourcemod/translations/.txt)


boink 09-10-2021 13:45

Re: [CSGO] Wallhack Round
 
Can't seem to find any credits anywhere so I'll link the base ESP plugin you used:
https://forums.alliedmods.net/showthread.php?p=2476344

What's with the command name?
PHP Code:

RegConsoleCmd("sm_1xlantewallhackespwallhackjoulax1"Command_ESP);
FakeClientCommand(i"sm_1xlantewallhackespwallhackjoulax1"); 

If I'm not mistaken any player can use sm_searchcmd and find the command to use on themselves.
Instead of FakeClientCommand you can simply use Command_ESP on the target.

Lantejoula 09-10-2021 14:25

Re: [CSGO] Wallhack Round
 
Quote:

Originally Posted by boink (Post 2757416)
Can't seem to find any credits anywhere so I'll link the base ESP plugin you used:
https://forums.alliedmods.net/showthread.php?p=2476344

What's with the command name?
PHP Code:

RegConsoleCmd("sm_1xlantewallhackespwallhackjoulax1"Command_ESP);
FakeClientCommand(i"sm_1xlantewallhackespwallhackjoulax1"); 

If I'm not mistaken any player can use sm_searchcmd and find the command to use on themselves.
Instead of FakeClientCommand you can simply use Command_ESP on the target.

Hey,
I forgot to put the plugin credits in the description but I have! Thanks for reminding me.

You are telling me to use "Command_ESP(client)" correct? I have a question, is replacing FakeClientCommand with "Command_ESP(client)" better for the plugin?
Remember that for me to set the Command_ESP I have to give an initial command. In other words, players can always come to the plugin and see the wallhack command.

I wanted to find a way to use "Command_ESP(client)" without having to set that variable in an ingame command so that players can never turn on the wallhack on command!

Thanks,
Lantejoula

boink 09-10-2021 14:44

Re: [CSGO] Wallhack Round
 
Yes you'll be able to use Command_ESP(client, 0), you should never use FakeClientCommand to call your own plugins commands.

Was brought up in a post here that has more good tips: https://forums.alliedmods.net/showthread.php?t=321089

Lantejoula 09-10-2021 17:15

Re: [CSGO] Wallhack Round
 
10-09-2021 (v1.1) - Thanks for Help - boink

• Fix Error: Remove FakeClientCommand for call commands

Lantejoula 09-10-2021 17:18

Re: [CSGO] Wallhack Round
 
Quote:

Originally Posted by boink (Post 2757422)
Yes you'll be able to use Command_ESP(client, 0), you should never use FakeClientCommand to call your own plugins commands.

Was brought up in a post here that has more good tips: https://forums.alliedmods.net/showthread.php?t=321089

Thanks!
https://forums.alliedmods.net/showpo...32&postcount=5

Lantejoula 09-12-2021 10:17

Re: [CSGO] Wallhack Round
 
12-09-2021 (v1.5)

• Add RegPluginLibrary - Compatible with another plugin that I will release in the future
• FIX: Commands only for STAFF
• Update translations
• Fix Vote Question (Remove Spaces)

asdfxD 09-16-2021 23:18

Re: [CSGO] Wallhack Round
 
Which sm or compiler are you use? I get a lot of erros with latest sm and all .inc files.

Original .sp for example.

//// Wallhack Round.sp
//
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(15) : warning 201: redefinition of constant/macro (symbol "MAX_MESSAGE_LENGTH")
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(109) : error 021: symbol already defined: "CSkipList"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(127) : error 021: symbol already defined: "CPrintToChat"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(127) : error 180: function return type differs from prototype. expected 'int', but got 'void'
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(162) : error 021: symbol already defined: "CReplyToCommand"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(191) : error 021: symbol already defined: "CReplyToCommandEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(215) : error 021: symbol already defined: "CPrintToChatAll"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(215) : error 180: function return type differs from prototype. expected 'int', but got 'void'
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(244) : error 021: symbol already defined: "CPrintToChatEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(281) : error 021: symbol already defined: "CPrintToChatAllEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(312) : error 021: symbol already defined: "CRemoveTags"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(355) : error 021: symbol already defined: "CSkipNextClient"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(519) : error 021: symbol already defined: "CShowActivity"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(631) : error 021: symbol already defined: "CShowActivityEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(738) : error 021: symbol already defined: "CShowActivity2"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(67) : error 021: symbol already defined: "CPrintToChat"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(76) : error 017: undefined symbol "C_PrintToChat"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(78) : error 017: undefined symbol "MC_PrintToChat"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(67) : error 180: function return type differs from prototype. expected 'int', but got 'void'
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(90) : error 021: symbol already defined: "CPrintToChatAll"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(99) : error 017: undefined symbol "C_PrintToChatAll"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(101) : error 017: undefined symbol "MC_PrintToChatAll"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(90) : error 180: function return type differs from prototype. expected 'int', but got 'void'
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(143) : error 021: symbol already defined: "CPrintToChatEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(163) : error 021: symbol already defined: "CPrintToChatAllEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(214) : error 021: symbol already defined: "CReplyToCommand"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(237) : error 021: symbol already defined: "CReplyToCommandEx"
//
// Compilation aborted.
// 26 Errors.
//
// Compilation Time: 0,17 sec

Mitchell 09-17-2021 13:10

Re: [CSGO] Wallhack Round
 
I feel like you would have had it easier just to require my ESP plugin and run ServerCommand to execute it on all players at the start of the round than just taking my code and adding on a menu&voting and changing the format of it all. You could have also contributed to my plugin some natives etc to turn on ESP for certain/all players etc. Running this and the Advanced ESP plugin is not recommended as the transmit causes performance drops.

Lantejoula 09-17-2021 15:57

Re: [CSGO] Wallhack Round
 
Quote:

Originally Posted by asdfxD (Post 2757983)
Which sm or compiler are you use? I get a lot of erros with latest sm and all .inc files.

Original .sp for example.

//// Wallhack Round.sp
//
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(15) : warning 201: redefinition of constant/macro (symbol "MAX_MESSAGE_LENGTH")
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(109) : error 021: symbol already defined: "CSkipList"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(127) : error 021: symbol already defined: "CPrintToChat"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(127) : error 180: function return type differs from prototype. expected 'int', but got 'void'
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(162) : error 021: symbol already defined: "CReplyToCommand"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(191) : error 021: symbol already defined: "CReplyToCommandEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(215) : error 021: symbol already defined: "CPrintToChatAll"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(215) : error 180: function return type differs from prototype. expected 'int', but got 'void'
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(244) : error 021: symbol already defined: "CPrintToChatEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(281) : error 021: symbol already defined: "CPrintToChatAllEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(312) : error 021: symbol already defined: "CRemoveTags"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(355) : error 021: symbol already defined: "CSkipNextClient"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(519) : error 021: symbol already defined: "CShowActivity"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(631) : error 021: symbol already defined: "CShowActivityEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\cs gocolors.inc(738) : error 021: symbol already defined: "CShowActivity2"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(67) : error 021: symbol already defined: "CPrintToChat"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(76) : error 017: undefined symbol "C_PrintToChat"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(78) : error 017: undefined symbol "MC_PrintToChat"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(67) : error 180: function return type differs from prototype. expected 'int', but got 'void'
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(90) : error 021: symbol already defined: "CPrintToChatAll"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(99) : error 017: undefined symbol "C_PrintToChatAll"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(101) : error 017: undefined symbol "MC_PrintToChatAll"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(90) : error 180: function return type differs from prototype. expected 'int', but got 'void'
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(143) : error 021: symbol already defined: "CPrintToChatEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(163) : error 021: symbol already defined: "CPrintToChatAllEx"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(214) : error 021: symbol already defined: "CReplyToCommand"
// H:\Downloads\Compressed\sourcemod-1.10.0-git6512-windows\addons\sourcemod\scripting\include\mu lticolors.inc(237) : error 021: symbol already defined: "CReplyToCommandEx"
//
// Compilation aborted.
// 26 Errors.
//
// Compilation Time: 0,17 sec


I use SPCode (Compiler) and sm 1.10.
I don't have any problem with compile the plugin.
Please add me to discord to try to help.
I will be happy to help!

My Discord: Lantejoula#0064


All times are GMT -4. The time now is 21:18.

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