Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie
GmAMXBans

Ip ban for GM 1.5.1Ban menu IP BAN for GM 1.5.1

gmamxbans ip ban gm 1.5.1

  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
10 odpowiedzi w tym temacie

#1 botz

    Życzliwy

  • Użytkownik

Reputacja: 0
Nowy

  • Postów:27
  • Imię:Sahil Hiranand
  • Lokalizacja:USA
Offline

Napisano 25.09.2015 01:11

I have Gm 1.5.1 it dont have IP ban 

 

In gm 1.6 it has IP ban but GM 1.6 is buggy

 

I want someone to add IP ban in GM 1.5.1

 

If possible to make STEAMID+IP thats much better for Gm 1.5.1

 

Please anyone help me

 

Thanks


  • +
  • -
  • 0

#2 botz

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:27
  • Imię:Sahil Hiranand
  • Lokalizacja:USA
Offline

Napisano 25.09.2015 02:25

ill Pay for IP BAN for GM 1.5.1

ill pay more if it is STEAMID+IP for GM 1.5.1

 

STEAM GAMES or PAYPAL money or anything

 

If you do it dont post it here, send me files on steam 

 

ADD ME: www.steamcommunity.com/id/lgkbotz


Użytkownik botz edytował ten post 25.09.2015 02:26

  • +
  • -
  • 0

#3 qrNt

    Pomocny

  • Użytkownik

Reputacja: 16
Początkujący

  • Postów:67
  • Imię:Damian
Offline

Napisano 25.09.2015 03:40

http://amxx.pl/topic...o-na-sid-3-i-4/


  • +
  • -
  • 0

#4 botz

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:27
  • Imię:Sahil Hiranand
  • Lokalizacja:USA
Offline

Napisano 25.09.2015 04:33

I already have that but that doesnt have even if you subsitude STEAMID people can still change it + HLTV thing i already fixed so i did what u did there

but i need this STEAMID + IP Ban

 

I have Gm 1.5.1 it dont have IP ban 

 

In gm 1.6 it has IP ban but GM 1.6 is buggy

 

I want someone to add IP ban in GM 1.5.1

 

If possible to make STEAMID+IP thats much better for Gm 1.5.1

 

ill Pay for IP BAN for GM 1.5.1

ill pay more if it is STEAMID+IP for GM 1.5.1

 

STEAM GAMES or PAYPAL money or anything

 

If you do it dont post it here, send me files on steam 

 

ADD ME: www.steamcommunity.com/id/lgkbotz

 

Thanks


  • +
  • -
  • 0

#5 qrNt

    Pomocny

  • Użytkownik

Reputacja: 16
Początkujący

  • Postów:67
  • Imię:Damian
Offline

Napisano 25.09.2015 12:18

