Sign in to follow this  
Followers 0
nocompile

Guld of botnia seems to be broke

4 posts in this topic

ERROR: JavaScript error: maps/random/rmgen/tileclass.js line 88

TypeError: 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:144

ERROR: CMapGeneratorWorker::Run: Failed to load RMS 'maps/random/gulf_of_bothnia.js'

Share this post


Link to post
Share on other sites

Does anyone else has such a problem? I don't. Can you reproduce this? How many players are in your map?

Share this post


Link to post
Share on other sites

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 by FeXoR

Share this post


Link to post
Share on other sites

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. :huh:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0