Jump to content

DAWS Save Mission mod


chromium

Recommended Posts

Io ho un problema , quando clicco sul pulsante START del multiplayer la missione multiplayer non parte.

Penso che ci sia un problema nel file "mul.create_server.lua" nelle righe 274 e 275:

i:write(tbl.missionList[1])

i:close()

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Devi avere la cartella eagle dynamics in "C:" senza protezione alla scrittura (non importa se sei amministratore o avvii DCS come amministratore), nessun'altra mod installata che modifichi il missionscripting.lua. confermi di star usando la versione di beta di cui al thread indicato vero? perché la precedente versione per 1.5.5 non funziona.

 

Da quanto hai indicato la prima è la più probabile, poiché il problema non è nel codice ma nel fatto che non c'è il permesso di scrivere nel file di appoggio.

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

Si ! :-)

 

Devo precisare che nessun'altra mod eccetto CTLD è stata provata nei test, e nel caso della beta nemmeno CTLD. Ne è mia intenzione dichiarare come compatibili ufficialmente altre mod poiché ho a malapena il tempo di fare questa e testarla, figuriamoci il poter verificare che sia perfettamente funzionante con altre. L'unica mod con cui ho cercato di collaborare direttamente è la campagna dinamica di MBot, ma per sua stessa indicazione non è al momento interessato a considerare l'aspetto di terra e le CAS in generale.

 

E' ragionevole pensare che DAWS sia compatibile con qualsiasi mod che non tocchi il missionscripting.lua, ma occorre pensare che andrà certamente ad interagire con esse se si occupano delle stesse cose. Ad esempio le funzioni in beta del suppression fire e vehicle damage enhancement modificano via via in tempo reale i settaggi di hold fire e AI on/off a seconda degli eventi, quindi se ci sono mod che rimodificano questi settaggi per altre ragioni può essere realisticamente che creino casino.

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

Devi avere la cartella eagle dynamics in "C:" senza protezione alla scrittura (non importa se sei amministratore o avvii DCS come amministratore), nessun'altra mod installata che modifichi il missionscripting.lua. confermi di star usando la versione di beta di cui al thread indicato vero? perché la precedente versione per 1.5.5 non funziona.

 

Da quanto hai indicato la prima è la più probabile, poiché il problema non è nel codice ma nel fatto che non c'è il permesso di scrivere nel file di appoggio.

 

Confermo di usare la versione Beta.

Ho levato la protezione alla scrittura a tutta cartella ED (ma non sono sicuro di saperlo fare perché Windows me la ripropone protetta)

Provo a lanciare una missione semplice senza script

quando clicco su START non va ....

 

questo è l'errore sul LOG:

 

00037.245 ERROR VFS: VFS_open_write: CreateFile(C:\Program Files\Eagle Dynamics\DCS World OpenBeta\AMVI/SaveMission/mixpath.txt): Unknown error

00037.245 ALERT LUACOMMON: Error: GUI Error: [string "./MissionEditor/modules/mul_create_server.lua"]:274: attempt to index local 'i' (a nil value)

GUI debug.traceback: stack traceback:

[C]: ?

[string "./MissionEditor/modules/mul_create_server.lua"]:274: in function 'onChange'

[string "./dxgui/bind/Button.lua"]:22: in function 'callback'

[string "./dxgui/bind/Widget.lua"]:318: in function <[string "./dxgui/bind/Widget.lua"]:313>

00038.299 ERROR VFS: VFS_open_write: CreateFile(C:\Program Files\Eagle Dynamics\DCS World OpenBeta\AMVI/SaveMission/mixpath.txt): Unknown error

00038.299 ALERT LUACOMMON: Error: GUI Error: [string "./MissionEditor/modules/mul_create_server.lua"]:274: attempt to index local 'i' (a nil value)

GUI debug.traceback: stack traceback:

[C]: ?

[string "./MissionEditor/modules/mul_create_server.lua"]:274: in function 'onChange'

[string "./dxgui/bind/Button.lua"]:22: in function 'callback'

[string "./dxgui/bind/Widget.lua"]:318: in function <[string "./dxgui/bind/Widget.lua"]:313>

00038.538 ERROR VFS: VFS_open_write: CreateFile(C:\Program Files\Eagle Dynamics\DCS World OpenBeta\AMVI/SaveMission/mixpath.txt): Unknown error

00038.538 ALERT LUACOMMON: Error: GUI Error: [string "./MissionEditor/modules/mul_create_server.lua"]:274: attempt to index local 'i' (a nil value)

GUI debug.traceback: stack traceback:

[C]: ?

[string "./MissionEditor/modules/mul_create_server.lua"]:274: in function 'onChange'

[string "./dxgui/bind/Button.lua"]:22: in function 'callback'

[string "./dxgui/bind/Widget.lua"]:318: in function <[string "./dxgui/bind/Widget.lua"]:313>

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Il problema è 99% quello. Per rimuovere la protezione devi farlo da admin. Se non lo fai, il mod non può funzionare. Il motivo è semplice: l'unico modo nel mio magro livello di conoscenza del codice per riconoscere l'indirizzo della miz lanciata in multiplayer è scriverlo provvisoriamente su un file durante l'esecuzione dell'ambiente editor del multiplayer e poi andarsi a leggere il file in ambiente missione tramite SSE. Se non hai i permessi di scrittura del file, da errore.

 

Il file deve necessariamente essere nella cartella eagle dynamics per scelta mia di design del mod (non voglio installer).

 

Nella versione su cui sto lavorando ora, che include anche due altre features dell'AI enhancement, sto provando ad aggirare il problema creando un file dedicato in Saved Games ma onestamente sto avendo problemi.

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

  • 3 weeks later...

Ho disabilitato l ' UAC ( controllo account utente ) di Windows 7 sul server PVI ed ora il package sembra funzionare , devo ancora testarlo bene...

Confermo il funzionamento del CLTD , mentre il CSAR ha qualche problema...

Andiamo avanti con la prima campagna dinamica multiplayer ....

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Occhio ai bug, tipo quello dell'orario. Inoltre c'è un problema con le funzioni teleport e clone di mist poiché deve essere cambiato qualcosa in come vengono caricate le missioni: daws carica mist prima dell'inizio della missione e pare che questo crei casini. Caricare nuovamente mist dopo non ha senso (crea problemi diversi).

 

Quindi non usare funzioni teleport e clone.

 

Inviato dal mio SM-G920F utilizzando Tapatalk

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

Ciao,

 

 

se GCICAP non va con DAWS accoppiato è un problema di chi ha fatto GCICAP, anche se il bug è causato dalla presenza di DAWS: l'unica mod che, non sempre, tengo d'occhio sulla compatibilità è CTLD. Il resto non è supportato: se va ne sono felicissimo, se non va... purtroppo amen.

 

 

Ti consiglierei comunque di attendere (con molta pazienza, sto messo incasinato) la prossima beta di DAWS e riprovare. Lì dovrei andare a fixare il problema degli orari nelle missioni salvate e soprattutto il timing di lancio del mist integrato in DAWS che determina ad oggi errori nella funzione teleport di mist: è possibile che il problema a GCICAP (che se ricordo bene prima funzionava) sia causato da quello.

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

Che finché non torna a funzionare tanto ottimo non è XD. Cmq è solo una mod, anche se nei menu si maschera come un modulo

 

Inviato dal mio SM-G920F utilizzando Tapatalk

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

Devi avere la cartella eagle dynamics in "C:" senza protezione alla scrittura (non importa se sei amministratore o avvii DCS come amministratore)

 

Da quanto hai indicato la prima è la più probabile, poiché il problema non è nel codice ma nel fatto che non c'è il permesso di scrivere nel file di appoggio.

 

Ho provato di tutto, ma il mio WIN 8 non mi permette di togliere la protezione alla scrittura alla mia cartella di DCS world...sei in grado di dirmi con esattezza quali file devono essere sovrascritti? In modo da togliere la protezione direttamente su quelli.

Link to comment
Share on other sites

Nessun file viene effettivamente sovrascritto, viene creato il file mizpath.txt (o similare) nella cartella AMVI\Save Mission (o similare, non ho a tiro il codice).

 

Se non hai permesso di scrittura nella cartella al momento non credo ci sia molta speranza, ma altri che usavano Win8 (io incluso) eravamo riusciti a togliere la protezione senza problemi.

 

Come per il problema delle date, penso che la cosa più opportuna sia attendere la prossima beta quando riuscirò a finirla... poichè sposterò il file da scrivere in Saved Games, dove non ci dovrebbero essere problemi. Non so darti ETA, sia perchè ho veramente poco tempo per lavorarci sia perchè non ho ancora fixato la questione delle date (è cambiato il format nel file missione e mo tocca fare diversi giri di conversione della data esatta in secondi e viceversa, ed il codice che ho finito l'altro ieri non funziona).

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

Ho fatto un po' di prove.

 

Avviato il mio server. Avviata una missione. Dal cockpit apro il menu comunicazione, ma l' opzione F10 non compare.

Però....vado nella cartella AMVI\SaveMission c'è il file mixpath, che vado ad aprire: all' interno c'è il percorso della missione che ho testè aperto...C:\users\............\test.miz

 

A questo punto, seguendo il le istruzioni del manuale, aggiungo alla missione lo script DAWS.oncallworkflow()

 

Purtroppo, all' avvio delle missione ricevo il messaggio di errore "[string"DAWS.oncallworkflow()" attempt to index global "DAWS" (a nil value) :cry:

Link to comment
Share on other sites

Non devi aggiungere nessuna istruzioni, a meno che non vuoi chiamare tu. Ma se non hai il menu è un errore. Aspetta l'update

 

Inviato dal mio SM-G920F utilizzando Tapatalk

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

Eh pasiensa XD

 

Inviato dal mio SM-G920F utilizzando Tapatalk

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

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

La seconda domanda non so. La prima... dovrebbe. Lavora in saved games.

 

Inviato dal mio SM-G920F utilizzando Tapatalk

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

In teoria è solo stabile. Mi spiace ma se lo spostare il file scritto non risolve, dal lato mio non posso fare nulla...

 

Inviato dal mio SM-G920F utilizzando Tapatalk

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

Considera però che la stabile su cui ho fatto il collaudo non è quella uscita vene.

 

Inviato dal mio SM-G920F utilizzando Tapatalk

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

Io ho provato sulla stabile, che ho installato su D e non funziona...

 

Aggiornamento. DAWS sta avendo problemi accoppiato con MOOSE ed in un paio di altri casi strani, sto cercando con Pikey di capire perchè. Ma ho testato stasera in locale senza altre mod e funziona con la nuova stable nonostante i file originali non siano ancora aggiornati.

 

Quindi al netto di problemi dovuti a possibili aggiornamenti credo di poterti confermare che il problema specifico del tuo caso non dipende da DAWS ma da questioni legate a permessi di scrittura o similari. Non è necessario avere DCS su C:, perlomeno non mi risulta.

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...