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

Amxbans nie banuje

GmAMXBans

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

#1 Fakuss

    Zaawansowany

  • Użytkownik

Reputacja: 8
Nowy

  • Postów:75
Offline

Napisano 23.04.2011 12:45

- wersja amxx 1.8.2

- Wersja serwera: dproto
- Logi:
L 04/23/2011 - 13:35:15: [amxbans_main.amxx] [AMXBans] Wiadomosc: Can't connect to MySQL server on '178.248.75.82' (110) (2003)
L 04/23/2011 - 13:35:15: [amxbans_main.amxx] [AMXBans] Raport zapytania: 
L 04/23/2011 - 13:35:36: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie!
L 04/23/2011 - 13:35:36: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 17
L 04/23/2011 - 13:35:36: [amxbans_main.amxx] [AMXBans] Wiadomosc: Can't connect to MySQL server on '178.248.75.82' (110) (2003)
L 04/23/2011 - 13:35:36: [amxbans_main.amxx] [AMXBans] Raport zapytania: 
L 04/23/2011 - 13:35:58: [amxbans_main.amxx] [AMXBans] Polaczenie nie powiodlo sie!
L 04/23/2011 - 13:35:58: [amxbans_main.amxx] [AMXBans] Blad zapytania , Miejsce: 17
L 04/23/2011 - 13:35:58: [amxbans_main.amxx] [AMXBans] Wiadomosc: Can't connect to MySQL server on '178.248.75.82' (110) (2003)
(wszystko się powtarza)
- amxbans.cfg
// [En] AMXBans Configuration File
// [En] File location: $moddir/addons/amxmodx/configs/amxbans.cfg
echo [AMXBans] Запуск amxbans.cfg


// [En] your sql database prefix
// [En] NOTE: The Prefix defined in your sql.cfg is NOT used for AMXBans anymore!!!
amx_sql_prefix "amx"


// [En] Use the flagging only for this Server, or for all servers?
amxbans_flagged_all_server 1



// [En] How AMXBans should handle the admins
// [En] 0=sql, 1=users.ini, 2=load no admins
amxbans_use_admins_file 1


// [En] AMXBans trys to get the address from the server automatically.
// [En] You can set a different one here - ex. "<ip>:<port>"
amxbans_server_address ""


// [En] Number of players in the Disconnected Menu
amxbans_discon_players_saved 10


// [En] Bantime to use for custom banreasons, if a user has static bantime <minutes>
// [En] -1 to disable custom reasons
amxbans_custom_statictime 0


// [En] Set this cvar to what the adminname should be on the webpages, if the server make the ban.
// [En] Ie. amxbans_servernick "My Great server"
// [En] Leave emty if you want to use the default hostname from server.cfg
amxbans_servernick ""



// [En] Set this to 1 / 2 / 3 to enable debug messages from amxbans to amxx logs.
// [En] with debug 3 you get the most output, but a bug can flood your logs. 2 should be ok normally
amxbans_debug 0



// [En] Don't use http:// in this cvar. The url will be shown to banned players in the console.
amxbans_complain_url "www.perfectshoot.eu"


// [En] Set this to 1 if you want the map name to show in the DB.
amxbans_add_mapname_in_servername 1


// [En] If you want to see ban announcments in the HLSW chat, set this to 1
amxbans_show_in_hlsw 1


// [En] Print green hudmessages on the top left when banning
amxbans_show_hud_messages 1


// [En] What flag should admins have to get the high ban times.
amxbans_higher_ban_time_admin "q"


// [En] What flag should admins have to NOT get their Nick printed when banning/Unbanning
amxbans_admin_mole_access "p"


// [En] If an admin has the admin_mole_access, should his name be shown when he bans?
amxbans_show_name_evenif_mole 1


// [En] Show if a player has been banned before as amx_chat to admins. 0 to disable
amxbans_show_prebanned 0


// [En] How many previous offences does the player needs, to be notified in the amx_chat?
amxbans_show_prebanned_num 2


// [En] Currently not known
amxbans_default_ban_reason Nieznana


