SA-MP Forums Archive
Gamemode is empty after computer restart - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Gamemode is empty after computer restart (/showthread.php?tid=615045)



Gamemode is empty after computer restart - ax1 - 16.08.2016

I was compiling my ~20k lines gamemode and my pc suddenly restarted. After restart my whole code from gamemode is gone, when I open the file its absolutely empy, nothing is written, BUT file size is same as it was before. Is there any chance for me to "revive" the code?


Re: Gamemode is empty after computer restart - Misiur - 16.08.2016

For one, don't save anything over it. Get it on some other form of storage ASAP, if the file is corrupted then other system processes can overwrite it. Then try opening it in notepad or something else than pawno.

Also, from now on.
1. Register on gitlab.com and create a free private repository
2. ****** how to use git for noobs - you don't even need to touch the command line
3. Use git to commit your changes and upload them to your online repository
4. No longer worry about your HDD fuckup


Re: Gamemode is empty after computer restart - PrO.GameR - 16.08.2016

You can use the windows backups, restore one of the previous versions. that might help you.


Re: Gamemode is empty after computer restart - Luis- - 16.08.2016

Quote:
Originally Posted by Misiur
Посмотреть сообщение
For one, don't save anything over it. Get it on some other form of storage ASAP, if the file is corrupted then other system processes can overwrite it. Then try opening it in notepad or something else than pawno.

Also, from now on.
1. Register on gitlab.com and create a free private repository
2. ****** how to use git for noobs - you don't even need to touch the command line
3. Use git to commit your changes and upload them to your online repository
4. No longer worry about your HDD fuckup
Sorry for just jumping on this thread, but I do have a question about this.. Can't you also use github?