Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 07-17-2011, 06:15 AM
Raggz's Avatar
Raggz Raggz is offline
Approved Member
 
Join Date: Sep 2010
Location: Oslo, Norway
Posts: 350
Default

Quote:
Originally Posted by TheEnlightenedFlorist View Post
If it tells you you died, then the mission wasn't successful. Even if it should have been. This tells me that the code is crashing before a certain point. The only way for me to know where it is crashing is if I can see the logs.
I'll get a log. It happens in the first mission to and i followed all the way-points and landed safely.


Here's some of the log:

------------ BEGIN log session -------------
Loading mission ...

=================================================
System.Exception: (0,0): error CS0006: Metadata file 'PARTS/DYNAMICCAMPAIGN/JG51_MISSION.DLL' could not be found

at xQOt3lDxHCKGfeHhoXG.nJNIchD1R4RKjSh4lUn.My577M09gx c(String , Boolean , Boolean )
at xQOt3lDxHCKGfeHhoXG.nJNIchD1R4RKjSh4lUn.9XmBbrMFV7 9Tsq2ilpe2(Object , Boolean , Boolean )
at xQOt3lDxHCKGfeHhoXG.nJNIchD1R4RKjSh4lUn.nbX77R2S1p 9(String )
at xQOt3lDxHCKGfeHhoXG.nJNIchD1R4RKjSh4lUn.x4r77gG5cL s(String , Int32 )
=================================================

=================================================
System.Exception: (0,0): error CS0006: Metadata file 'PARTS/DYNAMICCAMPAIGN/JG51_MISSION.DLL' could not be found

at xQOt3lDxHCKGfeHhoXG.nJNIchD1R4RKjSh4lUn.x4r77gG5cL s(String , Int32 )
at 63fmYDM6scICdbkX6oX.OEMHv2MNfTXdfmmeGsD.W7nkOAKl9N (P3dcOOwRZQwsaaAbPNR )
=================================================
Load landscape...
Load bridges
LongBridge: wrong width. (3)
Load static objects...
Server: Raggz will fly for the Blue forces.
Mission loaded. time = 34.523
Battle starting...Server: Battle begins!
ok
Server: The battle ends.
__________________

I7-3930K CPU w/ Corsair H60 liquid cooling.
16Gb Corsair Vengeance 1866mhz.
Asus P9X79 Deluxe Motherboard.
Asus GTX680 2Gb SLI
Auzentech Home theater 3D Soundcard.
Corsair HX850 Modular PSU.
Win 7 x64 Ultimate
TM Warthog HOTAS.
TM Cougar MFD's.
Saitek Flight Pro pedals.
TrackIr 5.
Samsung Syncmaster 2770FH LCD.

Last edited by Raggz; 07-17-2011 at 07:58 AM.
Reply With Quote
  #12  
Old 07-17-2011, 08:07 AM
adonys adonys is offline
Approved Member
 
Join Date: Apr 2010
Posts: 850
Default

it seems there was an old path remained to point at the mission .dll.

I'll do a log too, if it's needed. And I've asked you something, sir. A simple no would suffice, if you don't wish to share the sources with us. Thank you!

Last edited by adonys; 07-17-2011 at 08:25 AM.
Reply With Quote
  #13  
Old 07-17-2011, 08:29 AM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

I'm so sorry guys, it was a simple mistake. I've fixed it and uploaded the new version to Airwarfare. Just install it the same way and replace all the old files.
Reply With Quote
  #14  
Old 07-17-2011, 08:46 AM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Quote:
Originally Posted by Raggz View Post
Also, please move the campaign from main menu to the campaign section?... it's cluttering up the main menu imho. Other than that this has good potential. Great work
OK. Now that the thing actually works. I can answer some of your other questions.

Raggz, unfortunately that's not possible. The "Campaign" section is reserved for 1C's campaigns. For a variety of reasons, I cannot put my campaign there. If you wish, you can rename my section to something more visually pleasing. Find TEFCampaign.xml in AddIns and change it in there.

Adonys, there's really nothing complicated about it. Essentially, it's a glorified text editor, as that's all the mission files are. Most of my time was spent learning how the mission files were actually written. After that, it's just a matter of choosing what type of mission I want to do (there are currently only two for the player), adding some aircraft for that mission, then use whatever remaining aircraft are left to create random missions for aircraft from both sides. Essentially, it's a lot of rand.Next() statements. Actually writing the mission files is ridiculously easy because 1C have created something called SectionFiles. They're sort of like a simple XML.