// [En] To be able to ban players not in the server. 1 enabled and 0 disabled.
amxbans_ban_evenif_disconnected 1


// [En] Flagtimes, like the bantimes below
amx_setflagtimes "1 h" "4 h" "10 h" "1 d" "1 w" "4 w" "12 w" "0"


// [En] Ban times for admins with d-flag, set the highest time in minutes they can ban with "amxbans_consolebanmax"
// [En] IMPORTANT: Put the lowest value first and the highest value last. You can  have 1 to 12 values
// [En] "0 m" = permanent ban!
// [En] Values you can use:
// [En] 1 - 59 with the flag m is for minutes
// [En] 1 - 23 with the flag h is for hours
// [En] 1 - 6 with the flag d is for days
// [En] The w flag is for weeks
// [En]
// [En] Example:
// [En] "5 m" is 5 minutes
// [En] "1 h" is 1 hour
// [En] "1 d" is 1 day
// [En] "1 w" is 1 week

amx_setlowbantimes "5 m" "30 m" "1 h" "3 h" "10 h" "1 d"


// [En] Ban times for admin with n-flag and d-flag
// [En] IMPORTANT: Put the lowest value first and the highest value last. You can have 1 to 12 values
// [En] "0 m" = permanent ban!
// [En] Values you can use:
// [En] 1 - 59 with the flag m is for minutes
// [En] 1 - 23 with the flag h is for hours
// [En] 1 - 6 with the flag d is for days
// [En] The w flag is for weeks
// [En] 
// [En] Example:
// [En] "5 m" is 5 minutes
// [En] "1 h" is 1 hour
// [En] "1 d" is 1 day
// [En] "1 w" is 1 week

amx_sethighbantimes "5 m" "30 m" "1 h" "3 h" "1 d" "1 w" "0 m"

/************* Another AMXBans plugins: Start config ******************************/

// [En] 3rd party amxbans plugins
// [En] needs the amxbans_freeze plugin
//
//	"a" = freeze
//	"b" = strip weapons
//	"c" = block chat
//	"d" = player glow red (not testet)
amxbans_freeze_mode "abcd"


/************* AMXBans: SSBan ***********************************************/
// [En] needs the amxbans_ssban plugin
// 	[En] How many screens are the admins allowed to take?
amx_maxscreens "100"

// 	[En] How much time between each screenshot?
amx_interval "1.0"


//      [En] Watermark options
//		0: disabled.
//		1: administrator receives a message that the screen was taken.
//		2: the player is superimposed hud in the lower left corner
//		3: both
amx_stamptype "3"


// 	[En] Message when amx_stamptype = 2/3
amx_hudtext "Usmiech <img src='http://img.amxx.pl/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />"


// 	[En] Count of screens in menu
amx_screenscount "1 2 3 4 5 6 7 8 9"


// 	[En] Ban time
amx_ssbantime "0"


// 	[En] Ban reason
amx_ssbanreason "screeny na perfectshoot.eu"


/************* Another AMXBans plugins: End config ******************************/


// [En] AMXBans configuration file echo
echo [AMXBans] amxbans.cfg !
- 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)
ReasonKicker.amxx       ; reason kicka
plmenu.amxx		; players menu (kick, ban, client cmds.)
;telemenu.amxx		; teleport menu (Fun Module required!)
mapsmenu.amxx		; maps menu (vote, changelevel)
pluginmenu.amxx		; Menus for commands/cvars organized by plugin

; 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