public cmdAddBan(id, level, cid)
{
if (!cmd_access(id, level, cid, 3, true)) // check for ADMIN_BAN access
{
if (get_user_flags(id) & level) // Getting here means they didn't input enough args
{
return PLUGIN_HANDLED;
}
if (!cmd_access(id, ADMIN_RCON, cid, 3)) // If somehow they have ADMIN_RCON without ADMIN_BAN, continue
{
return PLUGIN_HANDLED;
}
}

new arg[32], authid[32], name[32], minutes[32], reason[32]

read_argv(1, arg, 31)
read_argv(2, minutes, 31)
read_argv(3, reason, 31)

/*
if (!(get_user_flags(id) & ADMIN_RCON))
{
new bool:canban = false;
new bool:isip = false;
// Limited access to this command
if (equali(arg, "STEAM_ID_PENDING") ||
equali(arg, "STEAM_ID_LAN") ||
equali(arg, "HLTV") ||
equali(arg, "4294967295") ||
equali(arg, "VALVE_ID_LAN") ||
equali(arg, "VALVE_ID_PENDING"))
{
// Hopefully we never get here, so ML shouldn't be needed
console_print(id, "Cannot ban %s", arg);
return PLUGIN_HANDLED;
}

if (contain(arg, ".") != -1)
{
isip = true;
}

// Scan the disconnection queue
if (isip)
{
new IP[32];
new Name[32];
new dummy[1];
new Access;
for (new i = 0; i < g_Size; i++)
{
GetInfo(i, Name, charsmax(Name), dummy, 0, IP, charsmax(IP), Access);

if (equal(IP, arg))
{
if (Access & ADMIN_IMMUNITY)
{
console_print(id, "[AMXX] %s : %L", IP, id, "CLIENT_IMM", Name);

return PLUGIN_HANDLED;
}
// User did not have immunity
canban = true;
}
}
}
else
{
new Auth[32];
new Name[32];
new dummy[1];
new Access;
for (new i = 0; i < g_Size; i++)
{
GetInfo(i, Name, charsmax(Name), Auth, charsmax(Auth), dummy, 0, Access);

if (equal(Auth, arg))
{
if (Access & ADMIN_IMMUNITY)
{
console_print(id, "[AMXX] %s : %L", Auth, id, "CLIENT_IMM", Name);

return PLUGIN_HANDLED;
}
// User did not have immunity
canban = true;
}
}
}

if (!canban)
{
console_print(id, "[AMXX] You may only ban recently disconnected clients. Use ^"amx_last^" to view.");

return PLUGIN_HANDLED;
}

}
*/
// User has access to ban their target
if (contain(arg, ".") != -1)
{
server_cmd("addip ^"%s^" ^"%s^";wait;writeip", minutes, arg)
console_print(id, "[AMXX] Ip ^"%s^" added to ban list", arg)
} else {
//server_cmd("banid ^"%s^" ^"%s^";wait;writeid", minutes, arg) // Original code
server_cmd("banid %s %s;wait;writeid", minutes, arg) // 'Fix' for Steam Update
console_print(id, "[AMXX] Authid ^"%s^" added to ban list", arg)
}

get_user_name(id, name, 31)

show_activity_key("ADMIN_ADDBAN_1", "ADMIN_ADDBAN_2", name, arg);

get_user_authid(id, authid, 31)
log_amx("Cmd: ^"%s<%d><%s><>^" ban ^"%s^" (minutes ^"%s^") (reason ^"%s^")", name, get_user_userid(id), authid, arg, minutes, reason)

return PLUGIN_HANDLED
}


Użytkownik qrNt edytował ten post 25.09.2015 12:22

  • +
  • -
  • 0

#6 botz

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:27
  • Imię:Sahil Hiranand
  • Lokalizacja:USA
Offline

Napisano 25.09.2015 20:01

So i have AMXBans GM 1.5.1

 

My Non steamers id is VALVE_2:0

 

and for some non steamers its VALVE_4:4

 

Will it ban them all for STEAM and IP? and Where do i edit this code?

 

Thanks alot for helping as soon as its done ill get u it add me on steam if u can 


  • +
  • -
  • 0

#7 qrNt

    Pomocny

  • Użytkownik

Reputacja: 16
Początkujący

  • Postów:67
  • Imię:Damian
Offline

Napisano 25.09.2015 21:51

code add to your amxbans 


Użytkownik qrNt edytował ten post 25.09.2015 21:56

  • +
  • -
  • 0

#8 botz

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:27
  • Imię:Sahil Hiranand
  • Lokalizacja:USA
Offline

Napisano 25.09.2015 22:03

Does it ban STEAMID and IP both??


  • +
  • -
  • 0

#9 qrNt

    Pomocny

  • Użytkownik

Reputacja: 16
Początkujący

  • Postów:67
  • Imię:Damian
Offline

Napisano 25.09.2015 23:19

yes IP + STEAM automatic  ^^


Użytkownik qrNt edytował ten post 25.09.2015 23:20

  • +
  • -
  • 0

#10 botz

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:27
  • Imię:Sahil Hiranand
  • Lokalizacja:USA
Offline

Napisano 26.09.2015 00:44

I need help adding this, can you please add me on steam

 

steamcommunity.com/id/lgkbotz 

 

if this works i would like to directly pay from steam instead of asking here


  • +
  • -
  • 0

#11 botz

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:27
  • Imię:Sahil Hiranand
  • Lokalizacja:USA
Offline

Napisano 27.09.2015 02:07

This is wrong u just copied admincmd.amxx CODE and ur asking me to add it in amxbans u seriously kidding me?

Anyone else please?

 

ill pay if someone gets me STEAMID+IP Ban for GM 1.5.1

 

STEAM GAMES or PAYPAL money or anything

 

If you do it dont post it here, send me files on steam 

 

ADD ME: www.steamcommunity.com/id/lgkbotz


  • +
  • -
  • 0





Również z jednym lub większą ilością słów kluczowych: gmamxbans, ip ban gm 1.5.1

Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych