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

[ROZWIĄZANY] Amxbans admini nie działają / amxmodx 1.8.1

gmamxbans

  • Zamknięty Temat jest zamknięty
9 odpowiedzi w tym temacie

#1 Sparkk

    Życzliwy

  • Użytkownik

Reputacja: -2
Nowy

  • Postów:37
  • Imię:Kamil
  • Lokalizacja:Kraków
Offline

Napisano 17.03.2012 12:27

Witam, posiadam amxbansa GM 1.6
( adres forum - Maxskill.xaa.pl )
Na serwerze mam też amxmodx'a 1.8.1 i wgranego dproto :)
Problem jest taki, że admini nie działają, oraz jak się zbanuje na stronie to dalej mogę wbic na serwer :(

Plugins.ini:


; AMX Mod X plugins
; Admin Base - Always one has to be activated
amxbans_core.amxx
amxbans_main.amxx
;admin.amxx  ; admin base (required for any admin-related)
;admin_sql.amxx  ; admin base - SQL version (comment admin.amxx)
; Basic
admincmd.amxx  ; basic admin console commands
adminhelp.amxx  ; help command for admin console commands
adminslots.amxx  ; slot reservation
multilingual.amxx ; Multi-Lingual management
; Menus
menufront.amxx  ; front-end for admin menus
cmdmenu.amxx  ; command menu (speech, settings)
plmenu.amxx  ; players menu (kick, ban, client cmds.)
;telemenu.amxx  ; teleport menu (Fun Module required!)
mapsmenu.amxx  ; maps menu (vote, changelevel)
; Chat / Messages
adminchat.amxx  ; console chat commands
antiflood.amxx  ; prevent clients from chat-flooding the server
scrollmsg.amxx  ; displays a scrolling message
imessage.amxx  ; displays information messages
adminvote.amxx  ; vote commands
; Map related
nextmap.amxx  ; displays next map in mapcycle
mapchooser.amxx  ; allows to vote for next map
timeleft.amxx  ; displays time left on map
; Configuration
pausecfg.amxx  ; allows to pause and unpause some plugins
statscfg.amxx  ; allows to manage stats plugins via menu and commands
; Counter-Strike
;restmenu.amxx  ; restrict weapons menu
statsx.amxx  ; stats on death or round end (CSX Module required!)
;miscstats.amxx  ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)
; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer
; Custom - Add 3rd party plugins here

Users.ini:

; Users configuration file
; File location: $moddir/addons/amxmodx/configs/users.ini
; Line starting with ; is a comment
amxbans_use_admins_file 1
; Access flags:
; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
; b - reservation (can join on reserved slots)
; c - amx_kick command
; d - amx_ban and amx_unban commands
; e - amx_slay and amx_slap commands
; f - amx_map command
; g - amx_cvar command (not all cvars will be available)
; h - amx_cfg command
; i - amx_chat and other chat commands
; j - amx_vote and other vote commands
; k - access to sv_password cvar (by amx_cvar command)
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m - custom level A (for additional plugins)
; n - custom level B
; o - custom level C
; p - custom level D
; q - custom level E
; r - custom level F
; s - custom level G
; t - custom level H
; u - menu access
; z - user (no admin)
; Account flags:
; a - disconnect player on invalid password
; b - clan tag
; c - this is steamid/wonid
; d - this is ip
; e - password is not checked (only name/ip/steamid needed)
; k - name or tag is case sensitive.  eg: if you set it so the name "Ham"
;	 is protected and case sensitive (flags "k" only), then anybody
;	 can use the names "haM", "HAM", "ham", etc, but not "Ham"
; Password:
; Add to your autoexec.cfg: setinfo _pw "<password>"
; Change _pw to the value of amx_password_field
; Format of admin account:
; <name|ip|steamid> <password> <access flags> <account flags>
; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"

amxx.cfg :


