GameINIs

GameINIs are online .ini files, which are the same for everyone in the game. GameINIs are accessible without logging in.

All data in GameINIs can be freely edited by any connected client.

Replies (15)

Last message on 27 May 2017

Solidplasma on 24 Sep 2014, 04:40:34
I am trying to use an online gameINI as a level portal for user made levels, however when I write to it or even manually add a section to the ini on the website, it doesn't appear on the webpage immediately, even after refreshing the page. I thought it wasn't working at all, but after attempting to upload a level several days ago, I came back today to find it fully uploaded and working. Is there a way to force sync the update, or is there a reason it isn't instantaneous?
Size43 (Administrator) on 23 Mar 2015, 20:00:22
This is because the INIs are cached on the game server. It turned out that saving INIs was really slow, so it's done in the background and some time after the last change.
perilousproductions on 18 May 2017, 03:16:27
never mind I figured it out thanks anyway! :D this is awesome will definitely donate once I make some revenue!
perilousproductions on 18 May 2017, 02:33:54
also is it possible to access an ini key using its index number so I could loop through a section to find the information I needed? Thanks again.
Size43 (Administrator) on 27 May 2017, 15:56:41
This is not possible.
perilousproductions on 17 May 2017, 19:50:27
How long does it take for a game ini to show up on the site?
As mentioned by someone else I am also making a level portal for player created levels,
I used gms_ini_game_write about half hour ago and it's still not showing up under the ini game section.
How long does it usually take? because I have a script that checks if the ini exists because if it does I want to delete the ini before rewriting it to make sure it isn't posted twice and I can't check if the ini has been posted if it takes over an hour to actually post :/

Or would posting an ini under the same section and key write over it the old one anyway, even if it is delayed?
Sorry for the awkward question, thanks!
Size43 (Administrator) on 27 May 2017, 15:56:18
If there are no players online in your game, it will be saved to the database within 15 minutes after the last write. You may need to log out and back in (on this site) before the changes show up)
amkgames on 11 May 2017, 11:48:31
Hey, Is it possible to write and read string with it?
amkgames on 11 May 2017, 13:17:38
Tried myself, it is possible.
Zoythrus on 14 Apr 2015, 04:18:35
Hey, while I know what an .ini *is*, I'm confused as to what they're used for here. Could you please explain why we need them?
Solidplasma on 14 Apr 2015, 08:46:06
Whatever you need universally accessible data for. I used them to make an online level portal for my game.
amkgames on 5 Apr 2015, 21:19:43
Game INI and Player INI are server sided?
Size43 (Administrator) on 6 Apr 2015, 11:16:30
Correct.
Ajay on 20 Mar 2015, 05:34:42
Please make different feedback function for our customers. or else make folders into Sections and Key function into GAME_INI.
Size43 (Administrator) on 23 Mar 2015, 19:58:51
It's pretty easy to fake a folder structure in a GameINI. You can save a category or something like that and when displaying a certain category, only show items belonging in that category.