Sie sind nicht angemeldet.

1

Dienstag, 4. November 2008, 21:37

Stats - Stats werden nachm Serverreboot resettet :|

jop hab da ein kleines problem :

stats laufen soweit ganz gut bis auf ein problem : nach jedem rebooten meines Gameservers werden die Stats auf 0 gesetzt als ob niemand auf den Server drauf gewesen wär. Weiß jemand wie ich das fixen kann ?

2

Mittwoch, 5. November 2008, 17:16

Re: Stats - Stats werden nachm Serverreboot resettet :|

zeig mal den stats teil der mani_server.cfg
ich tippe mal dass das schreiben in ne datei deaktiviert ist, oder die schreibrechte des servers für den ordner in dem die stats sind fehlen

3

Mittwoch, 5. November 2008, 20:36

Re: Stats - Stats werden nachm Serverreboot resettet :|

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
// Module : Stats
//
// Desc : The stats module is a very simple ranking system based on 3 methods of
//        calculation (defined in mani_stats_calculate).
// *****************************************************************************

// 1 = Enable stats module, 0 = disable stats module
mani_stats 1

// 0 = calculate once per map, 1 = calculate at end of each round (CSS Only)
mani_stats_mode 1

// Number of days since player last connected before they are removed from the 
// stats list
mani_stats_drop_player_days 30

// This cvar is used to set the type of stats calculation to use for ranking 
// players
// 0 = Rank by by pure kills
// 1 = Rank by by kill:death ratio
// 2 = Rank by kills minus deaths
// 3 = Rank by points (points delta = (victim_points/killer_points) * multiplier
mani_stats_calculate 3

// Number of kills required before a player is given a rank
// If you are using the Kill Death ratio you should set this quite high
mani_stats_kills_required 1

// Number of kills + deaths required before a victims points are affected by the
// attackers kills. This prevents new players from affecting regular players points
// until a certain amount of experience is gained from playing.
mani_stats_kills_before_points_removed 0

// Defines how long a 'top' display lasts for before it fades (5 - 30 seconds)
mani_stats_top_display_time 10

// Defines whether other players see your rank when you type 'rank'
// 1 = show rank to all players
// 0 = only show rank to player who typed 'rank'
mani_stats_show_rank_to_all 1

// Defines a message to show when a user types 'rank' and the stats are turned 
// off (this can be blank)
mani_stats_alternative_rank_message ""

// Enables writing of ranks to a text file called mani_ranks.txt for export to a 
// web page.
mani_stats_write_text_file 1

// Set in minutes how often you want the stats to recalculate. This should be 
// used if you have long map times with no end of round.
// 0 = disables frequency calculating, > 0 = time in minutes between each stats
// rank calculation
mani_stats_calculate_frequency 0

// Set in minutes how often you want the stats to recalculate AND write to disk
// This should be used if you have long map times with no end of round.
// 0 = disabled, > 0 = time in minutes between each save and recalculation of
// ranks
mani_stats_write_frequency_to_disk 0


// Set to 1 if you want your ranks to be by steam id (default), 
// Set to 0 if you are not using steam ids on your server (Lan mode)
mani_stats_by_steam_id 1

// 1 = Include any bot kills made in stats
// 0 = Killing a bot does not count to stats
mani_stats_include_bot_kills 0


// Stats points decay settings
// Number of days since last connect that points decay will start
mani_stats_decay_start 2

// Number of days that the decay will take place over once started
// Points will drop to 500 over this period of time. If the player rejoins 
// their points will be restored to full value
mani_stats_decay_period 7

// When a player reconnects the stats module can restore a players
// points back to the full amount if decay has set in
// 0 = Do not restore full points, 1 = restore to full points
mani_stats_decay_restore_points_on_connect 0

// If set to 1 a victim will never lose points ala BF2
mani_stats_points_add_only 0

// Number of days before a player is made invisible from
// being ranked. Note that the player is not dropped, if
// they rejoin their rank will be restored.
mani_stats_ignore_ranks_after_x_days 21

