A
AnotherDoor
Guest
Error! not allowing save with filename 'E:\Documents\Gamemaker\Kauppa2D_2.gmx\datafiles\default.txt'
Code that causes the error:
var file1;
file1 = file_text_open_read("E:\Documents\Gamemaker\Kauppa2D_2.gmx\datafiles\default.txt");
--------------------------------------------------------------------------------------------------------------------------------------
same with
Error! not allowing save with filename 'E:\Documents\Gamemaker\Kauppa2D_2.gmx\datafiles\save.txt'
Error! not allowing save with filename ''
var file;
file = file_text_open_write("E:\Documents\Gamemaker\Kauppa2D_2.gmx\datafiles\save.txt");
file_text_write_string(file,mapsave);
file_text_close(file);
- All the variables work, but the problem seems to be the filename.
- Both of the files already exist + I tried to delete them and run the code with same results. (+ no files were generated)
- I have both of the files in the "included files" thing, and they are both readable from there.
- "Kauppa2D_2" is the project name.
- Both of the codes are copied from GMS wiki
Code that causes the error:
var file1;
file1 = file_text_open_read("E:\Documents\Gamemaker\Kauppa2D_2.gmx\datafiles\default.txt");
--------------------------------------------------------------------------------------------------------------------------------------
same with
Error! not allowing save with filename 'E:\Documents\Gamemaker\Kauppa2D_2.gmx\datafiles\save.txt'
Error! not allowing save with filename ''
var file;
file = file_text_open_write("E:\Documents\Gamemaker\Kauppa2D_2.gmx\datafiles\save.txt");
file_text_write_string(file,mapsave);
file_text_close(file);
- All the variables work, but the problem seems to be the filename.
- Both of the files already exist + I tried to delete them and run the code with same results. (+ no files were generated)
- I have both of the files in the "included files" thing, and they are both readable from there.
- "Kauppa2D_2" is the project name.
- Both of the codes are copied from GMS wiki