
Originally Posted by
Emetophobic
Yup crackables requires some packets on the server to be done, Arcturus supports them if you want to test those out.
Crackables don't use any packets as far as I know. They're done using the item composers extra data. Here's the case if you want a starting point using Plus.
Code:
case InteractionType.CRACKABLE:
Message.WriteInteger(0);
Message.WriteInteger(7); // Crackable Identifier ; 7 + 256 (Limited)
Message.WriteString("0"); // Interaction mode
Message.WriteInteger(0); // Times clicked
Message.WriteInteger(0); // Max number of clicks
break;
The rest is just doing the logic to determin when the egg is cracked or not. If so update the baseitem for the item in the room.