Game Crashes when performing most actions in ship combat

Eramis

New Member
Jun 20, 2022
3
0
23
Trying to fly to tarkus, encounter pirates, attempt to fight, game crashes, get this info:

Code:
 Version: 0.9.006-PUBLIC#2167 Message: n.isBlind is not a function Stack:
TypeError: n.isBlind is not a function
    at m (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10058801)
    at y (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10046975)
    at Function.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9673609)
    at Function.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9682045)
    at https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9682531
    at Array.forEach ()
    at Object.value [as func] (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9682324)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9900258)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9899709)
    at Object. (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9837469)

Where do I go from here
 

Heroic Ryan

New Member
May 7, 2018
3
0
25
Same thing here. I cannot continue the game as my next destination is Tarkus and I get that battle with the Corona Spacelord every single time.


Code:
Version: 0.9.006-PUBLIC#2167

Message:
n.isBlind is not a function

Stack:
TypeError: n.isBlind is not a function
    at m (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10058801)
    at y (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10046975)
    at Function.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9673609)
    at Function.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9681996)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9497914)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10011529)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10008261)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10007295)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10003448)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9863630)
    at Object. (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9837278)
    at https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:11914054
    at s (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10216595)
    at o (https://www.fenoxo.com/play/TiTS/release/vendors.2fe78d6e.js:1:48980)

```
 

Eramis

New Member
Jun 20, 2022
3
0
23
Same thing here. I cannot continue the game as my next destination is Tarkus and I get that battle with the Corona Spacelord every single time.


Code:
Version: 0.9.006-PUBLIC#2167

Message:
n.isBlind is not a function

Stack:
TypeError: n.isBlind is not a function
    at m (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10058801)
    at y (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10046975)
    at Function.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9673609)
    at Function.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9681996)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9497914)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10011529)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10008261)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10007295)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10003448)
    at o.value (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9863630)
    at Object. (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:9837278)
    at https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:11914054
    at s (https://www.fenoxo.com/play/TiTS/release/main.016dfa04.js:1:10216595)
    at o (https://www.fenoxo.com/play/TiTS/release/vendors.2fe78d6e.js:1:48980)

```
The issue may be tied to our save data, I loaded up my file on the downloaded version and the issue persisted
 

Heroic Ryan

New Member
May 7, 2018
3
0
25
The issue may be tied to our save data, I loaded up my file on the downloaded version and the issue persisted
Sounds like there's not much that can be done then outside of Developer help. I don't mind starting over given I was still on the first planet and it only took me less than a half hour to clear it but I wish there was a way to know what exactly is triggering the bug so I can stop it from happening again. :(
 

Theron

Well-Known Member
Nov 8, 2018
3,621
1,377
44
The issue may be tied to our save data, I loaded up my file on the downloaded version and the issue persisted
If it is, it also happens on my converted saves, no matter what ship I'm using.
You might be able to progress by using the Cheat Menu to teleport to Tarkus. It won't bring your ship, though.
 

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
I'm also getting it on my save (Not converted it was made on the JS version).

I don't think it has anything to do with save data.
It just seems that the calculateDamage function in combat.js doesn't know what to do when a ship is passed as the attacker/target.
Because usually it assumes that the attacker/target is a creature object (and all creatures have the .isBlind() function while ships do not which causes this error).
 
  • Like
Reactions: lowercase_donkey

Eramis

New Member
Jun 20, 2022
3
0
23
I'm also getting it on my save (Not converted it was made on the JS version).

I don't think it has anything to do with save data.
It just seems that the calculateDamage function in combat.js doesn't know what to do when a ship is passed as the attacker/target.
Because usually it assumes that the attacker/target is a creature object (and all creatures have the .isBlind() function while ships do not which causes this error).
do you know if I can resolve this issue somehow? I really would rather not restart, I dont remember all the decisions I made to replecate them
 

OrangeBurner

Well-Known Member
Mar 13, 2022
305
72
The way I'm handling the issue is that whenever I get into ship combat I type:
CombatManager.abortCombat() into the console (accessed by pressing F12).
EDIT: CombatManager.genericVictory() also seems to work.

I've tested this for the first ship encounter and it seems to work.
I have no idea if this might have some other affects but it seems to be fine.
 

lowercase_donkey

Scientist
Apr 27, 2016
1,614
230
You're right, Orange, as far as I can see. Going to need Fen to fix this one though.
The way I'm handling the issue is that whenever I get into ship combat I type:
CombatManager.abortCombat() into the console (accessed by pressing F12).
EDIT: CombatManager.genericVictory() also seems to work.

I've tested this for the first ship encounter and it seems to work.
I have no idea if this might have some other affects but it seems to be fine.
 

Heroic Ryan

New Member
May 7, 2018
3
0
25
I just tried it again today and I was able to proceed without issue. Many thanks to the devs for their fix <3