VCTF does not register flag caps etc

General forum for discussions regarding UTStatsDB
CVROY
Posts: 25
Joined: Fri Jan 01, 2010 1:36 pm

VCTF does not register flag caps etc

Postby CVROY » Fri Jan 29, 2010 6:21 am

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

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

Re: VCTF does not register flag caps etc

Postby Panther » Fri Jan 29, 2010 9:39 am

Considering there's only one Vehicle CTF match logged, this seems like a reasonable total.

CVROY
Posts: 25
Joined: Fri Jan 01, 2010 1:36 pm

Re: VCTF does not register flag caps etc

Postby CVROY » Fri Jan 29, 2010 5:57 pm

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?

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

Re: VCTF does not register flag caps etc

Postby Panther » Mon Feb 01, 2010 12:27 am

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.

CVROY
Posts: 25
Joined: Fri Jan 01, 2010 1:36 pm

Re: VCTF does not register flag caps etc

Postby CVROY » Mon Feb 01, 2010 6:43 am

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?

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

Re: VCTF does not register flag caps etc

Postby Panther » Mon Feb 01, 2010 6:45 am

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.

CVROY
Posts: 25
Joined: Fri Jan 01, 2010 1:36 pm

Re: VCTF does not register flag caps etc

Postby CVROY » Mon Feb 01, 2010 8:30 am

would I add those weapons and any custom vehicles an their weapons in the same files you mentioned in your previous post?

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

Re: VCTF does not register flag caps etc

Postby Panther » Mon Feb 01, 2010 8:54 am

ut_weapons

CVROY
Posts: 25
Joined: Fri Jan 01, 2010 1:36 pm

Re: VCTF does not register flag caps etc

Postby CVROY » Mon Feb 01, 2010 10:16 am

Thanks for the replies and I'll post my results :ugeek:

CVROY
Posts: 25
Joined: Fri Jan 01, 2010 1:36 pm

Re: VCTF does not register flag caps etc

Postby CVROY » Tue Feb 02, 2010 4:55 pm

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!

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

Re: VCTF does not register flag caps etc

Postby Panther » Tue Feb 02, 2010 5:03 pm

That's why I added those features. Now if someone would just document it better...

CVROY
Posts: 25
Joined: Fri Jan 01, 2010 1:36 pm

Re: VCTF does not register flag caps etc

Postby CVROY » Wed Feb 03, 2010 6:31 am

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


Return to “UTStatsDB”