1. I've been trying to clear either main, wear or belt and not the whole inventory.

    I used

    Code:
    player.inventory.containerBelt:Kill()
    But I am now unable to move items to my belt and wear inventory - even after suiciding and reconnecting.

    Is there any way to reset my character/inventory without deleting anything but my own player data?

    I THINK I saw @Mughisi mention a fix for this once, but I wasn't able to find it while searching.

    Thanks in advance.
     
  2. Calytic

    Calytic Community Admin Community Mod

    This is the C# used to initialize the containerBelt in PlayerInventory.Initialize().

    You can use this code below.
    Code:
    player.inventory.containerBelt = new ItemContainer();
    player.inventory.containerBelt.SetFlag(ItemContainer.Flag.IsPlayer, true);
    player.inventory.containerBelt.SetFlag(ItemContainer.Flag.Belt, true);
    Or you can attempt to simply re-initialize your inventory (also C#)..
    Code:
    player.inventory.ServerInit(player)
    [DOUBLEPOST=1444919737][/DOUBLEPOST]Looking into player.inventory.Strip(), the following code is used to clean out the belt
    Code:
    this.containerBelt.Clear();
    ItemManager.DoRemoves();
    You may or may not need the DoRemoves call, I don't know.
     
  3. I was able to fix my inventory using:
    Code:
    player.inventory.ServerIplayer.inventory.ServerInit(player)nit(player)
    Thank you very much!