I have an issue where I am trying to use the OnPluginPacketReceived function to reformat the MUD's packet output, but the MUD's packet output contains null characters mid way through the string. The string variable comes through in the scripting language containing all the characters prior to the null character but deletes any characters after the null character (assuming it is a null terminated string). Do you know of any workaround so I can have access to the characters AFTER the null character?
Example of packet:
(Edited to add code tags.)
Example of packet:
..+..*..Ok...You 0d 00 2b 0d 00 2a 0d 0a 4f 6b 2e 0d 0a 59 6f 75
weave flows of 20 77 65 61 76 65 20 66 6c 6f 77 73 20 6f 66 20
Earth to create 45 61 72 74 68 20 74 6f 20 63 72 65 61 74 65 20
a meal.....* HP: 61 20 6d 65 61 6c 2e 0d 0a 0d 0a 2a 20 48 50 3a
Healthy SP:Full 48 65 61 6c 74 68 79 20 53 50 3a 46 75 6c 6c 20
MV:Fresh > 4d 56 3a 46 72 65 73 68 20 3e 20
(Edited to add code tags.)