UTComp capabilities

General forum for discussions regarding UTStatsDB
omihaz
Posts: 65
Joined: Thu Dec 20, 2007 10:19 am

UTComp capabilities

Postby omihaz » Thu Oct 23, 2008 12:41 pm

Hi

I talk with utcomp developer. He fix chat, but classes of weapon for ping corrector he don't change.
But you add some code

Code: Select all

if (CurrentWeapon.IsA('UTWeap_FlakCannon')) CurrentWeaponName = GetItemName(string(CurrentWeapon.Class)
If weapon use not standart class: utcomp3b5_flack, then GetItemName( string(CurrentWeapon.Class) get realname.

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

Re: UTComp capabilities

Postby Panther » Thu Oct 23, 2008 1:31 pm

Or, you can simply make use of the existing facilities and add the description to your weapon/item database.

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

Re: UTComp capabilities

Postby omihaz » Thu Oct 23, 2008 10:23 pm

Or, you can simply make use of the existing facilities and add the description to your weapon/item database.
Yes, but different version of utcomp use different classes. I must add new types always if new version utcomp released. :(

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

Re: UTComp capabilities

Postby Panther » Thu Oct 23, 2008 11:14 pm

The method you mention above is already how the weapon names are collected anyway, with the exception of the victim weapon. This was fixed in the current test version. The best solution is for the author of UTComp to stop including the version number in his class names. He probably does it due to concerns of version mismatches, but there's really not a lot of reason for people to load UTComp on their clients. Version mismatches only occur when a package is already loaded locally and differs from the version used on a server. Even if someone wanted to load it on their client they can always specify a different config profile to use.


Return to “UTStatsDB”