SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 24/11/2017, 09:30 PM   #1
grymtn
Huge Clucker
 
Join Date: Jun 2013
Posts: 244
Reputation: 11
Default can i deamx my own gamemode?

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.
grymtn is offline   Reply With Quote
Old 24/11/2017, 10:34 PM   #2
Kitten
High-roller
 
Join Date: Jul 2010
Location: United States
Posts: 2,178
Reputation: 339
Default Re: can i deamx my own gamemode?

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.
__________________
Download DayZ Gamemode CLICK HERE TO VISIT PGA

-- P.S Left SA:MP; it's pretty dead and it's way different than it used to be. Good luck y'all!
Kitten is offline   Reply With Quote
Old 24/11/2017, 11:42 PM   #3
grymtn
Huge Clucker
 
Join Date: Jun 2013
Posts: 244
Reputation: 11
Default Re: can i deamx my own gamemode?

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
grymtn is offline   Reply With Quote
Old 24/11/2017, 11:48 PM   #4
Kitten
High-roller
 
Join Date: Jul 2010
Location: United States
Posts: 2,178
Reputation: 339
Default Re: can i deamx my own gamemode?

Quote:
Originally Posted by grymtn View Post
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
__________________
Download DayZ Gamemode CLICK HERE TO VISIT PGA

-- P.S Left SA:MP; it's pretty dead and it's way different than it used to be. Good luck y'all!
Kitten is offline   Reply With Quote
Old 25/11/2017, 12:55 AM   #5
grymtn
Huge Clucker
 
Join Date: Jun 2013
Posts: 244
Reputation: 11
Default Re: can i deamx my own gamemode?

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.
grymtn is offline   Reply With Quote
Old 25/11/2017, 01:01 AM   #6
aoky
Huge Clucker
 
aoky's Avatar
 
Join Date: Oct 2016
Location: Czech Republic
Posts: 489
Reputation: 136
Default Re: can i deamx my own gamemode?

Quote:
Originally Posted by grymtn View Post
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: http://forum.sa-mp.com/showthread.php?t=61825
__________________
owner/developer @ koky's deathmatch
aoky is offline   Reply With Quote
Old 25/11/2017, 01:18 AM   #7
grymtn
Huge Clucker
 
Join Date: Jun 2013
Posts: 244
Reputation: 11
Default Re: can i deamx my own gamemode?

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 ****** View Post
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".
grymtn is offline   Reply With Quote
Old 25/11/2017, 09:16 AM   #8
wallee
Huge Clucker
 
Join Date: Jan 2017
Posts: 264
Reputation: 40
Default Re: can i deamx my own gamemode?

you can use this:

http://wiki.sa-mp.com/wiki/GetObjectPos

in a loop and then save the output in a .txt or something
wallee is offline   Reply With Quote
Old 25/11/2017, 10:43 AM   #9
StrikerZ
High-roller
 
StrikerZ's Avatar
 
Join Date: Mar 2016
Location: Asgard
Posts: 1,054
Reputation: 154
Default Re: can i deamx my own gamemode?

Or maybe Map Pirate hack can help, it extracts mappings from server wherever you go and saves them in createobject code
__________________
StrikerZ is offline   Reply With Quote
Old 25/11/2017, 10:59 AM   #10
grymtn
Huge Clucker
 
Join Date: Jun 2013
Posts: 244
Reputation: 11
Default Re: can i deamx my own gamemode?

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
grymtn is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Protect your Script / How to use Anti DeAmx & DeAmx [Video] AdrianGabriel96 Tutorials 2 15/03/2016 02:51 PM


All times are GMT. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.