Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

GMEdit

A high-end code editor for all things GameMaker · By YellowAfterlife

Missing and Duplicate Scripts

A topic by AttaBoy created Feb 12, 2018 Views: 386 Replies: 2
Viewing posts 1 to 3

First of all, I love this editor, it has improved my workflow for GMS:1 on Windows 10 significantly.

I'm having an issue, though, where sometimes my game won't compile, citing a duplicated script or that some script is missing or unknown. The duplicated scripts are usually scripts I've just been working with, while the missing scripts are usually scripts that are in the same folder or subfolder as ones I've been working with. When they disappear the gml files are still in the directory and I usually have to remake them in the IDE, copy/pasting from the editor. I don't know if you've come across this before, but it's pretty annoying.
Thank you again for working on this, your projects are incredible!

Developer

If this is in GMS1, having backups on save/run disabled seems to reduce the odds of it corrupting the project files. I'm not sure what exactly it is upset about, but I doubt that it's getting fixed. There's also a separate issue where GMS1 may disagree and overwrite an edited script/object with the version last opened in it, which is something that will be addressed in next update by having per-file backups done by GMEdit.

Interesting, it's a shame that it's an issue on the GMS side. I've also noticed that the missing scripts are usually adjacent to the duplicates in the resource tree. It seems like whatever I edit in GMEdit than makes a copy and overwrites whatever its next to. I don't know if this helps, but I thought I'd share!