HelpRemote execution in Dayz SA

Posts 1–15 of 16 · Page 1 of 2
Remote execution in Dayz SA
If I understand it correctly, in dayz mod you could execute your code on whoever you wanted through setvehicleinit. It doesn't seem to work in dayz SA. Was RE completely patched or is there any possible workaround? I'd really like to find a way to execute commands on other players that require arguments to be local, like

Code:
player playaction "SitDown";
Remote execution is no longer possible. Bowen and I found out how to do it a while ago but it has since been removed from the game.
Does that mean that in terms of script hacks now we are limited to receiving information, executing most commands on ourselves and executing on other players only commands that don't require locality of arguments (like attachTo, setpos, etc.)?
Quote Originally Posted by d1spenser View Post
Does that mean that in terms of script hacks now we are limited to receiving information, executing most commands on ourselves and executing on other players only commands that don't require locality of arguments (like attachTo, setpos, etc.)?
Pretty much.
Alright, thanks for info. While there's still plenty of things you can do with scripts for now it seems like loopholes are being slowly patched one after another.
Quote Originally Posted by d1spenser View Post
Alright, thanks for info. While there's still plenty of things you can do with scripts for now it seems like loopholes are being slowly patched one after another.
That was the whole point of such an early alpha release. They wanted us hackers to share the information on these public forums and now every "good" bug in their system has been basicly given to them, now they just need to fix it.
Quote Originally Posted by Lystic View Post
That was the whole point of such an early alpha release. They wanted us hackers to share the information on these public forums and now every "good" bug in their system has been basicly given to them, now they just need to fix it.
I'm sure there'll be plently of exploits when the game is done.
Quote Originally Posted by Jim Morrison View Post


I'm sure there'll be plently of exploits when the game is done.
Not very likely. Unless you want to go into memory cheating...
Quote Originally Posted by Lystic View Post
Not very likely. Unless you want to go into memory cheating...
Oh Memory hacking, i love it except changing the offsets. So will Memory hacking ever get truly patched?
Quote Originally Posted by mattking45 View Post
Oh Memory hacking, i love it except changing the offsets. So will Memory hacking ever get truly patched?
No I highly doubt it.
I heard a rumor that Rustler "might be" working on one :P
Going back to the subject of scripting, I'm struggling to understand how do things like handcuffing, blood trasfusion and basicly any action that player performs on another player work in Dayz while it's not possible to mess with locality or perform RE. For instance, when one player handcuffs another, playAction and setCaptive commands are executed on victim. But these commands can not be executed directly from one client to another because of locality. I've been looking through game files, haven't found how it's done yet.
Quote Originally Posted by d1spenser View Post
Going back to the subject of scripting, I'm struggling to understand how do things like handcuffing, blood trasfusion and basicly any action that player performs on another player work in Dayz while it's not possible to mess with locality or perform RE. For instance, when one player handcuffs another, playAction and setCaptive commands are executed on victim. But these commands can not be executed directly from one client to another because of locality. I've been looking through game files, haven't found how it's done yet.
Those offsets are in the NetworkManager. You can make a hack that makes other players put their guns on their back if they try to bring it out. You can make it using the offsets from the NetworkManager.
Quote Originally Posted by d1spenser View Post
Going back to the subject of scripting, I'm struggling to understand how do things like handcuffing, blood trasfusion and basicly any action that player performs on another player work in Dayz while it's not possible to mess with locality or perform RE. For instance, when one player handcuffs another, playAction and setCaptive commands are executed on victim. But these commands can not be executed directly from one client to another because of locality. I've been looking through game files, haven't found how it's done yet.
whenever you handcuff a player or even take a weapon out of your players hands the client runs a "publicVariableServer" with a variable containing the action you want to do. These commands could be exploited if they could be found.
Quote Originally Posted by mattking45 View Post
Those offsets are in the NetworkManager. You can make a hack that makes other players put their guns on their back if they try to bring it out. You can make it using the offsets from the NetworkManager.
I'd love to learn how to use this kind of stuff some day, but currently I'm just a scripter. I guess it's never too late to start learning anyway.

Quote Originally Posted by Lystic View Post
whenever you handcuff a player or even take a weapon out of your players hands the client runs a "publicVariableServer" with a variable containing the action you want to do. These commands could be exploited if they could be found.
By any chance, is "dropitems" used in disarm script code one of the variables you are talking about? I'm curious how did you manage to find it and figured out the syntax, because I've never seen any reference to it in game files. Such a treasure for script hacks must be really well hidden, is it even worth it to try find it within game files or by reading memory, or it'll be futile?

EDIT: nevermind regarding dropitems, I found code for it. What is weird though, I found event_playerRestrained.sqf, but it was empty.
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Similar Threads

Talk with us