// AMX Mod X Configuration File
echo Executing AMX Mod X Configuration File
// Default access for all non admin players (see users.ini for access details)
//
// Default value: "z"
amx_default_access "z"
// Name of setinfo which should store a password on a client (you should change this)
// Note: Always prefix the field with an underscore (aka: "_")
// (Example: setinfo _pw "password")
//
// Default value: "_pw"
amx_password_field "_pw"
// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 1
// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
//
// Default value: 2
amx_show_activity 2
// Frequency in seconds and text of scrolling message
//
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Welcome to %hostname%" "000255100"
//				 "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255"
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"
// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180
// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 15 30 45 60
// Slap damage amounts for the main slap menu (amx_slapmenu)
// Slay is automaticall inserted as the first option
// Default values: 0 1 5
amx_plmenu_slapdmg 0 1 5
// Set in seconds how fast players can chat (chat-flood protection)
//
// Default value: 0.75
amx_flood_time 0.75
// Amount of slots to reserve.
//
// Default value: 0
amx_reservation 0
// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0
// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
//
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
//
// Default value: 1
amx_time_voice 1
// Minimum delay in seconds between two voting sessions
//
// Default value: 10
amx_vote_delay 10
// How long voting session goes on
//
// Default value: 10
amx_vote_time 10
// Display who votes for what option, set to 0 to disable, 1 to enable.
//
// Default value: 1
amx_vote_answers 1
// Some ratios for voting success
// Default value: 0.40
amx_votekick_ratio 0.40
// Default value: 0.40
amx_voteban_ratio 0.40
// Default value: 0.40
amx_votemap_ratio 0.40
// Default value: 0.02
amx_vote_ratio 0.02
// Max. time to which map can be extended
//
// Default value: 90
amx_extendmap_max 90
// Step for each extending
//
// Default value: 15
amx_extendmap_step 15
// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
amx_client_languages 1
// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
//
// Default value: 1
amx_debug 1
// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
//
// Default value: ""
amx_mldebug ""
//
// Beginning of Counter-Strike package specific configurations.
//
// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
//
// Default value: 1
csstats_rank 0
// Max size of the stats file
//
// Default value: 3500
csstats_maxsize 3500
// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.
//
// Default value: 0
csstats_rankbots 0
// Duration of HUD-statistics
//
// Default value: 12.0
amx_statsx_duration 12.0
// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
//
// Default value: -2.0
amx_statsx_freeze -2.0

amxbans.cfg:


// Plik Konfiguracyjny AMXBans
echo [AMXBans] laduje plik amxbans.cfg
// Prefix bazy
// Nota: Prefiks wpisany w sql.cfg nie jest już używany przez AMXBans
amx_sql_prefix "amx"
//Używanie oznaczeń gracza na tym serwerze czy na wszystkich?
amxbans_flagged_all_server 1
// Wczytywanie adminów
// 0 z bazy SQL, 1 = z pliku users.ini, 2 = nie ładuje adminów
amxbans_use_admins_file 0
// AMXBans próbuje pobierać Ip automatycznie (Tak, widać ;/)
// Możesz ustawić inne iP -np. "<ip>:<port>"
amxbans_server_address ""
// Tak naprawdę ten cvar jest niezle pomylony niby chodzi o czas a ustawia własny powód bana
// -1 aby wyłaczyć, 0 aby właczyć własny powód bana
amxbans_custom_statictime 0
// Wpisz jaka ma byc wyświetlana nazwa serwera na stronie gdy gracz dostanie bana .
// np. amxbans_servernick "Mój za***isty serwer"
// Pozostaw puste aby czytało domyślna nazwe hosta z server.cfg
amxbans_servernick ""
// Ustaw 1 / 2 / 3 aby włączyć powiadomienia o debugach w logach.
// nie ustawiaj na 3 bo Ci konsole zaspamuje, ustaw 2 bedzie normal
amxbans_debug 0
// Nie wpisuj "http://". Plugin sam sobie to wpisze
amxbans_complain_url "www.twoja.com"
// Ustaw na 1 aby mapa była pokazywana w nazwie serwera
amxbans_add_mapname_in_servername 1
// Ustaw na 1 aby w czacie HLSW był pokazywany komunikat o banie
amxbans_show_in_hlsw 1
// Pokazuje zielony napis w hud, w lewym górnym rogu, w przypadku bana
amxbans_show_hud_messages 1
// Ustawia jaka flaga odpowiada za najwyższy czas bana jaki może ustawić admina.
amxbans_higher_ban_time_admin "n"
// Ustawia jaka flaga odpowiada za to aby nie był pokazywany nick admina który zbanował gracza
amxbans_admin_mole_access "r"
// Jeśli admin ma ustawiony admin_mole_access, ma pokazywać jego nick przy zbanowanym graczu?
amxbans_show_name_evenif_mole 1
// Pokazuje adminowi w chacie czy gracz był wczesniej zbanowany, 0 aby wyłączyć
amxbans_show_prebanned 1
// Ile razy powiadamia admina o wcześniejszym banie gracza
amxbans_show_prebanned_num 2
// Obecnie nie wiadomo  // Tak napisali w oryginale <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/biggrin.png' class='bbc_emoticon' alt=':D' />
amxbans_default_ban_reason unknown
// Czy można banować w przypadku gdy gracz się rozłaczy . 1 aby właczyć 0 aby wyłaczyc // Jest to na koncu menu admina, Menu Rozłączeń
amxbans_ban_evenif_disconnected 1
// Czasy oznakowan w menu
amx_setflagtimes "1 h" "4 h" "10 h" "1 d" "1 w" "4 w" "12 w" "0"
// Długości banów dla adminów z flagą -d, ustaw najwieksze jakie mają byc przy komendzie "amxbans_consolebanmax"
// UWAGA: ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIĘKSZEJ . Mozesz wybrac 14 wartości
// "0 m" = PERM
// Wartosci jakich mozesz użyć :
// 1 - 59 dla flagi m to minuty
// 1 - 23 dla flagi h to godziny
// 1 - 6 dla flagi d to dni
// dla flagi w sa tygodnie
// Przykłady:
// "5 m" to 5 minut
// "1 h" to 1 godzina
// "1 d" to 1 dzień
// "1 w" to 1 tydzień
amx_setlowbantimes "5 m" "30 m" "1 h" "3 h" "10 h" "1 d"
// Długości banów dla adminów z flagą -n i -d
// UWAGA:ustawiaj wartosci od NAJMNIEJSZEJ do NAJWIĘKSZEJ . Mozesz wybrac 14 wartości
// "0 m" = PERM
// Wartosci jakich mozesz użyć :
// 1 - 59 dla flagi m to minuty
// 1 - 23 dla flagi h to godziny
// 1 - 6 dla flagi d to dni
// dla flagi w sa tygodnie
// Przykłady:
// "5 m" to 5 minut
// "1 h" to 1 godzina
// "1 d" to 1 dzień
// "1 w" to 1 tydzień
amx_sethighbantimes "5 m" "30 m" "1 h" "3 h" "1 d" "1 w" "0 m"
/********************AMXBans: Freeze ****************************************/
// plugin amxbans_freeze (tzw. Zamrażający)
// "a" = zamraża (nie możesz się ruszyć)
// "b" = nie mozesz uzyc broni
// "c" = blokuje czat
// "d" = gracz swieci na czerwono
amxbans_freeze_mode "abcd"

// Czas pomiedzy serwerem gry a baza danych
// Moze byc ujemny
// Jezeli 0 ustawia automatycznie
amxbans_time_offset "0"

// [En] Automatycznie robi screena przy banie
amxbans_snapshot "1"
// Typ Bana
// "0" - wybiera automatycznie
// "1" - na IP
// "2" - na SteamID
amxbans_bantype "0"

// Definiuje czy sprawdzać graczy po flagach
// Włącza - "1" / Wyłącza - "0"
amxbans_check_flag "1"
// Włącza - 1 / wyłącza - 0 historie banow
amxbans_history "1"
// Plik konfiguracyjny - ECHO
echo [AMXBans] amxbans.cfg zostal zaladowany | AMXX.PL | Wersja PL - Szyfrant i MisieQ

sql.cfg:

// SQL configuration file
// File location: $moddir/addons/amxmodx/configs/sql.cfg
// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"
// We recommend using your server IP address instead of its name
// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.
amx_sql_host "127.0.0.1"
amx_sql_user "pokarani_sparky"
amx_sql_pass "mojehaslo"
amx_sql_db "pokarani_forum"
amx_sql_table "bany"
amx_sql_type "mysql"

