Page 1 of 2

Type error after battle

PostPosted: Sat Jun 19, 2021 3:04 pm
by RAndrews
Just started the demo, and went in to the holy shrine. After the 3rd battle I got an error "Type error. Cannot read property 'list' of undefined" and the game froze :(

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:05 pm
by Indinera
Does it go away if you reload (using autosave)?

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:06 pm
by RAndrews
I'll try - it doesn't if I reload from my own save..

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:07 pm
by RAndrews
Yes it does. Don't know if it helps, but this was after the 3rd fight and 3rd instawin - the instawin message displayed immediately before the error.

Also, it happens again after the next fight :( Also an instawin.

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:08 pm
by Indinera
RAndrews wrote:I'll try - it doesn't if I reload from my own save..


As in? Not autosave?

Do you mean it happens systematically with that specific battle?

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:11 pm
by RAndrews
Yes, sorry - it happened if I reloaded the save that I made, but reloading the autosave allows the game to continue - until the next fight, when it happens again :(

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:11 pm
by Indinera
RAndrews wrote:Yes it does. Don't know if it helps, but this was after the 3rd fight and 3rd instawin - the instawin message displayed immediately before the error.

Also, it happens again after the next fight :( Also an instawin.


I'm trying to upload another build.
I can't quite explain why you're getting it after the 3rd fight and then again after the 4th.

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:11 pm
by Indinera
RAndrews wrote:Yes, sorry - it happened if I reloaded the save that I made, but reloading the autosave allows the game to continue - until the next fight, when it happens again :(


Can you send me the savefile just before it happens then?
aldorlea@googlemail.com

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:15 pm
by RAndrews
Just more info - it happened first after the 3rd fight, which was an instawin; reloading the autosave allowed me to continue.
Then happened again after the next fight (not and instawin); reloading autosave again allowed me to continue.
Then didn't happen after the next fight, which was an instawin.

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:17 pm
by RAndrews
Indinera wrote:
RAndrews wrote:Yes, sorry - it happened if I reloaded the save that I made, but reloading the autosave allows the game to continue - until the next fight, when it happens again :(


Can you send me the savefile just before it happens then?
aldorlea@googlemail.com


Aargh - cue idiot user :( I've saved over it by clicking on it :( Sorry - if it happens again I'll get a save and send it.

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:18 pm
by Indinera
Different build if you'd like to try it:
http://aldorlea.org/Games/NOTS-DEMO.exe

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:19 pm
by Indinera
RAndrews wrote:Just more info - it happened first after the 3rd fight, which was an instawin; reloading the autosave allowed me to continue.
Then happened again after the next fight (not and instawin); reloading autosave again allowed me to continue.
Then didn't happen after the next fight, which was an instawin.


I don't think it's related to the instawin to be honest, as it's a pretty normal "event", that I coded myself.

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:20 pm
by RAndrews
OK - I have a save immediately prior to a fight that causes the error - where do I need to send it?

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:25 pm
by RAndrews
Looks like the new build fixes it, thank you :)

Re: Type error after battle

PostPosted: Sat Jun 19, 2021 3:29 pm
by Indinera
RAndrews wrote:OK - I have a save immediately prior to a fight that causes the error - where do I need to send it?


aldorlea@googlemail.com