I have a prim sending data to another prim via llRegionSay. The data is a user key and a 3 digit number - both the key and the integer variables are cast into a string in the first prim. As a check, the sending prim prints the concatenated string through llSay, and the data looks fine at that point. However, when the second prim prints up the data, it always adds the following before the three number string: 4e55f. It gets the three digits right, but just adds that to the start. So, for instance '002' becomes '4e55f002'. Here's the code in the listen function of the receiving prim:
ReturnUser = "";
ReturnData = "";
ReturnUser = llGetSubString(str, 0, 35); // parsing user's key
ReturnData = llGetSubString(str, 35, 3); // parsing the 3 numbers
llShout(0, ReturnUser + " " + ReturnData);
I also use llInstantMessage to im me the data, and the same 4e55f shows up.
llInstantMessage((key)ReturnUser, llKey2Name(ReturnUser) +", your book has been returned and bookmarked at page: " + ReturnData);
The im output is: "Brent Upshaw, your book has been returned and bookmarked at page: 4e55f002"
Any ideas?
Thanks!!!