Players Inventory - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Discussion (https://forum.cuberite.org/forum-5.html) +--- Thread: Players Inventory (/thread-312.html) Pages:
1
2
|
RE: Players Inventory - tbar - 01-30-2012 I really appreciate what you have done!! Unfortunately I cannot compile the latest revision because of compile errors : Code: [tbar@arch mc-server-read-only2]# svn up I've tried doing a 'make clean' but that changes nothing... (I'm using ArchLinux...) RE: Players Inventory - FakeTruth - 01-30-2012 Try getting revision 185 (that one should work), the latests updates seem to have broken the Linux build RE: Players Inventory - tbar - 01-31-2012 You're right rev 185 works perfectly with this plugin! Thanks! Looking at the plugin.lua file I wonder where I can see the different possibilities for the cItem? In other words where is E_BLOCK_STONE defined? And what does 0 mean in cItem( E_BLOCK_STONE, 10, 0 )? Anyways: Thanks a lot for implementing this plugin!! RE: Players Inventory - FakeTruth - 01-31-2012 E_BLOCK_STONE is defined here: http://code.google.com/p/mc-server/source/browse/trunk/source/BlockID.h But you can also use a number cItem takes 3 pameters: 1. Item ID 2. Quantity 3. Item health, for different kinds of logs and dyes |