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

When bans expire they are gone from ban listUnban + Expired bans gone from ban list

gmamxbans [bug]

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

#1 botz

    Życzliwy

  • Użytkownik

Reputacja: 0
Nowy

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

Napisano 01.08.2015 21:03

When ever I Unban someone the ban is gone from the ban list, and when the ban expires it is also gone from the ban list

http://amxx.pl/topic...ak-je-zostawić/

There was a lot discussion in that topic and a lot code, and I didn't get it. Can I please have the fixed file so I can replace it with mine to fix it please

Thanks
  • +
  • -
  • 0

#2 Misiaczek ;c

    /dev/null

  • Moderator

Reputacja: 1 678
Godlike

  • Postów:2 496
  • GG:
  • Steam:steam
  • Imię:Michał
  • Lokalizacja:Halemba
Offline

Napisano 02.08.2015 08:38

When ever I Unban someone the ban is gone from the ban list, and when the ban expires it is also gone from the ban list

http://amxx.pl/topic...ak-je-zostawić/

There was a lot discussion in that topic and a lot code, and I didn't get it. Can I please have the fixed file so I can replace it with mine to fix it please

Thanks

Hello, what version or type you used?

  • AMXBans 5.[ 1 / 1b ] ( Orginal - Steam & Non-Steam / Modded - Steam & Non-Steam )
  • AMXBans 6.0.[ 0 / 1 / 2 / 3 / 4 ] ( Orginal - Steam )
  • GMAMXBans 1.[ 0 / 1 / 2 / 3 / 4 / 5 / 6 / 6.1 ] ( Modded - Steam & Non-Steam )
  • CS:Bans 1.3 ( Modded - Steam & Non-Steam )

  • +
  • -
  • 0

#3 botz

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

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

Napisano 03.08.2015 00:35

Im using Gm 1.6

 

Also can you please look at my other requests, thanks


  • +
  • -
  • 0

#4 Misiaczek ;c

    /dev/null

  • Moderator

Reputacja: 1 678
Godlike

  • Postów:2 496
  • GG:
  • Steam:steam
  • Imię:Michał
  • Lokalizacja:Halemba
Offline

Napisano 03.08.2015 07:06

ban_list.php

 

find

$query = mysql_query("SELECT COUNT(bid) FROM `".$config->db_prefix."_bans` WHERE `expired`=0") or die (mysql_error());

change to

$query = mysql_query("SELECT COUNT(bid) FROM `".$config->db_prefix."_bans` WHERE `expired`>=0") or die (mysql_error());

next find

WHERE ba.expired=0 ORDER BY ban_created DESC LIMIT ".$min.",".$config->bans_per_page) or die(mysql_error());

change to

WHERE ORDER BY ban_created DESC LIMIT ".$min.",".$config->bans_per_page) or die(mysql_error());

next find and delete

if($result->expired==1) continue;

  • +
  • -
  • 0

#5 botz

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

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

Napisano 03.08.2015 21:21

Will try it, also when ever i try to edit a ban it says Invalid steamid :/ so i cant edit the ban, im using Default type STEAM_0:0 / STEAM_0:1, but for some people it says wrong steam id :/

 

Also when i try to add a ban in AMXBANS WEB it says Bantype, STEAMID and IP differently, no option of STEAMID + IP :/ , i want to ban their STEAM+IP so they have difficulty evading a ban

 

Thanks for helping


  • +
  • -
  • 0

#6 botz

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

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

Napisano 03.08.2015 21:36

I tried what u told me

 

lgk-clan.com/amxbans 

 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY ban_created DESC LIMIT 0,50' at line 4

 

Just this shows, ban list doesnt show

 

I reverted it back to old 1 for now, but please tell me how do i fix it?


Użytkownik botz edytował ten post 03.08.2015 21:38

  • +
  • -
  • 0





Również z jednym lub większą ilością słów kluczowych: gmamxbans, [bug]

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

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