Page 1 of 1

war3ft + psychostats

Posted: Tue Apr 24, 2007 3:21 pm
by Senne
Hi guys,
i'm running v3.0 RC5.0 war3ft
with amxmodx 1.76c

and using the psychostats.
Psychostats and war3 mod run fine.

Only i have no kills or players in my log files at cstrike/logs , while there should be players,kills etc be logged in so psychostats can read this.

The setup of psychostats has been checked by the psychostats community as well the gameserver side setup , so it should be fine.

They adviced me to talk to you guys , maybe you guys have an idea (they think its the war3 mod thats causing it)

an ex. of a logfile in which should be players,kills etc :

Code: Select all

L 04/23/2007 - 11:02:25: Log file started (file "logs/L0423001.log") (game "cstrike") (version "47/1.1.2.5/Stdio/3651")
L 04/23/2007 - 11:02:25: Server cvar "mp_freezetime" = "4"
L 04/23/2007 - 11:02:25: Server cvar "mp_autoteambalance" = "1"
L 04/23/2007 - 11:02:25: Server cvar "mp_limitteams" = "2"
L 04/23/2007 - 11:02:25: Log file closed

--- Please enter the following information for support ---
War3ft Version:
Amxmodx Version:
Metamod Version:
amxx list:
amxx modules:
meta list:

Posted: Tue Apr 24, 2007 3:25 pm
by YamiKaitou
Do you have War3FT set to write out the log stuff? (wc3_psychostats 1)

I am not sure exactly how it retrieves the stats (and don't tell me), but there should be nothing wrong with it on war3ft's end, but I could be wrong. You have all of the cvars set correctly as well?

Posted: Tue Apr 24, 2007 3:37 pm
by Krazy
The following cvars must be set in your server.cfg:

Code: Select all

log on
mp_logdetail 3 
mp_logmessages 0
Does not matter what mod you are running psychostats will still run the same with or without warcraft 3 mod.

Posted: Tue Apr 24, 2007 4:05 pm
by Senne
i asked it in psychostats forum (http://www.psychostats.com/forums/index ... opic=15795)
@Krazy , i got those cvars on , only its like this :
(they suggested this at psycho forum)

Code: Select all

mapchangecfgfile "server.cfg"
log on
mp_logdetail 0
bec they told me this
Log detail is set to 0 because your using stats_logging.amxx instead.
ill now test your cvars

@YamiKaitou , i tried both , 0 and 1 on that cvar.

thx for the quick reply , ill test the cvars

Posted: Tue Apr 24, 2007 4:39 pm
by Senne
tested the cvars from Krazy 2 maps and now it seems not to create any logs anymore ;)

ill check again in a few hours

Posted: Wed Apr 25, 2007 5:40 am
by Senne
ah ok , bec they told me having it on 'o' and stats_logging.amxx on , does it all
If you have mp_logdetail 3 then some of the game info (deaths/kills/etc) will be recorded twice as stats_logging.amxx is also doing the same thing although thats not working at the moment.

I would try it with warcraft not running and mp_logdetail 0 to see if the amxx plugin logs correctly, if it does then you will know warcraft is affecting the stats_logging.amxx plugin.

If this is the case then you could try statsme instead, this will also give you full stats logging so heashots, accuracy info will be logged also.

If statsme does not work either then use mp_logdetail 3, the problem with mp_logdetail 1,2 and 3 is it does not record all the information like headshots, accuracy etc but is the only remaining option appart from trying another version of warcraft.

Also double check mp_logfile is set to 1, it should be by default. Also does your version of warcraft log into its own log folder ?

Posted: Wed Apr 25, 2007 5:55 am
by Senne
ok im very very sorry to have you all help me with this.

Chances are its just me being totaly stupid.

I went tru the complete server.cfg and now saw at the bottom there was a log off line... so on top i added log on , so it only logged the cvars , im so sry guys

(im now checking if it was indeed this)

Posted: Wed Apr 25, 2007 8:12 am
by Senne
for future reference :

wc3_psychostats 1
in war3 cfg file

in server.cfg :
log on
mp_logdetail 0
mp_logmessages 1

+ in plugins.ini
stats_logging.amxx
has to be on