←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

Problem z amxx.cfg ; )

Zablokowany

  • +
  • -
AdYaCh - zdjęcie AdYaCh 19.12.2008

Witam.

Sprawa wygląda tak.

Dzisiaj trochę bawiłem się z FTP etc i zauważyłem, ze amxx.cfg jest w stanie tragicznym tzn, że gdy chciałem go edytować to linijki były bardzo szerokie i w ogóle nieprzejrzyste, tak więc skopiowałem czysty amxx.cfg i wkleiłem do starego (usuwając tamten). Wkleiłem stare CVARy, ale obecnie ten cfg nie chce działać, tzn. komendy tam zapisane nie są pokazywane na serwerze. Może popełniłem gdzieś błąd :)? Proszę pomóc laikowi. Zostałem sam na święta z AMXem i jestem bezradny.

Zamieszczam mój 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 ModXnVisit http://www.amxmodx.org" "000100255"
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod XnVisit http://www.amxmodx.org" "000100255"
amx_scrollmsg <Uwaga! Nabor na Admina! - Info na TheUnderground.pl> <700>"000100255"
amx_scrollmsg <Cala ekipa TheUnderground.pl zyczy Wam wesolych i rodzinnych swiat! Mamy nadzieje, ze w nowym roku tez wybierzecie wlasnie Nasz serwer! : )><500>"000100255"
amx_scrollmsg <That we are one flesh, one breath, one life, one blood...> <450>"000100255"


// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180

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

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

// amx_hs-kills "3" // ilość fargów za hs'a
// amx_showc4timer <3> - Wyłączone | Tylko TT | Tylko CT | Wszyscy (Optymalnie: 3)
   amx_showc4flash <0> - Sprite flashing (Optymalnie: 0)
   amx_showc4sprite <1> - Choose from 2 sprites (Optymalnie: 1)
   amx_showc4msg <0> - Shows a hud message about the timer (Optymalnie: 0)

// mp_max_fb 3 || ilość flashbangów
   mp_max_he 5 || ilość he
   mp_max_sg 2 || ilość smoke

Dziękuje z góry:).
Odpowiedz

  • +
  • -
mgr inż. Pavulon - zdjęcie mgr inż. Pavulon 19.12.2008

amx_scrollmsg <700>"000100255"
amx_scrollmsg <500>"000100255"
amx_scrollmsg <450>"000100255"

czemu zamiast "" jest <> ?
Odpowiedz

  • +
  • -
AdYaCh - zdjęcie AdYaCh 19.12.2008

Korzystałem z poradnika na wiadrze, gdzie zamiast " " było właśnie < > .

Zmienię i powiem czy działa:)
Odpowiedz

  • +
  • -
microcode - zdjęcie microcode 20.12.2008

no na wiadrze dają taki kicz bo ja też parę luginów pobrałem z tamtąd i tak było :/
Odpowiedz

  • +
  • -
AdYaCh - zdjęcie AdYaCh 20.12.2008

Okej:).

Jestem pewny, że działa, ponieważ wyświetla mi już teksty jednak mimo to, nadal nie działa mi plugin, który zwiększa granaty. Za moment dodam plugin.ini , .sma + .amxx dodane poprawnie:).
Odpowiedz

  • +
  • -
mgr inż. Pavulon - zdjęcie mgr inż. Pavulon 20.12.2008

// mp_max_fb 3 || ilość flashbangów

jak coś to nie masz określonej ilości FB ;)
Odpowiedz

  • +
  • -
AdYaCh - zdjęcie AdYaCh 20.12.2008

Nie rozumiem; ) Przecież wartość jest na trzy : )?

Leci do Ciebie pomógł, a ja już znalazłem chyba błąd ^ ^.

Proszę nie zamykać tematu, ponieważ jakby co zgłoszę się jeszcze^
Odpowiedz

  • +
  • -
mgr inż. Pavulon - zdjęcie mgr inż. Pavulon 20.12.2008

//

oznacza komentarz, to co jest za "//" nie jest brane pod uwagę
Odpowiedz

  • +
  • -
AdYaCh - zdjęcie AdYaCh 20.12.2008

Czyli prawie cały mój powyższy confing jest "nieaktualny" ; )?

Dzięki, ze mi powiedziałeś, myślałem, wręcz przeciwnie. Leci kolejna nagroda :).

[ Dodano: 20-12-2008, 15:54 ]
~~

Można zamknąć :)
Odpowiedz
Zablokowany