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

AMXBans nie dodaje adminów! HELP!


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

#1 kewin0912

    Początkujący

  • Użytkownik

Reputacja: 0
Nowy

  • Postów:10
  • Imię:kewin
  • Lokalizacja:kielce
Offline

Napisano 01.05.2012 08:43

Witam! Problem polega na tym, że zainstalowałem amxbans 5.1, amx mod x mam najnowsza wersje. Wczoraj wszystko działało a teraz wchodzę i d*pa! Nie dodaje adminów na serwer!. mam ustawione , że adminów czyta ze sql.cfg.

Ostatnie logi:

-------- Mapchange to de_dust2 --------
L 05/01/2012 - 09:40:58: Invalid multi-lingual line (file "cstrike/addons/amxmodx/data/lang/amxbans.txt" line 1)
L 05/01/2012 - 09:40:59: [amxbans_main.amxx] [AMXBans] ML_NOTFOUND: SQL_BANMOD_ONLINE
L 05/01/2012 - 09:41:00: [amxbans_main.amxx] [AMXBans] ML_NOTFOUND: SQL_LOADED_STATIC_REASONS

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 "46.105.111.234"
amx_sql_user "moja nazwa usera"
amx_sql_pass "haslo"
amx_sql_db   "moja nazwa bazy"
amx_sql_table "amx"
amx_sql_type  "mysql"


i 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 0

// [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 "kielecki-cs.xaa.pl"

// [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 1

// [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 "Kielecki-cs.xaa.pl"

// [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 "d"

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

// [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 unknown

// [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" "4 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 "abc"


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

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

//        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 "Cheese <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' />"

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

//     [En] Ban time
amx_ssbantime "0"

//     [En] Ban reason
amx_ssbanreason "Screenshoty na Kielecki-cs.xaa.pl"


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

// [En] AMXBans configuration file echo
echo [AMXBans] amxbans.cfg успешно выполнен!


proszę pomóżcie !
  • +
  • -
  • 0

#2 devil_dwight

    Zaawansowany

  • Użytkownik

Reputacja: -1
Nowy

  • Postów:133
  • Lokalizacja:zg
Offline

Napisano 01.05.2012 10:18

pokaż plugins.ini

wrzuc plik amxbans.txt do cstrike/addons/amxmodx/data/lang/

Załączone pliki


Użytkownik devil_dwight edytował ten post 01.05.2012 10:21

  • +
  • -
  • 0

#3 dasiek

    Nie wiem, nie znam się, nie orientuję się, zarobiony jestem.

  • Junior Admin

Reputacja: 2 077
Godlike

  • Postów:5 706
  • Imię:Adaś
  • Lokalizacja:No teraz trochę dalej od WWy
Offline

Napisano 01.05.2012 10:19

ML_NOTFOUND


widze że nie ma pliku lang. Sprawdź go.

Sprawdź też czy Baza jest nadal online (czy nie wygasła)
  • +
  • -
  • 0

#4 Goliath

    Godlike

  • Przyjaciel

Reputacja: 1 237
Godlike

  • Postów:2 334
  • GG:
  • Steam:steam
  • Imię:Maciej
  • Lokalizacja:Mońki
Offline

Napisano 01.05.2012 12:46

Automatyczna wiadomość


Ten temat został przeniesiony z forum:
AMX Mod XProblemy
do
ModyAMXBansProblemy


  • +
  • -
  • 0




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

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