Warzone2100 / old-trac-import

Archived Import of (old) Warzone 2100 Trac
0 stars 0 forks source link

research item sometimes doesn't clear when finished #3046

Closed wzdev-ci closed 12 years ago

wzdev-ci commented 12 years ago

resolution_fixed type_bug | by effigy


I'm not sure how to reproduce this, other than to say play for a bit and eventually you'll notice that you're research lab has stopped researching but the item being researched is still shown in the lab.

Tested in MP, on WinXp

see attached picture


Issue migrated from trac:3046 at 2022-04-16 08:46:26 -0700

wzdev-ci commented 12 years ago

effigy _uploaded file wz2100-20120109_194930-Monocot-T1.jpg (192.1 KiB)_

2nd lab finished, yet Repair Station remains in view... wz2100-20120109_194930-Monocot-T1.jpg

wzdev-ci commented 12 years ago

vexed commented


What did it do when you clicked on it ? Could you change it to research something else ?

Too bad we don't have a savegame of this.

wzdev-ci commented 12 years ago

effigy commented


left Clicking on it highlights the tab(?) as normal, but right clicking does not clear it (dbl right click should cancel the research, and clear it from the screen).

Starting new research will clear it and the new research item will be shown.

I'm wondering if it could be related to leaving the Research menu (F2) open, but haven't been able to pin point that.

If I notice it happening in skirmish mode I'll create a save game file to upload.

wzdev-ci commented 12 years ago

NoQ commented


I think this happens iff the lab was being watched in the research menu at the moment it completed the research.

wzdev-ci commented 12 years ago

Emdek commented


Never seen it that way too (in campaign), but maybe it is related to a bit similar issue with truck icons updated with delay (sometimes it starts showing progress bar before changing icon from nothing to constructed building).

wzdev-ci commented 12 years ago

Cyp changed resolution from ` tofixed`

wzdev-ci commented 12 years ago

Cyp commented


Fix research cancellation not registering in UI.

If cancelling a research, then the next completed research in the same facility would linger after completion.

Fixes #3046.

wzdev-ci commented 12 years ago

Cyp changed status from new to closed

wzdev-ci commented 12 years ago

aubergine commented


I'm also getting this issue on Mac OS X 10.5.8 with the master snapshot 20120109 build.

I can state that you don't need to be watching the research lab progress panel for this to happen. It happens regardless of whether the research lab progress panel is open or not. It seems to happen randomly, affecting different labs and research items in no particular order. Most of the researched items finish fine, but what feels like (ie. qualitative) 1 in 5 researches seem affected by this glitch.

Research of an item will complete but instead of it being removed from the research lab, it remains there showing 0% completion (as per screenshot uploaded earlier in this ticket). In addition, the research hexagon won't flash even if there are new items to be researched, because it thinks the lab is still busy researching something.

Also, I very rarely cancel or pause research so not sure that cancelling research is the cause of this bug.

Strangely, I've only had this happen on Sk-Startup (T1) against Semperfi AI (scavengers also enabled) map so far.

On other maps, eg. Great Rift (T1) I've not noticed this problem occuring. Also, I've not noticed the problem occur when cheat mode is enabled (I've not yet tested to see if enabling cheat mode mid way through a game prevents the bug, as I tend to plan the entire game in cheat mode or not in cheat mode).

wzdev-ci commented 12 years ago

aubergine commented


Another qualitative comment (sorry) is that it feels like it happens more and more as a game progresses - that is to say at the start of the game it doesn't seem to happen much, but by the time I'm researching things like EMP it's happening a lot more. Often I'll simcity (turtle) a game from T1 against an easy AI opponent for a few hours to wind down after a long day.

wzdev-ci commented 12 years ago

Cyp commented


Effigy, Aubergine: Note that the fix 03833edf3fc5c5f726f507d5352635fba9c7e475 is not in master_20120109.

Once cancelling/changing a research in a certain lab, the problem would happen in that lab from then on. Workaround: Demolish and rebuild the lab.

wzdev-ci commented 12 years ago

Cyp commented


Fix research cancellation not registering in UI.

If cancelling a research, then the next completed research in the same facility would linger after completion.

Fixes #3046.