Page 1 of 1
Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 2:06 am
by Player701
Hello there.
It seems that UTStatsDB doesn't log Carjack & Road Rampage events. While I can hear the announcer messages about them in-game, they cannot be seen in match event log.
UTStatsDB version 3.06
PHP 5.2.12
UT2004 last version (3369)
Windows Server 2003 (apache 2.2.14, mysql 5.1)
The stat logger is OLStats, as a mutator for listen servers and Instant Action games.
Please explain what I am doing wrong (if that's my problem). Maybe I need to set up some special options in the game? Or maybe I confused these events with something else (carjack = get in vehicle previously used by another team, road rampage = spree of road kills)?
Another suggestion: I play with many bots, maybe these events aren't logged with them?
Thanks.
P.S. Could not find anything about these problems in OLStats forum... That's why I'm posting here.
Re: Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 3:31 am
by Panther
OLStats does log carjackings and road rampages. You might need to enable "Full Vehicle Stats" in the UTStatsDB main configuration.
Re: Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 4:03 am
by Player701
Full vehicle stats are already enabled...
Here's the OLStats configuration (maybe something's set incorrectly?):
Code: Select all
[OLStats.MutOLGameStats]
bExportRawLog=True
bExportHTMLLogs=False
bLogBots=True
bLogChat=True
bLogPickups=True
bLogVehicleDeaths=True
bLogSecurityInfo=True
bLogPings=True
bLogAccuracy=True
bAdvancedVoteLogging=True
bMasterServerStats=False
bRunUTStatsDBParser=False
ParserURL=**********/logs.php
ParserPass=**********
bUploadLogs=True
UploadURL=**********/OLSendLog.php
UploadPass=**********
MinPlayers=1
MinHumans=0
KeepBotRecords=True
Re: Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 4:32 am
by Panther
Everything should be okay there. Upload a log file in which carjackings and road rampage occurred so I can see if the events are being logged by OLStats.
Re: Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 5:44 am
by Player701
Here's the log (Sorry, there were no road rampages). I carjacked a Scorpion and a Goliath (and then killed some enemies with them), but I still can't see these events in the match stats,
http://player701.us.to/utstats/matchstats.php?match=8 - here's the link to them.
P.S. This was an instant-action game, as I couldn't find people to play with me on LAN (I usually play on LAN, yes).
Re: Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 7:15 am
by Player701
Hey, it seems I found the cause of the problem. Here is what I get in UT2004.log on game start:
Code: Select all
Warning: OLLocalGameStats ONS-Torlan.OLLocalGameStats (Function OLStats.OLLocalGameStats.GetLogFilename:005A) Accessed None 'GameReplicationInfo'
(replace ONS-Torlan with anything else).
And here's the piece of OLStats code that checks for carjackings:
Code: Select all
function bool CanEnterVehicle(Vehicle V, Pawn P)
{
local bool bCanEnter;
if( NextMutator != None )
bCanEnter = NextMutator.CanEnterVehicle(V, P);
else
bCanEnter = true;
if (GS != none && bCanEnter && !V.bTeamLocked && (P.GetTeamNum() != V.Team))
GS.GameEvent( "carjack", GetItemName(string(V)), P.PlayerReplicationInfo );
return bCanEnter;
}
I changed the above code to check all the expression parts evaluated by the last IF statement. The event is not logged because GS (which is something responsible for logging events - but I'm not completely sure) is none.
I'll post a topic on OLStats forum about this issue.
EDIT: Ah, something's wrong with that forum, it says that creating a new account is currently not possible. So, UTStatsDB has nothing to do with this issue. I think the topic may be closed...
Re: Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 9:58 am
by Panther
It is correct that carjackings are not being logged by OLStats. What version are you running?
Re: Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 10:30 am
by Player701
Re: Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 10:39 am
by Panther
Have you tried disabling any other mutators on your server?
Re: Carjacks & Road Rampages?
Posted: Mon Apr 19, 2010 11:09 am
by Player701
I haven't, but I will try this tomorrow (my time zone is UTC +3) and report the results here.
Re: Carjacks & Road Rampages?
Posted: Tue Apr 20, 2010 2:26 am
by Player701
With any other mutator disabled except OLStats, I still get the same issue - carjackings are not logged (Though road rampages are logged, that was my mistake), GS is still none (I added some debug messages to the code).