Jump to content

DAWS Package for DCS World - discussion and bug report


Recommended Posts

1) ok

2) it's in the special options: check "create dead static object". it's flagged by default, if you want to remove

3) it's in the special options: check manual to disable aicraft deletion by remove the check in "remove dead planes & helicopter when dead" (the wreckage will be there anyway if create static is checked);

4) you can't, as also every auto restart file will be named "DAWS_Reload_a" and "DAWS_Reload_b" or something similar. You might tell the mission name not using the file but in the mission description.

5) No, I don't thing DAWS could interact in such way inside the sim engine.

 

For any doubt I'm here and thanks for the feedback :)

 

EDIT:

I would really like to overcome that odd "auto rename file" issue, but I can't cause the point that when a mission is loaded (let's say "gnagna.miz") I can't touch that file cause windows and DCS say it's currently in use.

I was thinking to create a simple function that will rename the autosave file and the normal saved file keeping the original name and adding a _DAWSautosave or _DAWSsave## (#=number) in the next release but it won't save me from the server reload issue.


Edited by chromium

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

  • Replies 270
  • Created
  • Last Reply

Top Posters In This Topic

1) :thumbup:

2) My bad :music_whistling:

3) Yeah... I guess, my bad too :music_whistling:

4) Shame, but can live with it.

5) Hmmm... I'll look into some other options then.

 

 

Love your work, my friend! What a great mod :thumbup:

 

 

S!

cold war 1947 - 1991.jpg

Cold War 1947 - 1991                                       Discord
Helicopters Tournaments
Combined Arms Tournaments

You can help me with keeping up the server via PayPal donations: hokumyounis@yahoo.com

Link to comment
Share on other sites

1)EDIT:

I would really like to overcome that odd "auto rename file" issue, but I can't cause the point that when a mission is loaded (let's say "gnagna.miz") I can't touch that file cause windows and DCS say it's currently in use.

I was thinking to create a simple function that will rename the autosave file and the normal saved file keeping the original name and adding a _DAWSautosave or _DAWSsave## (#=number) in the next release but it won't save me from the server reload issue.

I get it.

It's just when more servers start using this mod for their dynamic missions, then you'd have the name DAWS_autosave or something everywhere in the servers' list below the mission's name bar. Might annoy some mission designers, I think. That was my thought, and I do hope others will start using the mod. The more users, the better the feedback and the more effctive you can develop it.

cold war 1947 - 1991.jpg

Cold War 1947 - 1991                                       Discord
Helicopters Tournaments
Combined Arms Tournaments

You can help me with keeping up the server via PayPal donations: hokumyounis@yahoo.com

Link to comment
Share on other sites

The more users, the better the feedback and the more effctive you can develop it.

 

that's the point. I'm trying also to solve in the How To forum... let's see if someone can help

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

that's the point. I'm trying also to solve in the How To forum... let's see if someone can help

You mean, how to make this mod more popular? Like an advertisement?

cold war 1947 - 1991.jpg

Cold War 1947 - 1991                                       Discord
Helicopters Tournaments
Combined Arms Tournaments

You can help me with keeping up the server via PayPal donations: hokumyounis@yahoo.com

Link to comment
Share on other sites

Nono, only how to solve the double mission load trick necessary for weather update ;)

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

After the server restarts, one gets two options regarding the mission time:

 

1- The mission time continues from the moment at which the server restarted.

2- The mission time is randomly determined.

 

The problem is with nighttime missions. Players don't fly at night especially in MiG-21's, F-5's and the like. Is it possible to have an option where the mission start time is stable?

cold war 1947 - 1991.jpg

Cold War 1947 - 1991                                       Discord
Helicopters Tournaments
Combined Arms Tournaments

You can help me with keeping up the server via PayPal donations: hokumyounis@yahoo.com

Link to comment
Share on other sites

good point. I will add a third option with random starting hour between 8:00 and 15:00 (always the day after).

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Hi,

I seem to be encountering an issue: DAWS does create a few files and folders in C:\Users\XXX\Saved Games\DCS.openbeta\Missions\Temp, but not the .miz file itself (which I imagine should result as these files/folders being packaged together).

I investigated, and MissionScripting.lua is freely accessed and edited by DAWS, but I see no modification being made.

Am I correct to assume that the edits it should make are adding "--" in front of sanitizeModule('io') and sanitizeModule('lfs')?

Link to comment
Share on other sites

Hi,

I seem to be encountering an issue: DAWS does create a few files and folders in C:\Users\XXX\Saved Games\DCS.openbeta\Missions\Temp, but not the .miz file itself (which I imagine should result as these files/folders being packaged together).

I investigated, and MissionScripting.lua is freely accessed and edited by DAWS, but I see no modification being made.

Am I correct to assume that the edits it should make are adding "--" in front of sanitizeModule('io') and sanitizeModule('lfs')?

 

