Special Aircraft Service

Please login or register.

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

Author Topic: Problem with 4.12.2 and SASmodact 5.3  (Read 1979 times)

0 Members and 1 Guest are viewing this topic.

herbarnold99

  • member
  • Offline Offline
  • Posts: 334
Problem with 4.12.2 and SASmodact 5.3
« on: October 27, 2016, 09:05:53 PM »

Hi all,

Ok, I'm making progress with correcting and updating a messy install, but here's my latest roadblock:

I've successfully updated a fresh 4.12.2m with SASmodact 5.3 and vp modpack (with patches). It loads fine now, but I after about a minute running a mission from the QMB (and usually coincident with firing weapons), I get a CTD with this note: [The instruction at "0x0a581147" referenced memory at "0x0cf28740". The memory could not be "read".]

Here's the logfile:

Code: [Select]
Mission: QuickQMBPro/EastFront_Crimea/EastFront_CrimeaBlueNoneA00.mis is Playing

warning: no files : music/inflight

INTERNAL ERROR: Str2FloatClamp() - Clamped 8 -> 0.5 (delta = -7.5) to Range 0..0.5

java.lang.NoSuchMethodError

at com.maddox.il2.engine.BulletGeneric.drawLine(BulletGeneric.java:201)

at com.maddox.il2.engine.BulletGeneric.render(BulletGeneric.java:162)

at com.maddox.il2.engine.BulletGeneric.renderAll(BulletGeneric.java:191)

at com.maddox.il2.game.Main3D.doRender3D1(Main3D.java:2777)

at com.maddox.il2.game.Main3D.access$17(Main3D.java:2766)

at com.maddox.il2.game.Main3D$Render3D1.render(Main3D.java:779)

at com.maddox.il2.engine.Renders.b(Renders.java:603)

at com.maddox.il2.engine.Renders.paint(Renders.java:440)

at com.maddox.il2.engine.RendersTicker.msgTimeOut(Renders.java:637)

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:449)

at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)

Any help appreciated...

Cheers,
Herb
Logged

vpmedia

  • Modder
  • member
  • Offline Offline
  • Posts: 6652
  • www.vpmedia.hu/il2
    • VPMEDIA SKINS
Re: Problem with 4.12.2 and SASmodact 5.3
« Reply #1 on: October 27, 2016, 10:08:51 PM »

herbarnold99

  • member
  • Offline Offline
  • Posts: 334
Re: Problem with 4.12.2 and SASmodact 5.3
« Reply #2 on: October 28, 2016, 05:20:54 AM »

Required conf.ini entries are in there... problem persists...
Logged

vpmedia

  • Modder
  • member
  • Offline Offline
  • Posts: 6652
  • www.vpmedia.hu/il2
    • VPMEDIA SKINS
Re: Problem with 4.12.2 and SASmodact 5.3
« Reply #3 on: October 28, 2016, 05:39:46 AM »

the same fix seem to worked here: https://www.sas1946.com/main/index.php/topic,50919.msg573714.html#msg573714

You could also try deactivating the effects mod (!!00_0_FXEvolution_v4.12, rename to -!!00_0_FXEvolution_v4.12) to check wheter the problem is indeed caused by the tracer mod as I suspect.

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24009
  • Taking a timeout
    • STFU
Re: Problem with 4.12.2 and SASmodact 5.3
« Reply #4 on: October 28, 2016, 06:12:13 AM »

Here's the logfile:
Code: [Select]
java.lang.NoSuchMethodError
at com.maddox.il2.engine.BulletGeneric.drawLine(BulletGeneric.java:201)
Hi Herb,

Looks like you have some additional mods installed.
Pure VP Modpack Patch 9 doesn't have any code in line 201 of "drawLine" method in the BulletGeneric class, actually line 201 is the closing bracket of that method.
The only JSGME mod shipped with VP Modpack Patch 9 that changes the BulletGeneric class is the "Guncam Tracers by santobr" mod and in that mod, line 201 of BulletGeneric is inside the "drawLine" method but it's content is this:
Code: [Select]
float[] af = new float[lines.coord.length * 2];As a matter of fact, this cannot trigger a "NoSuchMethodError" error, which means that your game has a different "BulletGeneric" class installed.
The hashed filename of that class is "D316021E9A6B74EC", so please check which mod you have installed that causes this issue.

Best regards - Mike
Logged
Don't split your mentality without thinking twice.

herbarnold99

  • member
  • Offline Offline
  • Posts: 334
Re: Problem with 4.12.2 and SASmodact 5.3
« Reply #5 on: October 28, 2016, 10:58:01 AM »

Thank you gentlemen, I shall re-attack with enthusiasm!
Logged

herbarnold99

  • member
  • Offline Offline
  • Posts: 334
Re: Problem with 4.12.2 and SASmodact 5.3
« Reply #6 on: October 28, 2016, 02:44:48 PM »

Well, it was indeed the "Guncam Tracers by santobr" mod (as included with the VP Modpack patch) that was causing the problem. Once deactivated, no problems.

Mike, I did search my #SAS folder for "D316021E9A6B74EC", and found it in "!!00_0_FXEvolution_v4.12". Not sure if that helps explain anything, but I've got a functional game so I'm pressing on...

Thanks for the quick and useful help!

Cheers,
Herb
Logged

vpmedia

  • Modder
  • member
  • Offline Offline
  • Posts: 6652
  • www.vpmedia.hu/il2
    • VPMEDIA SKINS
Re: Problem with 4.12.2 and SASmodact 5.3
« Reply #7 on: October 29, 2016, 04:47:33 AM »

FXEvolution has a different tracer mod included. Loading the "Guncam Tracers by santobr" mod caused the conflict.

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24009
  • Taking a timeout
    • STFU
Re: Problem with 4.12.2 and SASmodact 5.3
« Reply #8 on: October 29, 2016, 09:20:22 AM »

Yes, my bad, it's indeed FXEvolution.
For some reason the mod didn't make it into my classdump, that's why I missed that point.
Maybe FXEvolution should better be made optional through JSGME?

Anyway, line 201 of the FXEvolution "BulletGeneric.drawLine" method reads
Code: [Select]
localLines = new Lines(null);
And that's just plain wrong.
It's actually one of the common mistakes made by newcomers of IL-2 Java modding and is caused by faulty code generated by decompilers.
The real code should read
Code: [Select]
localLines = new Lines();and the regarding inner class "Lines" should just keep the Java default (empty) contructor and not use a wrong one like this from FXEvolution which causes all that trouble:
Code: [Select]
    Lines(BulletGeneric.1 param1)
    {
      this();
    }
That's just bull.

If this was done right, there would have been no compatibility issue with sanotbr's guncam tracers.
As a rule of thumbs, beware of mods that just work by having "!!00_0_" and the like in their foldername, most of the times they need it exactly for internal issues like this.

Oh and before someone feels attacked: I'm not actually blaming any modder for this mess, it's a decompiler thing, something we've all been going through. You just need someone to tell you how to do things right, that's all ;)

Best regards - Mike
Logged
Don't split your mentality without thinking twice.
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 26 queries.