Page 1 of 1

Problems with Weaponnames and UTSTatsDB

Posted: Wed Mar 25, 2026 12:02 am
by SkullCollector
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 9538 times
here you can see the accuracy from a match.

why these "Wapons" are counted as new Weapons ?

Regards
Skully

Re: Problems with Weaponnames and UTSTatsDB

Posted: Wed Mar 25, 2026 11:32 am
by Panther
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.

Re: Problems with Weaponnames and UTSTatsDB

Posted: Thu Mar 26, 2026 12:16 am
by Panther
What logger are you using?

Re: Problems with Weaponnames and UTSTatsDB

Posted: Fri Mar 27, 2026 10:49 am
by SkullCollector
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.

Re: Problems with Weaponnames and UTSTatsDB

Posted: Fri Mar 27, 2026 10:51 am
by SkullCollector
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.

Re: Problems with Weaponnames and UTSTatsDB

Posted: Fri Mar 27, 2026 11:22 am
by SkullCollector
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 ?

Re: Problems with Weaponnames and UTSTatsDB

Posted: Sat Mar 28, 2026 10:32 am
by Panther
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.

Re: Problems with Weaponnames and UTSTatsDB

Posted: Sat Mar 28, 2026 10:49 am
by SkullCollector
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.

Re: Problems with Weaponnames and UTSTatsDB

Posted: Sun Mar 29, 2026 12:10 am
by SkullCollector
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 :-)

Re: Problems with Weaponnames and UTSTatsDB

Posted: Sun Mar 29, 2026 9:57 am
by Panther
Great that you figured out a solution!

Re: Problems with Weaponnames and UTSTatsDB

Posted: Sun Mar 29, 2026 1:05 pm
by SkullCollector
Great that you figured out a solution!
Sure, but that is not the answer of the why questions....