phantom item limit and lost items

Forum Archive - from http://theuniversal.net
Locked
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

phantom item limit and lost items

Post by zaroba »

Software:Universal Client
Version Number:
________________________________________________________________________
Location
ingame
________________________________________________________________________
Description:
was origionally found on xebec. also happening on pandora.

The game calcs demands by looking at how much is needed ot make a full stock of what it produces. However, issues arise when something is demanded that is used for multiple produced items.

From what i can tell, the game is displaying the max demanded stock as the TOTAL of what is needed to make everything. However, when trying to add, it sets the limit to what single item will take the most of the demanded item, and any excess is lost.

for example,
If a building makes:
1 item A from 10 item D, with a max of 10. (100 item D to make 10 item A)
1 item B from 5 item D, with a max of 10. (50 item D to make 10 item B)

It will display a max of 150 Item D.
However, when actually trying to stock the items, it will only allow you to stock 100 item D
The game will still show a max of 150, but any item D that you attempt to add over the 100 will get lost.
________________________________________________________________________
Steps to Replicate:
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

Reading through the code i can see this happening if you've got item D listed in the 'for sale' items with the limit set to 100, but i'm guessing thats not the case? Could you confirm please?
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

Looks like the Building Efficiency Calc setting is messing stuff up. The 'stockroom' screen shows one stock limit, the set prices screen shows a different stock limit.

The stockroom menu will let you attempt to add stocks up to it's shown limit. However, any quantity over the limit shown in the 'set prices' menu will vanish.

In this picture, the Stockroom Menu would *let* me try to put in 53 power, but only 5 power will go in and 48 will just vanish. The 'set prices' menu says I can only put in 5.

Image
Image
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

if i change the Building Efficiency Calc setting so the building has 50% efficiency, then the set prices menu will let me put in 50 items. Or 70 items if the building has 70% efficiency.

It seems that building efficiency is being used as the capacity limit regardless of how many items a building needs.
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

The world of Edolas is setup with a few buildings if you want to see for yourself
User avatar
flametard
Posts: 1245
Joined: Sun Apr 01, 2007 2:05 am
Location: Join NR! faction name: 'NR new recruits' password: 'Truth'
Contact:

Post by flametard »

I know that i spent all day trying to figure out the nature of this bug, i noticed that jobs seemed to affect it so i got rid of the jobs. messed around with settings all day, even wrote a brand new bdat from scratch to test it. i know that some building numbers, such as 13,arent affected as far as i know. but many others 14,15, 16, 17 are affected.
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

Fixed client & server 0.65.8.. Thanks for the detective work :)
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

*bump*

Seems to still be around in client 67.6 with server 67.2 on Eden
Doesn't seem to matter what I set Building Efficiency Calc to, Storage Reduction Percentage set to 1

From the outside (capacity 4)
Image

Stock Menu (capacity 4, but buttons to move items don't light up):
Image

Set Prices menu (capacity 0):
Image
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

I should mention this is when trying to manually stock.
Appears that the building can still have items sold to it up to capacity.

Also only appears to be effecting Store type buildings.
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

nevermind, effecting other building types too.
can't add sold items to factories either.
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

this appears to be a different issue relating to stocking vehicles. *settings -> Economy -> Vehicle Inventory mode set to 0 is blocking the stocking of a vehicles in all buildings. (for no logical reason that i can determine).

Fixed for now by changing the setting to 6 which has no other effect. Client code is fixed for 0.67.7
Locked