View Issue Details

IDProjectCategoryView StatusLast Update
0000219Dwarf FortressReactionspublic2011-03-10 17:39
Reportershadow_slicer Assigned Touser6 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionduplicate 
PlatformUbuntu (using Wine)OSLinuxOS Version2.6.31-20
Summary0000219: Smelting reaction ingredients/products change during gameplay, possibly Wine-specific
DescriptionThis issue has effected both forts I have started so far.

1. I set up a smelter and start smelting coal into coke. After a while, the smelter no longer lists the option to add another smelting job. If the job already exists in the queue or you add it via the job manager it would continue smelting.

2. In the first fort, in addition to the first problem, I bought some Cassiterite off of the caravan and started smelting it into tin. I saved and quit, and then continued on another computer. When I continued, the cassiterite ore was smelted into cassiterite bars instead of tin bars =/.

3. In the second fort, after I smelted some iron bars, I tried to smelt pig iron and steel bars, but they were absent from the smelter list. I added the jobs via the job manager and it reported that it couldn't be completed because smelting pig iron requires 150 black zircon bars ???. It also said this for smelting steel. As far as I know I had all the required materials to make pig iron: iron bars, tons limestone, and at least 10 charcoal.

4. Later in the second fort, I had already lost the ability to add smelting coal to the smelter, and was relying on a repeating order and jobs added to the job manager to smelt coal. I played for several hours like this, but eventually received the message "cancels make coke from bituminous coal: Needs platinum".

Steps To Reproduce???
Additional InformationProblems with bituminous coal and lignite are 0000332, which is not Wine-specific.
TagsNo tags attached.

Relationships

duplicate of 0000332 resolvedToady One Raw files parsed in strict alphabetic order in Linux but not Windows, causing ID mismatches for saves moved between systems 
has duplicate 0002483 resolveduser6 Can't make coke, need some irrelevant stone 

Activities

shadow_slicer

2010-04-02 19:54

reporter   ~0000380

screenshots of parts 3 and 4:
http://www.prism.gatech.edu/~bhamilton3/pigiron.png
http://www.prism.gatech.edu/~bhamilton3/platinum.png

