Currently Online

Latest Posts

Topic: Working programs - no "completed" messages?

QCS

Topic Opener
Joined: 2009-12-29, 21:47
Posts: 256
Ranking
Tribe Member
Posted at: 2015-09-08, 16:15

Hi,

I am currently playing around with working programs (working sites, that is). I see that they should show a completed message (production_program.cc lines 576 to 596) in the style of the nice Skipped or Failed messages. But wherever I check, I don't see it... No working site does that. Instead, there is the short message "Produced xxx" whenever a ware is produced. Training does not produce a message (this is the main problem I am facing right now).

Anyone able to confirm/elaborate on this?


CMake is evil.

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2015-09-08, 16:50

I cannot remember seeing one of these either. The reason might be that the site's production program immediately goes on to the next step, which then probably overwrites the last message.


Busy indexing nil values

Top Quote
QCS

Topic Opener
Joined: 2009-12-29, 21:47
Posts: 256
Ranking
Tribe Member
Posted at: 2015-09-08, 17:19

I doubt the reason is the overwriting through next step... Foresters, Scouts and Gamekeepers also don't produce anything.

I already found where the "Produced xxx" message is coming from (same C++ class, the execute method of produce command), and that the related method for Train does not set the status; but it does not explain why we never see the Completed message?!


CMake is evil.

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 14:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2015-09-08, 17:45

This needs investigating. I have filed a bug: https://bugs.launchpad.net/widelands/+bug/1493452


Busy indexing nil values

Top Quote