• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Need Script CPU-ID BAN and BAN LOCAL?

samuel157

Intermediate OT User
Joined
Mar 19, 2010
Messages
621
Solutions
4
Reaction score
122
Location
São Paulo, Brazil
GitHub
Samuel10M
Script function ban local ban the HD-ID note: all hd ban in OS ban CPU-ID ban and machine of character go here on server only alter of machine if anyone knows such a script please inform me other than by source if anyone knows thanks.

P.S: CPU-ID BAN, BAN MACHINE AND IP OF INTERNET OF PERSON IN THE CASE OF CPU-ID BAN THE PLAYER WOULD HAVE TO EXCHANGE MACHINE AND REBOOT THE MODEM IF HE WISHED TO COME AGAIN IN SERVER.
 
Last edited:
Example: Ban Local:

Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "sXe Local Ban"
#define VERSION "1.0"
#define AUTHOR "Rul4"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_sxe_ban", "sxeban", ADMIN_BAN);
}

public sxeban(id) {

new Arg1[24];
read_argv(1, Arg1, 23);
new adminName[33];
get_user_name(id,adminName,32);
if(strlen(Arg1)!=0){
new uid = find_player("k",str_to_num (Arg1[1]));
new plyrName[33];
get_user_name(uid,plyrName,32);
console_print(id, "sXe Injected: %s has locally banned player %s", adminName, plyrName);
log_amx("sXe Injected: %s has locally banned player %s", adminName, plyrName);
}
server_cmd("sxe_ban %s", Arg1);
}

CPU-ID BAN

Code:
 public string GetCPUId()
        {
            string cpuInfo = String.Empty;
            string temp = String.Empty;
            ManagementClass mc = new ManagementClass("Win32_Processor");
            ManagementObjectCollection moc = mc.GetInstances();
            foreach (ManagementObject mo in moc)
            {
                if (cpuInfo == String.Empty)
                {// only return cpuInfo from first CPU
                    cpuInfo = mo.Properties["ProcessorId"].Value.ToString();
                }
            }
            return cpuInfo;
        }
 
I don't believe it is possible without a custom client that can pull hardware information from the machine it's running on.
 
and the majority of players doesn't like to download a custom client unless your server is really really custom, that is why I said "dream" :P
 
And second. That is counting as a keylogger/malware so all antivirus will remove it if he wanna use this in a custom client .
 
Back
Top