Jump to content

MarkCode82

Member
  • Content Count

    196
  • Joined

  • Last visited

  • Medals

Community Reputation

21 Excellent

About MarkCode82

  • Rank
    Sergeant

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1292 profile views
  1. MarkCode82

    MP security

    If you are going to that extent you should use cfgFunctions
  2. MarkCode82

    MP security

    Want fairly random strings? use toString with rounded random numbers. https://community.bistudio.com/wiki/toString
  3. MarkCode82

    Observer Remote spam RPT

    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.
  4. 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.
  5. 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.
  6. You could also use. https://community.bistudio.com/wiki/BIS_fnc_findNestedElement
  7. You can also use deleteAt or deleteRange. https://community.bistudio.com/wiki/deleteRange https://community.bistudio.com/wiki/deleteAt
  8. 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.
  9. MarkCode82

    Arma 3 being upgrade to 64 bit

    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?
  10. 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.
  11. https://community.bistudio.com/wiki/BIS_fnc_ObjectsMapper https://community.bistudio.com/wiki/BIS_fnc_objectsGrabber Thats the custom compositions.
  12. In a nutshell execVM does this. -> compile PreProcessFileLineNumbers spawn { "myFunc".sqf"} spawn is done first with func = compile PreProcessFileLineNumbers "myFunc.sqf"; [] spawn func;
  13. MarkCode82

    Headless Client Refusal to connect.

    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.
  14. MarkCode82

    Headless Client Refusal to connect.

    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.
  15. MarkCode82

    Headless Client Refusal to connect.

    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.
×