1. TheRealMrSketch

    GML Loading data for a script is not working.

    I am building a clicking simulator game and I want the game to save and load to where you left off last time you played. The amount of clicks stored is working just fine and want to check if I pressed a button already. Pressing a button will give me more "clicks" per second which is checked in a...
  2. R

    Windows Sort 2d array for high scores

    I plan to do a high score and need to store the data in a 2d array. But I need sorting to show the highest points! How could I sort from largest to smallest the data entered in the 2d array global.matrix[0, 0]). I need to sort the first zero of the array like [0, 0] [0, 1] [0, 2] [0, 3] [0, 4]...
  3. Retron84

    Loading values from .ini not registering?

    I'm not sure why this code isn't working. I want to load the user's previous window size and fullscreen preferences on startup. These values are written whenever the user changes the settings and the file is being created correctly, as you can see in the screenshot. Perhaps it has something to...
  4. otterZ

    GMS 2.3+ INI Save File Not Recognized After GM re-install?

    I had to re-install windows and all applications on my Windows PC recently (as it froze - black screen), with all my files still being intact. However, when I loaded my project it does not recognize my game save progress anymore. I worry that on the next update I upload to Steam, players will...
  5. RizbIT

    storing strings in ini with newlines

    [User] recordlogs=" 13/03/2021 - 565 13/03/2021 - 633 13/03/2021 - 574 13/03/2021 - 700 " You can write a string to ini that has \n new line escape character BUT When you try to read in the value of recordlogs you get a blank string as opposed to all the string
  6. Yizzard

    GMS 2 Question about possible future saving glitch

    So my game saves with ini files storing variables in them. I noticed that sometimes when I create new objects gamemaker will automatically reorder the object numbers of each of my objects and it will mess up previous save files. For example, in my save file it has currentParty0 = 14, telling the...
  7. K00lman

    SOLVED ini files not working

    I was trying to make a save system for my clicker game using some ini files, and put in this code: ini_open("data.ini"); global.code_lines = ini_read_real("stats", "code_lines", 0); global.programs = ini_read_real("stats", "programs", 0); = ini_read_real("stats", "money", 0)...
  8. GonerBits

    SOLVED How to get players to access an INI file from the internet?

    I'm trying to do something a bit strange with Game Maker, and I'm not sure if it will work. Basically, I want to be able to make an INI file, host it somewhere, and have the game read from the online version. Then I could update the file, and the values shown in the game would change to reflect...
  9. jobjorgos

    GMS 2.3+ How do I write 1 empty row between all the sections in my config.ini file?

    As you can see in the config.ini file below, all sections gets writted without free space (1 empty row) between the sections. Should not be there one empty row between the sections as default? and if its not default, is there a way to write an empty row after every section manully? Having all...
  10. haloregit

    GML [SOLVED] Steam cloud with encrypted ini

    After searching for quite a while, I was unable to come up with a proper solution. I use SafeSave - INI & More to encrypt my save ini files. It works perfectly, but now I am unable to figure out how to use Steam's cloud saves. I have tried several solutions such as the one from Jorge León...
  11. Architheutis

    Keeping .ini-files despite of deinstallation app

    Hi buddies, :p now I am in the final cut-phase of my first big game. My game should be the first chapter of several. The gamer should be able to transfer his "earned" points, lifes and items into the next chapter, that must be installed. In case of a player unistalls the first chapter: Is it...
  12. Lakko

    GMS 2 Game maker server

    Hi, Is this still live and compatible with GMS2? Has anyone recently tried it? Thanks
  13. Dwighty4000

    GMS 2 a problem with the alarm[0]

    why does it take twice as long for a settings sav until alarm [0] is triggered if the whole program has a "settings.sav" in "% appdata%" although this does not maintain any contact to this and yes the text message is triggered immediately right at the beginning which must mean that alarm [0] is...
  14. Architheutis

    [Solved] Some trouble with Highscore table (b4 xmas)

    Hi guys, I´ve got some trouble with my highscore table, before xmas. :rolleyes:o_O I programmed some objects and put them into different rooms in senseful order. programmed a name-entry screen for it, too. Everything works, but any time I finished the name entry in testing-mode, GMS2 says...
  15. Architheutis

    Cannot find the folder of my .ini

    Hi Folks, I cannot find the folder of my .ini-data. Game Maker 2 saves it into Computer/User/Architheuthis/AppData/Local/Filename.ini So... I cannot find the folder "AppData" and folders within. I use Windows 10. Can anybody gimme a hint? Best wishes, Archie.
  16. D

    GMS 2 Trouble with saving ini files...

    Hi, I'm new to the forum so I hope I'm brief. I've been having trouble with saving and loading my game after exporting the package. I am exporting out of uwp so I'm assuming that's where the problem lies, considering how its set up, but just an assumption. This is what my save script looks like...
  17. eyethree

    UWP Saving and Loading ini Files (targeting Xbox One)

    Hello, I've recently had to rework a save system for one of my games on Xbox One to Save/Load via ini files/functions (followed this YoYo tutorial with the included wrappers). After rewriting everything (which I thought I understood, but I've been up for 32 hours, so pardon my complete lack of...
  18. animated_ginger

    GMS 2 Trouble saving ds_list with ini

    Hello all! I've been running across this problem all day and I still can't figure out why this is not working. I'm trying to add a value to the list and then save it to an ini file. Problem is, it saves a value like "nan" or "inf". And I'm only testing out to see if this will save values...
  19. Architheutis

    ini-problems (no update and unpleasant list display)

    Hi programmers. I´ve got problems with ini-handling. I have a highscore table in my game. What I want: A saved highscore list on each unit - every time you restart the game, the ranking of the best players (TOP - 10) is reloaded. The list shows up to 10 names with the scores, vertically...
  20. Architheutis

    How to program a user text input box (Highscore) [SOLVED!]

    Hi Folks, my game is in the fine adjustment... ... I programmed a highscore table with a text input box. So the player is able to type his name via keyboard. That works on PC or laptop aso. But what about a mobile unit like a smartphone or tablet? It´s set with a keyboard_string = " "...