Problems with Weaponnames and UTSTatsDB

General forum for discussions regarding UTStatsDB
SkullCollector
Posts: 38
Joined: Sun Mar 15, 2026 8:57 am

Problems with Weaponnames and UTSTatsDB

Postby SkullCollector » Wed Mar 25, 2026 12:02 am

hi there,

On my Server runs the Mutator UTComp Version 1.8b
If you enable the Enhanced Netcode Feature it will push new WeaponNames into the Logfiles :

It looks like this :
6103.99 K 3 DamTypeRocket 4 NewNet_SniperRifle
6103.99 S 3 1.00 frag
6103.99 T 0 1.00 tdm_frag
6105.16 I 8 UDamagePack
6106.63 P 3 multikill_2
6106.63 P 3 spree_1
6106.63 K 3 DamTypeRocket 5 NewNet_RocketLauncher


in other Logfiles without the Enhanced Netcodefeature i saw this :
104.03 PA 7 AssaultRifle2 8 0 0
104.03 PA 7 RocketLauncher8 5 0 0
104.03 PA 7 RocketLauncher15 2 0 0
104.03 PA 7 RocketLauncher18 5 0 0
104.03 PA 7 RocketLauncher27 5 0 0
104.03 PA 7 AssaultRifle32 11 0 0
104.03 PA 7 RocketLauncher38 2 0 0
104.03 PA 7 AssaultRifle36 5 0 0
104.03 PA 7 RocketLauncher45 2 0 0


as you can see here are the strange names from my database. All of this weapontypes are in the Database.
weapon_accuracy.png
weapon_accuracy.png (97.35 KiB) Viewed 9534 times
here you can see the accuracy from a match.

why these "Wapons" are counted as new Weapons ?

Regards
Skully

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

Re: Problems with Weaponnames and UTSTatsDB

Postby Panther » Wed Mar 25, 2026 11:32 am

Because each weapon is being relabeled repeatedly by the mutator with custom names, so the stats see it as a new weapon. I'm not sure what the purpose is for that. If the stats were to simply strip numbers off the end of weapon names, that could potentially impact some that shouldn't be modified. Perhaps there's a way to prevent it from logging weapons like that? I'm also thinking maybe it's not that the mutator is creating new weapon names on purpose, but it's the way in which it is being generated by it.

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

Re: Problems with Weaponnames and UTSTatsDB

Postby Panther » Thu Mar 26, 2026 12:16 am

What logger are you using?

SkullCollector
Posts: 38
Joined: Sun Mar 15, 2026 8:57 am

Re: Problems with Weaponnames and UTSTatsDB

Postby SkullCollector » Fri Mar 27, 2026 10:49 am

Because each weapon is being relabeled repeatedly by the mutator with custom names, so the stats see it as a new weapon. I'm not sure what the purpose is for that. If the stats were to simply strip numbers off the end of weapon names, that could potentially impact some that shouldn't be modified. Perhaps there's a way to prevent it from logging weapons like that? I'm also thinking maybe it's not that the mutator is creating new weapon names on purpose, but it's the way in which it is being generated by it.
hmm, i can't find those settings for that.
Have looking around, but nothing find.
Google is not a realy good help for that.

SkullCollector
Posts: 38
Joined: Sun Mar 15, 2026 8:57 am

Re: Problems with Weaponnames and UTSTatsDB

Postby SkullCollector » Fri Mar 27, 2026 10:51 am

What logger are you using?
OL Stats 3.01 from your database here.
Was recommendet by UTStatsDB. Any other Version from that ?
Maybe it is UTCOmp that make this. I will test that.

SkullCollector
Posts: 38
Joined: Sun Mar 15, 2026 8:57 am

Re: Problems with Weaponnames and UTSTatsDB

Postby SkullCollector » Fri Mar 27, 2026 11:22 am

What logger are you using?
OL Stats 3.01 from your database here.
Was recommendet by UTStatsDB. Any other Version from that ?
Maybe it is UTCOmp that make this. I will test that.
I think i found the Problem.
after i deaktivate UTCOMp. Nothing changed.
So i reactivate the mut.
After i deactivate AntiTCC_2026r4 the strange names are gone.
Why these mut are making so strange things ?

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

Re: Problems with Weaponnames and UTSTatsDB

Postby Panther » Sat Mar 28, 2026 10:32 am

I vaguely remember seeing weapon names do that sort of thing before due to a bug in how the objects were handled. See if the behavior occurs when only the AntiTCC mutator is enabled.

SkullCollector
Posts: 38
Joined: Sun Mar 15, 2026 8:57 am

Re: Problems with Weaponnames and UTSTatsDB

Postby SkullCollector » Sat Mar 28, 2026 10:49 am

I vaguely remember seeing weapon names do that sort of thing before due to a bug in how the objects were handled. See if the behavior occurs when only the AntiTCC mutator is enabled.
Ok, i will try it out tomorrow.
hmm, i remember that i have done that also. In the curious Weapon Names are in the Logs.
But i will recheck this.

SkullCollector
Posts: 38
Joined: Sun Mar 15, 2026 8:57 am

Re: Problems with Weaponnames and UTSTatsDB

Postby SkullCollector » Sun Mar 29, 2026 12:10 am

Hi,
so i have checked this things with the AntiTCC.
The order of the mutators appears to be important.

First AntiTCC, then UTComp. Then the statistics will look correct. Without thousands of new Weaponnames.
Thats Realy strange i think..

But ok, a nice to know :-)

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

Re: Problems with Weaponnames and UTSTatsDB

Postby Panther » Sun Mar 29, 2026 9:57 am

Great that you figured out a solution!

SkullCollector
Posts: 38
Joined: Sun Mar 15, 2026 8:57 am

Re: Problems with Weaponnames and UTSTatsDB

Postby SkullCollector » Sun Mar 29, 2026 1:05 pm

Great that you figured out a solution!
Sure, but that is not the answer of the why questions....


Return to “UTStatsDB”