Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008350Dwarf FortressAdventure Mode -- Tradepublic2014-09-25 10:382016-05-11 21:31
Reporterptb_ptb 
Assigned ToDwarfu 
PrioritynormalSeverityminorReproducibilitysometimes
Statusneeds feedbackResolutionopen 
PlatformPCOSWindowsOS Version7
Product Version0.40.13 
Target VersionFixed in Version 
Summary0008350: Unable to trade or pick up items from trade depot
DescriptionAt some fortresses I have found that my adventurer is unable to trade with the broker. Specifically you can see lots of items on the ground in the trade depot but the broker lists zero items when you attempt to trade with him.
Steps To ReproduceKeep going to fortresses and trying to trade until you find one where you can't.
Additional InformationSave file to follow.
Tagsworkaround
Attached Files

- Relationships

-  Notes
(0030359)
smjjames (reporter)
2014-09-25 11:19

Do you have a save of this? If so, upload to DFFD and link here.

Also, have you noticed any reconfiguring or change of material type of the entrance building along with this bug? It's a side effect of the reconfiguration 0006955
(0030360)
ptb_ptb (reporter)
2014-09-25 11:28
edited on: 2014-09-25 11:30

Save file. I forgot to say it says "Nothing here to pick up" when you try to pick stuff up.

http://speedy.sh/k4rYr/canttrade.zip [^]

It does sound very similar to your side effect, but I didn't notice any reconfiguration (I might just have missed it though).

(0033101)
TruePikachu (reporter)
2015-10-12 16:56

Still relevant as of 0.40.24, with a generated fortress.
I'm not sure if it's related, but none of the items appear to be $for sale$
(0033103)
TruePikachu (reporter)
2015-10-12 17:21
edited on: 2015-10-12 17:33

After a bit of fiddling with DFHack and Lua, I can determine that the depot is made of some 420:164 wood (PLANT:HAZEL:WOOD). I have a reference open to a bolt in the depot right now, but can't manage to get it marked $for sale$ to see if that changes anything.

EDIT: The bolt is general_ref_building_holderst'd to the depot. A random object that is marked with $ is general_ref_building_civzone_assignedst'd to something I can't locate right now.

EDIT: In a different world, a $-marked object in a trade depot has both the building_holderst and civzone_assignedst general_refs. Circumstances are causing the civzone_assignedst to be removed from the contents in the depot, which make them unable to be traded for. It is possibly a seperate bug that one can't take things out of a depot, despite the fact they're visible.

(0033104)
TruePikachu (reporter)
2015-10-12 22:22

Right now, it looks like the trade depot believe it's made of everything inside; I see no real difference between the contents and the three logs it's built from.
(0033108)
TruePikachu (reporter)
2015-10-13 12:30

I wrote a DFHack script which can work around this bug. Put http://cdusto.selfip.com/adv-fix-depot.lua [^] into the hack/scripts directory, stand in the trade depot to fix, and run the script.
(0034327)
mkiever (reporter)
2016-01-05 09:21

I can confirm this in 0.42.04 (generated in 0.42.04).
One additional observation:
-Started as dwarf in a fortress.
-When I climb up to the depot
 the items already look as described above (i.e. as built into the depot)
 but they are listed when trading with the broker
 and trading works (except broker has no money).
The change that the items are no longer listed
must happen on entering the site.
While staying in the fortress trading works.
After first leave/re-enter it stops working.
No change in items looking like built into the depot.
(0034328)
mkiever (reporter)
2016-01-05 09:41

After continuing the game, something very odd happened.
May be related, but probably not.
Depot to the south of the shaft still looks the same
with trade items built into it, but no people and no broker on it.
To the north of the shaft appeared piles of trade items
with people and broker on it. And trading works!
(Broker still has no money though)
Cannot tell if the items have been split/duplicated or newly appeared.

Looks like the trade zone teleported away from the depot to the other side
of the central shaft.
Looks like an unrelated bug, no? Opinions?
(0034329)
Detros (manager)
2016-01-05 11:44

What about 0009432, "Certain buildings' layout changes every time to visit them", mkiever?
(0034331)
mkiever (reporter)
2016-01-05 12:06

Confirmed: DFHack script posted by TruePikachu works in 0.42.04
(0034332)
mkiever (reporter)
2016-01-05 12:18

Hello Detros,
yes, looks close enough.
Just in this case it seems to flip between correct and incorrect layout:
 - Depot and meeting zone on the same side.
 - Depot and meeting zone on opposite sides.
And (IIRC): Change also happened after sleeping/waiting in fortress.
I'll add this case to 0009432 after playing around a bit more.
(0034335)
Detros (manager)
2016-01-05 17:59

For sleeping variety there is 0006955, "Abandoned fortresses reconfigure when slept in / strange lighting".
(0035145)
Dwarfu (manager)
2016-05-11 21:31

Did the fix for 0009432 resolve this instance?

- Issue History
Date Modified Username Field Change
2014-09-25 10:38 ptb_ptb New Issue
2014-09-25 11:19 smjjames Note Added: 0030359
2014-09-25 11:28 ptb_ptb Note Added: 0030360
2014-09-25 11:30 ptb_ptb Note Edited: 0030360 View Revisions
2015-10-12 16:56 TruePikachu Note Added: 0033101
2015-10-12 17:21 TruePikachu Note Added: 0033103
2015-10-12 17:24 TruePikachu Note Edited: 0033103 View Revisions
2015-10-12 17:33 TruePikachu Note Edited: 0033103 View Revisions
2015-10-12 22:22 TruePikachu Note Added: 0033104
2015-10-13 12:30 TruePikachu Note Added: 0033108
2015-10-13 12:30 TruePikachu Tag Attached: workaround
2016-01-05 09:21 mkiever Note Added: 0034327
2016-01-05 09:21 mkiever Issue Monitored: mkiever
2016-01-05 09:41 mkiever Note Added: 0034328
2016-01-05 11:44 Detros Note Added: 0034329
2016-01-05 12:06 mkiever Note Added: 0034331
2016-01-05 12:18 mkiever Note Added: 0034332
2016-01-05 17:59 Detros Note Added: 0034335
2016-05-11 21:31 Dwarfu Note Added: 0035145
2016-05-11 21:31 Dwarfu Assigned To => Dwarfu
2016-05-11 21:31 Dwarfu Status new => needs feedback


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker