• 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

phantombass

Elite Trainer
Member
Joined
Sep 21, 2020
Posts
251
phantombass submitted a new resource:

DexNav UI - A new DexNav UI that works much like ORAS

A plug-and-play DexNav UI that allows for setting Egg Moves and Hidden Abilities as well as increasing the shiny chance as your DexNav chain grows.

Ruby:
Expand Collapse Copy
PluginManager.register({
  :name => "Better DexNav",
  :version => "1.0",
  :credits => ["Phantombass","Pieces taken from multiple sources, will link soon."],
  :link => "No link yet"
})

class NewDexNav
  def initialize
    @viewport1 = Viewport.new(0, 0, Graphics.width, Graphics.height)
    @viewport1.z = 99999
    @viewport2 =...

Read more about this resource...
 

Nomi

Trainer
Member
Joined
Feb 24, 2018
Posts
77
Looks like it only shows the icons as Shiny. Also, I suggest making the icons blacked out if they haven't been found like the DexNav just gives silhouettes?
 

King_Shooffyy16

Rookie
Member
Joined
Jan 6, 2021
Posts
1
I'm sorry I'm still having problems adding in the script how do equip it or make it a function in the pokegear.
 

Allan5829

Rookie
Member
Joined
Jan 28, 2018
Posts
5
Hi phantombass, I've been using the resource and made some changes to the script. Some of them include fixing bugs and editing values so pokemon names aren't cut off, while other changes are features I wanted to add as well as some personalized ones.

Would you be interested to look at what I have to see if you want to update this resource? It's no problem if you don't want to but I figured I would ask you since I put some time into it. There are probably enough changes that I could make my version into a resource as an add-on to yours but depends on you.

There's also a weird bug where $viewport1 stays displayed after battle/map change but it's inconsistent as to when it happens. One solution is sleep(x time) then dispose but that freezes the player for that duration of time which isn't ideal. I was trying to find a function in Ruby that is like setTimeout() in Javascript. Run x code after y time passes.
 

phantombass

Elite Trainer
Member
Joined
Sep 21, 2020
Posts
251
phantombass updated DexNav UI with a new update entry:

DexNav 2.0

The Dexnav is now updated for Pokémon Essentials v19!

To install, simply add the 2 scripts IN ORDER above Main, and copy the graphics folder to your game folder.

This currently allows for 12 different encounters per map, but can be updated to accommodate up to 21. Seeing as most maps do not have more than 12 encounters anyway, this should suffice. If you want to expand, just expand the section of the script with Lengths referenced and change it to whatever you wish as long as it is...

Read the rest of this update entry...
 

briochhe

Rookie
Member
Joined
May 31, 2021
Posts
7
Well I was able to put it in my Pokegear, but first I got a error with the "sandy encounter", I was able to fix it but now I'm getting a lot of errors when I try to search for a pokemon, unfortunately this seems beyond my actual knowledge to solve.

EDIT: Well its odd that I figured out this bug is happening to Ditto. (of course I was not able to test with all pokémon)
 

Attachments

  • 1624987566079.png
    1624987566079.png
    377.8 KB · Views: 292
Last edited:

Yung Rocks

Rookie
Member
Joined
Nov 8, 2020
Posts
2
Hello Phantombass, I'm discovering your script, and it seems to me the download offers us the 2.0 version, where Squirtle still shows up if there are no encounters.
 

Ignitus

Charizard X trainer
Member
Joined
Aug 29, 2021
Posts
46
I must say this is my favourite one but I know with the new format of essentials it has to go in plugins or am I wrong so I went and create a folder put those rb together and wait untill the compiling is complete but when I select the dexnav option while in a field for encounters it just gives a error.

Code:
Expand Collapse Copy
[Pokémon Essentials version 19.1]
[Generation 8 Project v1.0.4]
[v19.1 Hotfixes 1.0.7]
[EBDX v1.1.6]

Exception: NoMethodError
Message: undefined method `has_sandy_encounters?' for #<PokemonEncounters>

Backtrace:
[Dex Nav] script1.rb:199:in `getEncData'
[Dex Nav] script1.rb:19:in `initialize'
[Dex Nav] script2.rb:217:in `new'
[Dex Nav] script2.rb:217:in `block (2 levels) in pbStartPokemonMenu'
MessageConfig:566:in `pbFadeOutIn'
[Dex Nav] script2.rb:212:in `block in pbStartPokemonMenu'
[Dex Nav] script2.rb:144:in `loop'
[Dex Nav] script2.rb:144:in `pbStartPokemonMenu'
Scene_Map:102:in `call_menu'
Scene_Map:197:in `update'

I dont get it where is this sandy encounter?
 

Attachments

  • Capture.PNG
    Capture.PNG
    115.2 KB · Views: 201
Last edited:

Ignitus

Charizard X trainer
Member
Joined
Aug 29, 2021
Posts
46
Well I was able to put it in my Pokegear, but first I got a error with the "sandy encounter", I was able to fix it but now I'm getting a lot of errors when I try to search for a pokemon, unfortunately this seems beyond my actual knowledge to solve.

EDIT: Well its odd that I figured out this bug is happening to Ditto. (of course I was not able to test with all pokémon)
Ok so did yours work as mine was not

Edit: It worked but you cannot use it outside of a patch of grass I havent tested if it works in caves :(

Edit by moderator to merge posts:

So I tested to search for Rattata but when searching for Pidgey just as an example this happens :


[Pokémon Essentials version 19.1]
[Generation 8 Project v1.0.4]
[v19.1 Hotfixes 1.0.7]

Exception: ArgumentError
Message: Invalid argument passed to method.
Expected nil to be a Pokemon::Move, but got NilClass.

Backtrace:
Validation:29:in `validate'
PokeBattle_Move:51:in `from_pokemon_move'
Battler_Initialize:104:in `block in pbInitPokemon'
Battler_Initialize:99:in `each'
Battler_Initialize:99:in `each_with_index'
Battler_Initialize:99:in `pbInitPokemon'
ShadowPokemon_Other:193:in `pbInitPokemon'
[Lavender Town Ghosts] 2 - Battle.rb:154:in `pbInitPokemon'
Battler_Initialize:68:in `pbInitialize'
Battle_StartAndEnd:113:in `pbCreateBattler'
I tested with Caterpie,Metapod and well guess its just not easy to spot the errors

[Pokémon Essentials version 19.1]
[Generation 8 Project v1.0.4]
[v19.1 Hotfixes 1.0.7]

Exception: RuntimeError
Message: Unknown ID -.

Backtrace:
GameData:32:in `get'
[Dex Nav] script1.rb:372:in `main2'
[Dex Nav] script1.rb:339:in `main'
[Dex Nav] script1.rb:63:in `initialize'
[Dex Nav] script1.rb:713:in `new'
[Dex Nav] script1.rb:713:in `block (2 levels) in pbStartPokemonMenu'
MessageConfig:566:in `pbFadeOutIn'
[Dex Nav] script1.rb:708:in `block in pbStartPokemonMenu'
[Dex Nav] script1.rb:640:in `loop'
[Dex Nav] script1.rb:640:in `pbStartPokemonMenu'

How do I fix it or should I simply avoid going and first catch the specie?
Dont know

[Pokémon Essentials version 19.1]
[Generation 8 Project v1.0.4]
[v19.1 Hotfixes 1.0.7]

Exception: NoMethodError
Message: undefined method `has_sandy_encounters?' for #<PokemonEncounters>

Backtrace:
[Dex Nav] script1.rb:199:in `getEncData'
[Dex Nav] script1.rb:19:in `initialize'
[Dex Nav] script1.rb:713:in `new'
[Dex Nav] script1.rb:713:in `block (2 levels) in pbStartPokemonMenu'
MessageConfig:566:in `pbFadeOutIn'
[Dex Nav] script1.rb:708:in `block in pbStartPokemonMenu'
[Dex Nav] script1.rb:640:in `loop'
[Dex Nav] script1.rb:640:in `pbStartPokemonMenu'
Scene_Map:102:in `call_menu'
Scene_Map:197:in `update'

I havent tested if it works in caves but that Im afraid to its really gonna be the same
 
Last edited by a moderator:

phantombass

Elite Trainer
Member
Joined
Sep 21, 2020
Posts
251
I apologize I haven't been able to see all of these. I will try to have an update for this soon.
 

JanMarx

Rookie
Member
Joined
Aug 26, 2021
Posts
3
1649253442562.png

I had this error, just pasted the codes above main, like this:
1649253598133.png
 
Back
Top