modules.ini:

;;;
; To enable a module, remove the semi-colon (<img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.png' class='bbc_emoticon' alt=';)' /> in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time.  Use	  ;;
;;  amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;mysql
;sqlite
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Put third party modules below here.			  ;;
;; You can just list their names, without the _amxx ;;
;;  or file extension.							  ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; These modules will be auto-detected and loaded   ;;
;;  as needed.  You do not need to enable them here ;;
;;  unless you have problems.					   ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
fun
engine
fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx

logi:

L 03/16/2012 - 23:15:18: Start of error session.
L 03/16/2012 - 23:15:18: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20120316.log")
L 03/16/2012 - 23:15:18: [AMXX] Plugin file open error (plugin "amxbans_core.amxx")
L 03/16/2012 - 23:15:18: [AMXX] Plugin file open error (plugin "amxbans_main.amxx")
L 03/16/2012 - 23:15:18: [AMXX] Plugin file open error (plugin "amxbans_freeze.amxx")
L 03/16/2012 - 23:15:18: [AMXX] Plugin file open error (plugin "amxbans_flagged.amxx")
L 03/16/2012 - 23:15:18: [AMXX] Plugin file open error (plugin "amxbans_ssban.amxx")
L 03/16/2012 - 23:29:33: Start of error session.
L 03/16/2012 - 23:29:33: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20120316.log")
L 03/16/2012 - 23:29:33: Function is not present (function "check_player") (plugin "amxbans_main.amxx")
L 03/16/2012 - 23:29:33: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "set_task") - debug not enabled!
L 03/16/2012 - 23:29:33: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/16/2012 - 23:31:35: Start of error session.
L 03/16/2012 - 23:31:35: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20120316.log")
L 03/16/2012 - 23:31:35: Function is not present (function "check_player") (plugin "amxbans_main.amxx")
L 03/16/2012 - 23:31:35: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "set_task") - debug not enabled!
L 03/16/2012 - 23:31:35: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/16/2012 - 23:40:01: Start of error session.
L 03/16/2012 - 23:40:01: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20120316.log")
L 03/16/2012 - 23:40:01: Function is not present (function "check_player") (plugin "amxbans_main.amxx")
L 03/16/2012 - 23:40:01: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "set_task") - debug not enabled!
L 03/16/2012 - 23:40:01: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/16/2012 - 23:40:49: Function is not present (function "check_player") (plugin "amxbans_main.amxx")
L 03/16/2012 - 23:40:49: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "set_task") - debug not enabled!
L 03/16/2012 - 23:40:49: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/16/2012 - 23:44:09: Start of error session.
L 03/16/2012 - 23:44:09: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20120316.log")
L 03/16/2012 - 23:44:09: Invalid cellvector handle provided (1:1:0)
L 03/16/2012 - 23:44:09: [AMXX] Run time error 10 (plugin "amxbans_core.amxx") (native "ArrayGetString") - debug not enabled!
L 03/16/2012 - 23:44:09: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/16/2012 - 23:44:09: Function is not present (function "check_player") (plugin "amxbans_main.amxx")
L 03/16/2012 - 23:44:09: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "set_task") - debug not enabled!
L 03/16/2012 - 23:44:09: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

PS, te 2 pluginy które są na początku w plugin ini.. zkompilowałem ze sma i wgrałem.. Także je mam :D Mówię to, ponieważ niektórzy mieli takie problemy.
  • +
  • -
  • 0

#2 Pitek

    Pomocny

  • Użytkownik

Reputacja: 31
Życzliwy

  • Postów:70
  • GG:
  • Steam:steam
  • Imię:Piotrek
  • Lokalizacja:Konin
Offline

Napisano 17.03.2012 12:34

jak chcesz używać amxbans, skoro nawet nie odblokowałeś modułu mysql ?
  • +
  • -
  • 1

#3 Sparkk

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: -2
Nowy

  • Postów:37
  • Imię:Kamil
  • Lokalizacja:Kraków
Offline

Napisano 17.03.2012 13:26

Już odblokowałem, i admini dalej nie działają, ale są inne logi :D:


