Opened 8 years ago

Last modified 8 years ago

#82 new enhancement

WebApi to Inventory

Reported by: behemoth Owned by: Alloc
Priority: minor Component: Server fixes
Keywords: Cc:


It would be nice, to give Items directly to the Inventory.
Like a WebApi givetoplayer/<playername|entityid>/<itemname>/<amount>
and then check the Inventory for a free Space and insert the item.

I tried it but i can't compile a working 7dtd-server-fixes.dll.

And the sentence is not very helpful to me:
"The Assembly-CSharp.dll is first deobfuscated with the ?Deobfuscator. Then the 7dtd-server-fixes.dll can be build referencing this assembly. At last the deobfuscated Assembly-CSharp.dll is patched with the ?Assembly-Patcher so it calls the new methods in the 7dtd-server-fixes.dll."

Change History (3)

comment:1 Changed 8 years ago by Alloc

  • Component changed from Scripts to Server fixes
  • Priority changed from major to minor

Changing a clients inventory directly is not supported right now as the inventory is completely client side.

If you want/have to patch the AC# yourself you have to follow the steps I'll add to the wiki page in a few minutes ;)

comment:2 Changed 8 years ago by behemoth

With which program you compile it? Can i compile on Windows for Unix?
I tried with MV C# 2010 Express and Xamarin Studio but it didn't work.

Please Help

comment:3 Changed 8 years ago by Alloc

With that amount of information I can't really give a lot of feedback. Just that I use MonoDevelop 2.x (IDE shouldn't matter though) with some 3.5 Mono compiler. The one that comes with Ubuntu 13.10. Should work fine with others too though.

Note: See TracTickets for help on using tickets.