I will post how to fix it then I guess.
Steps:
1. Install gamemaker 8.1
2. Press "windows key" + R to open "Run" window(https://i.gyazo.com/86abcd6b0909ddb8c8fe09865f0847b7.png)
(or open Run window normally.)
3. put %appdata%\gamemaker and press enter, you should see this (https://i.gyazo.com/8a9067572ab1af0cee6a8ad6f5d17766.png)
4. make a copy of "Rundata" file and put it in a seperate folder and keep a backup. (https://i.gyazo.com/2c5cc59d61617b0a9cff3066ed138780.png)
5. when the error happens, copy the "rundata" file you have backed up in new folder.
and paste it into this main folder, overwriting the old one. (https://i.gyazo.com/2770e5cd5c96b73bdff08af6f52ed8d5.png)
I hope this helps. it is a little weird to do every time the error happens at first. but you get used to it and it only takes 5 seconds if you are fast ;3