Strange code disapeering - 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: Strange code disapeering (
/showthread.php?tid=577976)
Strange code disapeering -
kepa333 - 15.06.2015
Today, we'been testing and i was making changes in code when suddenly i see that 40k lines of my code is missing...
All i can see in notepad++ is
this:
http://i.imgur.com/M0VO85x.png
This is running me crazy is there any way to recover this code?
PS: Those null's going pretty far.
Re : Strange code disapeering -
Dutheil - 15.06.2015
Ctrl+Z ?
Re: Strange code disapeering -
kepa333 - 15.06.2015
I'been trying this wont help
Re : Strange code disapeering -
Dutheil - 15.06.2015
You can use an de-amx, if you have still your last version compiled.
Re: Strange code disapeering -
kepa333 - 15.06.2015
Had no luck with this
Re: Strange code disapeering -
azzerking - 15.06.2015
Quote:
Originally Posted by kepa333
Today, we'been testing and i was making changes in code when suddenly i see that 40k lines of my code is missing...
All i can see in notepad++ is
this:
http://i.imgur.com/M0VO85x.png
This is running me crazy is there any way to recover this code?
PS: Those null's going pretty far.
|
It looks like your file was corrupted, or notepad++ messed up when compiling. All you can do is either check for a backup (if you made one) or use an older version of gamemode.
In future either backup the file or use something like (dropbox, onedrive, ****** drive) to script on as it will allow multiple places for the file to exist, and if one breaks you can just copy another over or use the built on service to restore file from a previous date.
If you do use a syncing based network (mention above) then remember to keep it private and you'll have no issues. Apart from that there not much you can do.
Just as quick one, go download or open the script with another file editor (notepad, sublime, etc) and see if the issues still remains if it does the file is corrupt if not then notepad++ has corrupted or a plugin is interfering.