Is your main folder protected? if so, it wont' work.

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Is your main folder protected? if so, it wont' work.

 

 

I am 99.999% sure that I have all the permissions in check.

So, I tested again.

MissionScripting.lua is effectively read, over-written, and re-written back in place, I verified so as I launched DAWS.

All options in-menu seem to be working as expected, but I don't have any sort of confirmation after seeing "DAWS is saving the mission..." in the GUI.

As I mentioned earlier, inside Saved Games\DCS.openbeta\Missions\Temp\DAWS_TempMix I do get the unpacked mission structure...

Any idea?

Thank you for the assistance!

Link to comment
Share on other sites

No, can you please send me the mission you're using? Any other mods?

 

Does the save thing works anyway?

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

After the server restarts, one gets two options regarding the mission time:

 

1- The mission time continues from the moment at which the server restarted.

2- The mission time is randomly determined.

 

The problem is with nighttime missions. Players don't fly at night especially in MiG-21's, F-5's and the like. Is it possible to have an option where the mission start time is stable?

 

yeah you found a bug due to new timing system. As it's corrected I will post. Currently any mission would start after midnight if "keepcontinous" is not chosen.

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

No, can you please send me the mission you're using? Any other mods?

 

Does the save thing works anyway?

 

 

I'm not sure. I tried to build the .miz package from the files contained in \DAWS_TempMix, but the few units (88 mm AAA guns) that were destroyed during the mission were not recorded.

The only mods I've got are textures and sounds, nothing involving MissionScripting.lua in any case, or folders that conflict with DAWS.

 

 

The mission is this one: https://www.digitalcombatsimulator.com/en/files/3096046/

Link to comment
Share on other sites

I'm not sure. I tried to build the .miz package from the files contained in \DAWS_TempMix, but the few units (88 mm AAA guns) that were destroyed during the mission were not recorded.

The only mods I've got are textures and sounds, nothing involving MissionScripting.lua in any case, or folders that conflict with DAWS.

 

 

The mission is this one: https://www.digitalcombatsimulator.com/en/files/3096046/

 

Dont' build the package, but if you don't find the daws saved file seems to be a write protection issue. to be sure... send me the dcs.log (you might see a VFS error or something similar about writing something)

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

After the server restarts, one gets two options regarding the mission time:

 

1- The mission time continues from the moment at which the server restarted.

2- The mission time is randomly determined.

 

The problem is with nighttime missions. Players don't fly at night especially in MiG-21's, F-5's and the like. Is it possible to have an option where the mission start time is stable?

 

Done,

 

option added and start time fixed, you will find the new start time options in option menù ;)

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Dont' build the package, but if you don't find the daws saved file seems to be a write protection issue. to be sure... send me the dcs.log (you might see a VFS error or something similar about writing something)

 

Couldn't spot such error, but PM'd you the log anyways. Thank you!

Link to comment
Share on other sites

Done,

 

option added and start time fixed, you will find the new start time options in option menù ;)

Option's tested. Works fine :thumbup:

cold war 1947 - 1991.jpg

Cold War 1947 - 1991                                       Discord
Helicopters Tournaments
Combined Arms Tournaments

You can help me with keeping up the server via PayPal donations: hokumyounis@yahoo.com

Link to comment
Share on other sites

Regarding the autosaved file, the way I see it the package autosaves the scenery every 5 minutes. Say a server is supposed to restart after 6 hours (the last option you've added), then the package would initiate the last autosave after exactly 6 hours, which is the time at which the server restarts. Explains why the file's in use and can't be renamed.

Say we have this option of determining after how many hours the server should restart, which we do, but in reality the script code of the package would be restarting the server after x hours and 1 minute. During that minute the file is NOT in use. Maybe even 10 seconds would be enough. Am I making sense here or just giving you a hard laugh? :)

cold war 1947 - 1991.jpg

Cold War 1947 - 1991                                       Discord
Helicopters Tournaments
Combined Arms Tournaments

You can help me with keeping up the server via PayPal donations: hokumyounis@yahoo.com

Link to comment
Share on other sites

  • 2 weeks later...

Hi Chromium, thanks for your work, I have a little question : does this script save the flags values ? IE : on our server we will have a mission with a marker which increments everytime something is killed, to act like a score. Will every triggers including flags, or "Time over XX s after mission start" be reset ?

 

Nicolas

Link to comment
Share on other sites

Hi Chromium,

I seem to be having the exact same problem with our server that Picchio is having.

The temp folder is created but no mission file. The message ‘saving mission’ comes up but no .miz file appears.

 

I have triple checked the permissions on both the C:\ folder and the saved games folder but to no avail.

 

It works absolutely fine on my client PC when mission testing, just not on the server.

 

Any help would be greatly appreciated, thanks.

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

I was on holiday in the other side of the world with no forum access, folks... simply that :D


Edited by chromium

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...