Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3   Go Down

Author Topic: Dutch Courage: a Dutch fighter campaign for BAT  (Read 4479 times)

0 Members and 1 Guest are viewing this topic.

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3259
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #12 on: July 12, 2023, 05:43:17 AM »

"java.lang.NoSuchMethodError" normally indicates a version mismatch one of the class in use probably from a mod calls for a method not used in classes of your game version
Logged

vegetarian

  • member
  • Offline Offline
  • Posts: 408
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #13 on: July 13, 2023, 04:03:49 AM »

Quote
"java.lang.NoSuchMethodError" normally indicates a version mismatch one of the class in use probably from a mod calls for a method not used in classes of your game version
Thank you for the feedback Frankiek. I suspected a mod conflict might be the cause (I only have seven mods installed). I used classcheck.exe and there are no conflicts. Is this the right tool to use, or is there another way I can check?  If not, out of curiosity, I will have to use a process of elimination by removing all the mods then reinstalling each mod one at a time and check by flying one of the effected missions. Laborious, but should work - hopefully there is not some other wildcard factor involved!
Logged

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3259
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #14 on: July 13, 2023, 04:40:33 AM »

before going for the long and  sure road of uninstalling (or just disabling) mods and checking one by one first try to replicate the error launching the faulty mission and look at the log as normally there should  be a mention of the class involved, at that point it should be easy to trace it down to the faulty mod.

Classcheck can only identify conflicts between duplicated classes that can be either a simple copy (no error) or a different version of the same class (possible source of error)  however if the class causing the error is entirely new and not a duplicate it won't help   
Logged

vegetarian

  • member
  • Offline Offline
  • Posts: 408
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #15 on: July 13, 2023, 06:12:11 AM »

Well, I launched the mission (Mission 2, LargePatrolCoast) - which crashed around the 6:30min mark as previously. This is what I assume is the relevant section of my log file (bear in mind I'm not sure what I should be looking for, class or otherwise!!):
Quote
[2023-07-13 21:51:52.286 UTC +10]   dT: 8591   java.lang.NoSuchMethodError
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.il2.ai.Trigger.doSendMsg(Trigger.java:277)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.il2.ai.TriNewAircraftAir.execute(TriNewAircraftAir.java:48)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.il2.ai.TriggersGuard.checkTask(TriggersGuard.java:26)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.il2.ai.War.interpolateTick(War.java:82)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.il2.engine.InterpolateAdapter.msgTimeOut(InterpolateAdapter.java:157)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.rts.MsgTimeOut.invokeListener(MsgTimeOut.java:73)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.rts.Message._send(Message.java:1217)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.rts.Message.sendToObject(Message.java:1191)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.rts.Message.sendTo(Message.java:1134)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.rts.Message.trySend(Message.java:1115)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.rts.Time.loopMessages(Time.java:252)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.il2.game.Main.exec(Main.java:422)
[2023-07-13 21:51:52.286 UTC +10]   dT:    0      at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)

Any help would be very much appreciated

Cheers

EDIT: The eventlog.lst file for the mission ends with this line:
         09:06:53 gb0100(1) was activated by 0_Trigger at 172393.0 245653.0
It appears the mission crashes when 0_trigger is activated (apparently triggers are used some of the missions). Maybe this may help in diagnosing the issue?
Logged

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3259
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #16 on: July 13, 2023, 10:04:20 AM »

Indeed the trigger is the problem. The message is sent for the activation then there should be a new target or something else but at that point something goes wrong followed by the crash. I am not really proficient on this matter I am sure that author of the mission will know better
Logged

Old_DaD

  • member
  • Offline Offline
  • Posts: 516
  • Fully engaged in the war on senior moments.
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #17 on: July 13, 2023, 11:58:53 AM »

Vegetarian..maybe have a look at the mission in FMB. I've played that mission, and that error maybe to do with the trigger point and appearance of the British planes (gb0100) at that location on the map.
Logged

vegetarian

  • member
  • Offline Offline
  • Posts: 408
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #18 on: July 13, 2023, 11:53:47 PM »

G'day Fankiek & Old_DaD, you were both right - it is indeed the trigger point triggering (sorry!) the CTD.
I flew the mission eight times (I'm pretty good at it now  :) ) selectively enabling each mod. The CTD happened when the extra flights appeared - gb0100 et. al. Turns out the conflict was with an old copy of PALsHUDconfig-v4122_20160411 that I had in my #WAW3 folder. Disable that mod and mission runs flawlessly. This would also explain a couple of CTD's I had in the CzechMates campaign as well.
Bit of a shame really, as I prefer the minimalist appearance of that version of PALsHUDconfig. I guess I will have to play around with the version that comes with BAT 4.2.2 to reduce verbosity and font size.

Thank you both for your help and suggestions.
Cheers
Logged

vegetarian

  • member
  • Offline Offline
  • Posts: 408
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #19 on: July 14, 2023, 12:10:28 AM »

And of course if I had remembered my discussion from here https://www.sas1946.com/main/index.php/topic,58163.300.html reply #324 I would have saved a lot of time  :-[  I put it down to old age memory loss!
Logged

Old_DaD

  • member
  • Offline Offline
  • Posts: 516
  • Fully engaged in the war on senior moments.
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #20 on: July 20, 2023, 12:43:00 PM »

I just came back to this campaign..I deleted my career..!!?..and now it's not even saving the first mission, Done all the usual checks. No objects missing et al..no classfile conflicts et al. No instant success off.
Did add that old mod (Fokker DXXI 'S with flyable cockpits, from 2013)  to get rid of that annoying tube sight... unusual Dutch sight.
I will prevail.

Logged

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3259
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #21 on: July 20, 2023, 02:57:13 PM »

Yes in thee stock version the appearance of the revi sight is linked to the use  of a finnish skin through a complex procedure one of the great addition of DT 
Logged

scrouby

  • member
  • Offline Offline
  • Posts: 2
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #22 on: June 28, 2024, 02:40:01 AM »

New to BAT and this is the first campagin I've tried to download.

It's a fresh BAT install which appears to be working fine. I installed the files from the download and I can see the campaign, but when I start the first mission there is no plane visible on the left hand side. When I start the mission, it gives me an error 'Mission loading failed: Landscape 'Netherlands_1940 load_s.ini' loading error'.

Did I get something wrong in my BAT install or do I need to download a map file or something?

Edit: Duh, I only had 4.0 installed. Upgraded to 4.2 and now it's working.
Logged

Frankiek

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3259
Re: Dutch Courage: a Dutch fighter campaign for BAT
« Reply #23 on: June 28, 2024, 06:40:35 AM »

It is a map loading error you need to check your log.lst file to see what is preventing the map from loading
Logged
Pages: 1 [2] 3   Go Up
 

Page created in 0.037 seconds with 19 queries.