If I do release the code, I want to at least comment it all. I also want to rewrite a lot of it. Namely, the code that selects which type of mission to do next. I don't want to release anything that isn't commented and/or sets a bad example. Both things I frequently do.

And finally, assuming anybody out there actually enjoys this campaign, what would you like to see added to it? Other types of missions? Ground units? (That would be hard)

Oh, and thanks for the log Raggz. It took about five seconds to fix after I saw that. The real question is why did it still work on my computer?
Reply With Quote
  #15  
Old 07-17-2011, 09:11 AM
adonys adonys is offline
Approved Member
 
Join Date: Apr 2010
Posts: 850
Default

I am working on something similar, and any help would be great. I can cope with not commented code, as long as it can give my some ideas.

A private release for me until a proper public one, please?

Actually, what I am trying to do is to release some library of missions/campaign functions (eventually in a dynamic library form, to help people which are not really programmers have an easier life).
Reply With Quote
  #16  
Old 07-17-2011, 11:57 AM
Raggz's Avatar
Raggz Raggz is offline
Approved Member
 
Join Date: Sep 2010
Location: Oslo, Norway
Posts: 350
Default

Quote:
Originally Posted by TheEnlightenedFlorist View Post
OK. Now that the thing actually works. I can answer some of your other questions.

Raggz, unfortunately that's not possible. The "Campaign" section is reserved for 1C's campaigns. For a variety of reasons, I cannot put my campaign there. If you wish, you can rename my section to something more visually pleasing. Find TEFCampaign.xml in AddIns and change it in there.

Adonys, there's really nothing complicated about it. Essentially, it's a glorified text editor, as that's all the mission files are. Most of my time was spent learning how the mission files were actually written. After that, it's just a matter of choosing what type of mission I want to do (there are currently only two for the player), adding some aircraft for that mission, then use whatever remaining aircraft are left to create random missions for aircraft from both sides. Essentially, it's a lot of rand.Next() statements. Actually writing the mission files is ridiculously easy because 1C have created something called SectionFiles. They're sort of like a simple XML.

If I do release the code, I want to at least comment it all. I also want to rewrite a lot of it. Namely, the code that selects which type of mission to do next. I don't want to release anything that isn't commented and/or sets a bad example. Both things I frequently do.

And finally, assuming anybody out there actually enjoys this campaign, what would you like to see added to it? Other types of missions? Ground units? (That would be hard)

Oh, and thanks for the log Raggz. It took about five seconds to fix after I saw that. The real question is why did it still work on my computer?
a Bf-110 campaign , both escort and jabo missions would be nice
Just installed the updated campaign so i'm off to try it now. Thanks for the fix
__________________

I7-3930K CPU w/ Corsair H60 liquid cooling.
16Gb Corsair Vengeance 1866mhz.
Asus P9X79 Deluxe Motherboard.
Asus GTX680 2Gb SLI
Auzentech Home theater 3D Soundcard.
Corsair HX850 Modular PSU.
Win 7 x64 Ultimate
TM Warthog HOTAS.
TM Cougar MFD's.
Saitek Flight Pro pedals.
TrackIr 5.
Samsung Syncmaster 2770FH LCD.
Reply With Quote
  #17  
Old 07-17-2011, 05:51 PM
gabuzomeu gabuzomeu is offline
Approved Member
 
Join Date: Feb 2010
Posts: 31
Default

Well,, the problem below is fixed
I just had to go to the .dll , right click, go for properties and unlock the dll, which were untrusted by .Net 4.0 as coming from another PC.
Gabu