L 03/17/2012 - 13:02:38: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:02:38: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `motd_delay` FROM `amx_serverinfo` WHERE address = '94.23.94.93:27045';
L 03/17/2012 - 13:02:38: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:02:38: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:02:38: [amxbans_main.amxx] [AMXBans] Query statement: SELECT (SELECT UNIX_TIMESTAMP(NOW()) - '1331985758') AS `offset`;
L 03/17/2012 - 13:02:41: [amxbans_core.amxx] [AMXBANS] Index: 1
L 03/17/2012 - 13:02:41: [amxbans_core.amxx] [AMXBANS] Index: 1 | Name:
L 03/17/2012 - 13:02:46: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:02:46: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:02:46: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `fid`, `reason`, `created`, `length` FROM `amx_flagged` WHERE `player_id` = 'STEAM_ID_LAN' OR `player_ip` = '83.4.130.104' ORDER BY `length` ASC;
L 03/17/2012 - 13:02:47: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:02:47: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:02:47: [amxbans_main.amxx] [AMXBans] Query statement: SELECT COUNT(*) FROM `amx_bans` WHERE ((`player_id` = 'STEAM_ID_LAN' AND `ban_type` = 'S') OR (`player_ip` = '83.4.130.104' AND `ban_type` = 'SI')) AND `expired` = '1';
L 03/17/2012 - 13:10:53: [amxbans_core.amxx] [AMXBANS] Index: 1
L 03/17/2012 - 13:10:53: [amxbans_core.amxx] [AMXBANS] Index: 1 | Name:
L 03/17/2012 - 13:10:57: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:10:57: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:10:57: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `fid`, `reason`, `created`, `length` FROM `amx_flagged` WHERE `player_id` = 'STEAM_ID_LAN' OR `player_ip` = '83.4.130.104' ORDER BY `length` ASC;
L 03/17/2012 - 13:10:58: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:10:58: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:10:58: [amxbans_main.amxx] [AMXBans] Query statement: SELECT COUNT(*) FROM `amx_bans` WHERE ((`player_id` = 'STEAM_ID_LAN' AND `ban_type` = 'S') OR (`player_ip` = '83.4.130.104' AND `ban_type` = 'SI')) AND `expired` = '1';
L 03/17/2012 - 13:14:01: -------- Mapchange to de_dust2 --------
L 03/17/2012 - 13:14:02: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:14:02: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:14:02: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `motd_delay` FROM `amx_serverinfo` WHERE address = '94.23.94.93:27045';
L 03/17/2012 - 13:14:02: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:14:02: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:14:02: [amxbans_main.amxx] [AMXBans] Query statement: SELECT (SELECT UNIX_TIMESTAMP(NOW()) - '1331986442') AS `offset`;
L 03/17/2012 - 13:14:30: [amxbans_core.amxx] [AMXBANS] Index: 1
L 03/17/2012 - 13:14:30: [amxbans_core.amxx] [AMXBANS] Index: 1 | Name:
L 03/17/2012 - 13:14:35: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:14:35: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:14:35: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `fid`, `reason`, `created`, `length` FROM `amx_flagged` WHERE `player_id` = 'STEAM_ID_LAN' OR `player_ip` = '83.4.130.104' ORDER BY `length` ASC;
L 03/17/2012 - 13:14:36: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:14:36: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:14:36: [amxbans_main.amxx] [AMXBans] Query statement: SELECT COUNT(*) FROM `amx_bans` WHERE ((`player_id` = 'STEAM_ID_LAN' AND `ban_type` = 'S') OR (`player_ip` = '83.4.130.104' AND `ban_type` = 'SI')) AND `expired` = '1';
L 03/17/2012 - 13:14:47: [amxbans_core.amxx] [AMXBANS] Index: 2
L 03/17/2012 - 13:14:47: [amxbans_core.amxx] [AMXBANS] Index: 2 | Name:
L 03/17/2012 - 13:14:52: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:14:52: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:14:52: [amxbans_main.amxx] [AMXBans] Query statement: SELECT `fid`, `reason`, `created`, `length` FROM `amx_flagged` WHERE `player_id` = 'STEAM_0:0:38431796' OR `player_ip` = '95.160.211.37' ORDER BY `length` ASC;
L 03/17/2012 - 13:14:53: [amxbans_main.amxx] [AMXBans] Connection failed!
L 03/17/2012 - 13:14:53: [amxbans_main.amxx] [AMXBans] Message: Access denied for user 'pokarani_sparky'@'176.31.100.37' (using password: YES) (1045)
L 03/17/2012 - 13:14:53: [amxbans_main.amxx] [AMXBans] Query statement: SELECT COUNT(*) FROM `amx_bans` WHERE ((`player_id` = 'STEAM_0:0:38431796' AND `ban_type` = 'S') OR (`player_ip` = '95.160.211.37' AND `ban_type` = 'SI')) AND `expired` = '1';

  • +
  • -
  • 0

