angel-git / tarkov-stash

spt tarkov profile stash editor ui
https://angel-git.github.io/tarkov-stash/
2 stars 1 forks source link

Allow to add items while game is running #151

Open angel-git opened 6 months ago

angel-git commented 6 months ago

First iteration would be to add items in your stash while NOT in raid

My first idea would be to send a websocket message from the server to the client once an item is added (see WebSocketServer in spt server), then somehow override GClass1910 NotificationManagerClass in tarkov to handle this new message and again somehow refresh the stash grid

some random code:

 private static StashClass _playerStash => ClientAppUtils.GetMainApp().GetClientBackEndSession().Profile.Inventory.Stash;
 public static ISession _session => ClientAppUtils.GetMainApp().GetClientBackEndSession();

Some fancy clients mods: