0 mass wreck bug

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

0 mass wreck bug

Postby ZLO_RD » 01 Feb 2014, 23:51

Here is replay
after you TML cybran t2 mex with cybran TML (6000 damage to 3000hp building) it leave wreck with 0 mass in it (not sure about wreck hp)
but when you rebuild on top of that wreck you get 50% buiding done
also when you try reclaim it, you get no mass but it takes full time to reclaim it
and if you half reclaim it building will start at about 25%

sorry i did not test with other factions... there should not be wreck after t2 mex was TMLed

Edit, maybe it only feels long to recalim 0 mass wreck casue of other bug that were found (slow reclaim)
Attachments
1817459-ZLO.fafreplay
(10.38 KiB) Downloaded 26 times
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO

Re: 0 mass wreck bug

Postby FunkOff » 02 Feb 2014, 00:01

How is this a bug? There's such a thing as "overkill". When you do more damage to something than it has HP remaining, the wreck is worth less and, as you can see when you nuke a base, if the overkill is great enough the wreck doesn't show up at all.
FunkOff
Supreme Commander
 
Posts: 1863
Joined: 26 Aug 2011, 17:27
Has liked: 14 times
Been liked: 43 times
FAF User Name: FakeOff

Re: 0 mass wreck bug

Postby ZLO_RD » 02 Feb 2014, 00:04

FunkOff wrote:How is this a bug? There's such a thing as "overkill". When you do more damage to something than it has HP remaining, the wreck is worth less and, as you can see when you nuke a base, if the overkill is great enough the wreck doesn't show up at all.


3000 hp buiding, 6000 damage missile -> should be no wreckage, am i correct?

anyway it is not happening with mexes/missiles of other factions
and also if you reclaim you get no mass, but if you rebuild you get 50% of buiding... that is weird
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO

Re: 0 mass wreck bug

Postby Ze_PilOt » 02 Feb 2014, 11:52

I've looked into the issue, but sadly the code for the rebuild bonus is called by the engine, and at a step where it's not possible to compute a rebuild bonus related to the heath of the wreck.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: 0 mass wreck bug

Postby ZLO_RD » 02 Feb 2014, 12:26

Ze_PilOt wrote:I've looked into the issue, but sadly the code for the rebuild bonus is called by the engine, and at a step where it's not possible to compute a rebuild bonus related to the heath of the wreck.


3000 hp building should not leave wreck in the 1rst place against 6000 damage... can we fix that?
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO

Re: 0 mass wreck bug

Postby Mr-Smith » 02 Feb 2014, 12:30

would reducing the HP of the t2 mex by like 1 fix it ?
If you can't beat us...
...join us.
Doge This, hover ACU: https://youtu.be/a67tvWmu31Y?list=LLW-T ... O4fQ&t=179
User avatar
Mr-Smith
Evaluator
 
Posts: 523
Joined: 27 Mar 2012, 19:15
Location: Austria
Has liked: 39 times
Been liked: 36 times
FAF User Name: Mr-Smith

Re: 0 mass wreck bug

Postby ZLO_RD » 02 Feb 2014, 12:41

or mayebe TML damage by 1?
Image
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO

Re: 0 mass wreck bug

Postby errorblankfield » 02 Feb 2014, 12:55

I know you're being silly, but I think some sorta rounding error might be at play and adding one damage to the TML might not actually do anything... not worth over thinking though. The hotfix is easy either way.

The problem isn't really that a <0 hp wreck can be made. It's odd, but technically a .00001 HP wreck* can stay in the game without issue. The problem is that it takes just as long to reclaim AND can be rebuilt for free mass (50% construction time).

We really need to make engies reclaim at a rate determined by build power. So in this case, the .000001 mass inside is reclaimed instantly without really helping.
Moreover, rebuilding doesn't care about spawned HP apparently. While mass seems to be correctly decreasing as the mass experiences more overkill, rebuilding gives a flat 50% buyback. The only time this goes down is if you reclaim and then build. This shouldn't be.
From the time of spawn, reclaim/rebuild needs to be tied to HP. Rather linear relationship so nothing crazy. A 10% decrease in HP should show a 10% decrease in mass collectable and 5% in pre-rebuild. And all this relationships need to compliment each other currently -as in reclaiming hurts the wreck for the same amount of damage.

Minor inconsistency in the game, but something worth fixing at some point.

Helps balance mass/wrecks a bit too.

*This is my guess at what is happening. The missile is dealing an odd amount of damage slightly less than 6000 or overkill isn't carrying over correctly leaving the wreck with a sliver of health.

I hope this game has fractions in the code or a lot of this looks silly. XD
errorblankfield
Priest
 
Posts: 409
Joined: 15 Mar 2013, 16:21
Has liked: 7 times
Been liked: 11 times
FAF User Name: errorblankfield

Re: 0 mass wreck bug

Postby Golol » 02 Feb 2014, 14:03

rebuilding does care about the wreck hp, if thats what you meant.
i tried it once and when i half reclaimed a wreck a building on it started with less HP.
otherwise you could reclaim something to 1 mass, rebuild it at 50 mass, reclaim again, rebuild again = infinite mass
User avatar
Golol
Contributor
 
Posts: 700
Joined: 07 May 2012, 15:56
Has liked: 24 times
Been liked: 21 times
FAF User Name: Golol

Re: 0 mass wreck bug

Postby ZLO_RD » 02 Feb 2014, 14:24

Golol wrote:rebuilding does care about the wreck hp, if thats what you meant.
i tried it once and when i half reclaimed a wreck a building on it started with less HP.
otherwise you could reclaim something to 1 mass, rebuild it at 50 mass, reclaim again, rebuild again = infinite mass


yea that is inf bass but you need to have power for that xD

also people report that wreck do not care about overkill, however care about if is gets reclaimed or damaged

i will check
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO

Next

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest