Cannot read property 'x' of undefined

Report your bugs here.

Cannot read property 'x' of undefined

Postby cloned » Tue Nov 26, 2013 2:52 pm

There is no particular reason why this shows up but it has at random occasions during both world editing and playing a normal game. It causes the client to freeze leaving me unable to continue without refreshing the page. The following error shows in the JS console.

Code: Select all
Uncaught TypeError: Cannot read property 'x' of undefined


The last instance was when I was going to the edit NPC template screen, closing it, than clicking the items editor button.

I am using the latest version of Chrome to play.
cloned
 
Posts: 7
Joined: Tue Nov 26, 2013 2:50 pm

Re: Cannot read property 'x' of undefined

Postby lugdunon » Tue Nov 26, 2013 3:54 pm

Thanks for reporting this, and letting me know what browser you are on. Is it happening often or rarely?

I'll try and reproduce it locally.
User avatar
lugdunon
Site Admin
 
Posts: 407
Joined: Tue Nov 05, 2013 5:53 pm

Re: Cannot read property 'x' of undefined

Postby cloned » Tue Nov 26, 2013 5:03 pm

I will try to get more details to assist as I am going to be using the GM Tools and test out the game mechanics.
cloned
 
Posts: 7
Joined: Tue Nov 26, 2013 2:50 pm

Re: Cannot read property 'x' of undefined

Postby lugdunon » Tue Nov 26, 2013 5:10 pm

Awesome, thanks!

As far as I know, you are one of the first to be giving the world editing side of things a good shake. A lot of the editing at the moment still needs to be accomplished via editing the etc/*.json files directly, but there is still a good bit that can be accomplished in game as well.

Hope you find things enjoyable. :)
User avatar
lugdunon
Site Admin
 
Posts: 407
Joined: Tue Nov 05, 2013 5:53 pm

Re: Cannot read property 'x' of undefined

Postby cloned » Tue Nov 26, 2013 8:03 pm

I'm quite familiar with JSON format so this will be pretty fun for me.

Ill get back with you when I have a review and suggestions.
cloned
 
Posts: 7
Joined: Tue Nov 26, 2013 2:50 pm

Re: Cannot read property 'x' of undefined

Postby cloned » Tue Nov 26, 2013 10:10 pm

Hope this helps, its the full error. There's no one action that triggers the error. Seems to happen randomly.

Code: Select all
Uncaught TypeError: Cannot read property 'x' of undefined VM2459:1
net.lugdunon.character.Character.handlePathing VM2459:1
net.lugdunon.character.Character.update VM2459:1
net.lugdunon.states.tiledGame.TiledGame.update VM2828:1
loop VM2426:1
(anonymous function)
cloned
 
Posts: 7
Joined: Tue Nov 26, 2013 2:50 pm

Re: Cannot read property 'x' of undefined

Postby lugdunon » Wed Nov 27, 2013 12:42 am

Yep, that definitely helps narrow things down. I have some debug code in place locally to see exactly what is happening when this occurs.

Thanks again!
User avatar
lugdunon
Site Admin
 
Posts: 407
Joined: Tue Nov 05, 2013 5:53 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 11 guests

cron