Strange weapons' stats

Describe your experience with the latest version of FreeOrion to help us improve it.

Moderator: Oberlus

Forum rules
Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Post Reply
Message
Author
User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Strange weapons' stats

#1 Post by Oberlus »

Using build 2019-07-14.0ab06aa, multiplayer game hosted in o01eg's Slow Game server.


Client is telling me that a robotic hull ship with 3 lasers, 1 zortrium and defense grid, piloted by Eaxaw, has 42 total damage, from 3 x "Ship Part Laser Weapon +14"
Right now I'm rather WAT?

Base laser weapon damage is 5.
Damage gain from each extra tech level is +2.
Eaxaw great pilots bonus is +2 tech levels.
I don't know current laser tech level of that ship (it's a multiplayer game, some information is concealed, maybe). Pedia for that player tells me it has Laser weapon tech, but does not mention "Laser 2", "Laser 3" or "Laser 4" refinements.
Should it have laser 3, the weapon would be damage +13, and with laser 4 it would be +15.
But it is at +14 damage per weapon!

Can anyone explain this?

I can't attach a save game because it is a multiplayer game (can't save).

Random quotes to get your attention:
o01eg wrote:
Attachments
MagnatePedia.png
MagnatePedia.png (69.09 KiB) Viewed 9695 times
laserDmg14.png
laserDmg14.png (18.67 KiB) Viewed 9695 times
shipDmg42.png
shipDmg42.png (39 KiB) Viewed 9695 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Strange weapons' stats

#2 Post by Geoff the Medio »

Turn on verbose effect logging and wade through the logs to find the relevant effects?

User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Strange weapons' stats

#3 Post by Oberlus »

Geoff the Medio wrote: Fri Jul 26, 2019 9:24 pmTurn on verbose effect logging and wade through the logs to find the relevant effects?
o01eg wrote:
o01eg, can we do this for next game? I assume I can't do that from the last turn save game, can I?

o01eg
Programmer
Posts: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Strange weapons' stats

#4 Post by o01eg »

Oberlus wrote: Fri Jul 26, 2019 11:22 pm
Geoff the Medio wrote: Fri Jul 26, 2019 9:24 pmTurn on verbose effect logging and wade through the logs to find the relevant effects?
o01eg wrote:
o01eg, can we do this for next game? I assume I can't do that from the last turn save game, can I?
I suppose you should be able to login as Magnate locally into save game.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Strange weapons' stats

#5 Post by Geoff the Medio »

You can probably just do it by setting the logging level in your client and then joining the server and starting to play a turn where such a ship is visible to your empire.

Or join as an observer. Need to also join and add at least one human player with the same name as one of the empires, but otherwise should work fine.

Magnate
Space Dragon
Posts: 425
Joined: Sat Nov 08, 2014 3:44 pm

Re: Strange weapons' stats

#6 Post by Magnate »

Incidentally I saw this bug too, in that same game. I saw TheSilentOne's ships, which has Lasers, with 3x10 = 30 attack instead of 3x9 or 3x11. A few turns later it had corrected to 3x11.

Magnate
Space Dragon
Posts: 425
Joined: Sat Nov 08, 2014 3:44 pm

Re: Strange weapons' stats

#7 Post by Magnate »

And just to note, that even though the main display said 3x10, when I fought them they were doing 11 damage each as expected.

User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Strange weapons' stats

#8 Post by Oberlus »

Magnate wrote: Sun Jul 28, 2019 1:01 pm And just to note, that even though the main display said 3x10, when I fought them they were doing 11 damage each as expected.
So it seems like some weird rounding problem.
Maybe related to the meters migration to FOCS and those weird decimals or PPs you can always see since then.

Post Reply