nocompile Posted March 19, 2012 Share Posted March 19, 2012 ERROR: JavaScript error: maps/random/rmgen/tileclass.js line 88TypeError: this.inclusionCount[x] is undefined (NaN,NaN)@maps/random/rmgen/tileclass.js:88 addToClass(NaN,NaN,0)@maps/random/rmgen/library.js:502 @maps/random/gulf_of_bothnia.js:144ERROR: CMapGeneratorWorker::Run: Failed to load RMS 'maps/random/gulf_of_bothnia.js' Link to comment Share on other sites More sharing options...
Spahbod Posted March 20, 2012 Share Posted March 20, 2012 Does anyone else has such a problem? I don't. Can you reproduce this? How many players are in your map? Link to comment Share on other sites More sharing options...
FeXoR Posted March 20, 2012 Share Posted March 20, 2012 (edited) I had no such error in this map but I had it when the getAngle function was changed.It was caused by the try to place terrain on a tile outside the map. Edited March 20, 2012 by FeXoR Link to comment Share on other sites More sharing options...
Spahbod Posted March 20, 2012 Share Posted March 20, 2012 Odd thing is: I don't use getAngle in the map. Do other random maps work? I updated my library.js file and the map still works. So the problem should be with Math.js.The problem is: I really can't figure out what is causing this problem. Nowhere in the whole rmgen I can't find a usage of those "changed" Math.js functions.Edit: Just tested it and it isn't Math.js too. Very wired. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now