Author Topic: Just Another Troubleshooting Thread  (Read 4725 times)

0 Members and 1 Guest are viewing this topic.

Offline Axem

  • Administrator
  • 211
Re: Just Another Troubleshooting Thread
Hahaha... Yeah... That make sense in retrospect. I did test the mission too (mostly)! Until the Beta Tester blew up (and before the ending VN part). And I thought "yeeeep, this is good enough, the mission is over by this point. Nothing could go wrong after this..." :nono:

So try the attached mission (I tested through it all the way this time...).

Sorry for the troubles again.

 
Re: Just Another Troubleshooting Thread
Note my edit, upon replaying it did work fine all the way through, although I'm sure an even more ironclad mission always helps.  ;)

 

Offline Axem

  • Administrator
  • 211
Re: Just Another Troubleshooting Thread
Yeah, it was a bug that needed to be fixed anyway. Basically there's this variable that tells the mission if we should skip to the boss on replay. Unfortunately, some parts of the mission didn't get that memo, so they tried to chug along like normal (causing the first issue you had). The second issue you had was when you were at the end of the mission, the variable gets reset, and the mission then took that to mean "Oh, let's do these events we missed out on before".

Glad you were able to power through it in any case. :)

 

Offline PIe

  • 24
Re: Just Another Troubleshooting Thread
In JAD 2.21, the Power of Friendship mission, shooting at the Befriendinator with the Starlancer results in an unending mission, since Delta 1 is summoned only when it's at exactly 75%.  However, using the Starlancer causes the hull to go from 80% (for example) to 73% or 74% and skipping over 75%.  I'm guessing that it can be fixed by triggering the rest of the SEXPs when hull is less than 76% rather than equal to 75%, although I haven't bothered actually verifying this.

 

Offline Axem

  • Administrator
  • 211
Re: Just Another Troubleshooting Thread
You're on the right track. The Befriendinator's supercap ship flag is supposed to stop damage from certain weapons (like the Starlance) at 75%, so the check for 75% should've been correct... I suppose I'll have to look into it then.

 

Offline PIe

  • 24
Re: Just Another Troubleshooting Thread
If it helps, I'm using FSO 3.8.0.

 

Offline Axem

  • Administrator
  • 211
Re: Just Another Troubleshooting Thread
Okay, I tried some things out. Basically what's happening is the supercap flag on the Befriendinator doesn't exactly cap damage at 75%. After the health is seen to go below 75%, it will stop taking damage. Since the Starlance is powerful enough that it can knock through that 75% and to 73%, we fly through that limit I thought was iron-hard and the mission breaks.

So until I get it fixed fo' real, I'd just suggest using the Prometheus (or something else that isn't the Starlance) to attack the Befriendinator with.

 
Re: Just Another Troubleshooting Thread
Oh great Axem, I am afraid I've run into a bit of a boo-boo.
Code: [Select]
==========================================================================
Lua Error: LUA ERROR: [string "cmap-sct.tbm - On Game Init"]:98: attempt to index field '?' (a nil value)

------------------------------------------------------------------
ADE Debug:
------------------------------------------------------------------
Name: Load
Name of: method
Function type: Lua
Defined on: 54
Upvalues: 0

Source: cmap-sct.tbm - On Game Init
Short source: [string "cmap-sct.tbm - On Game Init"]
Current line: 98
- Function line: 45
------------------------------------------------------------------


------------------------------------------------------------------

stack traceback:
[C]: ?
[string "cmap-sct.tbm - On Game Init"]:98: in function 'Load'
[string "String: CMap:Load('jad222_cmap.cfg')"]:1: in main chunk
------------------------------------------------------------------

------------------------------------------------------------------
I've finished the main campaign of JAD 2.22 and decided to go back and do some of the side missions.  I just finished the one where you play as the Butler trying to rescue the Princess's pancakes.  Took a few tries, but I finally managed to defeat the onslaught.  Then, after accepting the successful mission outcome and attempting to return to the Mission Selection screen (not sure what you call it, it isn't the main hall, it's the screen you pick missions from), I get a CTD.  From then on, I try to start again and I get to the Main Hall just fine, but after I pick "Play Game" it loads all of the models and then spews the same LUA error at me.

I was initially playing with 3.8.0 RC1.  Tried switching to 3.8.0 RC3; no dice.

i can haz fixors, oh mighty one?  Any additional information I might be able to provide?
"Any idiot can face a crisis; it is this day to day living that wears you out." – Anton Chekhov

 

Offline Axem

  • Administrator
  • 211
Re: Just Another Troubleshooting Thread
I think I know what's causing that, and I don't think it's a fatal error... Does it let you continue? (Maybe press N or something)

Basically the mission gave the script some bad info, and the script is complaining about the bad info. When I encountered it, it did let me through if I just tried to continue through it.

But this weekend I will do my best to bring out a patch to fix that and an array of other bugs still lingering around!