buildings showing sale prices they don't sell (Fixed 0.49.6)

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:

buildings showing sale prices they don't sell (Fixed 0.49.6)

Post by zaroba »

just a graphical bug really.

sometimes when a building buys stuff, it'll auto set the sale price for the item and display it even thoiugh its not set to sell the item and thus wont appear in the set sale price menu or purchase menu.

i.e. gas stations on sabrada.
build one and set it to buy fuel drums at 5s, it'll also show that it sells fuel drums at 5s1d even though it only demands the drums and isen't set to sell them.



-edit-
apparently on sabrada a player was actualyl able to buy the fuel drums from other gas stations even though stations aren't set to sell them and can't have thier sell prices adjusted.
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

sometimes when a building buys stuff, it'll auto set the sale price for the item and display it even thoiugh its not set to sell the item
according to the current settings i see in the isl u sent, economy -> sales mode is set to 0, which allows anything to be stocked and sold in a retail or store building - so thats expected i think? Is that intentional?
Last edited by Mit on Tue Dec 13, 2005 12:13 pm, edited 1 time in total.
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

yea, but people should be able to set a sale price for the fuel drum still :P
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

ah there you are.. ok.. that bits a bug then yeh :)
(sales mode 1 might be nicer still tho..)
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

..and can't have thier sell prices adjusted.
fixed 0.49.1.

While there, ive also changed the behaviour of the 'sells..' section of the building screen so that it no longer displays items that either dont have a sell price or dont have anything in stock to sell. If this new behaviour is a problem for anyone lemme know and ill make it optional. (Tho i'd prefer it used as it keeps the menus much cleaner and easier to read)
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

Mit wrote: fixed 0.49.1.
49.2 server and client, still seems busted.

shame on you for trying to code without much beer in your system :P
User avatar
Mit
Staff
Staff
Posts: 3551
Joined: Sun Sep 21, 2003 10:14 pm
Location: Unknown

Post by Mit »

oh aye, still busted.
k.. having looked at that again.. i think even in sales mode 0 the demanded products shouldnt appear on the sales list, so rather than fixing the ability to set the sell prices ive fixed the sales list so they shouldnt appear.

(client 0.49.6)
Locked