// Multiplier used in points calculation, default is 5.0
mani_stats_points_multiplier "5.0"

// Multiplier for victim points lost. If you want victims
// to lose say half points for dying set this to "0.5" etc
mani_stats_points_death_multiplier "1.0"

// Weapon weighting for CSS Stats 1.0 = default
// Making a weight 2.0 will double the points given/taken
// Making a weight 0.5 will halve the points given/taken
mani_stats_css_weapon_ak47 "1.0"
mani_stats_css_weapon_m4a1 "1.0"
mani_stats_css_weapon_mp5navy "1.2"
mani_stats_css_weapon_awp "1.0"
mani_stats_css_weapon_usp "1.4"
mani_stats_css_weapon_deagle "1.2"
mani_stats_css_weapon_aug "1.0"
mani_stats_css_weapon_hegrenade "1.8" 
mani_stats_css_weapon_xm1014 "1.1"
mani_stats_css_weapon_knife "2.0"
mani_stats_css_weapon_g3sg1 "0.8"
mani_stats_css_weapon_sg550 "0.8"
mani_stats_css_weapon_galil "1.1"
mani_stats_css_weapon_m3 "1.2"
mani_stats_css_weapon_scout "1.1"
mani_stats_css_weapon_sg552 "1.0"
mani_stats_css_weapon_famas "1.0"
mani_stats_css_weapon_glock "1.4"
mani_stats_css_weapon_tmp "1.5"
mani_stats_css_weapon_ump45 "1.2"
mani_stats_css_weapon_p90 "1.2"
mani_stats_css_weapon_m249 "1.2"
mani_stats_css_weapon_elite "1.4"
mani_stats_css_weapon_mac10 "1.5"
mani_stats_css_weapon_fiveseven "1.5"
mani_stats_css_weapon_p228 "1.5"
mani_stats_css_weapon_flashbang "5.0"
mani_stats_css_weapon_smokegrenade "5.0"

// Bonus Points for CSS
mani_stats_css_bomb_planted_bonus "10"
mani_stats_css_bomb_defused_bonus "10"
mani_stats_css_hostage_rescued_bonus "5"
mani_stats_css_hostage_killed_bonus "-15"
mani_stats_css_vip_escape_bonus "4"
mani_stats_css_vip_killed_bonus "10"

// Weapon weighting for DODS Stats 1.0 = default
// Making a weight 2.0 will double the points given/taken
// Making a weight 0.5 will halve the points given/taken

mani_stats_dods_weapon_amerknife "3.0"
mani_stats_dods_weapon_spade "3.0"
mani_stats_dods_weapon_colt "1.6"

mani_stats_dods_weapon_p38 "1.5"
mani_stats_dods_weapon_c96 "1.5"
mani_stats_dods_weapon_garand "1.3"
mani_stats_dods_weapon_m1carbine "1.2"
mani_stats_dods_weapon_k98 "1.3"
mani_stats_dods_weapon_spring "1.5"
mani_stats_dods_weapon_k98_scoped "1.5"
mani_stats_dods_weapon_thompson "1.25"
mani_stats_dods_weapon_mp40 "1.25"
mani_stats_dods_weapon_mp44 "1.35"
mani_stats_dods_weapon_bar "1.2"
mani_stats_dods_weapon_30cal "1.25"
mani_stats_dods_weapon_mg42 "1.2"
mani_stats_dods_weapon_bazooka "2.25"
mani_stats_dods_weapon_pschreck "2.25"
mani_stats_dods_weapon_frag_us "1.0"
mani_stats_dods_weapon_frag_ger "1.0"
mani_stats_dods_weapon_smoke_us "5.0"
mani_stats_dods_weapon_smoke_ger "5.0"
mani_stats_dods_weapon_riflegren_us "1.3"
mani_stats_dods_weapon_riflegren_ger "1.3"
mani_stats_dods_weapon_punch "3.0"

// Bonus Points for DODS
mani_stats_dods_capture_point 4
mani_stats_dods_block_capture 4