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

Problem statystki


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

#1 Oliwier

    Początkujący

  • Użytkownik

Reputacja: -1
Nowy

  • Postów:13
  • Lokalizacja:Szarlotka
Offline

Napisano 22.02.2013 11:24

Witam

Dwa dni temu robiłem aktualizacje serwera do najnowszych ustawień i dzisiaj rano okazało się że po restarcie serwera nie zapisuje sie statystyka,postawnowiłem sprawdzić pluginy standardowe,okazało się że w ogóle ich nie ma więc dograłem ręcznie i ustawiłem statystyka dziala jak tako ale gdy zrobię restart serwera to usuwa sie wszystko z top15 i każdy gracz zaczyna od zera nabijanie fragów.Przejżałem już wszystko ale nie mam pojęcia dlaczego po restarcie usuwa sie rank,jeśli ktoś wie o co chodzi proszę o szybką pomoc.

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: "Zarejestruj sie na  naszym forum! www.OnlyCs.pl" 600
amx_scrollmsg "Odwiedz nasze forum www.OnlyCs.pl" 600

// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Zarejestruj sie na  naszym forum! www.OnlyCs.pl" "000255100"
//				 "Zarejestruj sie na Forum!" "000100255"
amx_imessage "Witaj na serwerze Only DD2 by OnlyCs.pl" "000100255"
amx_imessage "Witaj na serwerze Only DD2 by OnlyCs.pl" "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 automatically 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 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

plugin.ini
; Admin Base - Always one has to be activated
admin.amxx  ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
amxbans.amxx  ;AMXBans

; 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)

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

  • +
  • -
  • 0

#2 glut

    Godlike

  • Przyjaciel

Reputacja: 954
Master

  • Postów:2 086
  • GG:
  • Steam:steam
  • Imię:Mateusz
  • Lokalizacja:Namysłów
Offline

Napisano 22.02.2013 12:55

csstats_rank 1 na 0 :)
  • +
  • -
  • 0

Nie pomagam za darmo na PW/GG/Steam od tego jest forum

 

TP Game + RR

 

Znak rozpoznawczy :coto:


#3 Oliwier

    Początkujący

  • Autor tematu
  • Użytkownik

Reputacja: -1
Nowy

  • Postów:13
  • Lokalizacja:Szarlotka
Offline

Napisano 22.02.2013 13:01

Nieważne czy jest na 0 czy na 1 nadal jest taki sam problem
  • +
  • -
  • 0

#4 Cofnij sie

    Profesjonalista

  • Użytkownik

Reputacja: 40
Pomocny

  • Postów:161
  • GG:
  • Lokalizacja:Polska
Offline

Napisano 22.02.2013 23:03

Spróbuj zwiększyć


csstats_maxsize 3500

na np. 500000

Chociaż na każdą zmianę mapy nie wiem czy to wtedy ma wpływ, skoro i tak resetuje.

Użytkownik Cofnij sie edytował ten post 22.02.2013 23:03

  • +
  • -
  • 0

Moja

sygnatura

ma

sześć

linii.


#5 MaxiKINGer

    Banned

  • Zbanowany

Reputacja: 35
Życzliwy

  • Postów:307
  • GG:
  • Imię:Mateusz
  • Lokalizacja:Kartuzy
Offline

Napisano 22.02.2013 23:25

Dopisz do core.ini w folderze configs:
csstats_score addons/amxmodx/data/csstats.amxx
csstats addons/amxmodx/data/csstats.dat
zaraz pod
amxx_vault addons/amxmodx/data/vault.ini

csstats_rank 0
csstats_maxsize 3500

Pomogłem? Postaw z łaski swojej plusa...
Wbijaj! www.Mocny-Trick.pl
Dołączona grafikaDołączona grafika
Dołączona grafikaDołączona grafika

Dołączona grafika


#6 Oliwier

    Początkujący

  • Autor tematu
  • Użytkownik

Reputacja: -1
Nowy

  • Postów:13
  • Lokalizacja:Szarlotka
Offline

Napisano 23.02.2013 08:22

Max mam to dopisane do core i nic z tego nie wynika,jak już mówiłem wszystko sprawdzałem i nic.na razie wyłączyłem AutoRestarter serwera żeby nie kasowało ranku i czekam dalej na rozwiązanie mojego błędu.

Może podmiana plików csstats.dat i csstats.amxx coś da tylko że nie mam nowych czystych jeśli ktoś takie posiada prosiłbym o link.

I jeszcze jedno bo tego nie wiem,jak dobrze pamiętam przed aktualizacja serwera chyba nie posiadałem pilku "vault.ini" może mi ktoś powiedzieć za co ten plik odpowiada i do czego służy,może to wina twgo pliku że ten rank się nie zapisuje?

Użytkownik Oliwier edytował ten post 23.02.2013 08:30

  • +
  • -
  • 0

#7 MaxiKINGer

    Banned

  • Zbanowany

Reputacja: 35
Życzliwy

  • Postów:307
  • GG:
  • Imię:Mateusz
  • Lokalizacja:Kartuzy
Offline

Napisano 23.02.2013 11:23

Po dopisaniu tego rank i tak się jeszcze raz zrestartuje.
Serwer musi na czysto wstać i wczytać ten pliczek.

Po 2-gim restarcie już nie powinien znikać ranq.

Pomogłem? Postaw z łaski swojej plusa...
Wbijaj! www.Mocny-Trick.pl
Dołączona grafikaDołączona grafika
Dołączona grafikaDołączona grafika

Dołączona grafika


#8 Oliwier

    Początkujący

  • Autor tematu
  • Użytkownik

Reputacja: -1
Nowy

  • Postów:13
  • Lokalizacja:Szarlotka
Offline

Napisano 23.02.2013 12:04

Kolego który pliczek core.ini?
czy
csstats.dat i csstats.amxx?
  • +
  • -
  • 0

#9 MaxiKINGer

    Banned

  • Zbanowany

Reputacja: 35
Życzliwy

  • Postów:307
  • GG:
  • Imię:Mateusz
  • Lokalizacja:Kartuzy
Offline

Napisano 23.02.2013 13:21

csstats.dat to jakby baza danych
csstats.amxx to plugin

Tych dwóch nie ruszasz
core.ini ma wyglądać tak:
; Configuration file for AMX Mod X
amxx_logs addons/amxmodx/logs
amxx_configsdir addons/amxmodx/configs
amxx_datadir addons/amxmodx/data
amxx_modules addons/amxmodx/configs/modules.ini
amxx_plugins addons/amxmodx/configs/plugins.ini
amxx_pluginsdir addons/amxmodx/plugins
amxx_modulesdir addons/amxmodx/modules
amxx_vault addons/amxmodx/data/vault.ini
csstats_score addons/amxmodx/data/csstats.amxx
csstats addons/amxmodx/data/csstats.dat 

; Logging mode
; 0 - no logging
; 1 - one logfile / day
; 2 - one logfile / map
; 3 - HL Logs
amxx_logging 1

; Binary logging level
; add these up to get what you want
; these only work with bin logging binaries
; 1  - default
; 2  - log internal string sets/gets
; 4  - log internal formats
; 8  - log all native params
; 16 - log internal function calls (only in debug mode)
; 32 - log line number accesses (only in debug mode)
bin_logging 49

; Maximum binary log size, in megs
max_binlog_size 20

; Plugin optimization flags - add these up to get what you want
; lowering these may stop crashes on very old CPUs
; set 65536 to disable optimizer, NOT 0!
;-------------
; 1 - float arithmetic
; 2 - float comparisons
; 4 - float rounding
optimizer 7
Zapisz. Zrestartuj serwer (w tym momencie jeszcze raz zrestartuje się rank) i od tego momentu już nie powinno być resetów (po następnych restartach...)
Skumałeś? Wyjaśniłem najprościej jak mogłem.

Pomogłem? Postaw z łaski swojej plusa...
Wbijaj! www.Mocny-Trick.pl
Dołączona grafikaDołączona grafika
Dołączona grafikaDołączona grafika

Dołączona grafika


#10 Oliwier

    Początkujący

  • Autor tematu
  • Użytkownik

Reputacja: -1
Nowy

  • Postów:13
  • Lokalizacja:Szarlotka
Offline

Napisano 25.02.2013 17:16

Tak ma tak zrobione jak napisałeś ale nadal rank się resetuje po restarcie serwera.
  • +
  • -
  • 0




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

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