Carjacks & Road Rampages?

General forum for discussions regarding UTStatsDB
Player701
Posts: 11
Joined: Mon Apr 19, 2010 1:21 am

Carjacks & Road Rampages?

Postby Player701 » Mon Apr 19, 2010 2:06 am

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.

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: Carjacks & Road Rampages?

Postby Panther » Mon Apr 19, 2010 3:31 am

OLStats does log carjackings and road rampages. You might need to enable "Full Vehicle Stats" in the UTStatsDB main configuration.

Player701
Posts: 11
Joined: Mon Apr 19, 2010 1:21 am

Re: Carjacks & Road Rampages?

Postby Player701 » Mon Apr 19, 2010 4:03 am

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

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: Carjacks & Road Rampages?

Postby Panther » Mon Apr 19, 2010 4:32 am

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.

Player701
Posts: 11
Joined: Mon Apr 19, 2010 1:21 am

Re: Carjacks & Road Rampages?

Postby Player701 » Mon Apr 19, 2010 5:44 am

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).
Attachments
Stats_7777_2010_04_19_16_01_42.log
(26.71 KiB) Downloaded 285 times

Player701
Posts: 11
Joined: Mon Apr 19, 2010 1:21 am

Re: Carjacks & Road Rampages?

Postby Player701 » Mon Apr 19, 2010 7:15 am

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...

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: Carjacks & Road Rampages?

Postby Panther » Mon Apr 19, 2010 9:58 am

It is correct that carjackings are not being logged by OLStats. What version are you running?

Player701
Posts: 11
Joined: Mon Apr 19, 2010 1:21 am

Re: Carjacks & Road Rampages?

Postby Player701 » Mon Apr 19, 2010 10:30 am

I'm using the latest version, 3.01. I got it here: http://www.apartment167.com/forum/viewt ... f=20&t=750

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: Carjacks & Road Rampages?

Postby Panther » Mon Apr 19, 2010 10:39 am

Have you tried disabling any other mutators on your server?

Player701
Posts: 11
Joined: Mon Apr 19, 2010 1:21 am

Re: Carjacks & Road Rampages?

Postby Player701 » Mon Apr 19, 2010 11:09 am

I haven't, but I will try this tomorrow (my time zone is UTC +3) and report the results here.

Player701
Posts: 11
Joined: Mon Apr 19, 2010 1:21 am

Re: Carjacks & Road Rampages?

Postby Player701 » Tue Apr 20, 2010 2:26 am

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).


Return to “UTStatsDB”