Also, before step 1 occurred, I encountered issue 0000025 (http://www.bay12games.com/dwarves/mantisbt/view.php?id=25), so there is some chance it may be related.

DoctorZuber

2010-04-02 19:59

reporter   ~0000383

is it possible the recipe for steel has changed ?

Asmodeous

2010-04-02 21:06

reporter   ~0000410

...to require 150 black zircon bars?

Quietust

2010-04-02 21:20

reporter   ~0000417

Last edited: 2010-04-02 21:20

Sounds like the raws may have gotten corrupted - back in 0.28.181.40d, adding/removing stuff without clearing out data/objects would often result in stuff like this ("olon Udilmat, Woodcutter cancels Make Coke From Bituminous Coal: Needs black opal."), but in 0.31 the game seems to not keep the precompiled raws around anymore. Does the situation improve if you save, exit, and reload?

oliver

2010-04-03 17:29

reporter   ~0000721

I had part (1) happen midway through a fort just now. No modified raws. Bituminous coal and lignite are now considered an "other" stone (see 0000332), I cannot add them to the smelter, and there are no reactions listed for them under the 'z'/Stone screen (usually it'll list the "make coke" reactions there)

oliver

2010-04-03 17:33

reporter   ~0000722

Save/exit/reload didn't help.

DoctorZuber

2010-04-03 17:33

reporter   ~0000723

Last edited: 2010-04-03 17:40

If you found a large amount of flux (possibly ore too) in 40d it would set itself to be available (green) in the z - stone menu.

The z - stone menu now has all stone in it (except obsidian), not just metal and economics, try going here and setting it back to red if necessary.

oliver

2010-04-03 17:47

reporter   ~0000726

Last edited: 2010-04-03 17:48

This appears to be a Wine-induced bug.

My fortress was started under Windows and played for a while.
Later, I copied it to my linux install and played it under Wine. Then I noticed the reaction problems.

If I go back to the original save from Windows and play it under Windows, the reactions are correct.
If I take a fresh copy of that identical save and load it under Wine, the reactions are broken immediately on load.

Guessing there is some problem with parsing the raws that only triggers when the wine libraries are used..

shadow_slicer

2010-04-04 00:19

reporter   ~0000808

Last edited: 2010-04-04 00:22

Perhaps this problem is caused by switching between Wine and XP?
For my first fort (started under Wine), it worked correctly under Wine, but then started having problems on XP.
For the second fort (started under XP), it worked fine under XP, but then started having problems after switching to Wine.

I tested the save from the first fort (from before switching to XP) and the save from the second fort (from before switching to Wine) under Wine. The problem is not present for the first fort, but is for the second fort.

Creidieki

2010-04-09 19:26

reporter   ~0002493

I had this problem when I played under wine, then scp'd the entire dwarf fortress folder to another linux computer, where I tried playing (under wine again).

I tried preserving file permissions, and that didn't help.

shadow_slicer

2010-04-09 19:59

reporter   ~0002494

@Creidieki: Did you generate the fortress under XP or on Linux? My current hypothesis is that switching from Wine to XP or vice versa causes this. It would be nice to have evidence either way.

Lesconrads

2010-04-10 13:12

reporter   ~0002629

I just played on wine. No windows involved.
I too have the problem of strange output-goods... iron mugs producing some siltstone mugs instead etc.

Creidieki

2010-04-13 07:27

reporter   ~0003251

shadow_slicer: Both of the computers involved were 64-bit Linux computers running Ubuntu. They may have been running different versions of wine, or differently-configured versions of wine; I'll try to check on that when I get home.

CptFastbreak

2010-04-26 08:59

reporter   ~0005125

Last edited: 2010-04-28 09:17

It's most definitely not a Wine bug. I'm playing on WiXP32, and I had about the same thing happen WRT bituminous coal and lignite in a non-burrowed smelter. When I add the jobs via manager, I would get "Urist McSmelter cancels Make coal from Lignite - needs rock." I can still make steel with charcoal though. Saving and reloading did nothing.

Edit: cross posted in 0000332 with some more information.

user6

2010-04-26 10:45

  ~0005142

Last edited: 2010-04-26 10:45

The thing with bituminous coal and lignite is 0000332, which may or may not be related.

I have a vague suspicion this has something to do with inconsistent handling of underscores/spaces in raw tokens:
- PLATINUM comes immediately after PIG_IRON, the first metal with an underscore in the name
- BLACK ZIRCON comes after QUARTZ_ROSE and CRYSTAL_ROCK, which are the first gems to use underscores

However I can't find anything special about CASSITERITE, OPAL_BLACK and SILTSTONE.

More testing is needed. If you get this bug, please make sure to report your OS and which precise material got substituted for which.

snooptodd

2010-04-29 09:21

reporter   ~0005665

trying to make pig iron tells me i need 150 chrysoberyl bars.

wine v1.1.42

I am going to try turning off compress saves and see if that helps.

snooptodd

2010-05-07 08:47

reporter   ~0006361

turning off compress saves didn't help.
new fort wanted sandstone bars for pig iron and steel.

WFrag

2010-05-15 22:53

reporter   ~0006748

Same issue with wine. The reactions are getting corrupted.

I was switching back and forth to XP and Linux and reactions are corrupted/recovered again and again. However, I can't find clue what exactly recovers them (making some specific actions on XP and saving?).

WFrag

2010-05-15 23:29

reporter   ~0006749

Loaded under windows => everything is fine.

I think, it is a memory corruption that is either:
1) occurs only under wine
2) under wine it hits the reactions due to the different memory layout. Under windows the corruption hits something else, not visible (?)

jfs

2010-05-16 02:59

reporter   ~0006757

Someone somewhere on the forum mentioned that the order in which reactions and materials are loaded seem to affect things, i.e. moving a material from one file to another might cause corruption.

I'm thinking that this might relate to MS Windows and Wine returning lists of files in different order, so when DF searches the raws directory for materials and reactions, it finds them in different order on MS Windows and Wine, and this causes the corruption.

I haven't actually tested this hypothesis.

WFrag

2010-05-16 21:21

reporter   ~0006843

Tested 0.31.4 (Linux version) => reactions seems to work fine.

WFrag

2010-05-16 23:35

reporter   ~0006853

Pig iron & steel seems to be ok, but bitumnous coal now requires chromite. So this is still an issue in 0.31.04

user6

2010-05-16 23:51

  ~0006854

Problems with bituminous coal and lignite are 0000332, which is not Wine-specific.

user6

2010-06-03 12:20

  ~0007626

Last edited: 2010-06-03 12:21

Is anyone experiencing this problem in 31.04? (NOT the coal/lignite problems, which are 0000332)

Eskarion

2010-06-04 15:48

reporter   ~0007682

Last edited: 2010-06-05 03:10

(edit: moved to the correct bug report)

user6

2010-06-04 17:20

  ~0007684

Again:

Problems with bituminous coal and lignite are 0000332, which is not Wine-specific.

Leperous

2010-06-06 11:44

reporter   ~0007812

Still occuring in 31.05 in the native Linux version - adamantine wafer creation is missing from smelters, adding the jobs through the manager tells me that "15000 gypsum plaster thread" are needed to make them.

user6

