How to read this type of format -
SAscripter - 27.02.2014
I am a new scripter how do i read what the actuall cords are i want to be able to remove / move object
Код:
CreateDynamicObject(6300, 3277855104, 3302398360, 3237792973, 0, 0, 1115946336, 0, 4294967295, 4294967295, 1125515264);
Re: How to read this type of format -
Crypto20 - 27.02.2014
Can I see the rest of the code like the includes?
Re: How to read this type of format -
MattTucker - 27.02.2014
CreateDynamicObject(modelid, Float: x,Float:y,Float:z,Float:rx,Float:ry,Float:rz, worldid, interior, playerid, float: streamdistance);
So technically the 3277855104, 3302398360, 3237792973 represent x,y,z
And 0, 0, 1115946336, should be rotation x, rotation-y,rotation-z
EDIT:
Quote:
Originally Posted by Crypto20
Can I see the rest of the code like the includes?
|
That's the streamer plugin by Incognito.
Re: How to read this type of format -
PowerPC603 - 27.02.2014
Those values are way off: much too high.
The default map goes from -3000 to +3000 in both X and Y direction.
Your values are 3-billion+ and you're setting them as integers while the coordinates should be floats.
Also interior 4294967295 doesn't exist, as well as playerid 4294967295.
You can't do anything with those values.
Re: How to read this type of format -
Crypto20 - 27.02.2014
Quote:
Originally Posted by MattTucker
CreateDynamicObject(modelid, Float: x,Float:y,Float:z,Float:rx,Float:ry,Float:rz, worldid, interior, playerid, float: streamdistance);
So technically the 3277855104, 3302398360, 3237792973 represent x,y,z
And 0, 0, 1115946336, should be rotation x, rotation-y,rotation-z
EDIT:
That's the streamer plugin by Incognito.
|
Yes but he obviously must have more includes such as.
#include <core>
#include <float>
Re: How to read this type of format -
SAscripter - 28.02.2014
Do you got skype? I can show you the whole thing maybe you can help. PM me your skype
Re: How to read this type of format -
Vince - 28.02.2014
This looks like it's been decompiled. Who or what are you trying to rip off? When a script is compiled, tags (Float:, ...) are lost. When a script is being decompiled, the decompiler cannot possibly know the intended tag of the value and displays the value as an integer. There are ways to convert this. The value 3277855104 displayed as a floating point value would likely be -224.09961. But since I have no interest in helping one reverse engineer a script, I'm not going to get into detail.