• 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.
Resource icon

Resource DexNav UI 2023-08-03

komeiji514

Elite Trainer
Member
Joined
Oct 28, 2023
Posts
267
When I use the dex nav and check a route without encounters the window just freezes. You're unable to leave the screen. But hey at least it doesn't crash anymore. I can hear the music still going but nothing happens no matter what key I press.
Me too.
 

komeiji514

Elite Trainer
Member
Joined
Oct 28, 2023
Posts
267
DexNav call PokemonPauseMenu to catch inputs, if no last input Dexnav set it to -1 wich is a valid value for Voltseon Menu (forcing choose 1st option wich is Pokedex)..
But the real incompatibility come when have an active search with Dexnav.. the Information Search not show properly.

Need work to make this plugins compatible.
I avoid this by putting it in Pokegear.
 

komeiji514

Elite Trainer
Member
Joined
Oct 28, 2023
Posts
267
When player faces the water or surfing this bug happens.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]

Exception: ArgumentError
Message: Invalid argument passed to method.
Expected 6 to be one of [Symbol, GameData::Species, String], but got Integer.

Backtrace:
015:Validation:29:in `validate'
100:GameData:100:in `get'
[New DexNav] Script.rb:202:in `block in getEncData'
[New DexNav] Script.rb:199:in `each'
[New DexNav] Script.rb:199:in `getEncData'
[New DexNav] Script.rb:25:in `initialize'
[New DexNav] Script.rb:655:in `new'
[New DexNav] Script.rb:655:in `block (2 levels) in <main>'
079:MessageConfig:575:in `pbFadeOutIn'
[New DexNav] Script.rb:649:in `block in <main>'
 

NandoWitcher

Rookie
Member
Joined
Jan 11, 2023
Posts
2
I have a problem with this dexnav plugin, where it keeps c pressed and opens and closes Voltseon's Pause Menu by itself, how do I solve this?
 

komeiji514

Elite Trainer
Member
Joined
Oct 28, 2023
Posts
267
When player faces the water or surfing this bug happens.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]

Exception: ArgumentError
Message: Invalid argument passed to method.
Expected 6 to be one of [Symbol, GameData::Species, String], but got Integer.

Backtrace:
015:Validation:29:in `validate'
100:GameData:100:in `get'
[New DexNav] Script.rb:202:in `block in getEncData'
[New DexNav] Script.rb:199:in `each'
[New DexNav] Script.rb:199:in `getEncData'
[New DexNav] Script.rb:25:in `initialize'
[New DexNav] Script.rb:655:in `new'
[New DexNav] Script.rb:655:in `block (2 levels) in <main>'
079:MessageConfig:575:in `pbFadeOutIn'
[New DexNav] Script.rb:649:in `block in <main>'
Has anyone also encountered this bug? I am curious about how to fix so that I can still use it.
 

ThatsSoWitty

Rookie
Member
Joined
Aug 11, 2024
Posts
4
Unfortunately, I can't get this resource to work without having the game continuously press the "use" button once I open up the menu in 21.1. I have had to remove it for the time being but I'm looking forward to seeing where this goes in the future
 

Ghasty_001

Rookie
Member
Joined
Jun 21, 2024
Posts
5
So... I wanted to use your plugin.
But I had to spend a good 30 minutes to bug.fix it to not freeze/close directly when I am in a no-encounter area.

But even then, I got to discover ALL of the area show no encounters. even if I'm in a cave where if I walk around I find stuff. Do you happen to know the problem?
 

bmanproll

Rookie
Member
Joined
Sep 24, 2024
Posts
1
Disclaimer: I’m still learning, but
I believe I’ve resolved the freezing issue related to encounters and successfully disabled the DexNav in the Safari Zone. The freezing was caused by pbWait(24), which you can modify to a lower value if desired, or simply remove it altogether as I did.

Here's the code snippet I used to handle encounters:
"if $no_enc != 0
pbMessage(_INTL("Looks like there aren't any Pokémon around."))
@viewport1.dispose
@viewport3.dispose
end"

To disable the DexNav in the Safari Zone, I added this check in the MenuHandlers section:
"MenuHandlers.add(:pause_menu, :dexnav, {
"name" => _INTL("DexNav"),
"order" => 45,
"condition" => proc { next Settings::DEXNAV_ACTIVE && !pbInSafari? }
...."

Hopefully that helps some people. I didn't encounter any issues with surfing while using the DexNav, so I don't have any fixes for that
 

