Open DrHenny opened 1 year ago
In packet 164 just do this
`int id = incoming.readLEUShort(); boolean showMainInterface = (byte) incoming.readUnsignedByte() == 1;
resetAnimation(id);
if (overlayInterfaceId != -1) {
overlayInterfaceId = -1;
tabAreaAltered = true;
}
backDialogueId = id;
updateChatbox = true;
if (!showMainInterface) {
openInterfaceId = -1;
interfaceParent = -1;
}
continuedDialogue = false;`
Will allow u to pick if u want to close interfaces or not server sided and then
In packet 164 just do this
`int id = incoming.readLEUShort(); boolean showMainInterface = (byte) incoming.readUnsignedByte() == 1;
resetAnimation(id); if (overlayInterfaceId != -1) { overlayInterfaceId = -1; tabAreaAltered = true; } backDialogueId = id; updateChatbox = true; if (!showMainInterface) { openInterfaceId = -1; interfaceParent = -1; } continuedDialogue = false;`
Will allow u to pick if u want to close interfaces or not server sided and then
164 is sending the interface packet. We want to be able to close a dialogue whenever we need to via server which is why I implemented the custom empty packet. Unless I'm misunderstanding what you're referring to?