-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.56 New Commands Conversion #2241
Comments
I don't know if remoteExec is a great idea. I haven't looked into the "security" functionality of it yet, could users theoretically break code that uses it? |
@SilentSpike They've added a great deal of security functionality to it, from quick BIKI read you can now white-list things through |
I mean to say, would the "security" functionality result in ACE scripts being blocked if the user configures it a certain way |
Afaik, it would. Server admins can disable RemoteExec completely. |
Ah, I see. |
Kinda defeats the whole purpose of the command 😛 Good job BI 🌟 (Will have to look into to check that is the case, but from what I've read in passing it sounds that way too) |
It's for Alive, Koth, Epoch etc... servers |
Easy, drop-in stuff:
Non-trivial:
|
|
Thanks @SzwedzikPL |
common's jip detect on line 320 in postInit is wrong and runs on all clients, |
|
Can someone confirm how exactly |
From https://community.bistudio.com/wiki/Arma_3_Remote_Execution
|
Seems that |
AGLToASL - positionToASL are not equal Our positionToASL is wrong, it converts to ASLW. When standing on docks:
https://community.bistudio.com/wiki/Position#PositionAGL is a great reference.
are all "AGL". Because our function isn't right, we need to be careful when converting (EG, interaction menu expects the "wrong" value) |
I recommend renaming |
Edited OP as we won't be using the relative filepaths |
I'll re-implement the laserpointers (for BWMod) using |
Updated OP for upcoming 1.56. |
Right now this will run forever because we make a deep copy of
Will terminate, which I think would be desired behaviour as it lets us use those params to store array references (and works just like PFEH). |
Just because I'm not sure what the status is, figure I'll document here (before I forget) that issue #2848 can probably now be fixed with some of the new array related commands. (Think the HuntIR code also still needs to be looked at, but doesn't seem like a priority) |
|
selectRandom _arr
_arr select floor random count _arr
[1,2,3] apply {_x * 2}
[[1,2,3], {_this * 2}] call ACE_common_fnc_map
[1,2,3,4] select {_x > 2}
[[1,2,3,4], {_this > 2}] call ACE_common_fnc_filter
["one", "two", "three"] param [[1, 2, 3] find 5, "not found"]
["not found", "one", "two", "three"] select (([1, 2, 3] find 5) + 1)
Note:
param
does not set the variable to private likeparams
Direct conversions:
joinString
fromCBA_fnc_join
splitString
fromCBA_fnc_split
BIS_fnc_splitString
AGLToASL
fromFUNC(positionToASL)
EFUNC(common,positionToASL)
ASLToAGL
fromFUNC(ASLToPosition)
EFUNC(common,ASLToPosition)
To#include "..\"script_component.hpp"
(insidefunction
folders) from#include "\z\ace\addons\<component>\script_component.hpp"
Other improvements (just for reference, not necessary to complete this issue):
lineIntersectsSurfaces
- major improvements (attach, frag, missile guideance, laser ...)getAllHitPointsDamage
/setHitIndex
/getHitIndex
- can make repair work on sub turrets that have identical hitpoint namesgetModelInfo
- should improve wire cuttersdidJIP
- JIP detect incommon
magazinesAllTurrets
- rearmingobjectParent
Add others in comments. Those checked off above are either done or not found in ACE3 codebase.
The text was updated successfully, but these errors were encountered: