UT3Stats 0.95

General forum for discussions regarding UTStatsDB
Panther
Site Admin
Posts: 505
Joined: Sat Dec 08, 2007 12:51 am
Contact:

UT3Stats 0.95

Postby Panther » Mon Sep 29, 2008 10:30 pm

The latest version includes the UTUT3Stats.ini file with corrected settings, as well as the installation instructions. The remainder of my to-do list for this project consists of:
- Clean up PRI methods for compatibility with custom game types.
- Fix to allow server-side only, if possible.

omihaz
Posts: 65
Joined: Thu Dec 20, 2007 10:19 am

Re: UT3Stats 0.95

Postby omihaz » Tue Sep 30, 2008 2:04 am

- Fix to allow server-side only, if possible.
If you don't use client functions, try this is commandline:

Code: Select all

ut3 SetPackageFlags "DIRTOFILE\UT3Stats.u" ServerSideOnly=True AllowDownload=False
Thanks for update! I go for tests... :arrow:

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

Re: UT3Stats 0.95

Postby Panther » Tue Sep 30, 2008 2:24 am

I can set it to be server-side only, but then the clients don't work for some reason. This will have to wait since there are still problems with the connections. So far it seems manifest only on Linux.

omihaz
Posts: 65
Joined: Thu Dec 20, 2007 10:19 am

Re: UT3Stats 0.95

Postby omihaz » Tue Sep 30, 2008 4:52 am

I have this script warnings:

Code: Select all

ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:004F) Accessed None 'InstigatedBy' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:0076) Accessed None 'InstigatedBy' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:007E) Accessed None ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:009D) Accessed None 'Weapon' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:007E) Accessed None 'Pawn' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:009D) Accessed None 'Weapon' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:007E) Accessed None 'Pawn' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:009D) Accessed None 'Weapon' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:007E) Accessed None 'Pawn' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:009D) Accessed None 'Weapon'
... and ...

Code: Select all

ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:004F) Accessed None 'InstigatedBy' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:0076) Accessed None 'InstigatedBy' ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:007E) Accessed None ScriptWarning: UT3StatsGameRules DM-Deck-FPS.TheWorld:PersistentLevel.UT3StatsGameRules_0 (Function UT3Stats.UT3StatsGameRules:NetDamage:009D) Accessed None 'Weapon'
... and ...

Code: Select all

ScriptWarning: UTWeap_RocketLauncher DM-Deck-FPS.TheWorld:PersistentLevel.UTWeap_RocketLauncher_131 (Function UTGame.UTWeapon:WeaponPuttingDown.BeginState:0051) Accessed None 'Instigator' ScriptWarning: UTWeap_RocketLauncher DM-Deck-FPS.TheWorld:PersistentLevel.UTWeap_RocketLauncher_131 (Function UTGame.UTWeapon:TimeWeaponPutDown:0009) Accessed None 'Instigator' ScriptWarning: UTWeap_RocketLauncher DM-Deck-FPS.TheWorld:PersistentLevel.UTWeap_RocketLauncher_131 (Function Engine.Weapon:WeaponPuttingDown.WeaponIsDown:0009) Accessed None 'InvManager' ScriptWarning: UTWeap_RocketLauncher DM-Deck-FPS.TheWorld:PersistentLevel.UTWeap_RocketLauncher_131 (Function Engine.Weapon:WeaponPuttingDown.WeaponIsDown:0036) Accessed None 'InvManager'
And, log file created name as Stats-*.log, in UT2004 it create as Stats_*.log. May be rename Stats- to Stats_ for best capability parser logs? Or add INI option - mask filename?

If start utcomp3v3b3 with this version script - utcomp doesn't work!
UTComp exists in mutator list, but don't work!

MOTD don't view. In settings my MOTD string exists, but webadmin and ingame MOTD is empty.

I rename log file from Stats-20080930.121503.log to Stats_20080930.121503.log and try add to db, but:
Processing directory './Logs/' for 'Stats_*':
Processing log 'Stats_20080930.121503.log'...invalid.
0 of 1 logs processed - No new logs added.
In mutator list exists 'UT3Stats.UT3StatsMut'. Need to add in server run string as ?mutator=UT3Stats.UT3StatsMut?
Attachments
Stats-20080930.121503.log
(88.61 KiB) Downloaded 234 times

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

Re: UT3Stats 0.95

Postby Panther » Tue Sep 30, 2008 11:37 am

I'll look into the "accessed none" problems. I gather you're running on Linux? They don't seem to occur under Windows.

Currently, UT3Stats isn't going to work with a lot of mutators or custom game types. If you can point me to the source for UTComp3 maybe I can figure out why that one doesn't work.

MOTD works without UT3Stats but not when it's loaded?

I see no reason to change the filename. You just need to make sure you've configured the Logs configuration in UTStatsDB with the correct prefix.

