The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply
 
Thread Tools
  #1    
Old July 20th, 2012 (05:09 PM).
leonex45's Avatar
leonex45
 
Join Date: Jun 2010
Location: Venezuela
Gender: Male
When I modify the encounters.txt and then I try to test the game throws me an error on this data HELP!

This is the error


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

Message: Undefined encounter type , expected one of the following:

["Land", "Cave", "Water", "RockSmash", "OldRod", "GoodRod", "SuperRod", "HeadbuttLow", "HeadbuttHigh", "LandMorning", "LandDay", "LandNight", "BugContest"]

File PBS/encounters.txt, line 1



Compiler:1096:in `pbCompileEncounters'

Compiler:4068:in `pbCompileAllData'

Compiler:4174
Reply With Quote
  #2    
Old July 20th, 2012 (06:05 PM).
Conan Edogawa's Avatar
Conan Edogawa
One Truth Prevails
 
Join Date: Jan 2009
Location: Massachusetts
Nature: Relaxed
Quote:
Originally Posted by leonex45 View Post
When I modify the encounters.txt and then I try to test the game throws me an error on this data HELP!

This is the error


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

Message: Undefined encounter type , expected one of the following:

["Land", "Cave", "Water", "RockSmash", "OldRod", "GoodRod", "SuperRod", "HeadbuttLow", "HeadbuttHigh", "LandMorning", "LandDay", "LandNight", "BugContest"]

File PBS/encounters.txt, line 1



Compiler:1096:in `pbCompileEncounters'

Compiler:4068:in `pbCompileAllData'

Compiler:4174
It looks to me like you forgot to include the encounter type. Check out this article on the wiki, you should find out how to define each maps encounters on this.
__________________
Reply With Quote
  #3    
Old July 20th, 2012 (07:45 PM).
leonex45's Avatar
leonex45
 
Join Date: Jun 2010
Location: Venezuela
Gender: Male
But, I didn't forget to include the encounter type, I only changed the name of one Pokemon in the .txt file that was formed by the editor
Reply With Quote
  #4    
Old July 20th, 2012 (07:52 PM).
Conan Edogawa's Avatar
Conan Edogawa
One Truth Prevails
 
Join Date: Jan 2009
Location: Massachusetts
Nature: Relaxed
Quote:
Originally Posted by leonex45 View Post
But, I didn't forget to include the encounter type, I only changed the name of one Pokemon in the .txt file that was formed by the editor
If you read the error message, it says you didn't properly define the encounter type. If my solution didn't work, would you mind posting the bit of text, or send me the text file so I can look at it?
__________________
Reply With Quote
  #5    
Old July 20th, 2012 (07:58 PM).
leonex45's Avatar
leonex45
 
Join Date: Jun 2010
Location: Venezuela
Gender: Male
This is my encounters.txt file:

######################
002 # El Vigía
25,10,10
######################
004 # Labvigia
25,10,10
######################
005 # Ruta 1
25,25,10
######################
006 # Cueva Prado
25,25,10
Cave
ZUBAT,2,4
ARON,2,4
ABRA,2,4
ARON,2,4
ZUBAT,2,4
ZUBAT,2,4
ZUBAT,2,4
ZUBAT,2,4
ARON,2,4
ZUBAT,2,4
ZUBAT,2,4
ZUBAT,2,4
Reply With Quote
  #6    
Old July 21st, 2012 (04:38 AM).
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
For ares with no encounters... Don't put them into encounters.txt
Reply With Quote
  #7    
Old July 21st, 2012 (08:36 AM).
Steevie88's Avatar
Steevie88
 
Join Date: May 2008
Location: Germany
Age: 26
Gender: Male
I had the same problem ...
I changed from UTF-8 to ANSI ... and it worked for me :)
Reply With Quote
  #8    
Old July 21st, 2012 (10:17 AM).
leonex45's Avatar
leonex45
 
Join Date: Jun 2010
Location: Venezuela
Gender: Male
Quote:
Originally Posted by Steevie88 View Post
I had the same problem ...
I changed from UTF-8 to ANSI ... and it worked for me
Thank you very much! My game started, problem solved
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 04:51 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.