1.6.0 Errors And How To Fix Them

Alpha Lumerio

Veteran
Veteran
Joined
Jun 1, 2017
Messages
36
Reaction score
3
First Language
English
Primarily Uses
RMMV
I'm gonna use this post to compile errors I can find on the forums and list the solutions.
Also, I complained about undefined is not a function, that error has been fixed in 1.6.0.

1. MakeVideoPlayInline: You must get the file known as iphone-inline-video.browser from a new project's libs folder, and put it in your current project's folder. Also, make sure that the iphone-inline-videobrowser file is also referenced inside the index.html file (thank you Aloe Guvner for this)
2. Tileset Event Error: No known solution
3.
Moving maps around in the editor is currently broken, especially if you're changing the parent of a map.

Example:
A
- B
- C

A is the parent map, B and C are children of A.
If you move B to the same level as A, like this:

A
- C
B

A is still parent of C, but B is no longer a child of A.

The editor will show you the relationship correctly, but internally the hierarchy is completely broken.
You can easily verify by creating a Transfer Quick Event and look at the map hierarchy.

If you're reversing the parent relationship, like this:

B
- A
- - C

Now B is parent of A.

It's possible for B and its children to completely disappear from the map hierarchy, because B is still marked as being the child of A, but A is also marked as child of B.


Solution:
DO NOT EXIT RMMV. As long as RMMV is running, the map hierarchy will still show you the proper hierarchy. As soon as you exit and restart RMMV, the broken hierarchy will be shown instead.

First, save your data.
Open the "MapInfos.json" file in the "data" folder of your solution.

It will look like this:
Code:
[
null,
{"id":1,"expanded":true,"name":"A","order":1,"parentId":0,"scrollX":546,"scrollY":312},
{"id":2,"expanded":true,"name":"B","order":2,"parentId":1,"scrollX":546,"scrollY":312},
{"id":3,"expanded":true,"name":"C","order":3,"parentId":0,"scrollX":546,"scrollY":312},
]

Check "order" and "parentId" and make sure they match what you see in the map hierarchy.
The "parentId" refers to the "id" of the parent map.

So if we want map C to be the child of A, we need to set its "parentId" to 1, because the "id" of A is 1.

After you finished editing "MapInfos.json", save the .json file and exit RMMV. RMMV shouldn't ask you to save, because we already saved beforehand. If it does ask to save, copy the "MapInfos.json" file somewhere else, save RMMV, exit RMMV, overwrite the "MapInfos.json" file with the copy you made.


More will be listed as they are found out.
 
Last edited:

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,096
First Language
English
Primarily Uses
RMMV
A suggestion to edit your post regarding #1:
Make sure that the iphone-inline-videobrowser file is also referenced inside the index.html file (that way it gets loaded into your game)
 

Nolonar

Veteran
Veteran
Joined
Feb 18, 2018
Messages
122
Reaction score
148
First Language
French, German
Primarily Uses
RMMV
You can add this one:
Moving maps around in the editor is currently broken, especially if you're changing the parent of a map.

Example:
A
- B
- C

A is the parent map, B and C are children of A.
If you move B to the same level as A, like this:

A
- C
B

A is still parent of C, but B is no longer a child of A.

The editor will show you the relationship correctly, but internally the hierarchy is completely broken.
You can easily verify by creating a Transfer Quick Event and look at the map hierarchy.

If you're reversing the parent relationship, like this:

B
- A
- - C

Now B is parent of A.

It's possible for B and its children to completely disappear from the map hierarchy, because B is still marked as being the child of A, but A is also marked as child of B.


Solution:
DO NOT EXIT RMMV. As long as RMMV is running, the map hierarchy will still show you the proper hierarchy. As soon as you exit and restart RMMV, the broken hierarchy will be shown instead.

First, save your data.
Open the "MapInfos.json" file in the "data" folder of your solution.

It will look like this:
Code:
[
null,
{"id":1,"expanded":true,"name":"A","order":1,"parentId":0,"scrollX":546,"scrollY":312},
{"id":2,"expanded":true,"name":"B","order":2,"parentId":1,"scrollX":546,"scrollY":312},
{"id":3,"expanded":true,"name":"C","order":3,"parentId":0,"scrollX":546,"scrollY":312},
]
Check "order" and "parentId" and make sure they match what you see in the map hierarchy.
The "parentId" refers to the "id" of the parent map.

So if we want map C to be the child of A, we need to set its "parentId" to 1, because the "id" of A is 1.

