Dwarf Fortress Bug Tracker - Dwarf Fortress |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001498 | Dwarf Fortress | Dwarf Mode -- Jobs, General | public | 2010-04-24 13:59 | 2014-08-13 05:10 |
|
Reporter | Draco18s | |
Assigned To | Toady One | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 0.31.03 | |
Target Version | | Fixed in Version | 0.34.01 | |
|
Summary | 0001498: Crystal glass items can't be made, CRYSTAL_GLASSABLE appears broken |
Description | One can not use (imported) raw glass to make windows at the glass furnace.
I have 16 units of imported raw crystal glass and the job cancels "needs glass making rough gems," which seems silly: if you have raw glass you should be able to turn that into any glass object.
The only way to turn raw glass into glass windows is cutting it into gems and making a gem window (using 3 times the material). |
Steps To Reproduce | Import glass
Use glass furnace to make glass window |
Additional Information | |
Tags | binary patch |
Relationships | has duplicate | 0001281 | closed | Footkerchief | Raw Rock Crystals not recognized for making crystal glass objects | has duplicate | 0000788 | resolved | Footkerchief | Traded raw clear/crystal glass not appearing at Jeweler's Workshop, although green glass does | related to | 0003408 | new | | Human merchants bring raw clear/crystal glass despite not having access to pearlash |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-04-24 13:59 | Draco18s | New Issue | |
2010-04-24 14:14 | Logical2u | Note Added: 0004920 | |
2010-04-24 14:21 | Draco18s | Note Added: 0004921 | |
2010-04-24 14:23 | Draco18s | Note Edited: 0004921 | bug_revision_view_page.php?bugnote_id=0004921#r1722 |
2010-04-24 14:28 | Draco18s | Note Edited: 0004921 | bug_revision_view_page.php?bugnote_id=0004921#r1723 |
2010-04-25 01:52 | Footkerchief | Note Added: 0004961 | |
2010-04-25 01:53 | Footkerchief | Note Edited: 0004961 | bug_revision_view_page.php?bugnote_id=0004961#r1737 |
2010-04-25 01:53 | Footkerchief | Note Edited: 0004961 | bug_revision_view_page.php?bugnote_id=0004961#r1738 |
2010-04-25 01:54 | Footkerchief | Note Edited: 0004961 | bug_revision_view_page.php?bugnote_id=0004961#r1739 |
2010-04-25 01:54 | Footkerchief | Issue Monitored: Footkerchief | |
2010-04-25 10:38 | Footkerchief | Note Edited: 0004961 | bug_revision_view_page.php?bugnote_id=0004961#r1762 |
2010-04-25 14:13 | Draco18s | Note Added: 0005036 | |
2010-04-25 14:51 | DoctorZuber | Note Added: 0005039 | |
2010-04-25 14:53 | DoctorZuber | Note Edited: 0005039 | bug_revision_view_page.php?bugnote_id=0005039#r1768 |
2010-04-25 14:53 | DoctorZuber | Note Edited: 0005039 | bug_revision_view_page.php?bugnote_id=0005039#r1769 |
2010-04-25 15:12 | Footkerchief | Note Added: 0005042 | |
2010-04-25 15:13 | Footkerchief | Note Edited: 0005042 | bug_revision_view_page.php?bugnote_id=0005042#r1771 |
2010-04-25 15:35 | Draco18s | Note Added: 0005047 | |
2010-04-25 15:36 | Draco18s | Note Edited: 0005047 | bug_revision_view_page.php?bugnote_id=0005047#r1775 |
2010-04-25 16:18 | Footkerchief | Summary | Raw Glass Cannot Make Windows => Clear glass items can't be made |
2010-04-25 16:19 | Footkerchief | Note Added: 0005052 | |
2010-04-25 19:09 | clamity | Note Added: 0005066 | |
2010-04-26 11:08 | FunkyWaltDogg | Note Added: 0005150 | |
2010-04-26 11:11 | Footkerchief | Note Edited: 0005052 | bug_revision_view_page.php?bugnote_id=0005052#r1818 |
2010-04-26 11:11 | Footkerchief | Summary | Clear glass items can't be made => Crystal glass items can't be made |
2010-04-26 11:11 | Footkerchief | Note Added: 0005152 | |
2010-04-26 13:09 | Rafal99 | Note Added: 0005166 | |
2010-04-26 17:05 | Malicus | Note Added: 0005207 | |
2010-04-26 18:00 | Footkerchief | Summary | Crystal glass items can't be made => Crystal glass items can't be made, CRYSTAL_GLASSABLE appears broken |
2010-04-26 19:49 | qwints | Note Added: 0005241 | |
2010-04-30 13:32 | Footkerchief | Relationship added | has duplicate 0001281 |
2010-05-04 17:56 | bakawolf | Note Added: 0006129 | |
2010-05-07 01:47 | Jerkwhistle | Note Added: 0006336 | |
2010-08-05 18:24 | HebaruSan | Issue Monitored: HebaruSan | |
2010-08-16 09:48 | Shurhaian | Issue Monitored: Shurhaian | |
2010-10-25 13:42 | Quietust | Note Added: 0013511 | |
2010-10-25 13:45 | Quietust | Note Edited: 0013511 | bug_revision_view_page.php?bugnote_id=0013511#r5230 |
2010-11-16 13:35 | Footkerchief | Relationship added | related to 0003408 |
2011-01-06 15:50 | Farmerbob | Note Added: 0014813 | |
2011-03-01 23:51 | Drakos | Issue Monitored: Drakos | |
2011-03-01 23:59 | Footkerchief | Sticky Issue | No => Yes |
2011-03-02 04:46 | Hieronymous Alloy | Issue Monitored: Hieronymous Alloy | |
2011-03-31 09:27 | InsanityPrelude | Note Added: 0016860 | |
2011-04-03 01:34 | Jyrinx | Issue Monitored: Jyrinx | |
2011-04-03 01:35 | Jyrinx | Note Added: 0017002 | |
2011-04-03 06:16 | nb4est | Issue Monitored: nb4est | |
2011-04-03 09:32 | Quietust | Note Added: 0017010 | |
2011-05-21 16:50 | malvado | Note Added: 0017816 | |
2011-05-23 07:00 | Kon | Issue Monitored: Kon | |
2011-05-28 22:29 | Quietust | Note Added: 0017892 | |
2011-05-29 08:56 | Quietust | Note Edited: 0017892 | bug_revision_view_page.php?bugnote_id=0017892#r6681 |
2011-05-29 18:25 | Quietust | Note Edited: 0017892 | bug_revision_view_page.php?bugnote_id=0017892#r6682 |
2011-06-01 13:28 | Quietust | Note Edited: 0017892 | bug_revision_view_page.php?bugnote_id=0017892#r6691 |
2011-06-01 13:28 | Quietust | Note Edited: 0017892 | bug_revision_view_page.php?bugnote_id=0017892#r6692 |
2011-06-01 13:28 | Quietust | Note Edited: 0017892 | bug_revision_view_page.php?bugnote_id=0017892#r6693 |
2011-06-04 04:53 | MaDeR Levap | Note Added: 0017931 | |
2011-06-13 13:07 | Another | Issue Monitored: Another | |
2011-06-18 19:19 | Quietust | Note Edited: 0017892 | bug_revision_view_page.php?bugnote_id=0017892#r6734 |
2011-06-29 12:06 | Egodeus | Issue Monitored: Egodeus | |
2011-06-30 11:45 | Egodeus | Note Added: 0018108 | |
2011-06-30 11:46 | Egodeus | Tag Attached: Probable Quick Fix | |
2011-06-30 12:52 | Egodeus | Note Edited: 0018108 | bug_revision_view_page.php?bugnote_id=0018108#r6764 |
2011-07-09 03:50 | Beeskee | Issue Monitored: Beeskee | |
2011-07-30 09:08 | Hieronymous Alloy | Note Added: 0018370 | |
2011-07-30 09:22 | Quietust | Note Added: 0018371 | |
2011-07-30 10:11 | Footkerchief | Issue Monitored: Toady One | |
2011-08-01 06:22 | Hieronymous Alloy | Note Added: 0018406 | |
2011-08-01 07:18 | Hieronymous Alloy | Note Edited: 0018406 | bug_revision_view_page.php?bugnote_id=0018406#r6879 |
2011-08-22 07:26 | Quietust | Note Added: 0018609 | |
2011-10-19 00:15 | Kogut | Note Added: 0018867 | |
2011-10-27 22:40 | Kogut | Tag Attached: binary patch | |
2012-02-01 10:15 | Quietust | Note Added: 0019445 | |
2012-02-15 12:22 | Footkerchief | Tag Detached: Probable Quick Fix | |
2012-02-16 17:11 | Toady One | Note Added: 0019877 | |
2012-02-16 17:11 | Toady One | Status | new => resolved |
2012-02-16 17:11 | Toady One | Fixed in Version | => 0.34.01 |
2012-02-16 17:11 | Toady One | Resolution | open => fixed |
2012-02-16 17:11 | Toady One | Assigned To | => Toady One |
2012-03-17 07:11 | Dwarfu | Sticky Issue | Yes => No |
2012-11-27 18:16 | nb4est | Issue End Monitor: nb4est | |
2014-01-15 14:49 | Kirig Stonebeard II | Issue Monitored: Kirig Stonebeard II | |
2014-01-17 10:03 | Kirig Stonebeard | Issue Monitored: Kirig Stonebeard | |
2014-01-27 13:45 | Footkerchief | Relationship added | related to 0000788 |
2014-01-27 13:45 | Footkerchief | Relationship replaced | has duplicate 0000788 |
2014-08-13 05:10 | Kon | Issue End Monitor: Kon | |
Notes |
|
|
Since you say this is only occurring with IMPORTED glass, and you're assuming it's also true for non-imported glass, I'm tempted to say this is related to/duplicate of 0000788.
Unless you also have evidence that ALL glass - including non-imported stuff - is broken. |
|
|
(0004921)
|
Draco18s
|
2010-04-24 14:21
(edited on: 2010-04-24 14:28) |
|
No, it appears in the jewelers shop, but I can't use it in the glass furnace.
Also: I can't MAKE MY OWN crystal glass, when I have sand (imported), charcoal, pearlash, and rough rock crystals available. Cancels "needs glass making rough gems," as before.
None. Not a single crystal glass item can be made when all possible raw materials are available (clear and green, yes, not crystal).
http://i44.tinypic.com/120rssn.png [^]
|
|
|
(0004961)
|
Footkerchief
|
2010-04-25 01:52
(edited on: 2010-04-25 10:38) |
|
|
|
|
Footkerchief:
I can't make ANY CRYSTAL GLASS ITEM OUT OF SAND/ROCK CRYSTALS EITHER. |
|
|
(0005039)
|
DoctorZuber
|
2010-04-25 14:51
(edited on: 2010-04-25 14:53) |
|
raw glass is not an ingredient in making glass items.
the ingredients you need for clear glass are sand, and pearlash.
the ingredients you need for crystal glass are pearlash bars, and rock crystal.
Raw glass is used only to make glass gems used for decorating things.
|
|
|
(0005042)
|
Footkerchief
|
2010-04-25 15:12
(edited on: 2010-04-25 15:13) |
|
I can't make ANY CRYSTAL GLASS ITEM OUT OF SAND/ROCK CRYSTALS EITHER.
Ah, I hadn't read your note. Are you sure the crystals are accessible? Do you still get the problem when the crystals and pearlash are in stockpiles right next to the glass furnace?
|
|
|
(0005047)
|
Draco18s
|
2010-04-25 15:35
(edited on: 2010-04-25 15:36) |
|
|
|
(0005052)
|
Footkerchief
|
2010-04-25 16:19
(edited on: 2010-04-26 11:11) |
|
Okay, I've retitled the thread to reflect the actual apparent bug.
Has anyone managed to make CRYSTAL glass items?
|
|
|
|
I have had no problems making clear glass items, but I haven't tried crystal yet. To note, my glass industry is all local, so I haven't tried with imported sand/pearlash. |
|
|
|
I have made clear glass windows without any problem, using sand brought on embark and homemade pearlash. |
|
|
|
Ack goddamit, I messed up the title and my question. I meant, has anyone managed to make CRYSTAL glass items? |
|
|
|
I tried it. My glassmaker brought pearlash to glass furnace then cancelled the task with "needs glass-making rough gems" message. It seems right since I have only cut rock crystals bought from the traders. For crystal glass you need ROUGH rock crystals that you can't buy from traders. |
|
|
|
I made a new world, embarked somewhere, revealed the map to search for rock crystals, and I somehow found some on the first embark site. I then set about making some pearlash and having my miners get the rough rock crystals. I then tried to make a crystal glass floodgate. The glassmaker grabbed the pearlash, but then he cancelled because he "needs glass-making rough gems". There was a stockpile with ten rough rock crystals right next to the glass furnace. Just to make sure it wasn't some weird pathing problem, I constructed a jeweler's workshop and ordered one of the rock crystals cut, which happened without a hitch. I tried making a crystal glass floodgate again and got the same cancellation message.
I suspect that [CRYSTAL_GLASSABLE] in the raws for rock crystals isn't working quite as it should. |
|
|
(0005241)
|
qwints
|
2010-04-26 19:49
|
|
I've gotten the same message when attempting to make crystal glass with local rock crystal. |
|
|
|
i am also unable to make any crystal glass items, with an abundance of rough rock crystals in a stockpile next to the furnace, and pearlash nearby. |
|
|
|
I have the same problem. I have 25 units of accessible rock crystals and sand/pearlash, but get the "need glass-making raw gems" message. I checked an old version, and rock crystals had the [GLASS] tag, not [CRYSTAL_GLASSABLE]. I suspect that maybe something didn't get updated in the code, but switching back to the old tag didn't work, and neither did [CRYSTAL] or [CRYSTAL_GLASS] (although I'm not sure I remembered to change the tags in both the save directory and the main raws for the last two). |
|
|
(0013511)
|
Quietust
|
2010-10-25 13:42
(edited on: 2010-10-25 13:45) |
|
Just confirming that this is still a problem in version 0.31.16 - I dug out some rough rock crystals (and allowed them to be stockpiled nearby), made some pearlash, then tried making a crystal glass terrarium.
"èrith Adiltekkud, Weaver cancels Make crystal glass Terrarium: Needs glass-making rough gems."
|
|
|
|
I am still experiencing this issue in DF 0.31.18
Cannot make anything from raw crystal glass., keep getting the "Needs glass-making rough gems" error. |
|
|
|
Noticed it again in 31.21. |
|
|
(0017002)
|
Jyrinx
|
2011-04-03 01:35
|
|
My baroness demands crystal glass items; right now, I'd have to say this issue is more than “minor” to me (and I suspect that whichever dorf gets thrown in a cage for violating a work order will agree ...) |
|
|
|
Jyrinx: you might be able to accomplish that by cutting raw crystal glass, which you can buy from caravans. |
|
|
|
Since this bug has been around for about a year, isn't it time for it's Severity to be increased? Depending on your mayor this can pretty much ruin a fortress if you are quite unlucky. |
|
|
(0017892)
|
Quietust
|
2011-05-28 22:29
(edited on: 2011-06-18 19:19) |
|
With the help of a debugger, I managed to locate the problem - when a job attempts to check if a rough gem is good for glass-making, it calls a function which is supposed to fetch the item's material and check if property flag number 50 (CRYSTAL_GLASSABLE) is set. Unfortunately, it seems to be done through a macro of the form "CHECK_MATERIAL_FLAG(flag,mat,submat)" which in this case is being called with the "flag" parameter in the wrong place (at the end instead of at the beginning), meaning that, instead of evaluating to "getMaterial(mat_type, mat_subtype).checkFlag(50)", it's ending up with "getMaterial(mat_subtype, 50).checkFlag(mat_type)" which always fails (unless you've modded mountain gnomes to have about 50 additional materials such that the 70th material is made of [BONE]).
For the Win32 SDL 0.31.25 build, the following binary patch fixes crystal glass production:
0036AE87: 7C B8 32 00 00 00 -> 78 0F BF 47 7C 90
0036AE9B: 0F BF 4F 78 85 C9 78 2D -> B9 32 00 00 00 90 90 90
|
|
|
|
Wow. No, I am not sarcastic. Binary patch?! Did you sent to Toady your analysis? Maybe then he will FINALLY get around to fix this line of code. -.- |
|
|
(0018108)
|
Egodeus
|
2011-06-30 11:45
(edited on: 2011-06-30 12:52) |
|
I tested Quietust's patch and it fixes the problem with crystal glass. Could Footkerchief promote this to Toady for fixing as this testing shows that the fix requires only moving a few variables around in a function call. This would make it unnecessary to hoard raw crystal glass for mandates and also allow us to actually make all kinds of sweet items from crystal glass.
A test showing the effects of the modification by Quietust:
http://dffd.wimbli.com/download.php?id=4597&f=region3+Making+a+crystal+glass+door.zip [^]
|
|
|
|
How do you go about installing this patch manually, then? or is that even possible? |
|
|
|
You "install" the patch by using a hex-editor and manually changing the indicated bytes at the indicated addresses. |
|
|
|
Ack! I don't suppose anyone wants to post an edited/fixed file somewhere? I'm not a hex editor, but I can download and copy over a file.
|
|
|
|
Patch for the Win32 Legacy 0.31.25 build:
00389747: 7C B8 32 00 00 00 -> 78 0F BF 47 7C 90
0038975B: 0F BF 4F 78 85 C9 78 2D -> B9 32 00 00 00 90 90 90 |
|
|
(0018867)
|
Kogut
|
2011-10-19 00:15
|
|
|
|
|
Binary patch for version 0.31.25 Linux: (untested)
57335F : 0C -> 04
573367 : 08 -> 0C
573376 : 04 -> 08 |
|
|
|
This should be corrected in 0.34.01. |
|