• 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

mindbender12

Novice
Member
Joined
Jan 15, 2022
Posts
45
Just a stack level too deep error. Any idea what could be causing this problem?
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: SystemStackError
Message: stack level too deep

Backtrace:
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:13:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Just a stack level too deep error. Any idea what could be causing this problem?
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: SystemStackError
Message: stack level too deep

Backtrace:
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:13:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
[Arcky's Region Map] 010_RegionMap_Pokedex.rb:17:in `pbStartScene'
can you tell me when exactly do you get this error?
Also make sure you have the latest version of this plugin installed.
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
After Opening the Pokedex and selecting a Pokemon to look at.
do you have the latest version of my plugin installed? or maybe you have some restants of an older version in your plugin folder. it's strange that the error refers to a file that shouldn't be running on v21, the 011 file is for v21 and 010 is for v20. This is checked automatically by the script so you don't need to worry about it.
 

mindbender12

Novice
Member
Joined
Jan 15, 2022
Posts
45
Ok, I downloaded a new version, and am now running into two different issues. When I try to open a map, I get this error:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: RuntimeError
Message: Unknown ID 29.

Backtrace:
GameData:176:in `get'
[Arcky's Region Map] 000_RegionMap_Main.rb:948:in `block in getAvailableRegions'
[Arcky's Region Map] 000_RegionMap_Main.rb:946:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:946:in `getAvailableRegions'
[Arcky's Region Map] 001_RegionMap_ButtonPreview.rb:133:in `getAvailableActions'
[Arcky's Region Map] 001_RegionMap_ButtonPreview.rb:104:in `updateButtonInfo'
[Arcky's Region Map] 000_RegionMap_Main.rb:655:in `mapModeSwitchInfo'
[Arcky's Region Map] 000_RegionMap_Main.rb:125:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:112:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1259:in `pbStartScreen'

Also, The Pokedex now works, but the Region Map is blank. I've attached a photo of it below.
 

Attachments

  • Screenshot 2024-02-12 173542.png
    Screenshot 2024-02-12 173542.png
    9.6 KB · Views: 18
Last edited:

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Ok, I downloaded a new version, and am now running into two different issues. When I try to open a map, I get this error:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: RuntimeError
Message: Unknown ID 29.

Backtrace:
GameData:176:in `get'
[Arcky's Region Map] 000_RegionMap_Main.rb:948:in `block in getAvailableRegions'
[Arcky's Region Map] 000_RegionMap_Main.rb:946:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:946:in `getAvailableRegions'
[Arcky's Region Map] 001_RegionMap_ButtonPreview.rb:133:in `getAvailableActions'
[Arcky's Region Map] 001_RegionMap_ButtonPreview.rb:104:in `updateButtonInfo'
[Arcky's Region Map] 000_RegionMap_Main.rb:655:in `mapModeSwitchInfo'
[Arcky's Region Map] 000_RegionMap_Main.rb:125:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:112:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1259:in `pbStartScreen'

Also, The Pokedex now works, but the Region Map is blank.
I've never seen this issue before, I'll look into it tomorrow and let you know if I found a fix for it, I apologise for the trouble you're having with my plug-in.
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Ok, I downloaded a new version, and am now running into two different issues. When I try to open a map, I get this error:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: RuntimeError
Message: Unknown ID 29.

Backtrace:
GameData:176:in `get'
[Arcky's Region Map] 000_RegionMap_Main.rb:948:in `block in getAvailableRegions'
[Arcky's Region Map] 000_RegionMap_Main.rb:946:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:946:in `getAvailableRegions'
[Arcky's Region Map] 001_RegionMap_ButtonPreview.rb:133:in `getAvailableActions'
[Arcky's Region Map] 001_RegionMap_ButtonPreview.rb:104:in `updateButtonInfo'
[Arcky's Region Map] 000_RegionMap_Main.rb:655:in `mapModeSwitchInfo'
[Arcky's Region Map] 000_RegionMap_Main.rb:125:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:112:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1259:in `pbStartScreen'

Also, The Pokedex now works, but the Region Map is blank.
I've tried to look into this through my phone and my best guess and suggestion to you would be to double check if you have your mapmetadata.txt PBS file set-up correctly and if there are no empty maps in there. and as well check the same for the town_map.txt PBS file. In worst case copy them over from a fresh copy of Pokémon essentials.
 

mindbender12

Novice
Member
Joined
Jan 15, 2022
Posts
45
I've tried to look into this through my phone and my best guess and suggestion to you would be to double check if you have your mapmetadata.txt PBS file set-up correctly and if there are no empty maps in there. and as well check the same for the town_map.txt PBS file. In worst case copy them over from a fresh copy of Pokémon essentials.
It's not that. I tried removing the pluggin, and both issues went away. So it seems like its tied to the pluggin in someway to it.

And the blank page for the Pokedex is still present.

Edit: Fixed the Blank Pokedex page. Just the wrong image. Still running into Unknown ID 29 error when opening the map. Map 29 is defined, so not sure what's causing the issue:
#-------------------------------
[029] # MAP029
Name = Natural Park
MapPosition = 1,16,8
 
Last edited:

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
It's not that. I tried removing the pluggin, and both issues went away. So it seems like its tied to the pluggin in someway to it.

And the blank page for the Pokedex is still present.

Edit: Fixed the Blank Pokedex page. Just the wrong image. Still running into Unknown ID 29 error when opening the map. Map 29 is defined, so not sure what's causing the issue:
#-------------------------------
[029] # MAP029
Name = Natural Park
MapPosition = 1,16,8
I'll look into this once I'm home and hopefully let you know.
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Ok, I downloaded a new version, and am now running into two different issues. When I try to open a map, I get this error:
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.6]

Exception: RuntimeError
Message: Unknown ID 29.

Backtrace:
GameData:176:in `get'
[Arcky's Region Map] 000_RegionMap_Main.rb:948:in `block in getAvailableRegions'
[Arcky's Region Map] 000_RegionMap_Main.rb:946:in `each'
[Arcky's Region Map] 000_RegionMap_Main.rb:946:in `getAvailableRegions'
[Arcky's Region Map] 001_RegionMap_ButtonPreview.rb:133:in `getAvailableActions'
[Arcky's Region Map] 001_RegionMap_ButtonPreview.rb:104:in `updateButtonInfo'
[Arcky's Region Map] 000_RegionMap_Main.rb:655:in `mapModeSwitchInfo'
[Arcky's Region Map] 000_RegionMap_Main.rb:125:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:112:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1259:in `pbStartScreen'

Also, The Pokedex now works, but the Region Map is blank. I've attached a photo of it below.
I figured out the issue, check your map_metadata.txt pbs file and look if there's a map that has a faulty MapPosition defined. I set a map's MapPosition in mine to 29,13,12 and I got the same error as you have. This should fix this error for you.
 

mindbender12

Novice
Member
Joined
Jan 15, 2022
Posts
45
I figured out the issue, check your map_metadata.txt pbs file and look if there's a map that has a faulty MapPosition defined. I set a map's MapPosition in mine to 29,13,12 and I got the same error as you have. This should fix this error for you.
Yep, that was the problem! Thanks for the help!
 

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.3.0: Location Search and Fake Locations

Bug Fixes:
  • Fixed an issue with the District Counter crashing the game when the total Counter is 0.
  • Fixed the pathing for the Fly Icons.
Improvements:
  • Added a warning message incase a Game Map has a invalid Region number defined for it's MapPosition.
New Features:
  • Added a Location Searcher including a Filter as well to quickly find locations on the Region Map.
  • Added the possibility to set up fake...

Read the rest of this update entry...
 

Eaglit

Novice
Member
Joined
Dec 20, 2023
Posts
41
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]

Exception: NoMethodError
Message: undefined method `visible=' for nil:NilClass

Backtrace:
[Arcky's Region Map] 000_RegionMap_Main.rb:683:in `refreshFlyScreen'
[Arcky's Region Map] 000_RegionMap_Main.rb:125:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:109:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1153:in `pbStartScreen'
UI_Pokegear:168:in `block (2 levels) in <main>'
MessageConfig:575:in `pbFadeOutIn'
UI_Pokegear:165:in `block in <main>'
[Lin's Pokegear Themes] Pokegear_Main.rb:192:in `block in pbStartScreen'
[Lin's Pokegear Themes] Pokegear_Main.rb:186:in `loop'
[Lin's Pokegear Themes] Pokegear_Main.rb:186:in `pbStartScreen'

This happens whenever I open the map and I think it has something to do with the Pokegear
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]

Exception: NoMethodError
Message: undefined method `visible=' for nil:NilClass

Backtrace:
[Arcky's Region Map] 000_RegionMap_Main.rb:683:in `refreshFlyScreen'
[Arcky's Region Map] 000_RegionMap_Main.rb:125:in `main'
[Arcky's Region Map] 000_RegionMap_Main.rb:109:in `pbStartScene'
[Arcky's Region Map] 000_RegionMap_Main.rb:1153:in `pbStartScreen'
UI_Pokegear:168:in `block (2 levels) in <main>'
MessageConfig:575:in `pbFadeOutIn'
UI_Pokegear:165:in `block in <main>'
[Lin's Pokegear Themes] Pokegear_Main.rb:192:in `block in pbStartScreen'
[Lin's Pokegear Themes] Pokegear_Main.rb:186:in `loop'
[Lin's Pokegear Themes] Pokegear_Main.rb:186:in `pbStartScreen'

This happens whenever I open the map and I think it has something to do with the Pokegear
Are you sure you are using the latest version of this plugin because i can't seem to find this line that your error is referring to.
Also makes sure you have copied all the graphic files from the plugin into your game so there are no missing graphic files that could cause any issues
 

Desbrina

Trainer
Member
Joined
May 3, 2021
Posts
83
There seems to be some weirdness when it comes to viewing berry information. It seems to think there's 1 less plant on a map than there actually is.

If I've planted 1 berry, it doesn't react when you press use
If I've planted 2 berries, it only shows the first planted as an option
If I've planted 3, it shows only the first two

See the attachment, shows 3 planted, but only two options. All 3 are different berries as well.
 

Attachments

  • Screenshot 2024-02-17 at 19.14.24.png
    Screenshot 2024-02-17 at 19.14.24.png
    69.2 KB · Views: 23

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
There seems to be some weirdness when it comes to viewing berry information. It seems to think there's 1 less plant on a map than there actually is.

If I've planted 1 berry, it doesn't react when you press use
If I've planted 2 berries, it only shows the first planted as an option
If I've planted 3, it shows only the first two

See the attachment, shows 3 planted, but only two options. All 3 are different berries as well.
hmmm it indeed says 3 berries planted but only shows 2. Really weird indeed, I'll look into it and let you know if I found a solution
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
There seems to be some weirdness when it comes to viewing berry information. It seems to think there's 1 less plant on a map than there actually is.

If I've planted 1 berry, it doesn't react when you press use
If I've planted 2 berries, it only shows the first planted as an option
If I've planted 3, it shows only the first two

See the attachment, shows 3 planted, but only two options. All 3 are different berries as well.
Thanks for reporting this issue, I'll provide here the fix, it will be included in the next update along with a new feature/addition I'm currently working on.
in 006_RegionMap_BerryPreview.rb look for this method on line 141:
Ruby:
Expand Collapse Copy
def getCurrentBerryInfo(lastchoiceBerries)
and look for line 144 and replace
Ruby:
Expand Collapse Copy
      choice = messageMap(_INTL("Which berry would you like to view info about?"),
      @berryPlants.keys[0...-1].map { |berry|
        next "#{pbGetMessageFromHash(SCRIPTTEXTS, GameData::Item.get(berry).name)}"
      }, -1, nil, lastchoiceBerries) { pbUpdate }
with this
Ruby:
Expand Collapse Copy
      choice = messageMap(_INTL("Which berry would you like to view info about?"),
      @berryPlants.keys.map { |berry|
        next "#{pbGetMessageFromHash(SCRIPTTEXTS, GameData::Item.get(berry).name)}"
      }, -1, nil, lastchoiceBerries) { pbUpdate }
And in the meantime I noticed a bug with the berry preview as well.
in 002_RegionMap_PreviewBox.rb look for this method on line 114:
Ruby:
Expand Collapse Copy
def hidePreviewBox
and look for line 134 and replace
Ruby:
Expand Collapse Copy
elsif @previewMode == 2
with this
Ruby:
Expand Collapse Copy
elsif @previewMode == 2 || @previewMode == 3
 

Arcky

Arcky's Region Map Developer
Member
Joined
Aug 18, 2022
Posts
230
Thanks, that's fixed it if there's two or more plants, but still doesn't work for just one
oh that's strange, I'll look into it again tomorrow. But when there's just 1, it doesnt give the choice menu, it just opens the preview immidiatly if that's what you mean? (edit: nvm it doesn't open it when there's just 1, I never noticed that)
 
Back
Top