After you finished editing "MapInfos.json", save the .json file and exit RMMV. RMMV shouldn't ask you to save, because we already saved beforehand. If it does ask to save, copy the "MapInfos.json" file somewhere else, save RMMV, exit RMMV, overwrite the "MapInfos.json" file with the copy you made.
 

Alpha Lumerio

Veteran
Veteran
Joined
Jun 1, 2017
Messages
36
Reaction score
3
First Language
English
Primarily Uses
RMMV
upload_2018-2-22_19-18-15.png
Would doing this be a good idea? Or would it just break RPG Maker MV?
(You can guess what error I tested.)
 

Nolonar

Veteran
Veteran
Joined
Feb 18, 2018
Messages
122
Reaction score
148
First Language
French, German
Primarily Uses
RMMV
Hooking RMMV to the VS debugger probably won't help you much, unless you have the debugging symbols.
But you can try; at this point RMMV already crashed, so there's nothing more you can break.
 

Nolonar

Veteran
Veteran
Joined
Feb 18, 2018
Messages
122
Reaction score
148
First Language
French, German
Primarily Uses
RMMV
I think I found a "solution" to the Tileset Event crash.
It's more of a workaround, so people can at least keep working on their project while waiting for a fix.
There's quite a lot of effort involved.

  1. Create your event, but don't set an image yet.
  2. Save.
  3. In your project's "data" folder, open the "MapXYZ.json" with Notepad (or Notepad++). If you don't know which to open, open the "Edit" window for the map (select the map and press "Space" on your keyboard). The window's title bar should say something like "ID:006 - Map Properties", in this case I'm looking for "Map006.json".
  4. At the bottom of the file, you'll see the events (example of a teleport event further below).
  5. Look for the event you want. If you set a name, it's easier to find it by looking at the "name" parameter, otherwise you need to look for the ID. Open the Event Editor window and look at the window's title bar, just like with the Map Editor.
  6. We're looking for the "image" parameter (example below). If it's a multi-page event, you'll have multiple "image" parameters. The parameters are ordered by pages: Leftmost is page 1, rightmost is last page.
  7. The "image" parameter itself has multiple parameters. Make sure that "characterIndex" is 0, "characterName" is "" (empty string) and set "tileId" to the desired number (how to find the number is explained below).
  8. Save file and restart RMMV.
Example of teleport event:
Code:
{"id":1,"name":"EV001","note":"","pages":[{"conditions":{"actorId":1,"actorValid":false,"itemId":1,"itemValid":false,"selfSwitchCh":"A","selfSwitchValid":false,"switch1Id":1,"switch1Valid":false,"switch2Id":1,"switch2Valid":false,"variableId":1,"variableValid":false,"variableValue":0},"directionFix":false,"image":{"characterIndex":0,"characterName":"","direction":2,"pattern":0,"tileId":0},"list":[{"code":201,"indent":0,"parameters":[0,4,13,1,0,0]},{"code":0,"indent":0,"parameters":[]}],"moveFrequency":3,"moveRoute":{"list":[{"code":0,"parameters":[]}],"repeat":true,"skippable":false,"wait":false},"moveSpeed":3,"moveType":0,"priorityType":0,"stepAnime":false,"through":false,"trigger":1,"walkAnime":true}],"x":3,"y":12},
Example of "image" parameter:
Code:
"image":{"characterIndex":0,"characterName":"","direction":2,"pattern":0,"tileId":0}
How to find tileId:
[Tileset B]
First, determine the tile's row number in the editor. First row is 0, second row is 1, etc.
Second, determine the tile's column number in the editor. First column is 0, second column is 1, etc.
Multiply the row number by 8 and add the column number.
For example, second row (1), first column (0) would be 8 (1 * 8 + 0)

[Tileset C] and beyond
Unfortunately, I don't know how these work, but I assume it's just like with Tileset B, but you need to add 256 to the result for Tileset C, 512 for Tileset D, and 768 for Tileset E.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

How to do implementation the social politcal mechanics in rpg maker? Thank you for quick spark of ideas. Fear of going to the thread lol.
MerlinCross wrote on Switz's profile.
Not sure if you'll see this but I stumbled across your "Open Locker" sprite in a topic. Could I use those?
topic in question
Going to watch an episode of The Office and eat something after this little progress!

Forum statistics

Threads
100,780
Messages
979,418
Members
132,415
Latest member
evaxephongamer
Top