Haukka81 Posted January 24, 2017 Posted January 24, 2017 Please , someone edit this for caucasus and A-10A or/and A-10C or SU-25 etc ;) Oculus CV1, Odyssey, Pimax 5k+ (i5 8400, 24gb ddr4 3000mhz, 1080Ti OC ) [sIGPIC][/sIGPIC]
Acefighterpilot Posted January 24, 2017 Posted January 24, 2017 Yah I regenerated a new mission 2x and also deleted out SLmod as I was getting an error regarding a script when exiting the mission. I thought that may be part of it. But alas no luck. Maybe I can just adjust the spawn location to a different ramp then after generating the mission? [sIGPIC][/sIGPIC] Asus Z97-A/ i7-4790K/ Hyper 212 EVO/ 16GB RAM/ GTX1080 Strix OC/ Supernova 750/ X-55/ TiR
Eight Ball Posted January 24, 2017 Posted January 24, 2017 Thank you Mbot :worthy: Find The Links To All My Mods And Liveries Here (in the gallery)
MBot Posted January 24, 2017 Author Posted January 24, 2017 Yah I regenerated a new mission 2x and also deleted out SLmod as I was getting an error regarding a script when exiting the mission. I thought that may be part of it. But alas no luck. Maybe I can just adjust the spawn location to a different ramp then after generating the mission? Ok, played around a little and now can reproduce the problem. I haven't seen it yet because I always use a different procedure. Everyone needs to select his aircraft before the host unpauses the mission. After 2 seconds of runtime your aircraft will spawn and you can enter the cockpit. If you try to select a slot after the mission runs, try to change aircraft or re-spawn, you will not be able to enter. I don't know why it is that way, but it works. Since this is for coop MP play, it should have no impact.
Acefighterpilot Posted January 24, 2017 Posted January 24, 2017 Awesome thanks for that, will give that a go and report back! [sIGPIC][/sIGPIC] Asus Z97-A/ i7-4790K/ Hyper 212 EVO/ 16GB RAM/ GTX1080 Strix OC/ Supernova 750/ X-55/ TiR
MBot Posted January 24, 2017 Author Posted January 24, 2017 Well, I am completely puzzled right now. I am checking reports about no stats being saved in coop play and just noticed that the debriefing.log file after a MP mission is basically empty except for world state entries and a single "mission end" event. Are events not written to the log file in multiplayer? If so, you can basically forget about playing any of my dynamic campaigns in coop. As mentioned I developed this primary with SP in mind. While this campaign was very extensively tested in SP, I never actually bothered to play a coop mission beyond spawning the aircraft, assuming that since the code is the same it would work without issues. If it now turns out that events are not being logged in MP, that is a huge bummer.
Shavik Posted January 24, 2017 Posted January 24, 2017 I just noticed this thread after I have been running the 0.91 F-5 campaign and the 0.92 Fishbed campaign. What are some of the biggest changes from 0.91 to 1.0?
Decibel dB Posted January 25, 2017 Posted January 25, 2017 Hello I read the read me note and it says 2. Open the file "DCS World 2 OpenAlpha\Scripts\MissionScripting.lua". Add two minus signs in front of line 16 "sanitizeModule('os')" and line 17 "sanitizeModule('io')". The code block from line 16 to line 20 should then look like this: --sanitizeModule('os') --sanitizeModule('io') sanitizeModule('lfs') require = nil loadlib = nil When I open my MissionScripting.lua I don't have that much line. Here what I got bellow, if I had -- in front it give me an access denied --Initialization script for the Mission lua Environment (SSE) dofile('Scripts/ScriptingSystem.lua') --Sanitize Mission Scripting environment --This makes unavailable some unsecure functions. --Mission downloaded from server to client may contain potentialy harmful lua code that may use these functions. --You can remove the code below and make availble these functions at your own risk. local function sanitizeModule(name) _G[name] = nil package.loaded[name] = nil end do sanitizeModule('os') sanitizeModule('io') sanitizeModule('lfs') require = nil loadlib = nil end Thank you Mbot for your work I can't wait to try it
Shavik Posted January 25, 2017 Posted January 25, 2017 You need to modify your file to look like the following. If you get access denied, open the file as administrator. You will also need to ensure that DCS is run as an admin. Hello I read the read me note and it says When I open my MissionScripting.lua I don't have that much line. Here what I got bellow, if I had -- in front it give me an access denied --Initialization script for the Mission lua Environment (SSE) dofile('Scripts/ScriptingSystem.lua') --Sanitize Mission Scripting environment --This makes unavailable some unsecure functions. --Mission downloaded from server to client may contain potentialy harmful lua code that may use these functions. --You can remove the code below and make availble these functions at your own risk. local function sanitizeModule(name) _G[name] = nil package.loaded[name] = nil end do --sanitizeModule('os') --sanitizeModule('io') sanitizeModule('lfs') require = nil loadlib = nil end Thank you Mbot for your work I can't wait to try it All you will be adding is a total of 4 '-' characters.
Paganus Posted January 25, 2017 Posted January 25, 2017 Well, I am completely puzzled right now. I am checking reports about no stats being saved in coop play and just noticed that the debriefing.log file after a MP mission is basically empty except for world state entries and a single "mission end" event. Are events not written to the log file in multiplayer? If so, you can basically forget about playing any of my dynamic campaigns in coop. I reported it last May, but never got a response..
Decibel dB Posted January 25, 2017 Posted January 25, 2017 You need to modify your file to look like the following. If you get access denied, open the file as administrator. You will also need to ensure that DCS is run as an admin. All you will be adding is a total of 4 '-' characters. thanks for your reply Shavik, I don't know how to open a file as administrator. I know how to start the game as such but not to open a file. I am on win 7 :)
QuiGon Posted January 25, 2017 Posted January 25, 2017 Well, I am completely puzzled right now. I am checking reports about no stats being saved in coop play and just noticed that the debriefing.log file after a MP mission is basically empty except for world state entries and a single "mission end" event. Are events not written to the log file in multiplayer? If so, you can basically forget about playing any of my dynamic campaigns in coop. As mentioned I developed this primary with SP in mind. While this campaign was very extensively tested in SP, I never actually bothered to play a coop mission beyond spawning the aircraft, assuming that since the code is the same it would work without issues. If it now turns out that events are not being logged in MP, that is a huge bummer. That would indeed really suck :( A clarification (from a dev) would be really appreciated. Intel i7-12700K @ 8x5GHz+4x3.8GHz + 32 GB DDR5 RAM + Nvidia Geforce RTX 2080 (8 GB VRAM) + M.2 SSD + Windows 10 64Bit DCS Panavia Tornado (IDS) really needs to be a thing!
kontiuka Posted January 25, 2017 Posted January 25, 2017 As mentioned I developed this primary with SP in mind. While this campaign was very extensively tested in SP, I never actually bothered to play a coop mission beyond spawning the aircraft, assuming that since the code is the same it would work without issues. If it now turns out that events are not being logged in MP, that is a huge bummer.I imagine events are at least being thrown and can be caught in a handler. Worst case, you can create your own log file.
Shavik Posted January 25, 2017 Posted January 25, 2017 thanks for your reply Shavik, I don't know how to open a file as administrator. I know how to start the game as such but not to open a file. I am on win 7 :) I use a few different text editors such as notepad, gvim, and notepad++. For editing this file I used notepad++ and when I tried to save it, it said it would need to reopen as administrator to save. I would think notepad would have no problem editing this file. You'll know if you didn't run DCS as admin and needed to when you go to exit the mission and instead of the black window asking if you are happy with the mission outcome and the debrief window, you'll get a script error. Hope this helps!
feefifofum Posted January 25, 2017 Posted January 25, 2017 Right click on file, select "Run as Administrator" Alternately, right click on file, select properties, and check the "run this program as an administrator" box in the "Compatibility" tab. THE GEORGIAN WAR - OFFICIAL F-15C DLC
El Bastardo Posted January 25, 2017 Posted January 25, 2017 Well, I am completely puzzled right now. I am checking reports about no stats being saved in coop play and just noticed that the debriefing.log file after a MP mission is basically empty except for world state entries and a single "mission end" event. Are events not written to the log file in multiplayer? If so, you can basically forget about playing any of my dynamic campaigns in coop. As mentioned I developed this primary with SP in mind. While this campaign was very extensively tested in SP, I never actually bothered to play a coop mission beyond spawning the aircraft, assuming that since the code is the same it would work without issues. If it now turns out that events are not being logged in MP, that is a huge bummer. Did you allow all exports in the advanced server settings?
Tumbleweed1606688689 Posted January 25, 2017 Posted January 25, 2017 Hi everyone I have exactly the same problem as this: https://forums.eagle.ru/showpost.php?p=3010013&postcount=354 I followed the installation procedure: Missionscripting edit , DCS run as administrator and the log path seems good. Any idea ?
Decibel dB Posted January 25, 2017 Posted January 25, 2017 Right click on file, select "Run as Administrator" Alternately, right click on file, select properties, and check the "run this program as an administrator" box in the "Compatibility" tab. I don't have that choice when I right clic on the file nor on the properties its' not there.
MBot Posted January 25, 2017 Author Posted January 25, 2017 A little update on the coop front. After giving this a night's sleep, I decided to write my own custom events log. I am not terribly happy about that approach for a number of reasons. For single player this unnecessary duplicates event logging and I am not sure about the performance impact this has (especially if you do such things as dropping cluster bombs on a city, or when aircraft bump into each other and create hundreds of hit events). More importantly this replaces code that was extensively tested and debugged in SP and was confirmed to be working well, with new code that is largely untested. The event handlers are notorious for causing script errors in exotic situation which will again require countless hours of playtime to be discovered. I am sure this will still bite me in the butt with script errors down the road. It sucks to drop established SP stability overboard to fix a MP problem that will only affect a small percent of players, but I currently see no other way to enable coop. It works so far...
MBot Posted January 25, 2017 Author Posted January 25, 2017 Hi everyone I have exactly the same problem as this: https://forums.eagle.ru/showpost.php?p=3010013&postcount=354 I followed the installation procedure: Missionscripting edit , DCS run as administrator and the log path seems good. Any idea ? You don't even get the debriefing.txt upon ending a mission? Can you post your campaign installation path?
Erpe Posted January 26, 2017 Posted January 26, 2017 maybe it would be useful to use tacviews generated acmi log as eventlog, you get it for free since the new version is a native dll it doesn't use a lot of cpu.
QuiGon Posted January 26, 2017 Posted January 26, 2017 A little update on the coop front. After giving this a night's sleep, I decided to write my own custom events log. I am not terribly happy about that approach for a number of reasons. For single player this unnecessary duplicates event logging and I am not sure about the performance impact this has (especially if you do such things as dropping cluster bombs on a city, or when aircraft bump into each other and create hundreds of hit events). More importantly this replaces code that was extensively tested and debugged in SP and was confirmed to be working well, with new code that is largely untested. The event handlers are notorious for causing script errors in exotic situation which will again require countless hours of playtime to be discovered. I am sure this will still bite me in the butt with script errors down the road. It sucks to drop established SP stability overboard to fix a MP problem that will only affect a small percent of players, but I currently see no other way to enable coop. It works so far... That's indeed not an ideal solution, but a working coop would be really nice to have :) Thanks for all the work you've put in this campaign and the entire framework! I really appreciate it :thumbup: Intel i7-12700K @ 8x5GHz+4x3.8GHz + 32 GB DDR5 RAM + Nvidia Geforce RTX 2080 (8 GB VRAM) + M.2 SSD + Windows 10 64Bit DCS Panavia Tornado (IDS) really needs to be a thing!
Haukka81 Posted January 26, 2017 Posted January 26, 2017 Big thank you mbot, you do free what ed should do: Add game and soul for this sim. Thanks mbot ! Sent from my iPhone using Tapatalk Oculus CV1, Odyssey, Pimax 5k+ (i5 8400, 24gb ddr4 3000mhz, 1080Ti OC ) [sIGPIC][/sIGPIC]
Tumbleweed1606688689 Posted January 26, 2017 Posted January 26, 2017 (edited) You don't even get the debriefing.txt upon ending a mission? Can you post your campaign installation path? No debriefing.txt at all at the end of the mission. Just the EXE saying Loading log please wait... (something like that) several times then a text appears and disappears to fast to be able to read it. Thanks for your help. Edited January 26, 2017 by "Tumbleweed"
MBot Posted January 26, 2017 Author Posted January 26, 2017 (edited) First post updated with V1.01 which fixes coop stats tracking. If you do not want to play coop, an update is not strictly required. [cross]If you want to update but keep your campaign progress, you can do so by only exchanging the Scripts folder.[/cross] Fingers crossed... Edit: Actually, regenerating the first mission and restarting the campaign is required. Better just download the whole thing again. Edited January 27, 2017 by MBot
Recommended Posts