foxtacles / vaultmp

Multiplayer mod for the PC version of Fallout 3
http://www.vaultmp.com/
Other
129 stars 47 forks source link

Crash when equipped item is moved between containers #122

Open foxtacles opened 10 years ago

foxtacles commented 10 years ago

At least 2 players in same cell to reproduce

foxtacles commented 7 years ago

It should be visible in the inventory (though the "inventory" UI is purely part of a server-side script so it can be changed if desired: https://github.com/foxtacles/vaultmp/blob/master/source/vaultscript/vaultplugin.cpp ).

and yes I believe only the client is crashing, but never managed to figure out what is causing that

foxtacles commented 7 years ago

this function is generally being used for moving/adding items:

https://github.com/foxtacles/vaultmp/blob/master/source/vaultserver/Script.cpp#L1660

it works by basically making a copy of the item, after that destroying the original. if the original item was equipped, the new one will be equipped as well - but that's all I can remember for now

foxtacles commented 7 years ago

yep