MarkCode82
Member-
Content Count
196 -
Joined
-
Last visited
-
Medals
Community Reputation
21 ExcellentAbout MarkCode82
-
Rank
Sergeant
Profile Information
-
Gender
Not Telling
Recent Profile Visitors
-
If you are going to that extent you should use cfgFunctions
-
Want fairly random strings? use toString with rounded random numbers. https://community.bistudio.com/wiki/toString
-
Observer Remote spam RPT
MarkCode82 replied to Lyeed's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This is related to the server dispatching too many maxMsgSends. As a result packets are dropped by the client when they match the previous packet. Hence the last message was repeated within 60 seconds. -
Why do people still use execVM? Instead of spawn?
MarkCode82 replied to MarkCode82's topic in ARMA 3 - MISSION EDITING & SCRIPTING
There is actually multiple methods for this discussed at length here. http://www.ofpec.com/tutorials/index.php?action=show&mode=new&id=287 Your AI-city could be run via call compileFinal PreprocessFileLineNumbers "ai_city.sqf"; This gives you all the capability of compiling it along with a more "secure hack protected" code. but it throws away the result of the function. saving memory. -
Why do people still use execVM? Instead of spawn?
MarkCode82 replied to MarkCode82's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Closest language to SQF is probably Java and C smashed together. ArmA 3 uses a Virtual Machine interpreter much like Java. Except I don't think arma 3 does Byte code conversion. And I'll stick with compiling all my code purely for the reason of anti-hack protection builtin into it. -
dynamically access an nested array index path?
MarkCode82 replied to jwllorens's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You could also use. https://community.bistudio.com/wiki/BIS_fnc_findNestedElement -
opposite of apply. how to remove array elements?
MarkCode82 replied to Tankbuster's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You can also use deleteAt or deleteRange. https://community.bistudio.com/wiki/deleteRange https://community.bistudio.com/wiki/deleteAt -
Why do people still use execVM? Instead of spawn?
MarkCode82 replied to MarkCode82's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thats what I use, I have begun re-writing I&A for scability beyond what it currently can do. Such as ambient AO caches from enemies players can take advantage of etc. -
Holy crap 2016 and we are still saying the game needs optimisation huh? Am I missing something here? I thought ArmA 3 Beta was the mass optimisation stage?
-
Why do people still use execVM? Instead of spawn?
MarkCode82 replied to MarkCode82's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yeah but pre-compiling accelerates the functions execution. E.g I&A has an AO script thats run every cycle. Because it's being repeatedly used I set it to a cfgFunctions Pre-compiled function. Hell I compile ALL my code. Not a single bit is run via execVM. -
How to set a random start position for custom compositions
MarkCode82 replied to KoalaDSK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
https://community.bistudio.com/wiki/BIS_fnc_ObjectsMapper https://community.bistudio.com/wiki/BIS_fnc_objectsGrabber Thats the custom compositions. -
Why do people still use execVM? Instead of spawn?
MarkCode82 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
In a nutshell execVM does this. -> compile PreProcessFileLineNumbers spawn { "myFunc".sqf"} spawn is done first with func = compile PreProcessFileLineNumbers "myFunc.sqf"; [] spawn func; -
Headless Client Refusal to connect.
MarkCode82 replied to MarkCode82's topic in ARMA 3 - SERVERS & ADMINISTRATION
I worked it out. He connected. We had him attempting to connect on the wrong server-instance and port. All good now. Also added the local DNS 8.8.8.8 127.0.0.1 loopback and our servers actual LAN IP which is actually a public IP. -
Headless Client Refusal to connect.
MarkCode82 replied to MarkCode82's topic in ARMA 3 - SERVERS & ADMINISTRATION
The server doesn't have a Lan-IP it has a DNS of 8.8.8.8 and 8.8.4.4 I'm assuming thats what you mean? I've only ever worked with Class C subnets. http://www.weird.com/~woods/classc.html Aka your normal home routers. -
Headless Client Refusal to connect.
MarkCode82 replied to MarkCode82's topic in ARMA 3 - SERVERS & ADMINISTRATION
I didn't have issues wither with my own machine HC started fine. It's just going from a Dedicated unit It won't work at all. They connected did everything right on my own local machine it's just OUR dedicated box thats having a hissy fit. Werthles HC is what we are using. But it shouldn't matter if a HC mission is loaded or not he should still connect to the dedicated server. And wait for a slot.