Opened 7 years ago
Closed 7 years ago
#4673 closed defect (fixed)
JavaScript error: maps/random/rmgen/pathplacer.js
Reported by: | mimo | Owned by: | elexis |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 22 |
Component: | Maps | Keywords: | |
Cc: | Patch: |
Description
With the attached commands.txt and r19902, i got
ERROR: JavaScript error: maps/random/rmgen/pathplacer.js line 62 TypeError: invalid arguments PathPlacer.prototype.place@maps/random/rmgen/pathplacer.js:62:17 Map.prototype.createArea@maps/random/rmgen/map.js:190:15 createArea@maps/random/rmgen/library.js:303:9 @maps/random/unknown_land.js:586:19 ERROR: CMapGeneratorWorker::Run: Failed to load RMS 'maps/random/unknown_land.js' terminate called after throwing an instance of 'PSERROR_Game_World_MapLoadFailed' what(): Error generating random map. Check application log for details.
I put it to A22, but feel free to push it if not a simple fix
Attachments (1)
Note:
See TracTickets
for help on using tickets.
The replay works with a21, so it might be that Unknown
randInt
change from r19721, i.e. https://trac.wildfiregames.com/changeset/19721/ps/trunk/binaries/data/mods/public/maps/random/unknown_land.jsblame: https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/maps/random/unknown_land.js?annotate=blame
It's a river map where the only paths are the shallows of the river.