Author Topic: Tremstats not working properly  (Read 2759 times)

apax

  • Posts: 1
  • Turrets: +0/-0
Tremstats not working properly
« on: November 30, 2006, 01:18:44 pm »
I'm not really sure if this goes in this the Troubleshooting section or General Discussion, since it's not a problem with the Tremulous game itself..

Anyways, I've set up a server which a few of my friends have been playing on, and we came up that logging the games would be fun, so you can see who's the best/worst player =)
I found tremstats and it looked very nice, so I downloaded the patched tremulous server and got it working nicely. I can see the difference in the log files..

But I'm having some troubles. When executing tremstats.py it says:
Code: [Select]
Checking temporary logfile ...
Renaming original logfile ...
No temporary file yet

And nothing more. No submissions to Mysql and there's no difference on the php page. Trying a ./tremstats --calconly doesn't make anything better either. Trying to run tremstats.py later produces this response:
Code: [Select]
Checking temporary logfile ...
Log does not exist, means the temporary logfile is still open

..which is quite logical, since there's no log file.
EDIT: It seems that the games table in the database are being filled correctly. And players names are also filled in the player table correctly, but not "player_game_time_factor", "player_kill_efficiency" and similar..

Another problem is that in the Tremstats index.php there should be some info on the server, like if there are any players connected and which map is being run, but all I get is: "Server not reachable"

I've edited the config.inc.php file to match my set up, but I'm not really sure what to write in:
Code: [Select]
define('TREM_ADDRESS',   '');
localhost, or my dns address doesn't seem to make any difference, and I guarantee that the server is running...

Have anyone else had this much trouble with setting up tremstats?

Thanks in advance! =)

PIE

  • Posts: 1471
  • Turrets: +96/-52
    • http://www.mercenariesguild.net
Tremstats not working properly
« Reply #1 on: November 30, 2006, 07:51:48 pm »
I'm not sure.. but you might want to PM DASPRiD
since he wrote it and could probably help you out much faster than we could.. and make sure one of you posts the solution here in case this crops up again.

DASPRiD

  • Administrator
  • Posts: 549
  • Turrets: +21/-2
    • http://www.dasprids.de
Tremstats not working properly
« Reply #2 on: November 30, 2006, 08:26:20 pm »
Problem:
He didn't install the weapons-table.

Solution:
He installed the weapons-table.

------

Easy, isn't it? ;)
url=https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mail%40dasprids%2ede&item_name=DASPRiD%27s&no_shipping=0&no_note=1&tax=0&currency_code=EUR&lc=DE&bn=PP%2dDonationsBF&charset=UTF%2d8][/url]