Open Beelzebob6666 opened 2 years ago
Yes you are right, but unfortunately this is not easy to fix.
What happens when you store a building: .) A request is sent with requestClass "UseItemOnBuildingPayload" and class "UseItemOnBuildingPayload". This contains itemId and mapEntityId .) The reply does not contain any valueable information
From the request alone we know the building, but not if it was a store building kit (could also be an upgrade kit etc.)
So to fix this we would need to listen to these requests and search Inventory for the ItemId and check if it was a "store building" kit.
The problem about that is that we currently do not track inventory changes. We currently only do that for FP packets. So the fix would fail if you did not have a store building kit when reloading the game.
Note: The lack of inventory tracking is also a problem for the Kits module, so I think it would be better to fix inventory first
Note: The lack of inventory tracking is also a problem for the Kits module, so I think it would be better to fix inventory first 👍gebt bitte Bescheid wenn ihr da schon was habt ansonsten bin ich da auch dran wenn ich Zeit habe😅 👍please let me know if you already have something, otherwise I'll be there too if I have time😅