Raised This Month: $51 Target: $400
 12% 

[RESOLVED] stats are disappeared


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 02-19-2007 , 17:32   [RESOLVED] stats are disappeared
Reply With Quote #1

On "say !topten" the menu opens and all the entries are empty. Points are added on each end of a map.

Quote:
// stats cvars
gg_stats_file "gungame.stats"
gg_stats_ip 0
gg_stats_prune 2592000
gg_stats_mode 2
gg_stats_winbonus 1.5
Using GG 1.15 with AMXX 1.76c. Statsfile (cstrike\gungame.stats) has 211kb/4677 lines.

Last edited by XxAvalanchexX; 02-23-2007 at 18:59.
Guenhwyvar is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-19-2007 , 19:04   Re: stats are disappeared
Reply With Quote #2

Attach or PM me your gungame.stats file.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 02-20-2007 , 02:23   Re: stats are disappeared
Reply With Quote #3

Here we go:
Attached Files
File Type: rar gungame.rar (90.3 KB, 220 views)
Guenhwyvar is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-20-2007 , 19:25   Re: stats are disappeared
Reply With Quote #4

This is how it appears on my computer, although I was able to go to your server and see that it does occur there. What OS is your server, and what are the permissions on the file?

EDIT: files removed
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 02-21-2007 at 23:23.
XxAvalanchexX is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 02-21-2007 , 02:25   Re: stats are disappeared
Reply With Quote #5

The OS is OpenSuSE 10.1, the permissions on the file were 644 (created by the user running the hlds). I just changed to 777 (+mapchange), but no upturn.
I do not look often into the top10, but I know it worked once. I do not remember if it was 1.14 I lastly called the list.
Guenhwyvar is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-21-2007 , 14:03   Re: stats are disappeared
Reply With Quote #6

Okay, use this binary. When in game, say "!top10debug". Then check your console for a list of the top10 and paste it here. Then say "!top10get", and then another "!top10debug" to see if the list in console changed. Paste the second iteration of the list here as well.

EDIT: files removed
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 02-21-2007 at 23:22.
XxAvalanchexX is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 02-21-2007 , 16:33   Re: stats are disappeared
Reply With Quote #7



1st time !top10debug:
Quote:
--------------------
TOP10 #1: ""
TOP10 #2: ""
TOP10 #3: ""
TOP10 #4: ""
TOP10 #5: ""
TOP10 #6: ""
TOP10 #7: ""
TOP10 #8: ""
TOP10 #9: ""
TOP10 #10: ""
--------------------
!top10get
Quote:
* [DEBUG] The top10 has been retrieved again.
2nd time:
Quote:
--------------------
TOP10 #1: ""
TOP10 #2: ""
TOP10 #3: ""
TOP10 #4: ""
TOP10 #5: ""
TOP10 #6: ""
TOP10 #7: ""
TOP10 #8: ""
TOP10 #9: ""
TOP10 #10: ""
--------------------
What else I can do to help?
Guenhwyvar is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-21-2007 , 23:32   Re: stats are disappeared
Reply With Quote #8

Okay, well it narrows down the problem. We probably have only two steps left! ;)

Use the attached binary, and on map startup (or, when you say "!top10get"), check your latest AMXX log file (addons/amxmodx/logs/) for messages from [gungame.amxx] starting with [TOP10]. Tell me what they say (only the related logs).

EDIT: files removed
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 02-22-2007 at 19:08.
XxAvalanchexX is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 02-22-2007 , 01:55   Re: stats are disappeared
Reply With Quote #9

I got some errorlogs:

After the mapchange:

Quote:
L 02/22/2007 - 07:51:06: [AMXX] Displaying debug trace (plugin "gungame.amxx")
L 02/22/2007 - 07:51:06: [AMXX] Run time error 4: index out of bounds
L 02/22/2007 - 07:51:06: [AMXX] [0] gungame.sma::stats_get_top_players (line 3865)
L 02/22/2007 - 07:51:06: [AMXX] [1] gungame.sma::toggle_gungame (line 1874)
L 02/22/2007 - 07:51:06: [AMXX] [2] gungame.sma::plugin_init (line 398)
On !top10get / !top10debug:

Quote:
L 02/22/2007 - 07:54:23: [AMXX] Displaying debug trace (plugin "gungame.amxx")
L 02/22/2007 - 07:54:23: [AMXX] Run time error 4: index out of bounds
L 02/22/2007 - 07:54:23: [AMXX] [0] gungame.sma::stats_get_top_players (line 3865)
L 02/22/2007 - 07:54:23: [AMXX] [1] gungame.sma::cmd_say (line 1705)
The normal amxx log has no entries from gungame.amxx.

Using the 2nd binary of this thread.

EDIT
argh, I forgot about that: I set down gg_stats_prune to 604800 yesterday. So after a mapchange (but not on !top10get) I got this:

Quote:
L 02/22/2007 - 08:12:42: [gungame.amxx] Pruning gungame.stats: 2886 entries removed
L 02/22/2007 - 08:12:43: -------- Mapchange to de_toxwastor --------
L 02/22/2007 - 08:12:45: [gungame.amxx] [TOP10] Found blank top10 line (2158/2158): skipping
L 02/22/2007 - 08:12:45: [gungame.amxx] [TOP10] Succesfully retrieved top10! Example listing: 0 = 20048, 2
If you want to catch this bug, I set the prune value to default and re-upload the big gungame.stats file!

Last edited by Guenhwyvar; 02-22-2007 at 02:41.
Guenhwyvar is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-22-2007 , 19:07   Re: stats are disappeared
Reply With Quote #10

Tell me if this binary resolves the issues.

EDIT: files removed
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 04-16-2007 at 01:13.
XxAvalanchexX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode