error: cannot read property 'centers' of undefined

Post your questions here
Post Reply
brapinntrapin
Posts: 2
Joined: Wed Mar 05, 2025 1:21 am
Team: Privateer

error: cannot read property 'centers' of undefined

Post by brapinntrapin »

i just bought the game in January 2025 and when i play on the 2024 ama national tracks in the top left corner i get error: cannot read property 'centers' of undefined.. i looked on google and it said it could be a java script missing from a snap shot.. i havent downloaded any of the snap shots and dont really know which one is the most up to date.. also not the most tech savy so please help in a way someone with limited computer experience could understand.. thanks for any help in advance!!
jlv
Site Admin
Posts: 15261
Joined: Fri Nov 02, 2007 5:39 am
Team: No Frills Racing
Contact:

Re: error: cannot read property 'centers' of undefined

Post by jlv »

It's because of a track scripting feature that's present in the latest snapshot updates but not in 1.13. It'll go away if you install the snapshot update pinned in the general discussion section of the forum.

It's actually possible to fall back and run on older versions without that error but I had a bug in my initial example script for track animations that RF used. I should probably try to fix that for them. But anyway, the easy fix is to update to the latest snapshot version.
Josh Vanderhoof
Sole Proprietor
jlv@mxsimulator.com
If you email, put "MX Simulator" in the subject to make sure it gets through my spam filter.
Post Reply