#4 LokalnyHost

    Profesjonalista

  • Użytkownik

Reputacja: 39
Życzliwy

  • Postów:213
  • Imię:Bedoka
  • Lokalizacja:Opole
Offline

Napisano 17.03.2012 15:04

Dodaj ip i % do zdalnego połączenia

Dodaj uprawnienia użytkownikowi mysql

amx_sql_host "127.0.0.1"
Zmień na
amx_sql_host "Maxskill.xaa.pl"
  • +
  • -
  • 1

#5 Sparkk

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: -2
Nowy

  • Postów:37
  • Imię:Kamil
  • Lokalizacja:Kraków
Offline

Napisano 17.03.2012 15:10

Ok działa :D
w sumie nie wiem co zrobilem :D
Wielkie dzięki, leca +
BTW kto mi powie jaka mam dac flage w amxbans, żeby admin był na hasło?
  • +
  • -
  • 0

#6 LokalnyHost

    Profesjonalista

  • Użytkownik

Reputacja: 39
Życzliwy

  • Postów:213
  • Imię:Bedoka
  • Lokalizacja:Opole
Offline

Napisano 17.03.2012 15:14

Flagi konta
a - rozłącz gracza przy podaniu złego hasła
b - tag klanowy
c - użytkownik na STEAMID
d - użytkownik na IP
e - hasło do konta nie jest sprawdzane (wymagany jest tylko nick / ip / steamid admina)

Ustalasz hasło i dajesz odpowiednią flagę.

Przykład - users.ini
"nick" "hasło" "abcdefghijklmnopqrstu" "a"

A w amxbans łatwo się połapać.

Użytkownik 127.0.0.1 edytował ten post 17.03.2012 15:18

  • +
  • -
  • 1

#7 Sparkk

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: -2
Nowy

  • Postów:37
  • Imię:Kamil
  • Lokalizacja:Kraków
Offline

Napisano 17.03.2012 15:24

czyli jeżeli chce adma na nick i hasło
to w amxbans flaga "a" ?
  • +
  • -
  • 0

#8 LokalnyHost

    Profesjonalista

  • Użytkownik

Reputacja: 39
Życzliwy

  • Postów:213
  • Imię:Bedoka
  • Lokalizacja:Opole
Offline

Napisano 17.03.2012 15:26

czyli jeżeli chce adma na nick i hasło
to w amxbans flaga "a" ?

Zgadza się : )
  • +
  • -
  • 1

#9 Sparkk

    Życzliwy

  • Autor tematu
  • Użytkownik

Reputacja: -2
Nowy

  • Postów:37
  • Imię:Kamil
  • Lokalizacja:Kraków
Offline

Napisano 17.03.2012 15:41

działa
Do zamkniecia
A dla Was + :D
  • +
  • -
  • 0

#10 Ojciec Dyrektor

    papa smerf.

  • Przyjaciel

Reputacja: 477
Wszechobecny

  • Postów:3 035
  • Imię:Paweł
  • Lokalizacja:Rabka-Zdrój
Offline

Napisano 18.03.2012 02:08

Wiadomość wygenerowana automatycznie


Ten temat został zamknięty przez moderatora.

Powód: Pomoc udzielona

Jeśli się z tym nie zgadzasz, Dołączona grafika raportuj ten post, a moderator lub administrator rozpatrzy go ponownie.


Z pozdrowieniami,
Zespół AMXX.PL
  • +
  • -
  • 0





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

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