Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
Topic closed
Idc if you don't like them.... I wanna use them and I need someone who can help me.
If you know how to set up Ini files my TV is below vv
Offline
Idc if you don't like them.... I wanna use them and I need someone who can help me.
If you know how to set up Ini files my TV is below vv
What are INI FILES??
cercul1 wrote:Idc if you don't like them.... I wanna use them and I need someone who can help me.
If you know how to set up Ini files my TV is below vvWhat are INI FILES??
It's a way of storing data for players
Offline
Never used them but you seem to be able to edit .ini files the same way as any other text file
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
I'm confused. You found .ini from the jaba tutorials, right?
He's basically handing you code, what's the confusion?
@cercul1 use XML, JSON or actual databases; there is lots of support online for the uses of these for most modern languages.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
^On that note, I know a gent who found JSONConvert or something from newtonsoft
one line: WriteFile(JSONConvert.SerializeObject(UserCollection))
boom. output.
one line: UserCollection = JSONConvert.DeserializeObject(ReadFile());
ok it's slightly more convoluted but that's the gist. one line and boom.
Offline
I'm confused. You found .ini from the jaba tutorials, right?
He's basically handing you code, what's the confusion?
No i didn't, i don't even know what jaba tutorials are...
and
@cercul1 use XML, JSON or actual databases; there is lots of support online for the uses of these for most modern languages.
I already said i wanted to use ini
Offline
^On that note, I know a gent who found JSONConvert or something from newtonsoft
one line: WriteFile(JSONConvert.SerializeObject(UserCollection))
boom. output.
one line: UserCollection = JSONConvert.DeserializeObject(ReadFile());
ok it's slightly more convoluted but that's the gist. one line and boom.
It does need a little bit more support, all individual outputs are strings - so you do have to convert to bool or int; JSON also matches to classes so things like http://koya.io/itemstats.json can be generated, fetched and edited easily.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
Offline
I've used INI files lots of times in the past, they are intended for configuration files - not for storing dynamic data such as players.
You should very much use an actual database - not files, as they tend to corrupt (no journals) on crashes or power outage, etc.
I would personally recommend SQLite at this stage, which can be easily implemented in managed and non-managed forms, depending on your requirements.
However, if you're still insistent on using INI files incorrectly, you should see this.
*u stinky*
Offline
not files as they tend to corrupt (no journals) on crashes or power outage, etc.
Backups & easier for small applications; but yeah databases are the way to go.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
Is there any way i can kill this post because you guys aren't even helping
Offline
Is there any way i can kill this post because you guys aren't even helping
yes, you could explain why you want .ini so bad
or look at what atilla dropped
or look at jaba's tutorials
but really, you're not being rational here.
or ask a mod to lock. or something.
Offline
Is there any way i can kill this post because you guys aren't even helping
What can ini do for you that a database or another easier file type can't?
We are helping you by suggesting better methods.
Thank you eleizibeth ^
I stack my signatures rather than delete them so I don't lose them
Offline
Topic was closed on OPs request. (We do not remove posts)
I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.
Offline
Pages: 1
Topic closed
[ Started around 1732441745.6489 - Generated in 0.065 seconds, 12 queries executed - Memory usage: 1.65 MiB (Peak: 1.88 MiB) ]