Re: Heretic Amplified [Released!]

Fri Apr 30, 2021 11:33 am

ramon.dexter wrote:Are you aware of the fact that last post happened ten years ago?


Yes, very much aware. So what, really? Are ten-year-old WADs off limits and I should accept that if a WAD is broken then it's broken for good?

Gez wrote:Based on the error message, it looks like the mod's DECORATE code contains a mistake that wasn't caught by previous ZDoom versions, but which is intercepted now. You can try using an older version of the port (the last one before ZScript should be safe) or look into the mod's code to try to fix the issue there.

Looking at it, in HereticAmpFinalBeta.pk3, in Weapons.wad, the offending code seems to be in the sixth DECORATE lump (the one that starts with a definition for MoonAmmo). There's a call to A_LookEx which is completely out of place for a weapon actor. And it's using it so that the player can acquire a target somehow so as to be able to later use a monster function, namely A_VileTarget. Somehow this was accepted by the engine but it's definitely not valid practice.


Thank you Gez for your detailed analysis! I'm completely unfamiliar with WAD programming so it's doubtful I'll be able to fix that (I probably will try anyway), but at least now I know that it's not my settings messing this up. I'll also try an older version of the port, thank you for pointing me to a good milestone in the development.

Re: Heretic Amplified [Released!]

Mon May 03, 2021 7:12 am

ramon.dexter wrote:Are you aware of the fact that last post happened ten years ago?


New user, can't reply to PM, sorry. I know the author will not fix it. Please note what I wrote in my initial post:

“Is there anything I can do to fix this?”

I'm pretty useless fixing errors in code. I managed to install SLADE to look at the file and all I got was “hey, judging by how these things are called probably the MoonRod mimics the archvile line of sight attack, cool”. I'm not a dev.
Thanks to Gez's reply I was able to investigate what port version is compatible. I was completely baffled by what "before Zscript" meant, because the version history on the Wiki does not explicitly mark this as milestone. After poking around I was able to ascertain that the latest version of GZDoom with which this mod works for me is version 3.6.0. Anything later than that will throw an exception when firing the Moon Rod. This could be useful for future players.
Asking things is not a crime.

Re: Heretic Amplified [Released!]

Mon May 03, 2021 1:57 pm

scaramousche wrote:I was completely baffled by what "before Zscript" meant, because the version history on the Wiki does not explicitly mark this as milestone.

Sorry about that. I thought it did.

scaramousche wrote:Asking things is not a crime.

It isn't. It's just that forums often take a dim view of bumping up very old threads; but your was IMO a legitimate question.