IPB Style© Fisana

Jump to content


Guld of botnia seems to be broke


  • Please log in to reply
3 replies to this topic

#1 nocompile

nocompile

  • Community Members
    Pip

  • a.k.a trajans_advisor
    (73 posts)

Posted 19 March 2012 - 11:42 PM

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'

#2 Spahbod

Spahbod

  • WFG Programming Team

  • Triplicarius
    (534 posts)

Posted 20 March 2012 - 01:21 PM

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

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#3 FeXoR

FeXoR

  • Community Members
    PipPipPipPipPip

  • Centurio
    (659 posts)

Posted 20 March 2012 - 01:48 PM

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, 20 March 2012 - 01:48 PM.

Posted Image Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)

#4 Spahbod

Spahbod

  • WFG Programming Team

  • Triplicarius
    (534 posts)

Posted 20 March 2012 - 03:09 PM

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:
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users