vaultmp icon indicating copy to clipboard operation
vaultmp copied to clipboard

Crash when equipped item is moved between containers

Open foxtacles opened this issue 12 years ago • 3 comments

At least 2 players in same cell to reproduce

foxtacles avatar Jan 02 '14 02:01 foxtacles

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 avatar Jun 20 '17 10:06 foxtacles

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 avatar Jun 20 '17 10:06 foxtacles

yep

foxtacles avatar Jun 20 '17 12:06 foxtacles