Hello
No joy in installing this campaign: the line "The enlightened florsit campaigns" appears ok in single player menu, however nothing happens when clicking, and this generates the following log (as you can read I have a french PC).
Any idea on how I could fix it?
=================================================
Dispatcher_UnhandledException:
System.NotSupportedException: Tentative de chargement d'un assembly à partir d'un emplacement réseau qui aurait entraîné l'utilisation de l'assembly en mode Bac à sable (sandbox) dans les versions antérieures du .NET Framework. Cette version du .NET Framework n'activant pas la stratégie CAS par défaut, ce chargement peut être dangereux. Si ce chargement n'est pas destiné à utiliser l'assembly en mode Bac à sable (sandbox), activez le commutateur loadFromRemoteSources. Pour plus d'informations, consultez http://go.microsoft.com/fwlink/?LinkId=155569.
à System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
à System.Reflection.Assembly.LoadFile(String path)
à mijR187WMJjvKAgYdFE.Z3YKRP7xqledv088Her.LCw7D7YmaP H()
à HiBhT1Xetgr01TIe4LQ.gmwxuMXnv9lABrvokU3.i5yVmA5h0g 9(Object , RoutedEventArgs )
à System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
à System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
à System.Windows.UIElement.RaiseEvent(RoutedEventArg s e)
à System.Windows.Controls.Primitives.ButtonBase.OnCl ick()
à System.Windows.Controls.Button.OnClick()
à System.Windows.Controls.Primitives.ButtonBase.OnMo useLeftButtonUp(MouseButtonEventArgs e)
à System.Windows.UIElement.OnMouseLeftButtonUpThunk( Object sender, MouseButtonEventArgs e)
à System.Windows.Input.MouseButtonEventArgs.InvokeEv entHandler(Delegate genericHandler, Object genericTarget)
à System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
à System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
à System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.ReRaiseEventAs(Dependency Object sender, RoutedEventArgs args, RoutedEvent newEvent)
à System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
à System.Windows.Input.MouseButtonEventArgs.InvokeEv entHandler(Delegate genericHandler, Object genericTarget)
à System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
à System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
à System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
à System.Windows.UIElement.RaiseTrustedEvent(RoutedE ventArgs args)
à System.Windows.UIElement.RaiseEvent(RoutedEventArg s args, Boolean trusted)
à System.Windows.Input.InputManager.ProcessStagingAr ea()
à System.Windows.Input.InputManager.ProcessInput(Inp utEventArgs input)
à System.Windows.Input.InputProviderSite.ReportInput (InputReport inputReport)
à System.Windows.Interop.HwndMouseInputProvider.Repo rtInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
à System.Windows.Interop.HwndMouseInputProvider.Filt erMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à System.Windows.Interop.HwndSource.InputFilterMessa ge(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
à System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
=================================================

=================================================
Dispatcher_UnhandledException:
System.NotSupportedException: Tentative de chargement d'un assembly à partir d'un emplacement réseau qui aurait entraîné l'utilisation de l'assembly en mode Bac à sable (sandbox) dans les versions antérieures du .NET Framework. Cette version du .NET Framework n'activant pas la stratégie CAS par défaut, ce chargement peut être dangereux. Si ce chargement n'est pas destiné à utiliser l'assembly en mode Bac à sable (sandbox), activez le commutateur loadFromRemoteSources. Pour plus d'informations, consultez http://go.microsoft.com/fwlink/?LinkId=155569.
à System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
à System.Reflection.Assembly.LoadFile(String path)
à mijR187WMJjvKAgYdFE.Z3YKRP7xqledv088Her.LCw7D7YmaP H()
à HiBhT1Xetgr01TIe4LQ.gmwxuMXnv9lABrvokU3.i5yVmA5h0g 9(Object , RoutedEventArgs )
à System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
à System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
à System.Windows.UIElement.RaiseEvent(RoutedEventArg s e)
à System.Windows.Controls.Primitives.ButtonBase.OnCl ick()
à System.Windows.Controls.Button.OnClick()
à System.Windows.Controls.Primitives.ButtonBase.OnMo useLeftButtonUp(MouseButtonEventArgs e)
à System.Windows.UIElement.OnMouseLeftButtonUpThunk( Object sender, MouseButtonEventArgs e)
à System.Windows.Input.MouseButtonEventArgs.InvokeEv entHandler(Delegate genericHandler, Object genericTarget)
à System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
à System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
à System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.ReRaiseEventAs(Dependency Object sender, RoutedEventArgs args, RoutedEvent newEvent)
à System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
à System.Windows.Input.MouseButtonEventArgs.InvokeEv entHandler(Delegate genericHandler, Object genericTarget)
à System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
à System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
à System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
à System.Windows.UIElement.RaiseTrustedEvent(RoutedE ventArgs args)
à System.Windows.UIElement.RaiseEvent(RoutedEventArg s args, Boolean trusted)
à System.Windows.Input.InputManager.ProcessStagingAr ea()
à System.Windows.Input.InputManager.ProcessInput(Inp utEventArgs input)
à System.Windows.Input.InputProviderSite.ReportInput (InputReport inputReport)
à System.Windows.Interop.HwndMouseInputProvider.Repo rtInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
à System.Windows.Interop.HwndMouseInputProvider.Filt erMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à System.Windows.Interop.HwndSource.InputFilterMessa ge(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
à System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
=================================================

=================================================
Dispatcher_UnhandledException:
System.NotSupportedException: Tentative de chargement d'un assembly à partir d'un emplacement réseau qui aurait entraîné l'utilisation de l'assembly en mode Bac à sable (sandbox) dans les versions antérieures du .NET Framework. Cette version du .NET Framework n'activant pas la stratégie CAS par défaut, ce chargement peut être dangereux. Si ce chargement n'est pas destiné à utiliser l'assembly en mode Bac à sable (sandbox), activez le commutateur loadFromRemoteSources. Pour plus d'informations, consultez http://go.microsoft.com/fwlink/?LinkId=155569.
à System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
à System.Reflection.Assembly.LoadFile(String path)
à mijR187WMJjvKAgYdFE.Z3YKRP7xqledv088Her.LCw7D7YmaP H()
à HiBhT1Xetgr01TIe4LQ.gmwxuMXnv9lABrvokU3.i5yVmA5h0g 9(Object , RoutedEventArgs )
à System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
à System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
à System.Windows.UIElement.RaiseEvent(RoutedEventArg s e)
à System.Windows.Controls.Primitives.ButtonBase.OnCl ick()
à System.Windows.Controls.Button.OnClick()
à System.Windows.Controls.Primitives.ButtonBase.OnMo useLeftButtonUp(MouseButtonEventArgs e)
à System.Windows.UIElement.OnMouseLeftButtonUpThunk( Object sender, MouseButtonEventArgs e)
à System.Windows.Input.MouseButtonEventArgs.InvokeEv entHandler(Delegate genericHandler, Object genericTarget)
à System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
à System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
à System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.ReRaiseEventAs(Dependency Object sender, RoutedEventArgs args, RoutedEvent newEvent)
à System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
à System.Windows.Input.MouseButtonEventArgs.InvokeEv entHandler(Delegate genericHandler, Object genericTarget)
à System.Windows.RoutedEventArgs.InvokeHandler(Deleg ate handler, Object target)
à System.Windows.RoutedEventHandlerInfo.InvokeHandle r(Object target, RoutedEventArgs routedEventArgs)
à System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
à System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
à System.Windows.UIElement.RaiseTrustedEvent(RoutedE ventArgs args)
à System.Windows.UIElement.RaiseEvent(RoutedEventArg s args, Boolean trusted)
à System.Windows.Input.InputManager.ProcessStagingAr ea()
à System.Windows.Input.InputManager.ProcessInput(Inp utEventArgs input)
à System.Windows.Input.InputProviderSite.ReportInput (InputReport inputReport)
à System.Windows.Interop.HwndMouseInputProvider.Repo rtInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
à System.Windows.Interop.HwndMouseInputProvider.Filt erMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à System.Windows.Interop.HwndSource.InputFilterMessa ge(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
à System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
à MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Many thanks
__________________
Details: Asus P5BE Plus / Q9650, 3.0 GHz ---- Win 7 - 64 / 4 GB RAM ---- ATI 4890, 1 GB VRAM

Last edited by gabuzomeu; 07-17-2011 at 05:57 PM.
Reply With Quote
  #18  
Old 07-18-2011, 12:13 AM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Thank you gabuzomeu, I have added information about that to the install instructions.
Reply With Quote
  #19  
Old 07-18-2011, 04:33 AM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Hi!
2 reports here say a player explodes in the 2nd mission on spawn constantly. http://www.sukhoi.ru/forum/showthrea...25#post1657025

(screenshots included)

Last edited by Ataros; 07-18-2011 at 05:15 AM.
Reply With Quote
  #20  
Old 07-18-2011, 06:46 AM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Quote:
Originally Posted by Ataros View Post
Hi!
2 reports here say a player explodes in the 2nd mission on spawn constantly. http://www.sukhoi.ru/forum/showthrea...25#post1657025

(screenshots included)
Is there anything in the logs? I just generated 24 missions and did not see that happen. There were even a couple where I spawned in what looked like the exact same position.

If possible, I would like the following:

1) Log files.

2) The "current.mis" file located at parts/TEFCampaign/campaign/jg_51

Also, try restarting the campaign. The second mission will be different this time around.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.