• CarlEmail

    Hi everyone

    My Max license dried out recently, so here I am in the PD forum. I've been patching for years in Max/MSP so PD feels very familiar. So far Im very impressed with everything.

    MY PROBLEM:
    Im sending a UDP message from a game engine (called Unity). The message is a string that have been encoded into a byte array using System.Text.ASCIIEncoding (.net/c#).

    When I received this message in Max, the byte array was automatically converted into a string again. PD needs some help with this. How do I convert the byte array back into a string?

    I get this:
    48 32 49 54 46 53 32 48 46 49 48 56 54 51 49 51 32 48 46 49 57 53 56 57 50 57 32 48 46 49 56 48 56 52 54 57 32 45 48 46 48 55 49 53 54 50 54 56

    Where I wanted somthing like this:
    "theNerveNum 2 theTime 7612 theVelocity 0.76 theCenterDistance 0.23"

    I use the "udpreceive" object for recieving the UDP message by the way.

    Any help is much appriciated ;-)
    ~ce

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!