Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Everything posted by Dedmen

  1. It means exactly what it says. Something tried to resize an array to negative size. Didn't have time to look at the crashdump yet.
  2. Use WeaponHolderSimulated_Scripted The normal one despawns when its empty. which it is. _spawnPos = [(_localPos select 0), (_localPos select 1), ((_localPos select 2) + 1)]; can be replaced by _spawnPos = _localPos vectorAdd [0,0,1];
  3. Dedmen

    Screamer on kill

    Yeah I'm going after the users apparent SQF scripting skill. In the order - remoteExec seperate commands - remoteExec a piece of code via call - remoteExec a proper CfgFunctions function I'm thinking the last one would be too much effort to explain now. https://community.bistudio.com/wiki/CfgFunctions
  4. Dedmen

    Arma 3 crashes

    I've moved your thread into the correct section. With that info noone will be able to help you. You need to provide more details. What does "crashes" mean?
  5. The wiki page won't help with that. These are just warnings that also don't really matter. What I find ALOT more interesting is this spam: Which is interesting... because according to the start parameters VSM is never loaded, so what is looking for VSM content? Also VSM vests has been taken down due to containing illegally ripped models... I would recommend you keep your distance from that. I'd say.. The fault lies therein. You have a mod with broken models, I'd suggest you remove that and tell the author to fix his stuff. Thats not good. wtf? Why is there a TFAR in uniforms? That makes no sense. This "TAW_Content_AM1" seems to be breaking just about everything, inserts invalid classes into CfgWeapons which throws errors, looks for non-existent textures, modifies rhs classes. I would recommend you clean up all the broken mod garbage before you do any further investigating. And that mod garbage is probably the cause of your issues anyway. You should not be setting this parameter, remove it.
  6. Dedmen

    Screamer on kill

    As he said, it doesn't do what you think. try/catch doesn't catch script exceptions. We have a wiki page telling you everything about it https://community.bistudio.com/wiki/try That's wrong, again there is a wiki page https://community.bistudio.com/wiki/isNil https://community.bistudio.com/wiki/isNull The wiki page also tells you why that happens. The answer is remoteExec, and here again, we have a wiki page https://community.bistudio.com/wiki/remoteExec Just remotely execute the playSound and cutRsc and cutFadeOut on the _killer. Might be better to just remoteExec "call" or "spawn" and pass a script to it instead.
  7. I'm sure the ACE guys know more about it. But you didn't post this in the ACE thread, so they didn't see it. But I assume the answer is no.
  8. Yes I know. But randomly trying out things when the game crashed for whichever of a billion possible reasons isn't always the best way to go.
  9. Dedmen

    Arma 3 Battleye Trojan Detection

    I've moved your thread to the correct section. Your Arma not working isn't really "news". The problem IS that your Antivirus is blocking Battleye. Disable your Antivirus, or add an exception for Battleye. Or just wait, BI is already preparing the fix and it should be there shortly.
  10. What names you use left of spawn/call doesn't matter. You pass the content of the variables, what the variable name was doesn't matter. You might aswell just do [getMarkerPos "Marker1", getMarkerSize "Marker1" select 0] spawn or [_marker, _aosize select 0] spawn or [_marker, _axisA] spawn correct.
  11. Won't help considering he can't even start the game. He said he already did that. I guess already includes that. He already did that. Please try the following: If that doesn't help, go to your launch parameter settings, and set the memory allocator to "system" if that still doesn't help, do as the crash report window tells you and create a "report" this will get you a zip file. Please upload that somewhere and post the link to it here. What I really need is the .mdmp file from the crash.
  12. if you don't have respawn or AI enabled, and the one player dies, then his slot will disappear. That was my idea too, some acceleration running which makes the sleep skip. But I can't think of why anyone would do that. And that shouldn't happen in a empty mission, maybe JIP join by default does some time acceleration for some reason. That actually confirms that. Its probably just a short (1-2 frame) time acceleration which makes the first sleep skip, then the scheduler makes the script wait till next frame where the acceleration has ended. Could try logging https://community.bistudio.com/wiki/accTime Also I'd recommend using diag_log [diag_tickTime, diag_frameNo, accTime, "your message here"]; to log, that way you have the exact timing and all messages, unlike hint which just hides the previous message.
  13. your ; is missplaced there. you'd just call the func with an array of all your parameters so [_marker, 50] call my_fnc_function; for a _radiussize of 50. Sure. Same thing [_marker, 50] spawn my_fnc_function; What do you mean with that?
  14. Dedmen

    Macaco's Mod

    TFAR only tells the AI that there is "something" there. This script creates a patrol waypoint instructing the AI to investigate what they have heard. Also it has different distance falloff behaviour. Btw the scripts are quite outdated and should probably be refactored, using params (which we have had for 4 years now) and private keyword and proper indentation. But I assume its not intended as a open-source release where the user might read the scripts they are using.
  15. Yes. Only public posts need approval.
  16. how did you debug this? You added a diag_log with diag_tickTime before and after the sleep in your function? and both logged successfully? The code looks correct so I'm searching for the human error now. Maybe somewhere some code does a publicVariable on that variable?
  17. I invite you to have a read of our forum rules here: https://forums.bistudio.com/forums/topic/54604-forum-rules/
  18. Dedmen

    Macaco's Mod

    FYI. That has already been integrated into TFAR itself.
  19. You need to store the result of "addEventHandler" and call "removeEventHandler" with it. I'd recommend storing it directly on the unit (_x) using setVariable. Do Triggers have a "OnDeactivation"? Otherwise you could check inside the eventhandler if the marked location has been reached (put a trigger on the target location, and just set a global variable) and then remove the eventhandler using _thisEventHandler variable. https://community.bistudio.com/wiki/addEventHandler https://community.bistudio.com/wiki/removeEventHandler https://community.bistudio.com/wiki/setVariable Isn't it enough to just trigger once the enemy side sees the invaders? Why go to such great effort to try to detect shooting? Afaik there is a "Detected by X" trigger type that you might be able to use? I'm not good enough at explaining stuff, so I'll have to leave that to someone else.
  20. Are you sure? There was a second update after the first update on Monday, the first one had issues with weapons stuff missing, which your error message fits to.
  21. Dedmen

    Compass to big in map

    Correct. It comes from ACE https://github.com/acemod/ACE3/issues/6200
  22. That is because as you already know, local variable carry over to lower scopes. If you don't pass _marker and don't grab it with params, then the fnc_Ambushai will see all variables from the place from where it was called from, including the local _marker variable that you have there. That's also why its important to use private, else you might overwrite variables that were set in the code which called your function. No you don't. Same thing as above. You must be doing something else wrong.
  23. https://github.com/acemod/ACE3/blob/master/optionals/compat_rhs_afrf3/CfgAmmo.hpp looks like it, yes. If you have the compat mod loaded obviously. If Arsenal doesn't show a difference, then there mooost likely is none (or a bug in Arsenal, which is very unlikely).
  24. Make a lineIntersectsSurfaces on GEO LOD, from your players feet (or better knees) to the wanted target location. If you hit a wall on the way, then place it between player and that wall. On stairs it will probably just place it at the players feet, which is fine I assume? Make a lineIntersects from, maybe 20m above, downwards. First hit will be topmost plane.
  25. No. And that's considered spam so I suggest you don't. Moderators are volunteers who sleep or have a free weekend too. We have a list out all outstanding approvals, which currently has 1 entry in it. They aren't forgotten. To keep the offtopic out, I've moved our posts out of that thread into this one.