Page 1 of 2
Stockbins

Posted:
Mon Nov 14, 2016 4:10 am
by hoolio2005
so to day i put about 64 copper or in a stockbin that had over 300 iron ore in it , i logged off for a few hours and when i returned to take out the copper it turned in to iron ore. this makes me wonder if there is an exploit there. will 64 iron ore turn to copper ore if copper is more then iron in the bin, or anyother ore for that matter.
Re: Stockbins

Posted:
Mon Nov 14, 2016 4:14 am
by Dallane
hoolio2005 wrote:will 64 iron ore turn to copper ore if copper is more then iron in the bin, or anyother ore for that matter.
Try it and find out.
Re: Stockbins

Posted:
Mon Nov 14, 2016 5:02 am
by JohnCarver
Doesn't sound like anything I have heard of before.
Re: Stockbins

Posted:
Mon Nov 14, 2016 5:04 am
by hoolio2005
i would have but all the copper i found is now iron lol. it was the first batch i ran it to so far
Re: Stockbins

Posted:
Mon Nov 14, 2016 5:21 am
by hoolio2005
well i am glade to say i still have the copper ore , turns out it was just at the bottom of the stockbin . i took out over 300 iron ore and there it was all my copper ore.
Re: Stockbins

Posted:
Mon Nov 14, 2016 5:29 am
by JohnCarver
Mystery solved. Still quite odd that it shuffled to the bottom. It should be a LIFO on the stockbins no?
Re: Stockbins

Posted:
Mon Nov 14, 2016 5:56 am
by Reviresco
JohnCarver wrote:Mystery solved. Still quite odd that it shuffled to the bottom. It should be a LIFO on the stockbins no?
It works that way with bars. I was about to go to sleep or I'd try with ores.
Re: Stockbins

Posted:
Mon Nov 14, 2016 6:11 am
by hoolio2005
I have put boards in a stockbin that where mixed and taken them out right away being the last one put in is first one taken out. maybe its something to do with leaving the chunk or logging off.
Re: Stockbins

Posted:
Mon Nov 14, 2016 6:12 am
by DarkNacht
JohnCarver wrote:Mystery solved. Still quite odd that it shuffled to the bottom. It should be a LIFO on the stockbins no?
What type of data structure is used with stockbins?
Re: Stockbins

Posted:
Mon Nov 14, 2016 9:39 am
by Chrumps
It looks the order of stockbin contents is reversed when map tile unloads/loads. It can be exploited to access items at the bottom.
By the way, reversing order (but no position change) can be observed for smelters too and that might be important when trying to manipulate purity. One needs to pay attention to purity numbers to notice that.
Most likely all containers reverse their item order on map unloading/loading but it does not matter gameplay wise (but might help looking for it in the code).