New crash on Uveto 0.9.054-PUBLIC#3379

katz

Member
Aug 29, 2015
5
0
In the compiled code this function used to look like:
JavaScript:
window.steeleBioJaneriaSpawnReport = function () {
    author("Couch"),
        null == flags.UVETO_DEEPSEALAB_SPAWN && (flags.UVETO_DEEPSEALAB_SPAWN = 4);
    var e = flags.UVETO_DEEPSEALAB_SPAWN;
    return IncrementFlag("UVETO_DEEPSEALAB_STEPS"),
        flags.UVETO_DEEPSEALAB_STEPS >= 3 && e > 0 && rand(10) < e + 1 ? (flags.UVETO_DEEPSEALAB_STEPS = 0, window.encounterJaneriaSpawn()) : (e >= 4 ? output("\n\nYou can hear scuttling noises echoing throughout the halls, making it hard not to shiver. What <i>is</i> that?") : 3 == e ? output("\n\nYou can hear the jellyfish infesting the facility all around you, though with all the echoing it’s hard to tell exactly where they might be.") : 2 == e ? output("\n\nThe sounds of the remaining jellyfish are fainter now than before, but you know you haven’t gotten them all. One could pop out at any moment.") : 1 == e ? output("\n\nYou’re pretty sure you’ve killed most of the jellyfish, but there’s still the occasional noise of one’s presence somewhere nearby. It’s almost worse when there’s just one left.") : output("\n\nThe hallways are mercifully quiet. You think you’ve managed to kill all of the jellyfish roaming the facility."), !1)
},

Now instead of being assigned to window.steeleBioJaneriaSpawnReport it's assigned to a local name function n
Other functions there seem to have also suffered the same fate, like steeleBioOutsideBonus, steeleBioElevatorTopBonusKeep and steeleBioElevatorTopBonusTurnIn

I think that the mass find & replace of the word "public" that's mentioned in the logs might have caused this here, and in many other places.
 

Attachments

  • uveto-crash.png
    uveto-crash.png
    165.6 KB · Views: 6

Jacques00

Administrator
Moderator
Aug 26, 2015
5,140
1,270
Hopefully fixed in the next release.

There were a couple functions in that quest that were missing their window-defined pointers. Possibly due to editing code to clean up eslint issues, but never verifying if the affected functions were being used in other scripts.