Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
Sorry to tell you, but your best chance is to take your drive to a data recovery center.
There's no way you'll decompile the AMX into useful code.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by Sreyas
start using git clients.
|
This. Bitbucket is a good free private repository provider. Not to mention if you have a NAS unit, you can probably have one run on that for you.
Posts: 506
Threads: 15
Joined: Mar 2009
Reputation:
0
This is why everybody should use version control. Even using something like DropBox is a lot better than nothing. You're not the first this has happened to. Even when I wasn't using version control, I always kept a backup on another device or USB stick. Too bad, but I hope this is a valuable lesson learned.
Posts: 828
Threads: 20
Joined: Jul 2015
Reputation:
0
Backup your hard disk or use Recuva to retrieve deleted files. Should work. My question is how did you delete it? And why the .pwn but not the .amx?
Posts: 1,266
Threads: 6
Joined: Oct 2014
Quote:
Originally Posted by Variable™
Backup your hard disk or use Recuva to retrieve deleted files. Should work. My question is how did you delete it? And why the .pwn but not the .amx?
|
When you do a change on your file and don't save it, on exiting Pawno tries to save it. lets imagine that, light got cut while you were working on your gamemode. Pawno will exit and trys to show a message box and checks its result [ Idk but maybe save being passed as the chose button that time ]. so Pawno tries to save the file. clears it and tries to rewrite, light power finishes boom .pwn is empty [ happened to me several times ].
however I've made my own Pawn script editor recently for a community and excluded the save when you exit xd.
you can find videos of the project I've down below : p.
https://www.youtube.com/watch?v=lmMrPBVU3QI
https://www.youtube.com/watch?v=pYtJRWwU3v0