Im having the same problem. Yesterday afternoon I was playing and Ini data was not read / written. I waited time, I logged out and in and nothing. Today I have logged in again and Ini values are not updated. Sometimes It happens and I dont know why.
Game Maker: Studio v1.4.1567
Extension: 1.8.5b All
1. Using gms_ini_game_write() takes hours to update on the site
2. Both ini_game_write() and ini_player_write() can only handle variables as the value. When placing a set/predetermined value such as gms_ini_player_write("Section","Key",100); a runtime error is caused.
3. They also can't handle calculations either, such as gms_ini_game_write("Section","Key",variable*2);
4. They also can't handle strings. gms_ini_player_write("Section","Key","stringvalue");
5. They also return a runtime error when using string() or real() with the value
The execution error is caused at gml_Script_XGms_ve_getBestWayToSend (line 96) - return (0 << 7) | (VT_SPECIAL << 3) | num;
GameMaker Server's INI files work a lot like normal INI files. If you've never worked with them before, the offical manual does a pretty good job of explaining what INI files are (http://docs.yoyogames.com/source/dadiospice/002_reference/file%20handling/ini%20files/index.html)
In short, a section is a part in an INI file that contains multiple values. For example, you might make different sections for the player's inventory, skills and position. Each section then contains a few keys and values.
Hi , sorry for my bad english. i need help for send variable and call variable , i no want log in or register system or high score system. i am use write_ini system but I could not.. my game is similar gladiatus browser game and build android platform.. i need send variable and call variable..
GameINIs are readable & writeable without being logged in. Please make sure you've got a "GMS" object like in the GM:Studio example placed in the first room, and that your game is registered on the site.
gms_settings(...) must be called before any other GameMaker Server function, but after gms_init. You're probably calling gms_ini_write or gms_ini_read before gms_settings is called. gms_settings needs to be the first GameMaker Server function that's called.
You should add the extension as an extension, not just load the scripts. Adding an extension to your game is described in this tutorial.
It's also quite important that you put the GMS object in the first room. Furthermore, you should not put the "other player object" in a room. That's automatically done by the extension.
Lastly, if you're disabling simple mode (gms_settings), you can also just enter -1 for the player and other player object, since disabling the simple mode will turn off a lot of the useful features. (read: you should probably use simple mode)