• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Gen 6 Pokemon + Mega Evolution for Essentials v17

Ego13

hollow_ego
311
Posts
6
Years
have u done gen 7 yet i have them in a pbs file but i just need to add the new edits for it to work in 17 but i dont know what to do can i send u the file to fix and upload for everyone

We are working on thread for most of gen 7 stuff including pbs files and stuff.
In the meantime feel free to ask for help with your files if you are having any trouble :)
 

MultiverseGuardian

Leader of the Neo Pheonix
7
Posts
6
Years
got an error, can ya help?

---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Field Monster is not a positive integer

File PBS/pokemon.txt, section 2, key Compatibility

Monster,Grass



Compiler:219:in `csvPosInt!'

Compiler:2331:in `pbCompilePokemonData'

Compiler:2314:in `each'

Compiler:2314:in `pbCompilePokemonData'

Compiler:2312:in `loop'

Compiler:2390:in `pbCompilePokemonData'

Compiler:2296:in `each'

Compiler:2296:in `pbCompilePokemonData'

Compiler:2295:in `each'

Compiler:2295:in `pbCompilePokemonData'



This exception was logged in

C:\Users\Kids\Saved Games/Pokemon Essentials/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
 

Ego13

hollow_ego
311
Posts
6
Years
got an error, can ya help?

---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Field Monster is not a positive integer

File PBS/pokemon.txt, section 2, key Compatibility

Monster,Grass



Compiler:219:in `csvPosInt!'

Compiler:2331:in `pbCompilePokemonData'

Compiler:2314:in `each'

Compiler:2314:in `pbCompilePokemonData'

Compiler:2312:in `loop'

Compiler:2390:in `pbCompilePokemonData'

Compiler:2296:in `each'

Compiler:2296:in `pbCompilePokemonData'

Compiler:2295:in `each'

Compiler:2295:in `pbCompilePokemonData'



This exception was logged in

C:\Users\Kids\Saved Games/Pokemon Essentials/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

Your PBS file seems to be messed up. The error should be somewhere around Ivysaur
I think it is something with the type but I'd need to see your PBS to know for sure. Check for extra line breaks or characters
 

Diverscope

Pardon me
152
Posts
10
Years
What are we supposed to do with it? Your pokemon.txt seems fine. Is there any kind of error or what exactly is the problem?
 

Ego13

hollow_ego
311
Posts
6
Years
I submitted a error report on page 1, if the text is fine then i do not know what's wrong here.

I compared your pokemon.txt with mine and it seems to be correct. I can't find any errors in there. I've experienced similar errors in the past with nothing really wrong there. The only thing that helped me in that situation was to use an older version of the file. You can also try to downloading the file again and replacing it
 
60
Posts
5
Years
I was attempting to install these files/PBS/scripts into my Pokemon Essentials and it returned with som minor errors: field Mosnter is not a positive integer, Undefined FAIRy in script, all fixed, but after multiple attepms at solving this issue:
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `>' for nil:NilClass

Compiler:2383:in `pbCompilePokemonData'

Compiler:2314:in `each'

Compiler:2314:in `pbCompilePokemonData'

Compiler:2312:in `loop'

Compiler:2390:in `pbCompilePokemonData'

Compiler:2296:in `each'

Compiler:2296:in `pbCompilePokemonData'

Compiler:2295:in `each'

Compiler:2295:in `pbCompilePokemonData'

Compiler:2281:in `pbEachFileSection'

I have decided to seek help here, and I can only hope someone can help me fix this problem, as I cannot fully playtest anything I impliment until this is resolved.

Thanks
 

Ego13

hollow_ego
311
Posts
6
Years
I was attempting to install these files/PBS/scripts into my Pokemon Essentials and it returned with som minor errors: field Mosnter is not a positive integer, Undefined FAIRy in script, all fixed, but after multiple attepms at solving this issue:
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `>' for nil:NilClass

Compiler:2383:in `pbCompilePokemonData'

Compiler:2314:in `each'

Compiler:2314:in `pbCompilePokemonData'

Compiler:2312:in `loop'

Compiler:2390:in `pbCompilePokemonData'

Compiler:2296:in `each'

Compiler:2296:in `pbCompilePokemonData'

Compiler:2295:in `each'

Compiler:2295:in `pbCompilePokemonData'

Compiler:2281:in `pbEachFileSection'

