Jump to content

Shaman

Members
  • Posts

    3720
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Shaman

  1. Both edit: Found a work around, need to create completely separate switched condition trigger for each client unit (1 only), without using ORs.
  2. I have made today such exercise in MP to add base for scoring system counting value in lost aircrafts. Switched Conditions : Unit dead (Client1) Or Unit dead (Client2) Or... (several clients and their unit names from different groups, 1 client plane per group and some are 4 client planes in a group) Action : Increase flag X by Y value Send message to All Doesn't trigger at all.. tested only in MP. Is it bugged for clients in MP? Sent from my Nexus 7 using Tapatalk
  3. Here's the result, error. DAWS.oncallworkflow() saving hasn't worked for me
  4. DAWS_Saver doesn't work, even when renamed to actual group name of single client, and I think this is due to bug in DCS with Group.getByName(..), have you tried to rewrite code by unitname instead, like CTLD does it? I am now waiting for server to reach 3h time since mission start trigger, to execute save action via do script DAWS.oncallworkflow(), will then see if this really works. All I need is to have a save at 3rd hour, then a minute more, and have server reload mission from save point.
  5. Would be great if real crates had at least change in appearance to unpacked ones. So they can't be despawned from environment now you mean? Is it big issue? I'll test it out.
  6. Today I have had this error, came out of nowhere? 5782 line? gpId = mist.DBs.MEgroupsByName[groupIdent].groupId
  7. I wish to change values to two respective flags, for blue and red, depending on unit detection then add a timer for cool off period before it can be 'detected' again. I wish to limit table of units (air clients or ground) that have capability to detect/recon.
  8. You can't hack into the in-game scoreboard (default key: ' ), but you can use FLAG values to memorize own scoring system outside default scoreboard.
  9. I have seen a client pilot in it just days ago while observing action on server.
  10. Can't wait to try it out. I'll be back on Tuesday and will implement newest version in scenario I am developing and keep you informed of my progress. Thanks for requested features! Sent from my Nexus 7 using Tapatalk
  11. Would you find time to meet up on TeamSpeak maybe? Yes, on Monday I'm available and we could talk. Maybe this way we pinpoint this error bug sooner.
  12. I have just got this error message (see attached image) the moment server launched ONCE trigger, at mission time, action DO SCRIPT: DAWS.oncallworkflow() No mission file was created inside C:/FTPVAULT/Missions/. Here's how I have configured your script: -- DAWS_SaveMission for DCSW 1.5 local MainVersion = "1" local SubVersion = "5" local Build = "2191" -- THANKS TO (cronological order): -- Rider (AMVI) -- Grimes (ED community) -- MBot (ED community) -- xcom (ED community) -- Ian (ED community) -- vicx (ED community) -- Pikey (ED community) -- USER VARIABLES local CreateStatics = false -- If this is set to "true", for each dead vehicle/airplane/helicopter a corresponding dead static object will be spawned in the theatre. local HiddenStatics = true -- If this is set to "true", the spawned static objects will be set as hidden to declutter the mission editor. local MaxTimeFileCheckHours = 72 -- when in multiplayer mission the Save function will only work whithin this limit of hour from the server start. After, it will give an error by text. local KeepContinousMission = true -- if true it will set the saved mission start time at the saving command minute local UpdateSceneryDate = false -- if true it will add "1" day at each mission save. Works ONLY IF KeepContinousMission is FALSE!!! local NightMission = true -- if set "false", it will prevent to set up mission in evening and night hours. local theMessageState = true -- if set "true", it will print out any save mission messages (autosave doesn't print anything) local MapObjectPersitence = false -- if set "true", it will enable the map object persistence mod (BUGGED!) local RadioMenuVariable = false -- if set "true", it will enable the save command by F10 radio menu. If "off", the save function shall be called by script using the DAWS.oncallworkflow() local KeepGroupsRoutes = true -- if set "true", the mod won't delete group routes while saving local AutoSaveEnable = false -- if set "true", the mod will execute the autosave function every 10 minutes. local AutoSaveFileName = "DAWS_AutoSave.miz" -- this will be the name of the autosaved miz local ExcludeTag = "Xcl_" -- using this tag as a prefix for group name will prevent those groups to be tracked by DAWS. If killed or moved, those groups won't be affected. local AirUnitTracked = false -- if set "true", if a plane gets killed the plane will be removed from the saved mission. If an entire flight is killed, it will be deleted. --local StartingFileName = lfs.writedir() .. "Missions/" .. "DAWS_AutoSave.miz" -- THIS SHOULD BE REMOVED if allowSave == true then --local OldMizPath = nil --OldMizPath = loadedMissionPath if debugProcess == true then env.info(("the loadedMissionPath is " .. tostring(loadedMissionPath))) end --local NewMizPath = theAutosaveFilename or missionfilesdirectory .. "DAWS-SavedMission_" .. saveCounter .. ".miz" -- change to writedir local NewMizPath = "C:/FTPVAULT/Missions/" local NewMizTempDir = "DAWS_TempMix/" lfs.mkdir(missionfilesdirectory .. "Temp/" .. NewMizTempDir) local OldMissionPath = missionfilesdirectory .. "Temp/" .. "mission" local NewMissionPath = missionfilesdirectory .. "Temp/" .. NewMizTempDir .. "mission" here's my local thread for this scenario if you wish to help there: http://forum.51st.org/viewtopic.php?f=39&t=3247&p=32697#p32697 Thanks!
  13. Allright, so basically it saves within one minute, cool. Hey man, let me rephrase my other question. I was asking if from player perspective if I may limit access to DAWS script comms menu to selection of clients through UnitNames. Thanks for your work :) Sent from my Nexus 7 using Tapatalk
  14. Thanks a ton for clearing this out. In case of my squadron, commander asks me only to make one single save 1 minute before mission ends and then actions to open DAWS_AutoSave.miz and continue from there. I do hope 1 minute is enough for .miz file to be saved. Another question. May I limit F10 menu function for DAWS to my selection (table) of UnitNames?
  15. Hello :) I want to SAVE on demand under Trigger / Conditions, is correct Action to be used: DO SCRIPT: DAWS.oncallworkflow() Is there anything to be put inside these () brackets? No information in the manual nor in this thread, I have tried searching.
  16. Hmm, I still wonder what has caused this. Is there a way to check what specific value asked caused this?
  17. Hi everyone, I have been running a scenario on multiplayer server and this bug and error occured. I have looked into the dump file and it appears to be MISC script. Attached screenshots of the bug and possibly the code line, not sure which one though and why this happened.
  18. I think I got it! I am learning LUA guys! Amazing, I thought I will never program again since my childhood in BASIC language. Now more difficult exercise! There are two flags, nr:2 for Red coalition and nr:3 for Blue coalition. How to differentiate for Red helicopters picking up Red pilots and increase flag#2 +value, and same analogy for Blue.
  19. I have been trying to fix the infamous stutter spike for clients when first MiG-21 client joins multiplayer session by adding static MiG-21 object in same skin for preload at the beginning of the mission and there is still a stutter spike. I hope true dedicated server fixes this, but also MiG-21 receives a lot of peformance optimizations still.
  20. I see no mention on dedicated server... yes it is really needed, and better net code.
  21. Flight Servers Admins, Have you noticed desyncs and issues when Open Beta clients join Stable Release server? I think, because I believe I have. I have no clue why ED allows Open Beta to share the same lobby with Stable Release? :huh: Is there any way to prevent Open Beta clients from joining Stable Release then via integrity check?
  22. Now I am so lost =) am I to edit current CSAR script or make another Lua code and load? Can you help me with final example?
  23. Yes the client crashes appeared only in scenario version with added non used country audio transmission to for Beacons and Silence sounds following CTLD setup instructions. It has been removed in next version, problem gone. It might be it.
  24. I have installed it today, what a difference! :) That really low freq boom boom sound I hear when UH-1h approaches me is gone when it moves away from me, that is normal?
×
×
  • Create New...