|Anonymous | Login | Signup for a new account||2021-11-26 15:13 PST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003759||Dwarf Fortress||Dwarf Mode -- Trade||public||2010-11-30 13:48||2014-07-23 10:18|
|Assigned To||Toady One|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||Fixed in Version||0.40.05|
|Summary||0003759: Dwarven caravan brought silver crossbow, ITEMS_WEAPON_RANGED ignored in world gen?|
|Description||A while back I purchased myself a -silver crossbow- off of the dwarven caravan, I probably shouldn't have been able to do that.|
|Steps To Reproduce||Reload the game just before the caravan arrives over and over again, the year after requesting crossbows, if it's not a world specific issue it should happen eventually.|
|Additional Information||It's just been laying around in a weapons stockpile the whole time. I haven't actually tried seeing if it works any better in melee than your standard crossbow, or if the thing even works although I don't see why it wouldn't, my Artifact Tin crossbow sure does.|
edited on: 2010-11-30 13:53
Are you using any mods? What version was the world generated in?
It was generated in 0.31.18, I tweaked a few things in the raws but I doubt they'd effect this issue.
My Changes: Tweaked dwarven soul to prevent stat decay and make all stats better in general, especially agility.
Added Longskirts to goblins and made them common for elves(added chausses to goblins too but they seem to prefer their socks, will remove their ability to make socks next time I make a world)
Gave Elves evil plants, and evil and underground wood tokens.
Removed unremarkable stone layers(a lot of them) and all soil layers that were not sand or ocean bottom layers to make site finding easier.
Made Glumprong and sliver barb [Wet][Dry][Evil]
That should be all of them
I think it was the very first caravan this fort welcomed that brought the crossbow, it was shortly before I started reporting bugs on here and I forgot to mention it until earlier today. It's still sitting in the stockpile if you know of some place I can upload the save.
You can upload to http://dffd.wimbli.com/ [^]
Did you make those changes before or after generating the world? Do you have any hidden backup files cluttering your raws folder, like in 0001428?
Those changes were made before generating the world, I can't find any hidden files but I'm not actually sure where to turn the preferences to show them instead of hide them are for vista.
http://dffd.wimbli.com/file.php?id=3505 [^] save is here.
edited on: 2011-03-15 00:21
If it helps, I just saw a human caravan carrying a -silver crossbow- and a silver bow. I'm using vanilla raws.
|I'm pretty sure I've seen silver crossbows too. I'm not at my desktop now, so I can't check. However, if the save still has the silver crossbow, I'll upload it.|
|I just had this happen again in the latest version, so it's definately still a thing.|
edited on: 2012-08-02 12:24
While looking at a disassembly of the code used to create caravan items (in order to better understand how the game keeps track of what materials entities can use), I found the part that creates weapons and noticed an error in the logic - it checks whether or not the weapon is ranged to determine the type of material to use, but the check is backwards, so ranged weapons draw from the "melee weapon material" list (which includes silver, and is also used for trap components) and melee weapons draw from the "ranged weapon material" list (which does not include silver).
In other words, this bug not only permits caravans to bring ranged weapons made of silver but also prevents them from bringing melee weapons made of silver.
The following binary patch should fix this problem in Win32 v0.34.11 SDL:
0x4AA9F5 : 74 -> 75
|2010-11-30 13:48||Videospirit||New Issue|
|2010-11-30 13:53||Footkerchief||Note Added: 0014319|
|2010-11-30 13:53||Footkerchief||Note Edited: 0014319||View Revisions|
|2010-11-30 13:54||Footkerchief||Summary||Dwarven Caravan brought Silver Crossbow => Dwarven caravan brought silver crossbow, ITEMS_WEAPON_RANGED ignored in world gen?|
|2010-11-30 13:54||Footkerchief||Tag Attached: AWAITING UPDATE|
|2010-11-30 18:49||Videospirit||Note Added: 0014326|
|2010-11-30 19:38||Footkerchief||Note Added: 0014328|
|2010-11-30 20:10||Videospirit||Note Added: 0014330|
|2011-03-15 00:19||assaultdoor||Note Added: 0016262|
|2011-03-15 00:21||assaultdoor||Note Edited: 0016262||View Revisions|
|2011-03-15 04:54||Infiltrator||Note Added: 0016266|
|2011-03-15 04:54||Infiltrator||Issue Monitored: Infiltrator|
|2012-04-02 16:04||Videospirit||Note Added: 0022045|
|2012-04-02 17:51||Footkerchief||Tag Detached: AWAITING UPDATE|
|2012-08-02 12:20||Quietust||Note Added: 0023397|
|2012-08-02 12:22||Quietust||Note Edited: 0023397||View Revisions|
|2012-08-02 12:24||Quietust||Note Edited: 0023397||View Revisions|
|2012-08-02 12:24||Quietust||Tag Attached: binary patch|
|2014-01-15 14:40||Kirig Stonebeard II||Issue Monitored: Kirig Stonebeard II|
|2014-01-17 10:09||Kirig Stonebeard||Issue Monitored: Kirig Stonebeard|
|2014-03-25 13:09||Dwarfu||Assigned To||=> Dwarfu|
|2014-03-25 13:09||Dwarfu||Status||new => acknowledged|
|2014-07-23 10:18||Toady One||Status||acknowledged => resolved|
|2014-07-23 10:18||Toady One||Fixed in Version||=> Next Version|
|2014-07-23 10:18||Toady One||Resolution||open => fixed|
|2014-07-23 10:18||Toady One||Assigned To||Dwarfu => Toady One|
|Copyright © 2000 - 2010 MantisBT Group|