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,030
Reaction score
1,504
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,030
Reaction score
1,504
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

E7DsT3VXsAInVpu

working on my avatar, because i couldn't stand looking at it anymore :D
still not finished though...
alpacaraptors = love!
''Finds icons that fits the game you're making'' Only covers 20% of what you need :p
I'm very manic-y right now. I didn't sleep and I wanted to get a bunch of stuff done, but didn't get anything done except the bare bones concept for a POSSIBLE game.
And I can't sleep now because I'm probably gonna be hanging out with my brother and I gotta discuss a bunch of BroCoG (our game group) junk with him plus it's far to late to sleep NOW.
poppetQuestBarryApproaches.jpg
While I wait for judging, I decided to start adding more "friends" to my attic. :LZSgrin:

I swear I need a whole sound pack of menacing squeaky toy noises. :kaoswt:
I can't believe I actually managed to stay motivated for the whole Game Jam duration (1 month!), definitely will be taking a break after this :0

Forum statistics

Threads
113,582
Messages
1,075,997
Members
147,567
Latest member
jjchua
Top