Blockland Forums > Modification Help
FileObjects - Saving and Loading Data
Nexus:
alright. I tested this, and it just makes a code to re create the scriptobject. I assume this must be put into a .cs file, so I think I am good for now, unless someone has a last minute suggestion before I lock.
lilboarder32:
Ya I have a suggestion, don't lock coding help topics.
Someone may have a question and not want to create a topic.
Nexus:
--- Quote from: lilboarder32 on April 11, 2011, 01:45:36 AM ---Ya I have a suggestion, don't lock coding help topics.
Someone may have a question and not want to create a topic.
--- End quote ---
Ok. I wasn't really planning on locking, especially because I never really found out what I wanted to know about fileObjects, but found a different approach to get where I needed.
Destiny/Zack0Wack0:
Store the data in a script object and THEN write it out.
Here's a database system I made and I've used for DRPG (which never had corrupted data, fyi):
http://dl.dropbox.com/u/551734/blockByte.cs
And here's the example for using it:
http://dl.dropbox.com/u/551734/blockByteExample.txt
EDIT: The exception system is kinda useless on it. If you'd like to me to remove it just say.
EDITEDIT: It can load CSV and a format I wrote. It can export CSV, XML, SQL and the format I wrote.
Iban:
--- Quote from: Destiny/Zack0Wack0 on April 11, 2011, 05:00:15 AM ---Store the data in a script object and THEN write it out.
Here's a database system I made and I've used for DRPG (which never had corrupted data, fyi):
http://dl.dropbox.com/u/551734/blockByte.cs
And here's the example for using it:
http://dl.dropbox.com/u/551734/blockByteExample.txt
EDIT: The exception system is kinda useless on it. If you'd like to me to remove it just say.
EDITEDIT: It can load CSV and a format I wrote. It can export CSV, XML, SQL and the format I wrote.
--- End quote ---
this really isn't that good.
and bragging that it has never had "corrupted data" is silly because even Sassy never corrupted anything.
it would be like an engineer bragging "btw my elevators have never fallen 20 stories."