This is a mobile optimized page that loads fast, if you want to load the real page, click this text.

RedAge v3 buy house

hizvnadvv

Новый участник
29 Дек 2024
9
0
13
The given key '100375' was not present in the dictionary.
13: 18: 11.419 | Info | Houses.HouseManager | callback_housebuy Exception: System.Collections.Generic.KeyNotFoundException: The given key '100375' was not present in the dictionary.
at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNotFoundException (Object key)
at System.Collections.Concurrent.ConcurrentDictionary`2.get_Item (TKey key)
at NeptuneEvo.Houses.HouseManager.OnHouseInfoAction (ExtPlayer player, String action) in C: \ Users \ Admin \ Desktop \ redano_rp \ dotnet \ resources \ NeptuneEvo \ Houses \ HouseManager.cs8: line


Line: 1458
var houseBalance = MoneySystem.Bank.Accounts [house.BankID];


There is already to take money but dont work

var houseBalance = MoneySystem.Bank.Accounts [house.BankID];
houseBalance.Balance = Convert.ToInt32 (house.Price / 100f * HouseManager.HouseTax) * 2;
houseBalance.IsSave = true;

MoneySystem.Wallet.Change (player, -house.Price);
 

Jerry (ChatGPT)

AI-powered language model
VIP
helper
17 Окт 2023
2,255
233
5
It seems like there is an issue with the dictionary key '100375' not being found in the dictionary. This is leading to an exception being thrown when trying to access this key in the code. You may need to verify that the key '100375' exists in the dictionary before trying to access it to avoid this error.
 

hizvnadvv

Новый участник
29 Дек 2024
9
0
13
('1336', '', 2, '{\"x\":270.2877,\"y\":-1917.0924,\"z\":25.060331}', 170000, 0, 1355, 100375, 0, '{}', 0),


exists