of     2   
chevron_rightchevron_rightchevron_right

cntkillme
#177774783Monday, November 09, 2015 9:57 PM GMT

We can't save embedded zeros to DataStores, in StringValues, as Names of objects (although this is a good thing to block), and so on. Instead of treating strings in Lua as "NUL terminated strings" on the C++-side, can you treat them as actual Lua strings and use the length the compiler gives to Lua strings pleaseeeee.
eLunate
#177774937Monday, November 09, 2015 10:00 PM GMT

Support need this for advanced object data serialization.
powerhotmail123
#177775152Monday, November 09, 2015 10:04 PM GMT

Support for the Scripters Cause. :P Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
comonkey
#177776050Monday, November 09, 2015 10:20 PM GMT

support, I think...
ChubbyBunny123
#177776422Monday, November 09, 2015 10:26 PM GMT

wtf did u just say now cackle
eLunate
#177777541Monday, November 09, 2015 10:44 PM GMT

It's important that you support.
cntkillme
#177777621Monday, November 09, 2015 10:45 PM GMT

If you don't support you will die. If you do support you still will die, but you won't feel good when you do so support.
CeaselessQuokka
#177777992Monday, November 09, 2015 10:49 PM GMT

Yup.
skullsten
#177779860Monday, November 09, 2015 11:17 PM GMT

uhh ok u guys know wat ur doing
man1912
#177780082Monday, November 09, 2015 11:20 PM GMT

Scriptable No support
cntkillme
#177780521Monday, November 09, 2015 11:28 PM GMT

man1912 do you even understand the problem?
CeaselessQuokka
#177781154Monday, November 09, 2015 11:39 PM GMT

@man, I've got this feeling that you have no idea how to script.
eLunate
#177809169Tuesday, November 10, 2015 3:56 PM GMT

Notice me senpai.
man1912
#177809193Tuesday, November 10, 2015 3:58 PM GMT

furry
eLunate
#177809239Tuesday, November 10, 2015 3:59 PM GMT

I am a furry. And it keeps me warm, thank you very much.
SimplyRemove
#177811601Tuesday, November 10, 2015 5:27 PM GMT

sorry idk what this means
ShiraWolven
#177811729Tuesday, November 10, 2015 5:31 PM GMT

Just jsonencode it.
cntkillme
#177812861Tuesday, November 10, 2015 6:15 PM GMT

You don't JSONencode strings, and if you are implying we use a giant array of numbers then that severely restricts how much data we actually have, by more than 5x.
chimmihc
#177814442Tuesday, November 10, 2015 7:21 PM GMT

support
eLunate
#177826945Tuesday, November 10, 2015 11:53 PM GMT

I love how he says to JSONEncode a string. "Hey guys I have a genius idea let's encode a string into a string"
kingkiller1000
#177828796Wednesday, November 11, 2015 12:23 AM GMT

I thought they were already treated as Lua strings? I could have sworn I've used a null character before as a delimiter.
SourceCodePro
#177828944Wednesday, November 11, 2015 12:26 AM GMT

support.
cntkillme
#177829092Wednesday, November 11, 2015 12:28 AM GMT

In Lua they are treated normally (c-sided), but when passing strings with NUL characters in them (or using them) in Roblox-specific things (mostly c++-sided), Roblox just reads the string up to the first NUL instead of using the length (which is known beforehand).
cntkillme
#177829338Wednesday, November 11, 2015 12:32 AM GMT

Here easy way to replicate it: local strVal = Instance.new("StringValue"); local str = "hello\0hello"; -- expected length: 11 (stored length: 12) strVal.Text = str; -- expecting to store 11 characters (12 in reality) print(#strVal.Text); -- got 5 (6 in reality)
Klink45
#177829372Wednesday, November 11, 2015 12:33 AM GMT

YES. u sicko!

    of     2   
chevron_rightchevron_rightchevron_right