Null Characters Break LuaMsg
Moderator: Moderators
- Evil4Zerggin
- Posts: 557
- Joined: 16 May 2007, 06:34
Null Characters Break LuaMsg
Already reported to Mantis (http://spring.clan-sy.com/mantis/view.php?id=1269) but posted here for reference. Basically any LuaMsg including a null character will be received with garbage after the null character. (Null terminates strings in C/C++ but not in Lua.) This poses problems for transmission of binary data.
Re: Null Characters Break LuaMsg
How much binary data? The base64 api lua is nice and convenient. Unless this is part of your plan for reducing the load on the camera widget.
- Evil4Zerggin
- Posts: 557
- Joined: 16 May 2007, 06:34
Re: Null Characters Break LuaMsg
It's the camera widget. I think I'm going to end up writing custom pack/unpacks.
Re: Null Characters Break LuaMsg
For anyone else reading, this did get fixed.