killzone_kid
Member-
Content Count
3971 -
Joined
-
Last visited
-
Medals
Everything posted by killzone_kid
-
what is that hash doing in front of it?
-
im talking about some map assets like there are plenty of structures that are in arma2 too but also some that should have been in arma 2 but not in. what are you talking about?
-
compileFinal is nice but lets improve security even more!
killzone_kid replied to killzone_kid's topic in ARMA 3 - SERVERS & ADMINISTRATION
setvehicleinit commands have to come back for non multiplayer environment. many people that just start and learn from example are affected by this. you should have options and explain how to switch them on or off. -
is there a reason you say this or just trying to be plain negative?
-
Function parameter passing oddity
killzone_kid replied to xendance's topic in ARMA 3 - MISSION EDITING & SCRIPTING
addevenyhandler expects code to execute you give it string -
Help on script after removal of processInitCommands
killzone_kid replied to 1para{god-father}'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
Not sure which sample we are talking about. The call compile format one clearly states it is bad idea. -
Help on script after removal of processInitCommands
killzone_kid replied to 1para{god-father}'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
Sorry kju, was it directed at me? If so, then I can assure you I don't want to use call compile format _function. -
I will wait until the all in one Arma package is available to buy, would be nice if BIS included few VBS2 assets in there too!
-
compileFinal is nice but lets improve security even more!
killzone_kid replied to killzone_kid's topic in ARMA 3 - SERVERS & ADMINISTRATION
What about new command, something like globalVariable [name, array of clients]; with more suited name, which could only work when executed on the server if array of clients omitted then it broadcasts to all clients. Would be useful if I only want to update clients whose avatars are in close proximity to my avatar in the game instead of updating the whole server. will probably need respectful addGlobalVariableEventHandler -
compileFinal is nice but lets improve security even more!
killzone_kid replied to killzone_kid's topic in ARMA 3 - SERVERS & ADMINISTRATION
I've been considering this PVC approach, but need to know some facts, mainly..will for example { _myPV = "MY_PV" + getPlayerUID _x; missionNamespace setVariable [_myPV, _myValue]; (owner _x) privateVariableClient _myPV; } forEach all60Clients; take 60 times longer than MY_PV = _myValue; privateVariable "MY_PV"; Not a problem for occasional use but what if you need server to update clients quite often? -
compileFinal is nice but lets improve security even more!
killzone_kid replied to killzone_kid's topic in ARMA 3 - SERVERS & ADMINISTRATION
Just thought of another possible exploit because of the code transfer over network. This time it actually involves the new compileFinal. So lets say you have your public variable MY_PV that you use to broadcast an array of values over to other machines. Now if I do this on my machine MY_PV = compileFinal ""; publicVariable "MY_PV"; I am effectively destroying the public variable MY_PV as it is now cannot be overwritten. -
The problem is lack of proper documentation. Been there, done that. Wiki needs more explanations and examples. Some commands descriptions contain as little letters as the command itself.
-
[Questions] Regarding MySQL saving system
killzone_kid replied to Col. Ben Sherman's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Staffan. Have a look here: https://github.com/ShadowDuke/Saintly Best plugin for MySql I ever used. It allows you to call functions in your database. If you know mySql as you said you can easily make functions and just call them with this extension. To see the examples of how it is used, look through this code: https://github.com/ShadowDuke/Saintly-DayZ -
Help on script after removal of processInitCommands
killzone_kid replied to 1para{god-father}'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
I have added to that tutorial arjay, explaining the problem. In short, no, you cannot do it. The functions defined inside the file you compileFinal do not get finalised by association you have to do it explicitly. I will look into PV extractor, might as well have the option. BTW _target is hilighted differently in my highlighter so you might want to avoid using it in the first place. -
Some experiments with listbox :)
-
Just learning some basics :)
-
Help on script after removal of processInitCommands
killzone_kid replied to 1para{god-father}'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
I've made a tutorial on how not to use call compile http://killzonekid.com/arma-scripting-tutorials-constructing-secure-callback/ -
shame
-
is there mi28 havoc in TOH?
-
Help on script after removal of processInitCommands
killzone_kid replied to 1para{god-father}'s topic in ARMA 3 - MISSION EDITING & SCRIPTING
arjay have a look at part 2 of my tutorial on variables on http://killzonekid.com how to avoid using call compile -
faster scripts/code execution?
killzone_kid replied to gc8's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
if you have non critical scripts you can spawn them rather than call them. this will create parallel thread. If you call everything then you have to wait in the queue -
Arma 3 Notepad++ Syntax Highlighting
killzone_kid replied to gossamersolid's topic in ARMA 3 - GENERAL
Had another go at folding and it worked. Updated with folding option for {} and [] http://killzonekid.com/arma-2-arma-3-hybrid-syntax-highlighter-for-notepad/ -
Spawning a custom class soldier
killzone_kid replied to lato1982's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
think you better ask there http://forums.bistudio.com/forumdisplay.php?95-ARMA-2-amp-OA-ADDONS-Configs-amp-Scripting -
so we don't have to do this
-
Spawning a custom class soldier
killzone_kid replied to lato1982's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
It won't. You cannot cfgVehicles in description.ext you need to do it in config.cpp this means making a mod.