Nova Ozuka

Novice
Member
Joined
Apr 15, 2022
Posts
31
So a couple of things. This first one is more of a nitpick, but I wouldn't put the Graphics folder in the same folder as the script. I'd put the script and meta file inside of a folder in the Plugins folder. Not your fault that I saw the graphics folder and left it in when I copied the folder to my Plugin's folder, but I can see other people just never checking it and then dragging and dropping and then not knowing why the game crashes afterward when trying to use use DexNav.

Second, and this is an actual problem, I pull up the Dex Nav, and none of the encounters are showing. Doesn't matter if I'm standing in the grass or just outside it. Between LandMorning, LandDay, and LandNight, there's a total of 16 Pokemon different on the route I'm on, and none of them are showing up. Dex Nav also kind of just freezes before closing. Not sure what that's about, but it was long enough to make me think I needed to soft reset

Edit: seems there's a problem with the route rather than the DexNav as I haven't run into anything even after removing it. Haven't tested it anywhere else It still takes a minute for it to close when there's no encounter.
 
Last edited:

Nova Ozuka

Novice
Member
Joined
Apr 15, 2022
Posts
31
I've noticed that DexNav not showing me everything found in a location now that I've gotten to use it. It only displayed 4 encounters in one area when I was running into I also got these two errors while testing it in different locations.

=================

[2024-10-25 21:25:04 -0500]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: ArgumentError
Message: Invalid argument passed to method.
Expected 10 to be one of [Symbol, GameData::Species, String], but got Integer.

Backtrace:
Validation:29:in `validate'
GameData:100:in `get'
[New DexNav] Script.rb:202:in `block in getEncData'
[New DexNav] Script.rb:199:in `each'
[New DexNav] Script.rb:199:in `getEncData'
[New DexNav] Script.rb:25:in `initialize'
[New DexNav] Script.rb:654:in `new'
[New DexNav] Script.rb:654:in `block (2 levels) in <main>'
MessageConfig:575:in `pbFadeOutIn'
[New DexNav] Script.rb:648:in `block in <main>'

=================

[2024-10-25 21:26:48 -0500]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: ArgumentError
Message: Invalid argument passed to method.
Expected 7 to be one of [Symbol, GameData::Species, String], but got Integer.

Backtrace:
Validation:29:in `validate'
GameData:100:in `get'
[New DexNav] Script.rb:202:in `block in getEncData'
[New DexNav] Script.rb:199:in `each'
[New DexNav] Script.rb:199:in `getEncData'
[New DexNav] Script.rb:25:in `initialize'
[New DexNav] Script.rb:654:in `new'
[New DexNav] Script.rb:654:in `block (2 levels) in <main>'
MessageConfig:575:in `pbFadeOutIn'
[New DexNav] Script.rb:648:in `block in <main>'

My best guess? It has something to do with Lin's Weather System.
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
547
I've noticed that DexNav not showing me everything found in a location now that I've gotten to use it. It only displayed 4 encounters in one area when I was running into I also got these two errors while testing it in different locations.

=================

[2024-10-25 21:25:04 -0500]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: ArgumentError
Message: Invalid argument passed to method.
Expected 10 to be one of [Symbol, GameData::Species, String], but got Integer.

Backtrace:
Validation:29:in `validate'
GameData:100:in `get'
[New DexNav] Script.rb:202:in `block in getEncData'
[New DexNav] Script.rb:199:in `each'
[New DexNav] Script.rb:199:in `getEncData'
[New DexNav] Script.rb:25:in `initialize'
[New DexNav] Script.rb:654:in `new'
[New DexNav] Script.rb:654:in `block (2 levels) in <main>'
MessageConfig:575:in `pbFadeOutIn'
[New DexNav] Script.rb:648:in `block in <main>'

=================

[2024-10-25 21:26:48 -0500]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: ArgumentError
Message: Invalid argument passed to method.
Expected 7 to be one of [Symbol, GameData::Species, String], but got Integer.

Backtrace:
Validation:29:in `validate'
GameData:100:in `get'
[New DexNav] Script.rb:202:in `block in getEncData'
[New DexNav] Script.rb:199:in `each'
[New DexNav] Script.rb:199:in `getEncData'
[New DexNav] Script.rb:25:in `initialize'
[New DexNav] Script.rb:654:in `new'
[New DexNav] Script.rb:654:in `block (2 levels) in <main>'
MessageConfig:575:in `pbFadeOutIn'
[New DexNav] Script.rb:648:in `block in <main>'

