Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000219Dwarf FortressReactionspublic2010-04-02 19:512011-03-10 17:39
Reportershadow_slicer 
Assigned ToFootkerchief 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusresolvedResolutionduplicate 
PlatformUbuntu (using Wine)OSLinuxOS Version2.6.31-20
Product Version 
Target VersionFixed in Version 
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.
Attached Files

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

-  Notes
(0000380)
shadow_slicer (reporter)
2010-04-02 19:54

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.
(0000383)
DoctorZuber (reporter)
2010-04-02 19:59

is it possible the recipe for steel has changed ?
(0000410)
Asmodeous (reporter)
2010-04-02 21:06

...to require 150 black zircon bars?
(0000417)
Quietust (reporter)
2010-04-02 21:20
edited on: 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?

(0000721)
oliver (reporter)
2010-04-03 17:29

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)
(0000722)
oliver (reporter)
2010-04-03 17:33

Save/exit/reload didn't help.
(0000723)
DoctorZuber (reporter)
2010-04-03 17:33
edited on: 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.

(0000726)
oliver (reporter)
2010-04-03 17:47
edited on: 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..

(0000808)
shadow_slicer (reporter)
2010-04-04 00:19
edited on: 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.

(0002493)
Creidieki (reporter)
2010-04-09 19:26

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.
(0002494)
shadow_slicer (reporter)
2010-04-09 19:59

@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.
(0002629)
Lesconrads (reporter)
2010-04-10 13:12

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.
(0003251)
Creidieki (reporter)
2010-04-13 07:27

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.
(0005125)
CptFastbreak (reporter)
2010-04-26 08:59
edited on: 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.

(0005142)
Footkerchief (manager)
2010-04-26 10:45
edited on: 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.

(0005665)
snooptodd (reporter)
2010-04-29 09:21

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.
(0006361)
snooptodd (reporter)
2010-05-07 08:47

turning off compress saves didn't help.
new fort wanted sandstone bars for pig iron and steel.
(0006748)
WFrag (reporter)
2010-05-15 22:53

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?).
(0006749)
WFrag (reporter)
2010-05-15 23:29

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 (?)
(0006757)
jfs (reporter)
2010-05-16 02:59

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.
(0006843)
WFrag (reporter)
2010-05-16 21:21

Tested 0.31.4 (Linux version) => reactions seems to work fine.
(0006853)
WFrag (reporter)
2010-05-16 23:35

Pig iron & steel seems to be ok, but bitumnous coal now requires chromite. So this is still an issue in 0.31.04
(0006854)
Footkerchief (manager)
2010-05-16 23:51

Problems with bituminous coal and lignite are 0000332, which is not Wine-specific.
(0007626)
Footkerchief (manager)
2010-06-03 12:20
edited on: 2010-06-03 12:21

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

(0007682)
Eskarion (reporter)
2010-06-04 15:48
edited on: 2010-06-05 03:10

(edit: moved to the correct bug report)

(0007684)
Footkerchief (manager)
2010-06-04 17:20

Again:

Problems with bituminous coal and lignite are 0000332, which is not Wine-specific.
(0007812)
Leperous (reporter)
2010-06-06 11:44

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.
(0007813)
Footkerchief (manager)
2010-06-06 11:46

Leperous, if that problem continues to happen after a save/load, you should definitely upload your save to http://dffd.wimbli.com/ [^]
(0007814)
Leperous (reporter)
2010-06-06 12:01
edited on: 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.

(0007817)
Cel (reporter)
2010-06-06 12:17

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
(0008958)
Footkerchief (manager)
2010-06-22 09:17

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:51 shadow_slicer Issue Monitored: shadow_slicer
2010-04-02 19:51 shadow_slicer Issue End Monitor: shadow_slicer
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 View Revisions
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 View Revisions
2010-04-03 17:40 DoctorZuber Note Edited: 0000723 View Revisions
2010-04-03 17:47 oliver Note Added: 0000726
2010-04-03 17:48 oliver Note Edited: 0000726 View Revisions
2010-04-03 18:03 oliver Issue Monitored: oliver
2010-04-04 00:19 shadow_slicer Note Added: 0000808
2010-04-04 00:22 shadow_slicer Note Edited: 0000808 View Revisions
2010-04-09 03:42 Khym Chanur Issue Monitored: Khym Chanur
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 09:49 CptFastbreak Issue Monitored: CptFastbreak
2010-04-26 10:45 Footkerchief Note Added: 0005142
2010-04-26 10:45 Footkerchief Note Edited: 0005142 View Revisions
2010-04-26 10:45 Footkerchief Note Edited: 0005142 View Revisions
2010-04-26 10:46 Footkerchief Issue Monitored: Footkerchief
2010-04-26 10:46 Footkerchief Relationship added parent of 0000332
2010-04-28 09:17 CptFastbreak Note Edited: 0005125 View Revisions
2010-04-28 09:18 CptFastbreak Issue End Monitor: CptFastbreak
2010-04-28 09:28 CptFastbreak Issue Monitored: CptFastbreak
2010-04-28 13:55 Footkerchief Category General => Reactions
2010-04-29 09:21 snooptodd Note Added: 0005665
2010-05-07 07:35 snooptodd Issue Monitored: snooptodd
2010-05-07 08:47 snooptodd Note Added: 0006361
2010-05-07 10:33 Footkerchief Relationship replaced related to 0000332
2010-05-07 10:34 Footkerchief 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:42 WFrag Issue Monitored: WFrag
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 Footkerchief Note Added: 0006854
2010-05-16 23:53 Footkerchief Additional Information Updated View Revisions
2010-06-03 12:20 Footkerchief Note Added: 0007626
2010-06-03 12:21 Footkerchief Note Edited: 0007626 View Revisions
2010-06-03 12:21 Footkerchief Tag Attached: AWAITING UPDATE
2010-06-04 15:48 Eskarion Note Added: 0007682
2010-06-04 17:20 Footkerchief Note Added: 0007684
2010-06-05 03:10 Eskarion Note Edited: 0007682 View Revisions
2010-06-06 11:44 Leperous Note Added: 0007812
2010-06-06 11:46 Footkerchief Note Added: 0007813
2010-06-06 12:01 Leperous Note Added: 0007814
2010-06-06 12:05 Leperous Note Edited: 0007814 View Revisions
2010-06-06 12:17 Cel Note Added: 0007817
2010-06-14 12:09 jeti0 Issue Monitored: jeti0
2010-06-22 09:17 Footkerchief Note Added: 0008958
2010-06-22 09:17 Footkerchief Status new => resolved
2010-06-22 09:17 Footkerchief Resolution open => not fixable
2010-06-22 09:17 Footkerchief Assigned To => Footkerchief
2010-06-30 17:15 Khym Chanur Issue End Monitor: Khym Chanur
2010-06-30 22:26 Footkerchief Relationship added has duplicate 0002483
2010-07-01 20:35 Footkerchief Relationship replaced duplicate of 0000332
2010-07-01 20:35 Footkerchief Resolution not fixable => duplicate
2010-07-09 21:06 oliver Issue End Monitor: oliver
2010-08-10 00:12 Dwarfu Tag Detached: AWAITING UPDATE
2011-03-10 17:39 snooptodd Issue End Monitor: snooptodd


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker