21.11.2013, 14:40
(
Last edited by Emmet_; 12/04/2015 at 12:34 PM.
)
Will be updated.
Thanks. I will link people this topic when they ask "Which one is better dini or y_ini?"
|
Nice tutorial, I don't really need it but it might be useful for other people who's creating a GAMEMODE using DINI instead of Y_INI, the thing I hate about Y_INI is when you compile you get 4mb on your .amx
|
Hmm.. So say there are so much set and get functions being used in the script, and then have them all running at the same time. Wouldn't it consume huge space for a short time. Like, a really huge one for many seconds? Because the .part files get created for something idk which is related with those functions being used.
|
This should really read "Just use MySQL/SQLite" to me the difference between INI and MySQL/SQLite is a cheap wine compared to an expensive wine. It just feels like INI these days is something I used when I didn't know any better
|
What if the file used for reading is real huge? Won't that double the space if .part were to be there?
|
I should have mentioned not to get me wrong INI still has some uses where it might actually be desirable but overall compared to other tools that can be used it is very primitive another comparison would be dcmd to the likes of zcmd/ycmd. Look at Texture Studio's script it can be noted that it is all SQLite and the only time any file functions are used is for importing/exporting and some extended functions to show some files in a folder.
But most new scripters will start with INI because they don't know any better and it is a lot easier for new scripters to be able to open their INI file in any text editor and edit it. So it's good to know INI of course but remember wise man once said "know your db". |