Spring 91 BA 7.71 - Negative Experience

Spring 91 BA 7.71 - Negative Experience

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
LEDZ
Posts: 66
Joined: 27 Jun 2011, 13:43

Spring 91 BA 7.71 - Negative Experience

Post by LEDZ »

Witnessed Manticores gaining negative experience.
They then have 0/0 health.
Any clues as to what has happened?

Image
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Spring 91 BA 7.71 - Negative Experience

Post by Forboding Angel »

You pressed "L".
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Spring 91 BA 7.71 - Negative Experience

Post by Beherith »

I have no clue, if you find a way to reproduce it, please post to mantis.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Spring 91 BA 7.71 - Negative Experience

Post by abma »

attach a demo of such a game please.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Spring 91 BA 7.71 - Negative Experience

Post by Silentwings »

I've tried to reproduce the bug but had no luck.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Spring 91 BA 7.71 - Negative Experience

Post by Beherith »

Posting the replay woulr help, yeah.
LEDZ
Posts: 66
Joined: 27 Jun 2011, 13:43

Re: Spring 91 BA 7.71 - Negative Experience

Post by LEDZ »

http://replays.springrts.com/replay/85b ... 097174d8b/

Look at [BORG]LEDZ's Manticores at around 25 mins.
massive
Posts: 29
Joined: 29 Nov 2010, 12:29

Re: Spring 91 BA 7.71 - Negative Experience

Post by massive »

Here is that bug too http://replays.springrts.com/replay/9d4 ... 079b8f899/
As you can see, LLT get -1 exp and lot of HP. It even cant be dguned!
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Spring 91 BA 7.71 - Negative Experience

Post by knorke »

stupid guess:
since it is aa units/units that can shot air:
maybe it happens when units hit a crashing plane? iirc BA recently made gunships do the spiralcrash thing and while spiraling they have 0 hp = messes up xp?
Might be something to look out for when watching the replay.
LEDZ
Posts: 66
Joined: 27 Jun 2011, 13:43

Re: Spring 91 BA 7.71 - Negative Experience

Post by LEDZ »

When planes died before, they had "50%" health while crashing. Now they don't have that. Perhaps any missiles launched at planes that are then in this weird state gain negative experience.

I've now tested this hypothesis with a widget available here:
http://pastebin.com/vqAEcByj

It is when damage is done against an already dead plane, one that is crashing to the ground.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Spring 91 BA 7.71 - Negative Experience

Post by Beherith »

Thanks LEDZ, this should solve it:

Code: Select all

function gadget:UnitPreDamaged(unitID, unitDefID, unitTeam, damage, paralyzer, weaponDefID, attackerID, attackerDefID, attackerTeam)
	if crashing[unitID] then return false
	return true
end
Post Reply

Return to “Help & Bugs”