2010-06-06 11:46

  ~0007813

Leperous, if that problem continues to happen after a save/load, you should definitely upload your save to http://dffd.wimbli.com/

Leperous

2010-06-06 12:01

reporter   ~0007814

Last edited: 2010-06-06 12:05

Hrm, just realised this is a reclaim on an old save (perhaps from 31.02) despite copying over the new RAW folder. Since it's not happening on fresh embarks I'll chalk it up to that for now, and repost if it pops up again.

Cel

2010-06-06 12:17

reporter   ~0007817

If you use windows saves in linux version you got weird errors. Like, need sand to make pig iron.

Linux native 31.05 works fine (fedora 13 x86_64), steel making and coke making works fine. Don't know about adamantine yet

user6

2010-06-22 09:17

  ~0008958

Okay, we'll chalk this up to Wine issues. Hopefully it'll never show up again now that there's a native Linux version.

Issue History

Date Modified Username Field Change
2010-04-02 19:51 shadow_slicer New Issue
2010-04-02 19:54 shadow_slicer Note Added: 0000380
2010-04-02 19:59 DoctorZuber Note Added: 0000383
2010-04-02 21:06 Asmodeous Note Added: 0000410
2010-04-02 21:20 Quietust Note Added: 0000417
2010-04-02 21:20 Quietust Note Edited: 0000417
2010-04-03 17:29 oliver Note Added: 0000721
2010-04-03 17:33 oliver Note Added: 0000722
2010-04-03 17:33 DoctorZuber Note Added: 0000723
2010-04-03 17:35 DoctorZuber Note Edited: 0000723
2010-04-03 17:40 DoctorZuber Note Edited: 0000723
2010-04-03 17:47 oliver Note Added: 0000726
2010-04-03 17:48 oliver Note Edited: 0000726
2010-04-04 00:19 shadow_slicer Note Added: 0000808
2010-04-04 00:22 shadow_slicer Note Edited: 0000808
2010-04-09 19:26 Creidieki Note Added: 0002493
2010-04-09 19:59 shadow_slicer Note Added: 0002494
2010-04-10 13:12 Lesconrads Note Added: 0002629
2010-04-13 07:27 Creidieki Note Added: 0003251
2010-04-26 08:59 CptFastbreak Note Added: 0005125
2010-04-26 10:45 user6 Note Added: 0005142
2010-04-26 10:45 user6 Note Edited: 0005142
2010-04-26 10:45 user6 Note Edited: 0005142
2010-04-26 10:46 user6 Relationship added parent of 0000332
2010-04-28 09:17 CptFastbreak Note Edited: 0005125
2010-04-28 13:55 user6 Category General => Reactions
2010-04-29 09:21 snooptodd Note Added: 0005665
2010-05-07 08:47 snooptodd Note Added: 0006361
2010-05-07 10:33 user6 Relationship replaced related to 0000332
2010-05-07 10:34 user6 Summary Smelting reaction ingredients/products change during gameplay => Smelting reaction ingredients/products change during gameplay, possibly Wine-specific
2010-05-15 22:53 WFrag Note Added: 0006748
2010-05-15 23:29 WFrag Note Added: 0006749
2010-05-16 02:59 jfs Note Added: 0006757
2010-05-16 21:21 WFrag Note Added: 0006843
2010-05-16 23:35 WFrag Note Added: 0006853
2010-05-16 23:51 user6 Note Added: 0006854
2010-05-16 23:53 user6 Additional Information Updated
2010-06-03 12:20 user6 Note Added: 0007626
2010-06-03 12:21 user6 Note Edited: 0007626
2010-06-03 12:21 user6 Tag Attached: AWAITING UPDATE
2010-06-04 15:48 Eskarion Note Added: 0007682
2010-06-04 17:20 user6 Note Added: 0007684
2010-06-05 03:10 Eskarion Note Edited: 0007682
2010-06-06 11:44 Leperous Note Added: 0007812
2010-06-06 11:46 user6 Note Added: 0007813
2010-06-06 12:01 Leperous Note Added: 0007814
2010-06-06 12:05 Leperous Note Edited: 0007814
2010-06-06 12:17 Cel Note Added: 0007817
2010-06-22 09:17 user6 Note Added: 0008958
2010-06-22 09:17 user6 Status new => resolved
2010-06-22 09:17 user6 Resolution open => not fixable
2010-06-22 09:17 user6 Assigned To => user6
2010-06-30 22:26 user6 Relationship added has duplicate 0002483
2010-07-01 20:35 user6 Relationship replaced duplicate of 0000332
2010-07-01 20:35 user6 Resolution not fixable => duplicate
2010-08-10 00:12 user11 Tag Detached: AWAITING UPDATE