Wrecking Crew Posted November 25, 2014 Posted November 25, 2014 v1.2.11.34087 A new "error on error reporting" dialog box showed up in a new mission that uses Mi-8T's to Embark and Disembark infantry. Maybe it was "error on error handling"... This is happening in multiplayer and the dialog shows on the server, while the Clients see a frozen map and or get disconnected, but can re-join. The error did not show up in single player testing. In this mission, two Mi-8Ts are ferrying infantry. I did see where the second Mi-8T was under the terrain after the error showed up. I tried a lot of fixins but ended up removing the Mi-8Ts and infantry from the mission. The mission is attached. It should be run on a server to see the error. Wait for the second Mi-8T to Embark troops. WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Grimes Posted November 25, 2014 Posted November 25, 2014 It means there was a scripting error in the mission and you have slmod installed, why by default removes the error reporting lua environment for some reason. There is a simple change you can make. Load up slmodMissionScripting.lua where-ever it is installed at. It should be something like C:\Users\<userName>\Saved Games\DCS\Scripts\net\Slmodv7_3 Find the following line at the bottom sanitizeModule('debug') and comment out the line so it looks like this --sanitizeModule('debug') 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
Wrecking Crew Posted November 25, 2014 Author Posted November 25, 2014 .. OK Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Wrecking Crew Posted November 25, 2014 Author Posted November 25, 2014 Thanks, Grimes, I made the change in my server's Slmod v7_0. I will apply the latest Slmod v7_3 this week. Does this error indicate a problem with my script? The following code is used by two AI Hueys and by four Client Hueys in separate events that run a Do Script. This script is run from an event that detects Landing, to deploy Stinger teams -- I am pretty sure it was not being triggered when the server error occurred. All variables are defined as 'local' except the loop counter 'i'. local grpName = 'UH-1H 03 FARP London' local unitNameManpads = 'BLF VGrp90 Stinger' local unitName = Group.getByName(grpName):getUnit(1):getName() local basePos = mist.getLeadPos(grpName) local baseHeadingRad = mist.getHeading(Unit.getByName(unitName)) local baseHeadingDeg = baseHeadingRad * 180 / math.pi local newGroup = mist.getGroupData(unitNameManpads) local newCoords = { [1] = { x = basePos.x + ((75 * math.cos(baseHeadingDeg)) - (0 * math.sin(baseHeadingDeg))), y = basePos.z + ((75 * math.sin(baseHeadingDeg)) + (0 * math.cos(baseHeadingDeg))), heading = baseHeadingDeg, }, [2] = { x = basePos.x + ((-75 * math.cos(baseHeadingDeg)) - (75 * math.sin(baseHeadingDeg))), y = basePos.z + ((-75 * math.sin(baseHeadingDeg)) + (75 * math.cos(baseHeadingDeg))), heading = baseHeadingDeg + 40, }, [3] = { x = basePos.x + ((-75 * math.cos(baseHeadingDeg)) - (-75 * math.sin(baseHeadingDeg))), y = basePos.z + ((-75 * math.sin(baseHeadingDeg)) + (-75 * math.cos(baseHeadingDeg))), heading = baseHeadingDeg - 40, } } for i = 1, #newGroup.units do newGroup.units[i].x = newCoords[i].x newGroup.units[i].y = newCoords[i].y newGroup.units[i].heading = newCoords[i].heading end newGroup.clone = true mist.dynAdd(newGroup) WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Recommended Posts