My best guess? It has something to do with Lin's Weather System.
Why do you think it's the weather system? You're passing numbers instead of species names somewhere in your encounter definitions I think. Can you show the encounter definitions for the maps that see this crash?
 

Nova Ozuka

Novice
Member
Joined
Apr 15, 2022
Posts
31
Since I've been using the built in PBS editor for encounters, that rules out any mistake I've made. There's also the fact that LandDay and LandNight encounters haven't been working. I wouldn't know about LandMorning, but I can assume that one is also being broken by something. Since I've already ruled out DexNav, the only likely suspect is the Weather System since that adds weather based encounters, which I'm not even using yet. These are the two places where I ran into an error.
#-------------------------------
[010] # Route 1
Land,21
35,PIDGEY,2,4
25,RATTATA,2
15,SENTRET,3
10,SHINX,2,3
5,FURRET,6
5,MINUN,3
5,PLUSLE,2
LandNight,21
35,HOOTHOOT,2,4
30,RATTATA,2,3
15,RATTATA,6
10,POOCHYENA,2,3
10,SHINX,2,3
#-------------------------------
[049] # Route 22
Land,21
20,RATTATA,3
20,SPEAROW,5
20,SPEAROW,3
10,DODUO,5
5,BIDOOF,5
5,BUIZEL,3
5,FEAROW,7
5,PONYTA,5
5,WHISMUR,3
5,ZIGZAGOON,5
LandNight,21
60,RATTATA,3,5
15,RATTATA,7
5,BIDOOF,5
5,BUIZEL,3
5,PONYTA,5
5,WHISMUR,3
5,ZIGZAGOON,5
Water,2
90,POLIWAG,5,10
10,POLIWHIRL,10
OldRod,2
85,MAGIKARP,10
15,POLIWAG,10
GoodRod,2
60,MAGIKARP,20
40,POLIWAG,20
SuperRod,2
80,POLIWAG,40
20,MAGIKARP,40
For Route 1, the only place that 10 even appears besides map ID is encounter chance. For Route 22, 7 only appears in encounter level, so the supposedly offending number isn't even in the same spot, and those places are the correct spot for a number anyway. There's nothing really here that's wrong that wouldn't also be wrong anywhere else I've tried using the DexNav. Even if there was something wrong with those encounters, it wouldn't explain daynight cycle encounters being broken as the DexNav displays the correct encounters despite the game using the wrong encounter table.
 

LinKazamine

Champion
Member
Joined
May 24, 2023
Posts
674
You can see if my plugin is responsible by taking out the 03 - Weather Encounters folder. Though if my plugin is responsible I don't know why those errors happened since they don't seem to be related to my edits.
 

Nova Ozuka

Novice
Member
Joined
Apr 15, 2022
Posts
31
I got this error again even without the weather system, so i have no idea what's going on anymore.



=================

[2024-11-08 21:38:06 -0600]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: ArgumentError
Message: Invalid argument passed to method.
Expected 7 to be one of [Symbol, GameData::Species, String], but got Integer.

Backtrace:
Validation:29:in `validate'
GameData:100:in `get'
[New DexNav] Script.rb:202:in `block in getEncData'
[New DexNav] Script.rb:199:in `each'
[New DexNav] Script.rb:199:in `getEncData'
[New DexNav] Script.rb:25:in `initialize'
[New DexNav] Script.rb:654:in `new'
[New DexNav] Script.rb:654:in `block (2 levels) in <main>'
MessageConfig:575:in `pbFadeOutIn'
[New DexNav] Script.rb:648:in `block in <main>'
 

Nova Ozuka

Novice
Member
Joined
Apr 15, 2022
Posts
31
And now I have some new information on whatever bug is making the game crash. I got the same kind of error on my game's Route 2, just with a different number. I opened DexNav last night and had it work fine for that route. This time, it for sure has something to do with Land encounters because it certainly wasn't Morning or Night, and I haven't been using LandDay on that route. Comparing the three encounter tables, that's the only thing consistent that I see, but only for the first three places I've run into that issue. Everywhere else seems fine so far besides Diglett's Cave which has the smallest encounter table in the whole game.

I should also mention that it does not display LandDay encounters, and I suspect that the same may be true for Afternoon and Evening.
 
Back
Top