nocompile Posted March 19, 2012 Report 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' Quote Link to comment Share on other sites More sharing options...
Spahbod Posted March 20, 2012 Report 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? Quote Link to comment Share on other sites More sharing options...
FeXoR Posted March 20, 2012 Report 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 Quote Link to comment Share on other sites More sharing options...
Spahbod Posted March 20, 2012 Report 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.