Im not entirely sure if this is a bug or whatever but I dont have access to bug reporting anyway so here goes.
I was recently passing dictionaries over remote functions as we all do in our free time and I discovered an interesting bug. So my dictionary used integer indices on the client, but when i checked it on the server its indices were turned into strings? Does anyone have a possible explanation for this? If not I guess Ill just loop through the dictionary and turn all the indices back into numbers or something
Not a bug. Lua is an oddball in allowing mixed dictionary key types. It’s not normal and most systems don’t support it, probably including whatever system they’re using to send the data. If you really need it, convert it to an array of {key, value} 2 element tables, and back into a dictionary on the other side.