Opened 10 years ago
Last modified 10 years ago
#82 new enhancement
WebApi to Inventory
Reported by: | behemoth | Owned by: | Christian Illy |
---|---|---|---|
Priority: | minor | Component: | Server fixes |
Keywords: | Cc: |
Description
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 by , 10 years ago
Component: | Scripts → Server fixes |
---|---|
Priority: | major → minor |
comment:2 by , 10 years ago
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 by , 10 years ago
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.
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 ;)