Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

I couldn't get it to work for some reason, it worked until I tried to actually travel and it gave me an error that read "

TypeError

Cannot read property 'outdoors' of undefined "
The actual devtool reads: 

CGMZ_Core.js:701 Error in plugin: [CGMZ] Fast Travel

Error description: Error parsing JSON: SyntaxError: Unexpected token M in JSON at position 0

Possible solution: A map parameter was invalid and could not be read.


I am not sure if I missed a crucial step, or what I did wrong to get this error.

I am not exceptionally well versed with rpgmaker mz yet so I apologize if I missed

something particularly obvious. I thought i followed the steps correctly and set up the right map, but it cannot seem to read it properly. 

Hi, can you attach an image of the dev tools console after you get the crash, including all warning or error messages shown in it? It sounds like you have multiple messages there.

This is what I have !


Ok well the actual crash is coming from OcRam_Core. The red is what caused the crash, the yellow is just a warning to let you know that one of your map parameters is invalid, which in this case would be the Map parameter and should be something like this:
 

When you double click the parameter it should open up a transfer player like ui where you can point and click somewhere on a map to set it up, I am not sure if maybe you are trying to manually edit the text for the parameter instead, or if you are not on RMMZ 1.9.0 before this parameter type was added?

Probably you are trying to transfer to an invalid map and the other plugin is not set up to handle that.

Ohh gotcha! Ty for letting me know, I genuinely couldn't tell what was causing the issue. ^^; I'll see if it works later in a bit here! 

Ok I tested it again with the other thing off, and now it has a different problem with a different plugin... oof

Also apparently it does not do the thing where it opens up the UI to select a location, It only makes me put in manual coordinates so I had no idea how to put them in. (I still do not know the exact format it's looking for but this might be a part of the problem I fear!)
In any case thank you for helping me troubleshoot this, I love this plugin and would love to figure out how to use it proper. 

(1 edit)

Hi, if you do not have a map select UI that automatically fills that parameter out for you, you are not on MZ 1.9.0. I would recommend to update to 1.9.0 unless you have a specific reason you can't use 1.9.0 (such as a plugin that is no longer being supported that does not work with 1.9.0).

However, you can still manually set this parameter if you cannot update to 1.9.0, the format is:

{"mapId":"1","x":"1","y":"1"}

Change the number for the map id, x, and y ONLY and do not touch anything else such as brackets or quotation marks or text as this is a JSON string and must be in exactly this format.

So for example if you want it to be map 2 at (3,6) you would put:

{"mapId":"2","x":"3","y":"6"}

Oh yes!! That was the problem it seems, I didn't realize I was so out of date (I was still running on like 1.8 or something) but that fixed it, thank you so much for the help!