Usage: gms_ini_game_write ( section, key, value )


Saves the given value to the given section and key.

Replies (5)

Last message on 15 Nov 2015

BulleTechGames on 16 May 2015, 11:14:21
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;
BulleTechGames on 16 May 2015, 13:14:38
6. If the variable is storing a number higher than 63 it causes a runtime error as well
score = 64
Size43 (Administrator) on 16 May 2015, 16:11:06
1. This is a server-sided caching issue. The website is supposed to request a cache flush from the game server, but this is not happening for some unknown reason. I'll look into it. :)

2 - 6. Please download 1.8.5c and see if that fixes the issues. Apologies for the many updates, I wanted to get something released quickly and it unfortunately backfired pretty badly.
BulleTechGames on 17 May 2015, 15:26:15
Works perfectly now, thanks for fixing :)
Size43 (Administrator) on 17 May 2015, 19:09:34
Thanks for letting me know!