PDA

View Full Version : Strange code disapeering


kepa333
15/06/2015, 02:53 PM
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.

Dutheil
15/06/2015, 03:01 PM
Ctrl+Z ?

kepa333
15/06/2015, 03:03 PM
I'been trying this wont help :(

Dutheil
15/06/2015, 03:05 PM
You can use an de-amx, if you have still your last version compiled.

kepa333
15/06/2015, 03:18 PM
Had no luck with this :(

azzerking
15/06/2015, 05:02 PM
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.