Special Aircraft Service

Please login or register.

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

Author Topic: Issue with A.20 in BAT v422HF4 plus some mods....  (Read 326 times)

0 Members and 1 Guest are viewing this topic.

Whiskey_Sierra_972

  • Modder
  • member
  • Offline Offline
  • Posts: 6577
  • In memory of my beloved hero: Saburo SAKAI!
Issue with A.20 in BAT v422HF4 plus some mods....
« on: February 27, 2024, 07:31:31 AM »

Hi mates!

I was testing new Wx Tech new A-20 cockpit and noticed a strange issue with the A.20 Boston III: after playing a mission when I quit and I click on 'done' the GUI became static and I have to quit by task manager....

The only error repeted a lot of time is:

java.lang.ClassCastException: com.maddox.il2.objects.air.A_20B3
   at com.maddox.il2.objects.air.CockpitA_20B3_Bombardier$Interpolater.tick(CockpitA_20B3_Bombardier.java:27)

Here the related portion of log:

Quote
Loading mission QuickQMBPro/BAT_SandsOfTimeR/BAT_SandsOfTimeRBlueScramble00.mis...
Y=1940 / M=6 / H= 12 , Temperature - 0m = 39.0 .
Loading map.ini defined airfields:
WARNING: ObjectVACache_Clear()
WARNING: * Buf0 : Obj: 32,  Vert 906,  Ind 4341
WARNING: * Buf1 : Obj: 205,  Vert 18224,  Ind 39765
WARNING: * Buf2 : Obj: 25,  Vert 20412,  Ind 35229
Land2DText load failed: null
java.util.NoSuchElementException
   at java.util.StringTokenizer.nextToken(Unknown Source)
   at java.util.StringTokenizer.nextToken(Unknown Source)
   at com.maddox.il2.engine.Land2DText.load(Land2DText.java:128)
   at com.maddox.il2.game.Mission.loadMain(Mission.java:893)
   at com.maddox.il2.game.Mission._load(Mission.java:650)
   at com.maddox.il2.game.Mission.access$600(Mission.java:124)
   at com.maddox.il2.game.Mission$BackgroundLoader.run(Mission.java:412)
   at com.maddox.rts.BackgroundTask.doRun(BackgroundTask.java:155)
   at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:108)
   at com.maddox.il2.game.Main.exec(Main.java:422)
   at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
Load bridges
Load static objects
1>mp_dotrange FRIENDLY DOT 25.000002 COLOR 0.35000002 RANGE 0.0050000004 TYPE 0.0050000004 ID 0.35000002 NAME 0.0050000004 ALTICON 6.0000005 ALTSYMBOL + ALTCOLOR 2
1>mp_dotrange FOE DOT 25.000002 COLOR 0.5 RANGE 1.0 TYPE 0.0050000004 ID 0.0050000004 NAME 0.0050000004 ALTICON 6.0000005 ALTSYMBOL * ALTCOLOR 1
Mission: QuickQMBPro/BAT_SandsOfTimeR/BAT_SandsOfTimeRBlueScramble00.mis is Playing
INTERNAL ERROR: HierMesh: Can't find chunk 'Z_DF'
java.lang.ClassCastException: com.maddox.il2.objects.air.A_20B3
   at com.maddox.il2.objects.air.CockpitA_20B3_Bombardier$Interpolater.tick(CockpitA_20B3_Bombardier.java:27)
   at com.maddox.il2.engine.Interpolators.tick(Interpolators.java:222)
   at com.maddox.il2.engine.Actor.interpolateTick(Actor.java:375)
   at com.maddox.il2.engine.InterpolateAdapter.msgTimeOut(InterpolateAdapter.java:174)
   at com.maddox.rts.MsgTimeOut.invokeListener(MsgTimeOut.java:73)
   at com.maddox.rts.Message._send(Message.java:1217)
   at com.maddox.rts.Message.sendToObject(Message.java:1191)
   at com.maddox.rts.Message.sendTo(Message.java:1134)
   at com.maddox.rts.Message.trySend(Message.java:1115)
   at com.maddox.rts.Time.loopMessages(Time.java:252)
   at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
   at com.maddox.il2.game.MainWin3D.loopApp(MainWin3D.java:131)
   at com.maddox.il2.game.Main.exec(Main.java:422)
   at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)
java.lang.ClassCastException: com.maddox.il2.objects.air.A_20B3

What could be?

In vanilla I have no issues and checking within some mods installed I haven't find nothing related to A.20....

Any ideas?

Maybe a corrupted file somewhere?
Logged

Knochenlutscher

  • Flying Ass Clown #10
  • Modder
  • member
  • Offline Offline
  • Posts: 4590
  • aka Segfej
Re: Issue with A.20 in BAT v422HF4 plus some mods....
« Reply #1 on: February 27, 2024, 09:25:03 AM »

Can you share a screenshot of that modded WAW please?
I'd like to track down the Bug.


Code: [Select]
CockpitA_20B3_Bombardier.java
5223AD20339FF28A

WxTech's Mod is not the fault, no such Classfile included.

A-20C iron sight post and some other tweaks
https://www.sas1946.com/main/index.php?topic=72149.msg785551;topicseen#msg785551

I don't get in my 2 BAT v422HF4 (clean+heavilly modded).
To my surprise it even runs in UP3 Cassie.

I resolved the Files, indeed HierMesh: Can't find chunk 'Z_DF', but my Installs don't crash here.
Strange.

Quote
after playing a mission when I quit and I click on 'done' the GUI became static and I have to quit by task manager....

This Bug I know too, it happens to me frequently, one of the nastiest issues
when I have to touch a Bomber Cockpit coming with Bombardier,
even when I don't make edits to a Cockpit.
It comes just by my Compiler. It grew me a few grey Hairs.

A workaround is very tricky.
But I do not get that nasty Bug.
So it's sth. else.
Logged
Wiseman : "Did you speak the exact words?" Ash : "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah."

Whiskey_Sierra_972

  • Modder
  • member
  • Offline Offline
  • Posts: 6577
  • In memory of my beloved hero: Saburo SAKAI!
Re: Issue with A.20 in BAT v422HF4 plus some mods....
« Reply #2 on: February 27, 2024, 10:23:39 AM »

Can you share a screenshot of that modded WAW please?
I'd like to track down the Bug.


Code: [Select]
CockpitA_20B3_Bombardier.java
5223AD20339FF28A



Hi mate!

Thanks for the relative classfiles!

The culprit is 5223AD20339FF28A and is included into the Baltimore mod plane:

https://www.sas1946.com/main/index.php/topic,70404.msg766588.html#msg766588

I have tried to disable it and now the A20 work flawless....closing a mission after 'done' the GUI return to the QMB panel....

I'll post a link to this tread in the Baltimore page....hope someone between our masters in java could fix this glitch the next future.....

Thanks for your great help!


E D I T ! !

Just to specify , to avoid confusion due my not native english language , the issue isn't related to Wx Tech A20 cockpit tweak , because when I disable that mod while testing the source of the issue , the disabling doesn't solve the feezing issue....his work is PERFECT AS ALWAYS!
Logged

Knochenlutscher

  • Flying Ass Clown #10
  • Modder
  • member
  • Offline Offline
  • Posts: 4590
  • aka Segfej
Re: Issue with A.20 in BAT v422HF4 plus some mods....
« Reply #3 on: February 27, 2024, 11:32:00 AM »

I have this Mod in my custom Built BAT v422HF4 too, but in a Testing Folder.
running behind BAT Classes Folder, the cause of your Crash, you left the naming of the Folder untouched, to
load before classes BAT, hence loading a incompatible Class first.
Mine I cleaned up and named Plane_Baltimore, even if mine would contain the faulty Classfile, it would
still load the BAT_Classes File first.

I will pull this out and see what it is about.

This Mod I needs a cod upgrade to be fully compatible with BAT v422HF4.
only for testing purposes, until I released a upgrade do the following.

Quote
Classfiles needed:
4CD86528FCDFC620
A8A3E2647654F7CC
BDF61B00ACD1F16E

Please delete every other recommended Classfile from Folder 00_Baltimore.

BTW. just the Folder 00_Baltimore is needed, no Wheels no other BlaBla.  ;)

Beginning in Summer I will release stashes of cod Upgrades to such unfixed Mods in WIP Section.
We have a bunch to work up and feed you hungry Gentlemen. The cries getting louder.

Have a nice evening
Tobias
Logged
Wiseman : "Did you speak the exact words?" Ash : "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah."

Whiskey_Sierra_972

  • Modder
  • member
  • Offline Offline
  • Posts: 6577
  • In memory of my beloved hero: Saburo SAKAI!
Re: Issue with A.20 in BAT v422HF4 plus some mods....
« Reply #4 on: February 27, 2024, 12:07:08 PM »

Thanks mate!

Deleted unnecessary classfiles and got all GUI function working , Blatimore and A-20 load flawless now!
Logged
Pages: [1]   Go Up
 

Page created in 0.043 seconds with 24 queries.