dlegion
Member-
Content Count
617 -
Joined
-
Last visited
-
Medals
Everything posted by dlegion
-
Vcom AI V2.0 - AI Overhaul
dlegion replied to genesis92x's topic in ARMA 3 - MISSION EDITING & SCRIPTING
where ? and there is AI patrolling houses interior ? thanks man ! -
hello guys, i made a script to spawn/de-spawn AI in a bubble around players, but on long run times (my aim is to make it run at least 24h) server crash with this error : 0xC0000005 - STATUS_ACCESS_VIOLATION after investigating, appears that is a generic error, there is no solution, and probably linked to memory leaks. i tried 100% vanilla server and 100% vanilla client, and server crash in few hours. considering that the server does not crash (24h+) if noone enters....and that the only script difference is that "AI bubble" around players does not spawn any units if there are no players, i take a wild guess and suppose its the "AI bubble" script causing this. here is the script: in init.sqf: call compile preprocessFileLineNumbers "DDscripts\Dbubble.sqf"; null = [] execVM "DDscripts\DambientSPAWN.sqf"; and here is the DambientSPAWN.sqf: this actually works perfectly for few hours (from 1h to 4h usually), then the crash... So i'm doing something "wrong"...and i mean unefficient or causing leaks ? the goal (if possible) it to leave no trace in the memory or in the game itself of the units created and then deleted, or at least minimize the impact on the system to make it run as long as possible. really thansk for any help!
-
spawn-despawn AI on long times
dlegion replied to dlegion's topic in ARMA 3 - MISSION EDITING & SCRIPTING
well...testing everything one by one, i found that without the spawn/despawn script, server runs for 24h ....so the problem must be there...to be specific in function : DFN_Dspawn as far as i know, "deleteGroupWhenEmpty" and "deleteVehicle" should have cleaned the old AI units, but apparently something is keeped somehow, for example i discovered that "alldead" is keeping count of every dead unit since start, even if deleted. any idea how fix this ? -
yep i try, but would be more comfortable have a menu while in game, right now i have to exit game to change keys. anyway good work ! i really like this !
-
Sure will do ! I fear its a memory leak, because i noticed some weird things...like "alldead" keep counting also deleted dead...mah !
-
thanks for this info man ! i already tried everything on my client, including this. i even formatted C:\ . sadly this is something strange and probably related to server more han clients, because other people get kicked too. thanks anyway ! will try about number of roles, never thinked it could be a problem (and never was in the past) , but worth a try! thx!
-
had more time to test today... on helicopters i get this unwanted menu : https://imgur.com/a/kZD3apD anyway, good addiction, i always wished to swap place in vehicles! thx !
-
ok sorry :) i can confim its working ! yeah !
-
thanks for trying man ! :) ...maybe you can give me a suggestion about another (apparently unrelated) problem: me and other people get "kicked by battleye" at random times, from few minutes to 6+ hours. tried with and without addons, different missions and -mod and -servermod, always happens soon or later. obviously with battleye OFF it all works perfectly (but server is open to cheaters...so not a good option). any idea about this?
-
hey Gunter, thanks for your help! justpasted: https://justpaste.it/1kttm i use TADST, the config.cfg is: and the basic.cfg is : i'm running my custom mission, but as i sayed, was running fine for 24h (server auto restart every day). the *.bat code is : other useful info: before battleye ports update (some updates ago, around 1.78 - 1.80) all was working fine. after weeks of test every night & day, i discovered that without the following script it runs for 24h without crash. as i sayed the mission was running fine WITH the script before the updates, but its the only discover i made about this problem. especially i suspect the "DFN_Dspawn" function, because its the one that spawn/despawn AI. its goal is to make map "alive" by spawning AI units in a bubble around players, and despawning if too far away or dead, then starting the process again forever. really thanks man!
-
thanks for your great work Ben ! any hope for a script version ?
-
Vcom AI V2.0 - AI Overhaul
dlegion replied to genesis92x's topic in ARMA 3 - MISSION EDITING & SCRIPTING
dont worry man! as Kremator say: take your time! i especially wait for the feature of AI stealing vehicles and patrolling / breaching buildings! in the meantime, i found a problem with AI-placed mines: ..they are ... in the sky! (my test are always on dedicated, no HC) https://imgur.com/a/UslbWgw https://imgur.com/a/VaFVRL0 https://imgur.com/a/waB6FgA -
...in my case its dedicated server crashing. i added this line some times ago in the line taken from TADST, and placed in the *.bat file i use to launch the server, sadly crash still happens.
-
It happens on my dedicated server too, since 1.82 update.
-
spawn-despawn AI on long times
dlegion replied to dlegion's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hello Grumpy! thanks for your help ! :) well, its dedicated (i have 2 servers, 1 on my home PC, the same as client with win7, and the other is a pure dedicated win10 machine) and always 64 bit (should i try 32 bit?) awesome idea with config, will follow your example to adapt my script ! (by the way...its a new 1.82 bug that random vehicle skins are no longer random?) about memory, my line actually is (dont know if its correct): arma3server_x64 -port=2302 "-config=C:\STEAM\steamapps\common\Arma 3 Server\TADST\DWARtest\TADST_config.cfg" "-cfg=C:\STEAM\steamapps\common\Arma 3 Server\TADST\DWARtest\TADST_basic.cfg" "-profiles=C:\STEAM\steamapps\common\Arma 3 Server\TADST\DWARtest" -name=DWARtest -filePatching "-mod=curator;heli;jets;kart;mark;orange;tacops;tank" -autoInit -malloc=system about the old memory problem that you can recall, this time the symptoms are a bit different (but maybe its related anyway), because server runs perfectly at 48 fps until sudden crash. there is no increasing memory usage, or server slowing. the crash happens suddenly, at random time but with no sign that can happen soon. other useful info...dont know...i post .rpt of vanilla server and client: https://pastebin.com/GFJg1DGu https://pastebin.com/JbKSVmxh really thanks for your help! -
good idea, i try! the strange things is : why on home dedicated does not happens while on other dedicated happens?
-
hello, i got flashing buildings, constantly appearing / disappearing it eats also a lot of resources, i have less than half frames than usual. here a video:
-
Vcom AI V2.0 - AI Overhaul
dlegion replied to genesis92x's topic in ARMA 3 - MISSION EDITING & SCRIPTING
ah... sorry i missed that info! thanks man ! -
hello! i found another precious info ! the exact same mission, on my own PC dedicated server, runs fine (did two test, the first one was too good to belive, 32h no problems, so i made a second run to be sure was not random, and just now i'm 13 hours no problem...can't be a coincidence! on my PC it runs from same game folder as client, server has no mod, but second test as client i used ARES and Enhanced Movement (my usual mods). now the big question.... what the hell can be on the main dedicated server screwing this??? thanks man !
-
Vcom AI V2.0 - AI Overhaul
dlegion replied to genesis92x's topic in ARMA 3 - MISSION EDITING & SCRIPTING
i made many test, i can confirm the AI does not assault houses like in old version. i was there, shooting (and killing) at least 10 AI, and theyr comrades just circled the house, never entering, and doing nothing else except shooting me from windows if there was line of sight. something not working :( -
the best and most recent i found about it is this: sadly not much useful :(
-
MP Game Crash (C0000005 ACCESS_VIOLATION)
dlegion replied to Gruman's topic in ARMA 3 - TROUBLESHOOTING
i'm having this error on dedicated server, it crash after some time with this error. any solution yet ? -
Hello. I got the same error on dedicated server... Running no mod. Server just crash....
-
thanks man, investigating now!!
-
new day, new crash! https://pastebin.com/CYzjxNTS server crash