• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
[v20.1\v21.1] Arcky's Region Map

Resource [v20.1\v21.1] Arcky's Region Map v3.0.0

komeiji514

Elite Trainer
Member
Joined
Oct 28, 2023
Posts
267
Now comes another problem. When I try to see Area of a Pokémon that is on the list of encounters the game crashes.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[Arcky's Region Map] 011_RegionMap_Pokedex_v211.rb:98:in `block in pbGetEncounterPoints'
Encounter:55:in `block in each_of_version'
Encounter:47:in `block in each'
Encounter:47:in `each'
Encounter:47:in `each'
Encounter:54:in `each_of_version'
[Arcky's Region Map] 011_RegionMap_Pokedex_v211.rb:92:in `pbGetEncounterPoints'
[Arcky's Region Map] 011_RegionMap_Pokedex_v211.rb:134:in `drawPageArea'
[Modular UI Scenes] [001] Pokedex Handlers.rb:32:in `block in <main>'
[Modular UI Scenes] UI Module.rb:51:in `call'
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Now comes another problem. When I try to see Area of a Pokémon that is on the list of encounters the game crashes.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[Arcky's Region Map] 011_RegionMap_Pokedex_v211.rb:98:in `block in pbGetEncounterPoints'
Encounter:55:in `block in each_of_version'
Encounter:47:in `block in each'
Encounter:47:in `each'
Encounter:47:in `each'
Encounter:54:in `each_of_version'
[Arcky's Region Map] 011_RegionMap_Pokedex_v211.rb:92:in `pbGetEncounterPoints'
[Arcky's Region Map] 011_RegionMap_Pokedex_v211.rb:134:in `drawPageArea'
[Modular UI Scenes] [001] Pokedex Handlers.rb:32:in `block in <main>'
[Modular UI Scenes] UI Module.rb:51:in `call'
That's because you're probably trying this from a game map that has no map location defined. This should be defined for every single game map in your game, it says so in the documentation as well.
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Arcky updated [v20.1\v21.1] Arcky's Region Map with a new update entry:

v2.1.1: Bug fixes

I know its a small update but the fix is pretty important.
Bug fixes:
  • Fixed an issue with the highlight images positions not being correctly calculated by the script (reported by @sorryjzargo).
Improvements:
  • Added an error message in the pokedex script that tells you when there's no map metadata for a game map that you're opening the pokedex from. This will still crash the game but at least you'll know why...

Read the rest of this update entry...
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
547
I like that you've added warnings for certain build situations! I started doing that too in my own plugins. Hoping that reduces the number of posts from folks all facing similar issues
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
It's from your plugin that I got the idea 😅 and ye I hope they'll do
 

pkmnacademia

Trainer
Member
Joined
Mar 24, 2023
Posts
53
With the quest system compatibility, is there support for multiple quests at one location?
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
With the quest system compatibility, is there support for multiple quests at one location?
Yes, of course, it'll give a choice menu for which one you want to view. Pressing the same button again will give you the choice menu again so you can view another quest eventually.
 

PikaPixels

Rookie
Member
Joined
Jan 18, 2024
Posts
3
Hey everyone! I think I'm installing the plugin wrong but I'm not sure which step I'm missing, can someone help guide me in the right direction please?
I've copied the townmapgen file and both the graphic & plugin folders over to my game root file. I'm still getting this error whenever I try to load the map from the Pokenav or an event.

[2024-01-18 00:43:07 -0500]
[Pokémon Essentials version 21.1]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `block (2 levels) in getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `find'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `block in getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:247:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:247:in `getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:103:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:97:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1137:in `pbStartScreen'
UI_Pokegear:168:in `block (2 levels) in <main>'
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Hey everyone! I think I'm installing the plugin wrong but I'm not sure which step I'm missing, can someone help guide me in the right direction please?
I've copied the townmapgen file and both the graphic & plugin folders over to my game root file. I'm still getting this error whenever I try to load the map from the Pokenav or an event.

[2024-01-18 00:43:07 -0500]
[Pokémon Essentials version 21.1]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `block (2 levels) in getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `find'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `block in getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:247:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:247:in `getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:103:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:97:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1137:in `pbStartScreen'
UI_Pokegear:168:in `block (2 levels) in <main>'
Hey, thanks for reporting this issue, I'll look into it once I'm home but for now. Are you sure you're opening this map from a game map that has a map position defined?
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Hey, thanks for reporting this issue, I'll look into it once I'm home but for now. Are you sure you're opening this map from a game map that has a map position defined?
Edit: the issue seems to be that you don't have a highlight image defined in the PBS for each location, you can just add a place holder image for now to fix this issue
 

ConfuzzledCottonee

Novice
Member
Joined
Nov 28, 2023
Posts
13
Do you have any advice for actually making the map so that it aligns properly with the tool? I've made a region map and the relevant highlight files, but they all seem to be misaligned when they highlight. It's not an issue with the module, I'm 100% sure it's just me not aligning the map right, but i'm not sure the best way about re-drawing it to avoid that.
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Do you have any advice for actually making the map so that it aligns properly with the tool? I've made a region map and the relevant highlight files, but they all seem to be misaligned when they highlight. It's not an issue with the module, I'm 100% sure it's just me not aligning the map right, but i'm not sure the best way about re-drawing it to avoid that.
I would need to see your images first. You can direct message me here on relic or DM me on discord
 

Desbrina

Trainer
Member
Joined
May 3, 2021
Posts
83
I've got a question and need some assistance with defining a location information.

I have it set so that unvisited location names are shown, which works for towns, but is it possible to hide route names as well?

I'm having some trouble trying to define location information for a route in my game, it keeps saying wrong constant name. The town works fine.

It's defined in my town_map.txt file as "Route 1", in the 001_RegionMap_LocationInfo.rb file as Route1


Screenshot 2024-01-18 at 19.13.50.png

Screenshot 2024-01-18 at 19.16.24.png
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
I've got a question and need some assistance with defining a location information.

I have it set so that unvisited location names are shown, which works for towns, but is it possible to hide route names as well?

I'm having some trouble trying to define location information for a route in my game, it keeps saying wrong constant name. The town works fine.

It's defined in my town_map.txt file as "Route 1", in the 001_RegionMap_LocationInfo.rb file as Route1


View attachment 24149
View attachment 24150
Hey, the issue seems to be the quotes (" ") in the PBS, remove those and it'll be fixed. Quotes are not needed in the PBS files (I didn't know this myself first) I hope this helps :)
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Now comes another problem. When I try to see Area of a Pokémon that is on the list of encounters the game crashes.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[Arcky's Region Map] 011_RegionMap_Pokedex_v211.rb:98:in `block in pbGetEncounterPoints'
Encounter:55:in `block in each_of_version'
Encounter:47:in `block in each'
Encounter:47:in `each'
Encounter:47:in `each'
Encounter:54:in `each_of_version'
[Arcky's Region Map] 011_RegionMap_Pokedex_v211.rb:92:in `pbGetEncounterPoints'
[Arcky's Region Map] 011_RegionMap_Pokedex_v211.rb:134:in `drawPageArea'
[Modular UI Scenes] [001] Pokedex Handlers.rb:32:in `block in <main>'
[Modular UI Scenes] UI Module.rb:51:in `call'
Hey, if your still having this error, a fix is on it's way along v2.2 coming after next week, you can solve it for now by assigning an image to every location. You can just use a place holder image if you want or an image that doesn't exist, this won't crash the game. I hope this helped you out
 

komeiji514

Elite Trainer
Member
Joined
Oct 28, 2023
Posts
267
Hey, if your still having this error, a fix is on it's way along v2.2 coming after next week, you can solve it for now by assigning an image to every location. You can just use a place holder image if you want or an image that doesn't exist, this won't crash the game. I hope this helped you out
It's safe now.
 

AshTanvir1010

Rookie
Member
Joined
Apr 30, 2023
Posts
9
Can anyone help me. I am still using the default essentials map and got this error after installing the plugin

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `block (2 levels) in getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `find'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `block in getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:247:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:247:in `getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:103:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:97:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1137:in `pbStartScreen'
UI_Pokegear:168:in `block (2 levels) in <main>'
 

Jangajinx

An Overly Ambitious Developer
Member
Joined
Apr 21, 2023
Posts
213
Can anyone help me. I am still using the default essentials map and got this error after installing the plugin

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `block (2 levels) in getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `find'
[Arcky's Region Map] 000_RegionMap_Main.rb:266:in `block in getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:247:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:247:in `getMapObject'
[Arcky's Region Map] 000_RegionMap_Main.rb:103:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:97:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1137:in `pbStartScreen'
UI_Pokegear:168:in `block (2 levels) in <main>'
I suggest reading the PBS instructions and using the towmmapgen.html file. That is what I used and it fixed the issue.
 

Jangajinx

An Overly Ambitious Developer
Member
Joined
Apr 21, 2023
Posts
213
Getting this error when I check any location with the interaction key, not sure what I am doing wrong.

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.5]

Exception: NameError
Message: wrong constant name "LappetTown"

Backtrace:
[Arcky's Region Map] 003_RegionMap_LocationPreview.rb:46:in `const_defined?'
[Arcky's Region Map] 003_RegionMap_LocationPreview.rb:46:in `getLocationInfo'
[Arcky's Region Map] 000_RegionMap_Main.rb:779:in `block in pbMapScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:745:in `loop'
[Arcky's Region Map] 000_RegionMap_Main.rb:745:in `pbMapScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1138:in `pbStartScreen'
300:UI_Pokegear:168:in `block (2 levels) in <main>'
079:MessageConfig:575:in `pbFadeOutIn'
300:UI_Pokegear:165:in `block in <main>'
[Lin's Pokegear Themes] Pokegear_Main.rb:192:in `block in pbStartScreen'
 

PikaPixels

Rookie
Member
Joined
Jan 18, 2024
Posts
3
Edit: the issue seems to be that you don't have a highlight image defined in the PBS for each location, you can just add a place holder image for now to fix this issue
Thanks this worked!! I appreciate your help!
 
Back
Top