Tools/ConnectionPatcher: Fix build on GCC/Clang
Core/Items: remade inventory packets to new packet system