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,999
Reaction score
1,466
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,999
Reaction score
1,466
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

Ami
trying to change my picture & got screwed up...
I've been busy working on my next music pack, and I've also been busy composing some personal compositions. Depending on the type of mood and setting, sometimes I just really love the sound of music created in lofi mono. It has its charm.
Haven't used this website in so long, hope everyone here have a good day! Lately I've been crafting a dnd world, so I haven't got the time to use RPG maker sadly enough.
New MZ Update! Subfolders for Assets, Search in Plugin Help, Map Layer Buttons | RPG Maker News #78

A little WIP I decided to drop for something coming in 10-12 hours!
9.PNG

Forum statistics

Threads
112,482
Messages
1,068,578
Members
146,149
Latest member
GlacierStangs
Top