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
1,989
Reaction score
1,457
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
1,989
Reaction score
1,457
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 Posts

Latest Profile Posts

Gotta love when RM just decides it's done with existence and closes when you're in an event.
Good grief am I ever so dusty on music creation. Never move, gentleman and ladies!
After waiting for several months to observe the results of vaccines, I finally decided to go for Comirnaty, because now my job needs me to either be vaccinated or take a regular testing every 2 weeks(240 HKD per test), and it seems to me that Comirnaty is safe enough in my case :)
So, to create multiple faces one needs to first export, then import, over and over... who came up with this weird mechanism...
Away from home now since it reduce COVID spread

Forum statistics

Threads
112,315
Messages
1,067,283
Members
145,939
Latest member
fooples
Top