OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: Jiminy on February 06, 2011, 12:50:51 AM



Title: g_loghits
Post by: Jiminy on February 06, 2011, 12:50:51 AM
The cvar g_loghits exists in OA, but it doesn't seem to do anything.

Was this taken out?

Does it work at all?

Are there special values for it, or just 1 and 0?


Title: Re: g_loghits
Post by: Cacatoes on February 06, 2011, 08:05:57 AM
Hello,

It seems g_loghits isn't completed when I try to list it from console, that could mean the variable doesn't exist.
If I type its name and enter, it outputs no value.
It's likely this variable doesn't exist, except if you had some "seta g_loghits" somewhere in your config files.
I'm not aware of this cvar and its use, so I suppose it was used in a Q3 Mod but has no use and doesn't exist inside OA.

What were you intending to do, make stats from hits ?
I haven't followed from near but maybe aftershock mod uses that variable.


Title: Re: g_loghits
Post by: Jiminy on February 15, 2011, 12:48:50 AM
Yeah. I wanted to computer stats serverside instead of clientside like aftershock does.

UT does this. Wolfenstien ET too, I think.


Title: Re: g_loghits
Post by: Cacatoes on February 15, 2011, 06:30:15 PM
You might check this: http://openarena.ws/board/index.php?topic=4043.msg37052#msg37052


Title: Re: g_loghits
Post by: schlorri on March 09, 2011, 03:55:20 PM
Hello,

in AfterShock you have the option to write clientstats AND serverstats. For clientstats look at the cg_autoaction cvar( bitmask for stats is 4 ), for serverstats use the g_writeStats cvar. For example we use the serverstats for the AfterShock webpage (http://oaunofficial.exulo.de/match_result.php?game_id=3754) with stats.

The AfterShock project really needs some wiki-writers i think :)

a_clown