SA-MP Forums Archive
[Questions] Regarding AMX file of gamemode. - 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: [Questions] Regarding AMX file of gamemode. (/showthread.php?tid=419844)



[Questions] Regarding AMX file of gamemode. - tony_fitto - 02.03.2013

Dear SA:MP members,

I've recently got a new PC because my old one got it's hard drive broken, so I decided to get my self a new one.
After I lost my game mode in the crash I decided to quit SA:MP didn't really make it so far since I'm here again, but I have one issue I've managed to get my AMX file from my host but I never uploaded the PWN file there since I'm not trusting hackers and stuff.

Now I got a problem, HOW can I get my PWN file back since I have no copy in my PC at all. I've tried DeAMX but it just gives me this in the output file.

pawn Код:
#include <a_samp>
#include <core>
#include <float>
I seriously need help, there must be some way to de-code the AMX file.

-Sincerely,
Tony


Re: [Questions] Regarding AMX file of gamemode. - SilverKiller - 02.03.2013

I founded this on the DeAmx Thread

Quote:
Originally Posted by sgtjones12
Посмотреть сообщение
After, you simply put
Код:
AntiDeAMX();
callbacks in several, for example in OnGameModeInit and OnPlayerSpawn.
This is your GM / FS is being protected from DeAmx and if you try to decompile, it will only do this to:
Код:
#include <a_samp>
#include <core>
#include <float>



Re: [Questions] Regarding AMX file of gamemode. - tony_fitto - 02.03.2013

Quote:
Originally Posted by SilverKiller
Посмотреть сообщение
I founded this on the DeAmx Thread
Yeah I know about that, but there must be some way to de-code it besides that...


Re: [Questions] Regarding AMX file of gamemode. - FunnyBear - 02.03.2013

Quote:
Originally Posted by SilverKiller
Посмотреть сообщение
I founded this on the DeAmx Thread
He is talking about recovering his file. What you said actually is wrong. What you said, stops him from recovering his lost file. Did you actually read the thread, he said "DeAMX", not "Anti-DEAMX".


Re: [Questions] Regarding AMX file of gamemode. - Vince - 02.03.2013

I'm sorry to say, but your mode is lost. Forever. Even IF you succeeded in decompiling the mode, it would be unreadable. Computers need only numbers to perform operations. Variable and function names (excluding public funtions) are lost.


Re: [Questions] Regarding AMX file of gamemode. - Scenario - 02.03.2013

And just to confirm, Vince is correct. Your mode is gone forever.

This should be a lesson learned- backup your data!


Re: [Questions] Regarding AMX file of gamemode. - tony_fitto - 02.03.2013

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
And just to confirm, Vince is correct. Your mode is gone forever.

This should be a lesson learned- backup your data!
Yeah I probably have a backup some where but the question is where xD

Well thanks alot for all answers!


Re: [Questions] Regarding AMX file of gamemode. - Scenario - 02.03.2013

Just index your C: drive and search for the name of your game-mode. Odds are, you have a backup SOMEWHERE. I know that I lost one of the copies for a GM I was working on years ago; ended up finding it eventually.


Re: [Questions] Regarding AMX file of gamemode. - Robert_Crawford - 02.03.2013

If you have windows vista or up you should be able to check the folder it was in for shadow copies.