Resource icon

Resource DexNav UI 2023-08-03

phantombass

Cooltrainer
Member
Joined
Sep 21, 2020
Posts
144
Age
31
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:
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

Cooltrainer
Member
Joined
Feb 24, 2018
Posts
164
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
Age
26
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

Cooltrainer
Member
Joined
Sep 21, 2020
Posts
144
Age
31
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
Age
31
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: 215
Last edited:

Yung Rocks

Rookie
Member
Joined
Nov 8, 2020
Posts
2
Age
26
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.
 

Immersivegenix

Charizard X trainer
Member
Joined
Aug 29, 2021
Posts
45
Age
27
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:
[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: 130
Last edited:

Immersivegenix

Charizard X trainer
Member
Joined
Aug 29, 2021
Posts
45
Age
27
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:
Top