SA-MP Forums Archive
Amx To Pwn Help - 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: Amx To Pwn Help (/showthread.php?tid=606653)



Amx To Pwn Help - Max_Andolini - 07.05.2016

I overwrite gamemode something accidentally and gamemode gone.

How to restore gamemode?

I've got AMX. But these codes are added.

AntiDeAMX()
{
new a[][] =
{
"Unarmed (Fist)",
"Brass K"
};
#pragma unused a
}

AntiDeAMX();

How to convert to pwn?

http://www.solidfiles.com/v/2DP3QP4ZAVawg


Re: Amx To Pwn Help - IamPuzo - 07.05.2016

Not possible to convert to PWN from AMX.


Re: Amx To Pwn Help - BiosMarcel - 07.05.2016

it is possible, write your own good decompiler xD


Re: Amx To Pwn Help - Max_Andolini - 07.05.2016

Quote:
Originally Posted by IamPuzo
Посмотреть сообщение
Not possible to convert to PWN from AMX.
Amx to Pwn?


Re: Amx To Pwn Help - NaS - 07.05.2016

That's why backups were invented.
You can still convert it back (even though you have AntiDeAMX in it), but that needs mad skills in machine code.
Good luck.


Re: Amx To Pwn Help - Max_Andolini - 07.05.2016

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
it is possible, write your own good decompiler xD
I do not know decompiler


Re: Amx To Pwn Help - BiosMarcel - 07.05.2016

Instead of adding antideamx to your scripts you could obfuscate it,
makes your code very hard to read


Re: Amx To Pwn Help - Max_Andolini - 07.05.2016

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
Instead of adding antideamx to your scripts you could obfuscate it,
makes your code very hard to read
I do not have no idea about how.


Re: Amx To Pwn Help - iggy1 - 07.05.2016

I wouldn't obfuscate code, it makes it harder to read for you too, and can still be read by someone who is motivated.

You should keep backups of your code. If there was a way to decompile it, you wont get anyone on here telling you how.


Re: Amx To Pwn Help - BiosMarcel - 07.05.2016

you should obfuscate and anti de amx if you want your code to be safe , but yeah keep backups