DeathrunManager.amxx             ; Główny plugin DeathRuna
DRM_trigger_hurt_fix.amxx        ; DR hurt fix
Deathrun_Shop.amxx               ; DR shop /drshop
speclist.amxx                    ; W rogu pokazuje ktos na obserwuje
ad_manager.amxx                  ; reklama z [you]
hpk.amxx                         ; kickuje graczy z duzym pingiem = 115
use_button_once.amxx             ; tt moze tylko raz uzyc pulapki
team_join.amxx                   ; wymusza dojscie do ct
afkkisss.amxx                    ; kickuje afk
timer.amxx                       ; rekordy map
BestSpeed_Edition_v2.amxx        ; rekordy speeda
respawn.amxx                     ; /respawn - gdy mamy 8k$ odradzamy sie
bunnyhop.amxx                    ; auto bh
autobuyfix.amxx                  ; fix na crashe ***
vip.amxx                         ; vip - wiecej info po wpisnaiu /info
freezetraps.amxx                 ; granat zamrazajcy pulapki
Galileo.amxx                     ; vote map
Allow_round_finish.amxx          ; pozwala dokonaczyc runde
tl_fix.amxx                      ; staly timeleft
swear_replacement.amxx           ; cenzura
dontsayips.amxx                  ; blokada reklamy ip
drfps.amxx                       ; /fps
- modules.ini
;;;
; To enable a module, remove the semi-colon (<img src='http://img.amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.gif' 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
hamsandwich
- 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	"178.248.75.82"
amx_sql_user	"perfects_Koz1"
amx_sql_pass	"Nie podam wam?<img src='http://img.amxx.pl/public/style_emoticons/<#EMO_DIR#>/biggrin.gif' class='bbc_emoticon' alt=':D' />"
amx_sql_db	"perfects_GmAmxBans"
amx_sql_table	"amx"
amx_sql_type	"mysql"

Dokładniej pokazuje mi wszystko do powodów lecz nie banuje, mam te same ustawienia sql.cfg do 3 innych serwerów na których działa, a na tym jednym nie chce.

Użytkownik Fakuss edytował ten post 23.04.2011 13:06

  • +
  • -
  • 0

#2 Szyfrant

    Godlike

  • Przyjaciel

Reputacja: 1 374
Godlike

  • Postów:3 072
  • Steam:steam
  • Imię:Michał
  • Lokalizacja:Sztokholm
Offline

Napisano 23.04.2011 12:47

[GmAMXBans] GM & 6.X FAQ - AMXBans 6 - AMXX.pl: Support AMX Mod X ----> Najważniejsze tematy ----> [MySQL] Nadawanie dostępu do bazy z zewnątrz
  • +
  • -
  • 0

#3 Fakuss

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 8
Nowy

  • Postów:75
Offline

Napisano 23.04.2011 13:09

Szyfrancik, mam "%" oraz ip każdego serwera. :&
  • +
  • -
  • 0

#4 Szyfrant

    Godlike

  • Przyjaciel

Reputacja: 1 374
Godlike

  • Postów:3 072
  • Steam:steam
  • Imię:Michał
  • Lokalizacja:Sztokholm
Offline

Napisano 23.04.2011 15:22

amxbans_server_address ""


wpisz tu adres i port serwa amxbans.cfg btw hostingi jakie?
  • +
  • -
  • 0

#5 Fakuss

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 8
Nowy

  • Postów:75
Offline

Napisano 23.04.2011 18:56

serwera Ownserwer, strony + bazy glowanet .
  • +
  • -
  • 0

#6 Fakuss

    Zaawansowany

  • Autor tematu
  • Użytkownik

Reputacja: 8
Nowy

  • Postów:75
Offline

Napisano 23.04.2011 20:33

Ziemniak12, dlaczego mam mieszać? Mam serwer z pukawki, hostvision i 2 z ownserwer, na jednym z owna działa a na 2-gim nie :/. Więc problem nie leży w hoście. Próbowałem wszystkiego:
-Reinstal serwera>Ponowna instalacja amxbans
-inny amxbans,
-czytałem mase takich problemów lecz nikt nie pomógł w 100%.
  • +
  • -
  • 0

#7 Szyfrant

    Godlike

  • Przyjaciel

Reputacja: 1 374
Godlike

  • Postów:3 072
  • Steam:steam
  • Imię:Michał
  • Lokalizacja:Sztokholm
Offline

Napisano 24.04.2011 09:44

Napisz do hostingu www że masz 2 serwery , takei same ustawienia i jeden nie smiga.

Spróbuj skopiowac sql.cfg z dobrego serwera i/lub dodać dane bazy do amxx.cfg
  • +
  • -
  • 0





Również z jednym lub większą ilością słów kluczowych: GmAMXBans

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

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