Page 1 of 1
VCTF does not register flag caps etc
Posted: Fri Jan 29, 2010 6:21 am
by CVROY
I noticed that the flag stats for caps, drops, assists, carry time and saves are not registering... On my site if you go to totals in utstats DB it says 1 flag save and I know that there have been more than that
http://wickedgamers.clanservers.com/ind ... &Itemid=74
I am running a Vehicle CTF which extends CTF so should it not be collecting these stats and registering them?
Do I need to adjust anything in any PHP files for utstatsdb?
UTStatsDB version = 306
Operating system and version = Linux
Database type and version = mysql 4.1.22-standard
PHP version = 5.2.11
Web server and version = 2.2.14 (Unix)
Unreal Tournament version = UT3
Stat logger type and version = utstats http 104
Re: VCTF does not register flag caps etc
Posted: Fri Jan 29, 2010 9:39 am
by Panther
Considering there's only one Vehicle CTF match logged, this seems like a reasonable total.
Re: VCTF does not register flag caps etc
Posted: Fri Jan 29, 2010 5:57 pm
by CVROY
the main gametype is WGS VCTF which extends VCTF, the only thing WGS VCTF does is remove the mini-map off of the players HUD.
Is there a .php file I could modify to use all the same data as vctf and have it applied to WGS VCTF?
Re: VCTF does not register flag caps etc
Posted: Mon Feb 01, 2010 12:27 am
by Panther
You need simply edit the ut_type table and set tp_desc, tp_type, and tp_team to the appropriate values for your game type.
Re: VCTF does not register flag caps etc
Posted: Mon Feb 01, 2010 6:43 am
by CVROY
Will try that
BTW, how come the stats are not recording flag caps etc but records the shots fired etc from the custom weapons I have on the server?
Re: VCTF does not register flag caps etc
Posted: Mon Feb 01, 2010 6:45 am
by Panther
Because it knows they're weapons, but it has no clue what kind of type your custom game type is. However, it won't know what type of weapon they are unless you set the weapon types as well. They'll default to regular weapons as opposed to turrets and such, just like your custom game type most likely defaulted to deathmatch.
Re: VCTF does not register flag caps etc
Posted: Mon Feb 01, 2010 8:30 am
by CVROY
would I add those weapons and any custom vehicles an their weapons in the same files you mentioned in your previous post?
Re: VCTF does not register flag caps etc
Posted: Mon Feb 01, 2010 8:54 am
by Panther
ut_weapons
Re: VCTF does not register flag caps etc
Posted: Mon Feb 01, 2010 10:16 am
by CVROY
Thanks for the replies and I'll post my results

Re: VCTF does not register flag caps etc
Posted: Tue Feb 02, 2010 4:55 pm
by CVROY
weps are recording fine... for the custom game type to register flag caps etc all I had to do in the utstatsdb logs config menu is set default game type to 2 and default games to team ones... DOH!
Re: VCTF does not register flag caps etc
Posted: Tue Feb 02, 2010 5:03 pm
by Panther
That's why I added those features. Now if someone would just document it better...
Re: VCTF does not register flag caps etc
Posted: Wed Feb 03, 2010 6:31 am
by CVROY
My other option was to use PHPmyadmin and edit ut_type table and set tp_desc, tp_type, and tp_team to the appropriate values.
Thanks for making UTstatsDB, I appreciate all your hard work on this
