generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Can you save a dictionary to a DS?

Previous Thread :: Next Thread 
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
03 May 2017 07:43 PM
I'm trying to save a dictionary to a datastore, but when I try to I get hit in the face with: "Cannot convert mixed or non-array tables: keys must be strings", and I'm like 99.9999999% sure all of the keys are strings. What did I do wrong? (would I need to post the code?)
Report Abuse
gunter5 is not online. gunter5
Joined: 15 Mar 2011
Total Posts: 737
03 May 2017 07:51 PM
#### #####
Report Abuse
gunter5 is not online. gunter5
Joined: 15 Mar 2011
Total Posts: 737
03 May 2017 07:52 PM
this is why i essentially quit roblox.. yes, post the code.


Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
03 May 2017 07:58 PM
paste uLUTQuwZ
Report Abuse
gunter5 is not online. gunter5
Joined: 15 Mar 2011
Total Posts: 737
03 May 2017 08:06 PM
It honestly looks fine to me as far as i can tell. Why would you use "Type = objType" instead of just using objType and not creating another variable.


Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
03 May 2017 08:07 PM
So I could do HouseStorage[category][obj].Type
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
03 May 2017 08:16 PM
b
Report Abuse
gunter5 is not online. gunter5
Joined: 15 Mar 2011
Total Posts: 737
03 May 2017 08:20 PM
try it, only way to find out


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 May 2017 08:21 PM
Does the table have any numerical indices or are you calling any array functions like table.insert on it?


Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
03 May 2017 08:23 PM
It has no numerical indices and I'm not calling any array functions on it.
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 May 2017 08:23 PM
my work here is done


Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 May 2017 08:25 PM
jk are you printing all key-value pairs of the table to make sure?

If you're doing that and you're saving the right table then I honestly have no idea.


Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
03 May 2017 08:25 PM
Please help.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image