HelpMaking a Script Executor

Posts 1–3 of 3 · Page 1 of 1
Making a Script Executor
Now that Darky's Script Executor is outdated (no longer working with 0.46) I'd like to make my own script executor to release to the public, or, at the very least, a tutorial on how to execute your own scripts without the means of a third party program.
I've looked through the DayZ Addons folder and found the .pbo with all the .sqf files. If I were to add a spawn script into one of these SQFs and then run the function it was intended for, would it work at all or no?

Thanks for the help.
Don't think so. Pretty sure if you repack a modified pbo in your client files you will get kicked for wrong signature file.
Alright, since that's out of the way, my main priority is finding the signature hex codes for DayZ SA (or whatever they're called). They look something like this.

#define SCRIPTEXECFUNC_SIG (PBYTE)"\x55\x8B\xEC\x81\xEC\x00\x00\x00\x00\x53\x 8B\x5D\x0C\x56\x57\xFF\x75\x10\x8D\x45\xF8"
#define SCRIPTEXECFUNC_MASK "xxxxx????xxxxxxxxxxxx"

#define SCRIPTTHISPTR_SIG (PBYTE)"\xBE\x00\x00\x00\x00\x50\x8B\xCE\xE8\x00\x 00\x00\x00\xA1\x00\x00\x00\x00\x8B\x80\x00\x00\x00 \x00"
#define SCRIPTTHISPTR_MASK "x????xxxx????x????xx????"

#define SCRIPTPARAM1_SIG (PBYTE)"\xA1\x00\x00\x00\x00\x8B\x80\x00\x00\x00\x 00\x8D\x4F\x08"
#define SCRIPTPARAM1_MASK "x????xx????xxx"

#define SCRIPTPARAM2_SIG (PBYTE)"\x68\x00\x00\x00\x00\x51\x8B\xCE\xE8\x00\x 00\x00\x00\x8B\xCE\x8A\xD8"
#define SCRIPTPARAM2_MASK "x????xxxx????xxxx"

Now, mind you, this is for Arma 2. I want to find the same thing, but for DayZ Standalone.

If anyone could help me out with that I would greatly appreciate it.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us