RMMZ Eli_MapSelect Causing error when I go in to select a map.

SinSilver

Veteran
Veteran
Joined
Jun 27, 2016
Messages
74
Reaction score
21
First Language
English
Primarily Uses
RMMV
Hi,

I was using Eli's Map Select Plugin just fine a few hours ago but now I'm getting " TypeError: pos.split is not a function or its return value is not iterable".

I tried disabling all of my plugins except Eli's Plugins. I tried changing the size of the picture. Checking the parameters to make sure they were correct.

I have photos of my current plugins, console, and error:

Plugins.PNG
Error.PNG
Console.PNG
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,000
Reaction score
1,467
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi there! ^^
The error happens as soon as you open the scene?
Or it only happens when you click to transfer to a map?

The plugin is trying to destructure an array into two variables:
const [x, y] = pos.split(",")
That array comes from the parameter position when you are setting the maps:
1620417790074.png

This error can probably be happening if you miss the comma (",") between the two numbers.

Can you try to check out if all your position parameters have the comma separating X and Y ?
 

SinSilver

Veteran
Veteran
Joined
Jun 27, 2016
Messages
74
Reaction score
21
First Language
English
Primarily Uses
RMMV
Thanks @Eliaquim for the help. So it does appear that was the issue and I'm no longer getting the error when I use the Map Select. Originally the position parameter was set to 0. I changed it to 8, 7 and now it works.

However, I have a new issue when I select a Map from 'Map Select' on the title screen or by selecting a map in-game using 'S' I'm getting just a Black Screen. The game is running because I'm able to go into the main menu and select a new map as well.

Update: Nevermind about the Black Screen, I was just being an idiot lol.
 
Last edited:

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,000
Reaction score
1,467
First Language
Portuguese - Br
Primarily Uses
RMMZ
Thanks @Eliaquim for the help. So it does appear that was the issue and I'm no longer getting the error when I use the Map Select. Originally the position parameter was set to 0. I changed it to 8, 7 and now it works.

However, I have a new issue when I select a Map from 'Map Select' on the title screen or by selecting a map in-game using 'S' I'm getting just a Black Screen. The game is running because I'm able to go into the main menu and select a new map as well.

Update: Nevermind about the Black Screen, I was just being an idiot lol.
haha! It's ok!
So everything is working now?
 

SinSilver

Veteran
Veteran
Joined
Jun 27, 2016
Messages
74
Reaction score
21
First Language
English
Primarily Uses
RMMV
Yep, everything is working, now I'm just looking for the best plugin to show images when using your Plugin. Thanks so much for the help!!
 

Latest Threads

Latest Profile Posts

Figured I would start posting what I am working on here. Anyways, a quest system plugin I have been working on:
20mgjmZ.png


What features would yall like to see in a quest system?
Playing my game to improve my game. (Totally not procrastinating)
Hope he recovers fast :|
Looks like it's functional:

Forum statistics

Threads
112,502
Messages
1,068,744
Members
146,176
Latest member
MissOclock
Top