Error ItemDataManager.cs

Jun 30, 2017
77
12
Hi, I added the tokyo 2018 furniture my hotel and then this error came when I wrote :update items, when i write :update items the hotel freezes and the emulator becomes an error.

Emulator error:
irSEuRU.png


ItemDataManager.cs :line 57 code;
bool allowMarketplace = Convert.ToInt32(Row["allow_marketplace_sell"]) == 1;

How i can fix that error?
 
Last edited:

JayC

Always Learning
Aug 8, 2013
5,493
1,398
Go to your furniture table and look at the new items you just inserted and check to make sure the allow_marketplace_sell field is a valid 0 or 1

Code:
UPDATE furniture SET allow_marketplace_sell = 0 WHERE allow_marketplace_sell != 1
No gaurantees on this query, wrote it on my phone , should be right. Change allow_marketplace_sell = 1 if you want them to sell all the new furniture
 

Users who are viewing this thread

Top