SA-MP Forums Archive
How to convert this back? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to convert this back? (/showthread.php?tid=80791)



How to convert this back? - SEC - 06.06.2009

Hey Guyz,
Iґve a big problem....I lost my pwn of my gamemode with all my maps...now i tried to decompile it with easy deamx..but now my maps are in this format:
Код:
function1B0(18450, 3298600346, 3299443570, 1155174261, 0, 1104938009, 0, 1125515264);
I want it in MidoStream format... Can someone help me? its realy important...i dont want to loose 2000 objects :O


Re: How to convert this back? - Correlli - 06.06.2009

That's the main problem of DeAMX. It gives random names to functions and it can't distinguish between float and integer numbers, so it's a bit confusing. And if you DeAMX gamemode which had more than 500 lines in .pwn it probably won't compile without errors.


Re: How to convert this back? - Luka P. - 06.06.2009

Don`t use converters.
They sucks!


Re: How to convert this back? - Weirdosport - 06.06.2009

http://www.convertffs.com/

That works with the object you gave.

Oh, but your decimal places are gone.. Unless you intended for the map to be WAAYY off the map.


Re: How to convert this back? - Correlli - 06.06.2009

Quote:
Originally Posted by Weirdosport
http://www.convertffs.com/

That works with the object you gave.
Erm, he's talking about .amx to .pwn, not object formats.


Re: How to convert this back? - Weirdosport - 06.06.2009

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Weirdosport
http://www.convertffs.com/

That works with the object you gave.
Erm, he's talking about .amx to .pwn, not object formats.
He DeAMX'ed it and got a load of gibberish,now he needs to convert that to sa-mp objects.


Re: How to convert this back? - SEC - 06.06.2009

omg ... i think the coords are broken...no (.) in it


Re: How to convert this back? - Correlli - 06.06.2009

Quote:
Originally Posted by SEC
omg ... i think the coords are broken...no (.) in it
DeAMX can't distinguish between integer and float numbers.


Quote:
Originally Posted by Weirdosport
He DeAMX'ed it and got a load of gibberish,now he needs to convert that to sa-mp objects.
So you're saying he can convert this:
pawn Код:
function1B0(18450, 3298600346, 3299443570, 1155174261, 0, 1104938009, 0, 1125515264);
to normal sa-mp object format?


Re: How to convert this back? - Weirdosport - 06.06.2009

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by SEC
omg ... i think the coords are broken...no (.) in it
DeAMX can't distinguish between integer and float numbers.


Quote:
Originally Posted by Weirdosport
He DeAMX'ed it and got a load of gibberish,now he needs to convert that to sa-mp objects.
So you're saying he can convert this:
pawn Код:
function1B0(18450, 3298600346, 3299443570, 1155174261, 0, 1104938009, 0, 1125515264);
to normal sa-mp object format?
The converter will change the heading to the one he wants and put the draw distance in, but it cant put the decimal place in. You'll either have to re-plot the objects or manually put the places in, whichever is quickest..


Re: How to convert this back? - Luka P. - 06.06.2009

Hey,why you need converter? You steal gamemode from someone?