Blooze Posted August 18, 2014 Posted August 18, 2014 Does anyone know why a MP mission can run as intended in SP mode but the same mission malfunctions when run on the MP server? What is it about uploading the mission to the master server that causes the missions to fail? [sIGPIC][/sIGPIC]
ajax Posted August 19, 2014 Posted August 19, 2014 In what ways does it fail? Does the mission use scripts? If so, I know they don't always behave the same in SP vs. MP. When I first started writing scripts I would test in SP. When it worked as I expected it to, I'd try it in MP and find it didn't work at all. I narrowed the problems down to two common faults: 1. Things like adding radio commands must be done with a scheduled function that gets repeated over and over to catch any new clients as they join after mission start. 2. Trapping and using events that only apply to SP thinking it should work for MP.
Blooze Posted August 19, 2014 Author Posted August 19, 2014 (edited) I have experienced many times triggers not working in MP that work fine in SP when I am the only one on the MP server. I don't know enough about the ME to troubleshoot a mission to make any corrections. I appreciate your info but what I was hoping to learn is, what is it about loading a mission to the MP server that causes missions to behave differently from SP mode? I really don't think anyone knows and although we blame the DCS World updates for breaking MP missions I believe the problem lies within the master server. I sure would like to see someone from ED comment on this issue. Thanks for your input. Edited August 19, 2014 by Blooze [sIGPIC][/sIGPIC]
Grimes Posted August 19, 2014 Posted August 19, 2014 A long time a go there were a few quirks between multiplayer and single player. I do not know of any differences that currently exist other than the "mission score" related triggers. Can you be more specific? At least post a mission and describe what is different between SP and MP. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Blooze Posted August 19, 2014 Author Posted August 19, 2014 A long time a go there were a few quirks between multiplayer and single player. I do not know of any differences that currently exist other than the "mission score" related triggers. Can you be more specific? At least post a mission and describe what is different between SP and MP. Click HERE for a recent example. In THIS mission there are 2 AI F117s that bomb a bridge early in the mission. In SP it works fine, in MP they fly towards the target, make a U-Turn and fly away. [sIGPIC][/sIGPIC]
Grimes Posted August 20, 2014 Posted August 20, 2014 The first link appears to be fixed on the internal tester build. The AI F-117 bug I wasn't able to reproduce. Granted I re-saved the mission and moved their spawn time up about 30 minutes so I didn't have to wait. Not sure if re-saving fixed the behavior, but its pretty much the go-to "turn it off and back on again" solution for mission compatibility. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Blooze Posted August 20, 2014 Author Posted August 20, 2014 The first link appears to be fixed on the internal tester build. The AI F-117 bug I wasn't able to reproduce. Granted I re-saved the mission and moved their spawn time up about 30 minutes so I didn't have to wait. Not sure if re-saving fixed the behavior, but its pretty much the go-to "turn it off and back on again" solution for mission compatibility. Can you explain what you mean by go-to "turn it off and back on again" solution for mission compatibility? [sIGPIC][/sIGPIC]
Grimes Posted August 20, 2014 Posted August 20, 2014 It is sort of a technical support joke/fix. If people are having a problem with a computer, simply turning the computer off and back on again will fix a large range of issues. Re-saving the mission file is the same sort of thing. If the mission file is missing anything for any reason, or a tasking format changed slightly, or any number of things; then resaving the mission file will potentially correct for these changes. The same goes for simply clicking on and moving units slightly. The mission editor will realize "this group lacks X parameter" and it will add the parameter to the group as needed. For the most part compatibility between releases is maintained, or at least that is the goal. Everything else is either fixed by re-saving the mission or it is a bug of some kind. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Blooze Posted August 20, 2014 Author Posted August 20, 2014 (edited) It is sort of a technical support joke/fix. If people are having a problem with a computer, simply turning the computer off and back on again will fix a large range of issues. Re-saving the mission file is the same sort of thing. If the mission file is missing anything for any reason, or a tasking format changed slightly, or any number of things; then resaving the mission file will potentially correct for these changes. The same goes for simply clicking on and moving units slightly. The mission editor will realize "this group lacks X parameter" and it will add the parameter to the group as needed. For the most part compatibility between releases is maintained, or at least that is the goal. Everything else is either fixed by re-saving the mission or it is a bug of some kind. I just opened a fresh install, moved the start time back from 6:05 to 5:45, cycled through waypoints and back again, resaved and got the same problem. Do you need to rename the file before resaving? What am I missing here? Tell me step by step what you did and let me see if I can reproduce the solution. Edited August 20, 2014 by Blooze [sIGPIC][/sIGPIC]
Grimes Posted August 20, 2014 Posted August 20, 2014 I saved it as a new mission file and did almost exactly what you did. The only differences of note are I opened the tasking and payload screen for each F-117, and I set them to start at 5:46 so the AI still "spawned in" after the mission started. Now I did notice that there is a graphics bug with the F-117 where a bomb drops, but the bomb is still rendered in the payload bay as if it was never dropped. The good news its just a graphics issue because the F-117 is still limited to 2 bombs. I suspect it wasn't updated when ED fixed up bombers bomb-bays. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Blooze Posted August 20, 2014 Author Posted August 20, 2014 I just did exactly what you did and here's what is always happening. When the F117s reach waypoint 1 they turn and proceed to waypoint 2 without executing the command to ATTACK MAP OBJECT. This doesn't happen when I run the mission in SP mode. [sIGPIC][/sIGPIC]
Grimes Posted August 21, 2014 Posted August 21, 2014 Donno what to say other than trade mission files to see if there is any noticeable difference. https://dl.dropboxusercontent.com/u/1719724/DCS/1210_Operation%20Talons%20Reach_CO-OP%204_EN_v1.0.miz The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Blooze Posted August 21, 2014 Author Posted August 21, 2014 Your file runs fine on my desktop but fails on my server so I have determined that the problem lies with my server PC. I will have to sort that out on my own. Sorry to be a pain in the rumpus and thanks again for your help. [sIGPIC][/sIGPIC]
txmtb Posted August 22, 2014 Posted August 22, 2014 Played around with this since I'm trying to learn more on the Mission Editor. Noticed that if you enter an aircraft from the server, the 117's bomb the bridges. But if you enter aircraft from a client connected to a server they simply turn around at waypoint 1. Changing the command to Bombing instead of Attack Map Object and they will carry out the bombing. Win 10 64 Pro, MSI Z390 I7-9700K @5ghz Kraken Z63, 32Gb Corsair Dominator, MSI RTX-2070, 1TB NVME 2TB SSD's, TM Warthog, Pro Rudders, OpenTrack w/ IR Clip
Blooze Posted August 22, 2014 Author Posted August 22, 2014 Played around with this since I'm trying to learn more on the Mission Editor. Noticed that if you enter an aircraft from the server, the 117's bomb the bridges. But if you enter aircraft from a client connected to a server they simply turn around at waypoint 1. Changing the command to Bombing instead of Attack Map Object and they will carry out the bombing. I got a fresh install of the mission and only made the change you suggested, then saved the mission with a new name but I got the same results and was unable to duplicate your solution. [sIGPIC][/sIGPIC]
txmtb Posted August 22, 2014 Posted August 22, 2014 Strange, I tested it back and forth quite a few times and they always followed through with the action set to bombing. I created a test mission with just a simple attack map unit on a bridge and it behaved the same way. Worked in SP, but would only work in MP if it was set to bombing instead of attack map object. Just weirdness. Win 10 64 Pro, MSI Z390 I7-9700K @5ghz Kraken Z63, 32Gb Corsair Dominator, MSI RTX-2070, 1TB NVME 2TB SSD's, TM Warthog, Pro Rudders, OpenTrack w/ IR Clip
Blooze Posted August 22, 2014 Author Posted August 22, 2014 Strange, I tested it back and forth quite a few times and they always followed through with the action set to bombing. I created a test mission with just a simple attack map unit on a bridge and it behaved the same way. Worked in SP, but would only work in MP if it was set to bombing instead of attack map object. Just weirdness. Were there any other parameters that you had to set after selecting bombing? Can you attach your corrected miz file so I can have a look at it and try it? This stuff makes me cry out of both eyes :cry_2: [sIGPIC][/sIGPIC]
txmtb Posted August 22, 2014 Posted August 22, 2014 Nothing else, just set the pointer to be on middle of the bridges. I was going back and attaching the .miz since it was stupid not to in the first place. Just ran it and they bombed both the bridges so here's hoping.Talon_test.miz Win 10 64 Pro, MSI Z390 I7-9700K @5ghz Kraken Z63, 32Gb Corsair Dominator, MSI RTX-2070, 1TB NVME 2TB SSD's, TM Warthog, Pro Rudders, OpenTrack w/ IR Clip
Blooze Posted August 22, 2014 Author Posted August 22, 2014 Nothing else, just set the pointer to be on middle of the bridges. I was going back and attaching the .miz since it was stupid not to in the first place. Just ran it and they bombed both the bridges so here's hoping. OK....your file works perfectly but when I do what I have thought was exactly what you have done I get the same bogus results. There must be something you are doing that I have missed and I'd love to know what it is because I think I may be able to resolve similar issues with other missions involving AI aircraft and their failed tasking. If you may consider it please send me a PM with the exact steps you took from the moment you loaded the original to the ME. If not I understand and am grateful to at least have a working version of this mission. Thanks for taking the time to look into this. [sIGPIC][/sIGPIC]
txmtb Posted August 22, 2014 Posted August 22, 2014 I'll give it a shot from scratch on the file again and send over what I do. 1 Win 10 64 Pro, MSI Z390 I7-9700K @5ghz Kraken Z63, 32Gb Corsair Dominator, MSI RTX-2070, 1TB NVME 2TB SSD's, TM Warthog, Pro Rudders, OpenTrack w/ IR Clip
Blooze Posted August 23, 2014 Author Posted August 23, 2014 That did the trick. Thanks so much for your help. I think this solution will work on some other missions involving AI aircraft as well. [sIGPIC][/sIGPIC]
Recommended Posts