SA-MP Forums Archive
can i deamx my own 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: can i deamx my own gamemode? (/showthread.php?tid=645303)



can i deamx my own gamemode? - grymtn - 24.11.2017

i forgot to save buti compiled my gamemode and i lost all my mappings that i did in days... is it possible that i can deamx my own gamemode if so can i get a link to download?.

I dont care if deamxed code works or not i just want my mapping code parts back so i can recover it from ongamemodeinit part.


Re: can i deamx my own gamemode? - Kitten - 24.11.2017

No you can't. There is a DeAMX program, I believe but it doesn't do the job. It has all the variables messed up.


Re: can i deamx my own gamemode? - grymtn - 24.11.2017

i dont need the variables for it you know. I just need all the CreateObject(blablabla) lines in ongamemodeinit nothing more. They are building mappings that i put in places. they dont have any scriptwise open and close commands. they are just there lol but i cant get them back it was days of workaround


Re: can i deamx my own gamemode? - Kitten - 24.11.2017

Quote:
Originally Posted by grymtn
Посмотреть сообщение
i dont need the variables for it you know. I just need all the CreateObject(blablabla) lines in ongamemodeinit nothing more. They are building mappings that i put in places. they dont have any scriptwise open and close commands. they are just there lol but i cant get them back it was days of workaround
Feel free to try it for yourself.
http://lmgtfy.com/?q=samp+deAMX


Re: can i deamx my own gamemode? - grymtn - 24.11.2017

Deamx gave nothing but only 3 lines of includes until float one and even i dont have any anti deamx script.Does this mean its protected anyways? Also i magically created another pwn save i dont know when lol. It has everything i had missing. Thanks for your help anyways.


Re: can i deamx my own gamemode? - aoky - 25.11.2017

Quote:
Originally Posted by grymtn
Посмотреть сообщение
Deamx gave nothing but only 3 lines of includes until float one and even i dont have any anti deamx script.Does this mean its protected anyways? Also i magically created another pwn save i dont know when lol. It has everything i had missing. Thanks for your help anyways.
You have anti-deamx.

Your script has this code: https://sampforum.blast.hk/showthread.php?tid=61825


Re: can i deamx my own gamemode? - grymtn - 25.11.2017

not at all i wrote it from scratch all by myself. if i did add it i would know it. if float include has it inside it without my knowledge then i cant say anything to that.

EDIT: In the post you gave, ****** says himself that he has it included without realising it and I have his includes. Probably thats why my script is protected. Still as i said i didnt add it myself on purpose, incase of something like this happens and i lose my newer saved version of script but well.

heres the quote:
Quote:
Originally Posted by ******
Посмотреть сообщение
There is apparently also code in YSI which prevents scripts from being decompiled besides the methods listed. I do know what the proposed code is but am not going to say to limit the chances of it being "fixed".



Re: can i deamx my own gamemode? - wallee - 25.11.2017

you can use this:

https://sampwiki.blast.hk/wiki/GetObjectPos

in a loop and then save the output in a .txt or something


Re: can i deamx my own gamemode? - StrikerZ - 25.11.2017

Or maybe Map Pirate hack can help, it extracts mappings from server wherever you go and saves them in createobject code


Re: can i deamx my own gamemode? - grymtn - 25.11.2017

good answers but i dont have ids for the objects defined like i didnt do wall1=createobject(blabla) would it still work ? i mean does it auto give 0 1 2 3... to objects that arent named by me ? well it would make sense if it does but i didnt think that deep