I have decided to seek help here, and I can only hope someone can help me fix this problem, as I cannot fully playtest anything I impliment until this is resolved.

Thanks

Hey,

can you tell me what is on line 2383 in the script section Compiler ?
Also how did you fix the other issues? What version of Essentials are you using?
 
60
Posts
5
Years
I am using Pokemon Essentials V17.2

script on line 2383:
dexdata[rtschema[0]+1+offset]=(value>>8)&0xFF if bytes>1

I fixed the issue of Monster is not a positive integer by adding the egg groups to the compiler
"Compatibility"=>[31,"Monster,Human-Like,Water1,Water3,Bug,Mineral,Flying,Amorphous,Field,Water2,Fairy,Ditto,Grass,Dragon,Undiscovered,GenderUnknown"],
normally, it would go 31,00]

it seems to work for now, but if it becomes a prblem again, I do believe someone else had the same problem and posted it on this thread. I can have a look at following that if you want

the undefined FAIRY issue was simple. I had not added FAIRY to my PBTypes.txt so I went back and added the right .txt files.

One last reoccuring issue is an undefined or not positive integer (LevelDay)(LevelNight)(HasMoveFAIRYHappiness) in the eeveelutions secion of PBS. it does not recognise those values and as I try to fix it it does seem to make things worse.

Thanks for your help
 

Ego13

hollow_ego
311
Posts
6
Years
The compatibillity line in a clean copy of Essentials v17.2 looks like this
Code:
"Compatibility" => [31,"eg",PBEggGroups,PBEggGroups],

Also I cant find the specific line you mentioned
Code:
dexdata[rtschema[0]+1+offset]=(value>>8)&0xFF if bytes>1

DId you modify any of the scripts?
 
60
Posts
5
Years
I did, but as of right now, I have refreshed the scripts, so it is now the original.

Right now the issue has gone from what I mentioned before, to this:

---------------------------
Pokemon Essentials
---------------------------
Exception: NameError

Message: uninitialized constant PBEggGroups

Compiler:2239:in `pbCompilePokemonData'

Compiler:3971:in `pbCompileAllData'

Compiler:4095


I have replaced the problem code, from the scripts.rxdata file from the download link in this thread to what you have stated.
However I actually have no Egg Groups file in my pokemon essentials.
This I think is where the problem lies now. Sorry for the sudden change, but a refresh has removed all my edits, so I can get to the root of the problem and adress it.

Still think you can help?
 

Ego13

hollow_ego
311
Posts
6
Years
Check if you code the script section PBEggGroups with the following content:

Code:
module PBEggGroups
  Undiscovered = 0 # NoEggs, None, NA
  Monster      = 1
  Water1       = 2
  Bug          = 3
  Flying       = 4
  Field        = 5 # Ground
  Fairy        = 6
  Grass        = 7 # Plant
  Humanlike    = 8 # Humanoid, Humanshape, Human
  Water3       = 9
  Mineral      = 10
  Amorphous    = 11 # Indeterminate
  Water2       = 12
  Ditto        = 13
  Dragon       = 14

  def PBEggGroups.maxValue; 14; end
  def PBEggGroups.getCount; 15; end

  def PBEggGroups.getName(id)
    names = [
       _INTL("Undiscovered"),
       _INTL("Monster"),
       _INTL("Water 1"),
       _INTL("Bug"),
       _INTL("Flying"),
       _INTL("Field"),
       _INTL("Fairy"),
       _INTL("Grass"),
       _INTL("Human-like"),
       _INTL("Water 3"),
       _INTL("Mineral"),
       _INTL("Amorphous"),
       _INTL("Water 2"),
       _INTL("Ditto"),
       _INTL("Dragon")
    ]
    return names[id]
  end
end
 
60
Posts
5
Years
where is the PBEggGroups section in the scripts, My list consists of PBFile through to PBdebug, but has no section named PBEggGroups, where I assume the problem has arisen presumably.
 
Last edited:

WolfPP

Spriter/ Pixel Artist
1,309
Posts
5
Years
where is the PBEggGroups section in the scripts, My list consists of PBFile through to PBdebug, but has no section named PBEggGroups, where I assume the problem has arisen presumably.

v17.2:
yu5aCub.png
 
60
Posts
5
Years
I mean like in the list of all the scripts, eg. Main, compiler,PokeBattl_battle, where do I put the PBEggGroups script, because in my Pokemon essentials, that script does not exist
 
Back
Top