No, you don't add UT3StatsMut to the mutator list, this is loaded automatically.

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

Re: UT3Stats 0.95

Postby Panther » Tue Sep 30, 2008 11:39 am

Do you have UTStatsDB configured to record stats on a map change? By default these are rejected.

Also, you said it doesn't work when using this version of UT3Stats. At what version did it stop working?

omihaz
Posts: 65
Joined: Thu Dec 20, 2007 10:19 am

Re: UT3Stats 0.95

Postby omihaz » Tue Sep 30, 2008 3:43 pm

Any mutator don't work with UT3Stats.
My MOTD mut don't work and UTComp. Source utcompe i not have. But in network exists source CustomUT.

Tests under linux server. 0.95 UT3Stats. UTStatsDB latest from svn. On map change conf utstatsdb.
UT2004 used Stats_, ut3 stats-... how use both games for 1 stats? change file name or add option, this is easy.

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

Re: UT3Stats 0.95

Postby Panther » Tue Sep 30, 2008 7:10 pm

UT2004 used Stats_, ut3 stats-... how use both games for 1 stats? change file name or add option, this is easy.
Simply go to the UTStatsDB admin menu, then in the log config click "Add", then fill in your UT3 log location and use "Stats-" for the log prefix. You can add a virtually unlimited number of prefixes here.

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

Re: UT3Stats 0.95

Postby Panther » Tue Sep 30, 2008 11:27 pm

The script warnings shouldn't show up anymore in version 0.96. Also, the log uploading and parsing still wasn't quite working but are fixed in 0.96. All players should now show up correctly as well.

omihaz
Posts: 65
Joined: Thu Dec 20, 2007 10:19 am

Re: UT3Stats 0.95

Postby omihaz » Wed Oct 01, 2008 3:55 am

0.96 still don't work with utcomp!
May be need replace code:

Code: Select all

class UT3StatsMut extends UTMutator; var UT3Stats utstats; function InitMutator(string Options, out string ErrorMessage) { utstats = UT3Stats( WorldInfo.Game.AccessControl ); utstats.StatsMut = self;super.InitMutator(Options, ErrorMessage); }
on this code:

Code: Select all

class UT3StatsMut extends UTMutator; var UT3Stats utstats; function InitMutator(string Options, out string ErrorMessage) { utstats = UT3Stats( WorldInfo.Game.AccessControl ); utstats.StatsMut = self;super.InitMutator(Options, ErrorMessage); super.InitMutator(Options, ErrorMessage); }
And why not change filename? Replace this:

Code: Select all

StatLog.OpenFile( "Stats", FWFT_Log, ".log", true, true )
on this

Code: Select all

StatLog.OpenFile( "Stats_", FWFT_Log, ".log", true, true )
or view source code of WebAdmin ChatLogger ( function createFilename() )

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

Re: UT3Stats 0.95

Postby Panther » Wed Oct 01, 2008 5:02 am

I've just started making UT3Stats friendlier with other mutators and game types. In fact, the next version will even run server-side only. As for the file name, what do you have against hyphens?

omihaz
Posts: 65
Joined: Thu Dec 20, 2007 10:19 am

Re: UT3Stats 0.95

Postby omihaz » Wed Oct 01, 2008 8:49 am

Hmm... UT2004 use UTStatDB and log files have names "Stats_"! UTStatDB configured for ut2k4 log files Stats_*. UT3 log files have name Stats- and if parse him on UTStatDB configured for ut2k4 log files Stats_* -> error files Stats_* not found, because files have name Stats- (nor Stats_). How do I use both games: UT2004 and UT3 with one UTStatDB?

Donzi
Posts: 17
Joined: Wed Oct 01, 2008 7:59 am
Location: Germany
Contact:

Re: UT3Stats 0.95

Postby Donzi » Wed Oct 01, 2008 9:01 am

Add 2 UTStatsDB Logs Configuration.

1 for 2k4 and 1 for ut3

2k4 Log Prefix: Stats_
ut3 Log Prefix: Stats-


Output with all 3 Games in 1 UTstatsDB:
Processing directory '/UserLogs/' for 'Stats_*':
Processing directory '/UserLogs/' for 'Unreal.ngLog.*':
Processing directory '/UserLogs/' for 'Stats-*':

But i got some errors :/
Processing log 'Stats-20081001.180023.log'...incomplete.

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

Re: UT3Stats 0.95

Postby Panther » Wed Oct 01, 2008 9:49 am

Processing log 'Stats-20081001.180023.log'...incomplete.
How was the match ended? Was this sent to the server using the upload function in UT3Stats?
I've found that large logs often do not make it to the web server complete. FTP is definitely the more reliable method.

omihaz
Posts: 65
Joined: Thu Dec 20, 2007 10:19 am

Re: UT3Stats 0.95

Postby omihaz » Wed Oct 01, 2008 12:07 pm

Thanks.


Return to “UTStatsDB”