Working on Trady, related questions
#11
Well this thread discusses inter-plugin communication https://forum.cuberite.org/showthread.ph...467&page=2
(it's not possible natively right now)
Reply
Thanks given by:
#12
Well, if you think it's a good idea (money variable in source code) - go ahead Smile I got the point about complexicity, so I'm not against one var.
Reply
Thanks given by:
#13
Uhmz, i guess i was then thinking about a mc-classic server i once was playing with.
Sorry for the confusion :/.
Reply
Thanks given by:
#14
Hi there.
I'm curious on how MCS handle player's inventory slot numeration? Is it similar to vanilla slot numbers:
http://media-mcw.cursecdn.com/b/b2/Items...number.png
or is it different? MCS source shows that it's different (0 to 44), but I can't came up with clear understanding on that. Help?
Reply
Thanks given by:
#15
The slots should be numbered the same as in the inventory window that is used by the server protocol:
0 - crafting result
1 .. 4 - crafting grid
5 .. 8 - armor
9 .. 35 - inner inventory
36 .. 44 - hotbar
http://wiki.vg/Inventory#Inventory

Naturally, setting slots 0 through 4 in the inventory doesn't do anything, they're there for historical reasons only - the early code copied the inventory 1:1 into the window packet.
Reply
Thanks given by: Taugeshtu




Users browsing this thread: 6 Guest(s)