Angelykc 3 Posted May 6, 2013 I recieved a PBO misson file from a helpful guy on the forums. The file contained an AI script that i wanted for my server.. when i uploaded it on DAYZ.ST it all worked well but when anybody goes to join my server, they get stuck in the "Requesting Authentication" screen.. so for the sake of my players i switched it back to the default. if anyone could help me figure this out, i would greatly appreciate it.. I'm new to scripting and am at my wits end today with this AI scripting.. thank you. Share this post Link to post Share on other sites
Aliveman 4 Posted May 6, 2013 Did you change your server.pbo or just mission? Share this post Link to post Share on other sites
Aliveman 4 Posted May 6, 2013 Well there are several things that could be wrong. Post a link to your mission.pbo. Share this post Link to post Share on other sites
Angelykc 3 Posted May 6, 2013 http://www.mediafire.com/?f1rxv4t2crpk4bx Share this post Link to post Share on other sites
Aliveman 4 Posted May 6, 2013 I am not familiar with this AI script. I use a different one on my server. Share this post Link to post Share on other sites
Angelykc 3 Posted May 6, 2013 Could you possibly email me the pbo file you use and the server pbo.. i want one with autorefuel and ai primarily... if you could help i'd appreciate it so much man. Share this post Link to post Share on other sites
Angelykc 3 Posted May 6, 2013 i'm not picky .. if you don't have autorefuel its fine.. i just can't wrap my head around scripting right now.. 8 days in a row of work, 8 hour days :( Share this post Link to post Share on other sites
Butt (DayZ) 1 Posted May 10, 2013 Hello, I'm the creator of this AI script and I registered a new account on the forums to help out the OP. To the OP, I see that you've edited a few settings, have you tried to see if the same problem happens without changing any settings? I'm not sure if anything went wrong during your edits. Also, perhaps it is a good thing that something went wrong, because your "DZAI_randAddAI = 125;" line in the variables file will cause a huge amount of problems. I guess I didn't describe the variable enough, but this setting would cause a maximum of 5+125 individual AI units to spawn from a single trigger, and you have 25 total triggers. If you want a minimum of 2 AI + a maximum of 3 additional AI, you would set DZAI_randMinAI=2 and DZAI_randAddAI=3.I don't know if you'll find my reply since it's been 5 days since your last reply, but I will test out your mission file and see what's happening. I'm not sure what could possibly be wrong because I've dumped the DZAI folder into random mission files, done the init.sqf edit, and had no problems whatsoever running the addon within 5 seconds of moving stuff around. Share this post Link to post Share on other sites
Angelykc 3 Posted May 10, 2013 Hey, thanks for the reply.. I received the mission file from another player, but i've manually scripted Sarge AI, auto-refuel and increased my helicopter crash spawns in separate pbo's to try them out and all of them had the same problem. I'm not exactly sure what could be the problem because i followed all the tutorials line by line. Share this post Link to post Share on other sites
Butt (DayZ) 1 Posted May 11, 2013 (edited) I don't know if this will help any, but here is a pre-packaged mission file containing the latest version of the AI addon (link at bottom of this post). It's the one that's used on my "test server" (it's basically just an old laptop) and I know it works. However, I noticed in your original post that problems started happening when other people tried to join in on your server. I simulated other people logging in by logging into my test server, exiting the client once I logged in, then opening a new client and repeating. From about 10 cycles of opening a new client and logging in, about 40% of them ended up in a crash-to-desktop. I'm not sure if this is an issue due to my laptop server's extremely crappy hardware, but you did not mention any crashing so I don't know if the problems are related.PBO link: http://www.mediafire...omcmc52zncovbzvAlso, I tested out your own mission file and I don't know what was edited, because I had some really, really strange issues coming up. Like spawning in as a bird, or stuck immobilized in debug zone and unable to log out normally. The script I use to load the AI addon is pretty ancient, haven't changed it for probably 6 months now, so I may have to see what I can do to solve these issues. Edited May 11, 2013 by Butt 1 Share this post Link to post Share on other sites
Angelykc 3 Posted May 11, 2013 thanks man.. i'll give it a try and get back to you! Share this post Link to post Share on other sites
Angelykc 3 Posted May 11, 2013 still having the same problem.. I can't get any further than the requesting authentication screen. any ideas? Share this post Link to post Share on other sites
Angelykc 3 Posted May 11, 2013 I've heard that there is a way to show where the error occured? Share this post Link to post Share on other sites
Butt (DayZ) 1 Posted May 11, 2013 (edited) Sorry to hear that you're still having troubles. Have you tried simply restarting the client and connecting again, or does it not connect no matter what you do? If the issue is server-sided scripting, it would be in your arma2oaserver.RPT in your server config files. If it's client-sided, it would be in your C:\Users\(Username)\AppData\Local\ArmA 2 OA\arma2oa.RPT (Windows 7, not sure about other OSes). Edited May 11, 2013 by Butt Share this post Link to post Share on other sites
Angelykc 3 Posted May 11, 2013 thanks man.. i looked at it and this part seems a bit sketchy."DAYZ: CLIENT IS RUNNING DAYZ_CODE "1.7.6.1"""PLOGIN: Initating""PLOGIN: Player Model Exists""PLOGIN: Player Ready""PLOGIN: Requesting Authentication... (83122310)""DEBUG: loadscreen guard ended with timeout." NAT Negotiation failed (NNThink - result 2)Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/TK_Soldier_EP1/"DEBUG: loadscreen guard started.""DAYZ: CLIENT IS RUNNING DAYZ_CODE "1.7.6.1"""PLOGIN: Initating"Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/RU_Soldier_Officer/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Villager3/"PLOGIN: Player Model Exists""PLOGIN: Player Ready""PLOGIN: Requesting Authentication... (83122310)"Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Villager2/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Citizen2/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Citizen4/AH6X_DZ: FLIR_turret - unknown animation source FLIR_turretAH6X_DZ: FLIR_gun - unknown animation source FLIR_gun"PLAYER RESULT: true" Share this post Link to post Share on other sites
Angelykc 3 Posted May 11, 2013 that was local.server side:Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Offroad_SPG9_Gue/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/HMMWV_Ambulance/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/HMMWV_Avenger/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/USMC_Soldier/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/USMC_Soldier_AT/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Profiteer2/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M119/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/DSHkM_Mini_TriPod/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/SearchLight/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Igla_AA_pod_East/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/RU_Soldier/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/2b14_82mm/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M252/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M2HD_mini_TriPod/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/MK19_TriPod/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/C130J/Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/T34/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseWeakYellow/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumOrange/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumPale/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseStrongPale/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_EP1/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Cable_EP1/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_decor_EP1/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/ Share this post Link to post Share on other sites
Butt (DayZ) 1 Posted May 11, 2013 (edited) These two lines in your arma2oa.RPT seem suspicious:"DEBUG: loadscreen guard ended with timeout." NAT Negotiation failed (NNThink - result 2)A quick Google search about the second line seems to hint that the problem is network-related. I think you said that you can login just fine with a normal mission file, can you see if those two lines show up without any addons included? From the logs I don't see anything that says the addons are responsible, but I'm no expert.Also, the lines that start with Unrecognized... seem to be a normal part of DayZ. I see them in my logs all the time in normal situations. Edited May 11, 2013 by Butt Share this post Link to post Share on other sites
Angelykc 3 Posted May 11, 2013 i've only seen it appear when i updated the pbo addons Share this post Link to post Share on other sites
Butt (DayZ) 1 Posted May 11, 2013 Oh boy, I really am stumped then. I've tided up the initialization script a bit so it compiles its functions more like DayZ but I can't really see where it would cause connection problems. For the past 2 hours or so I've done nothing but connect and disconnect from my laptop DayZ server. I've found no connection problems so far, just crashes when I try to enter the server before my username appears in yellow in the join game screen. If you'd like to give it another go, here is the tided-up mission pbo. If it doesn't work this time, I'll try to continue looking but at the moment I'm out of ideas. Link to the pbo is below.http://www.mediafire.com/?j2g4fgkw9a78884 Share this post Link to post Share on other sites
Angelykc 3 Posted May 11, 2013 I appreciate the help man, thank you so much for your time.. but its still the same problem.. i'll contact my server provider and see if they have any idea how to fix this ... thank you man.. it means a lot that your were one of the most helpful people on these forums Share this post Link to post Share on other sites