Fight never end (also not 2h later)

Bug #1457425 reported by Johannes Kalliauer
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Low
TiborB

Bug Description

I attaced a Sentry and a Forrtress, next to each other, somehow there was a fight between two soilders which never ended (not even 2h later). I think the soilders have a unsual distance for fighting(too close?), and only the opponent soilders attacks my soilders, but my soilder doen't lose any HP.
First screenshot:
http://web.student.tuwien.ac.at/~e1027477/Internet/Widelands/Screenshot2015-05-21_11-11-34.png
2 hour later:
http://web.student.tuwien.ac.at/~e1027477/Internet/Widelands/Screenshot2015-05-21_11-10-39.png

You see some of the soilders moved away(f.e. died), because of later fights, but the others didn't change there place or ther HP also didn't change, also 3 of mine are wounded. (On the first pic it's 5, but two of them moved away, or get killed.)

Al savegames are donloadable on:
http://web.student.tuwien.ac.at/~e1027477/Internet/Widelands/BugSoilders/

Tags: military

Related branches

Revision history for this message
Johannes Kalliauer (jokalliauer1989) wrote :
tags: added: military
Revision history for this message
Johannes Kalliauer (jokalliauer1989) wrote :

2h after fight

Revision history for this message
kaputtnik (franku) wrote :

Thanks for the bug report.

I think this could be the same as bug https://bugs.launchpad.net/widelands/+bug/1251914

So it is maybe a duplicate...

Revision history for this message
TiborB (tiborb95) wrote :

Does the problem survive save&load?

Revision history for this message
Johannes Kalliauer (jokalliauer1989) wrote : Re: [Bug 1457425] Re: Fight never end (also not 2h later)

Yes. I can save it and load it again an the fight sill goes on.
In the attachements are two files, you should be able to reproduce it?
More Savegames are stored on
http://web.student.tuwien.ac.at/~e1027477/Internet/Widelands/BugSoilders/ <http://web.student.tuwien.ac.at/%7Ee1027477/Internet/Widelands/BugSoilders/>

Am 30.06.2015 um 11:13 schrieb TiborB:
> Does the problem survive save&load?
>

Revision history for this message
Johannes Kalliauer (jokalliauer1989) wrote :

Yes. I can save it and load it again an the fight sill goes on.
In the attachements are two files, you should be able to reproduce it?
More Savegames are stored on
http://web.student.tuwien.ac.at/~e1027477/Internet/Widelands/BugSoilders/

Revision history for this message
TiborB (tiborb95) wrote :

Specific revision is needed (or range of revisions, of course), because what I have now says ~"incompatible - unhandled version."

According to screenshot 7464 is needed.

If you had debug build you would be able to find more what is going on via DBG windows. Or running widelands from command line in verbose mode.

Anyway, I will look at it...

Revision history for this message
TiborB (tiborb95) wrote :

Allright, the problem is that the battle (=two soldiers are paired) is in progress, but they cannot get on same spot because of blocked movement. The battle object has a time when the battle started so I will try to add timeout for battle - to cancel it in 5 (or less?) minutes if players are not ready.

Revision history for this message
TiborB (tiborb95) wrote :

I created a branch. It is based on trunk so problematic savegames are not compatible, but I tested these changes on old trunk a savegames went fine.

The bottom line is that battle (if both opponents have not started to fight in 90 secdonds) is cancelled.

Changed in widelands:
status: New → In Progress
assignee: nobody → TiborB (tiborb95)
Revision history for this message
TiborB (tiborb95) wrote :

fixed in 7485.

Changed in widelands:
status: In Progress → Fix Committed
importance: Undecided → Low
Changed in widelands:
milestone: none → build19-rc1
GunChleoc (gunchleoc)
tags: removed: fight neverends soilders strange
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.