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.


Advertise here

Reply
 
Thread Tools
  #1    
Old January 1st, 2013, 09:46 AM
nuzamaki90's Avatar
nuzamaki90
Knight of The Volt
 
Join Date: Feb 2008
Location: North Carolina
Age: 20
Gender: Male
Nature: Relaxed

Advertise here
I updated my game from Essentials 9 to 11 and whenever I try to battle any 5th Gen Pokemon, I get this error....

Exception: RuntimeError
Message: Script error within event 5, map 8 (Route 1 (New)):
Exception: ArgumentError
Message: Section065:649:in `__mf_initialize'The species number (no. 501 of 493) is invalid.
***Full script:
pbTrainerBattle(17,"Kaito","Dang, you're good.",false,0,false)
Interpreter:243:in `pbExecuteScript'
PokemonMultipleForms:83:in `initialize'
PokemonTrainers:24:in `new'
PokemonTrainers:24:in `pbLoadTrainer'
PokemonTrainers:21:in `each'
PokemonTrainers:21:in `pbLoadTrainer'
PokemonTrainersin `each'
PokemonTrainersin `pbLoadTrainer'
PokemonTrainers:316:in `pbTrainerBattle'
(eval)in `pbExecuteScript'

Interpreter:276:in `pbExecuteScript'
Interpreter:788:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
Reply With Quote
  #2    
Old January 1st, 2013, 04:56 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Let us know when you decide to fully compile your game.
__________________
Reply With Quote
  #3    
Old January 2nd, 2013, 02:44 PM
nuzamaki90's Avatar
nuzamaki90
Knight of The Volt
 
Join Date: Feb 2008
Location: North Carolina
Age: 20
Gender: Male
Nature: Relaxed
I could do without the sarcasm, thanks.

Even when I did compile my game, it still came up, so I had to end up changing a few things in my PBS folder.

And, once I did, it started to work, but another problem came up:

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

Message: Script error within event 5, map 8 (Route 1 (New)):

Exception: NameError

Message: Section082:669:in `pbBattleAnimation'undefined local variable or method `trainerid' for #<Interpreter:0x7d6a0f8>

***Full script:

pbTrainerBattle(17,"Kaito","Dang, you're good.",false,0,false)

Interpreter:243:in `pbExecuteScript'

PokemonTrainers:406:in `pbTrainerBattle'

(eval)in `pbExecuteScript'

Interpreter:788:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:788:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'



Interpreter:276:in `pbExecuteScript'

Interpreter:788:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'



This exception was logged in

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

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Reply With Quote
  #4    
Old January 2nd, 2013, 02:59 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
There are huge unknown factors here, which make it hard for me to give you the answers you want. You've edited Essentials (you're making a game), and you've "upgraded" it - odds are you've tried to patch up your game rather than transfer your changes into the latest version as recommended.

The answers I provide work for Essentials. Any problems are caused by what you've been doing to it. You've most likely missed some of the code changes I've made since v9, which your error message does suggest.

In PokemonTrainers, line 406 should read:

Code:
pbBattleAnimation(trainerbgm,trainer[0].trainertype,trainer[0].name) {
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links


Advertise here
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 10:11 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.