< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials Question Vs bar scripts.

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 Post Reply
 
Thread Tools
  #1    
Old July 20th, 2013 (6:40 AM). Edited July 20th, 2013 by Larryturbo.
Larryturbo Larryturbo is offline
 
Join Date: May 2013
Gender: Male
Posts: 44
Where are the scripts for the vs bar located at? I'm sick of seaching.

By the way I found a very serious error,When ever I try to add a trainertype when I try to fight him something happens and all the trainer types after 73 get deleted.The error said something about not having permission and ''gsub''. This is urgent!!!
Reply With Quote

Relevant Advertising!

  #2    
Old July 20th, 2013 (7:41 AM).
Nickalooose Nickalooose is offline
--------------------
 
Join Date: Mar 2008
Gender: Female
Posts: 1,279
Took 3seconds to find!
Here
Reply With Quote
  #3    
Old July 20th, 2013 (8:00 AM). Edited July 20th, 2013 by Larryturbo.
Larryturbo Larryturbo is offline
 
Join Date: May 2013
Gender: Male
Posts: 44
Thanks but right now I'm more worried about that error.I don't know what causes it I suspect creating trainer types after 100.

Here's the error.

Exception: RuntimeError

Message: Script error within event 2, map 134 (MAP134):

Exception: NoMethodError

Message: Section136:32:in `get'private method `gsub' called for nil:NilClass

***Full script:

pbTrainerBattle(PBTrainers::LEADER_Gardenia,"Gardenia",_I("Amazing! You're very good, aren't you?"))

Interpreter:243:in `pbExecuteScript'

PokemonEditor:81:in `pbGetTrainerConst'

PokemonEditor:482:in `pbSaveTrainerTypes'

PokemonEditor:478:in `each'

PokemonEditor:478:in `pbSaveTrainerTypes'

PokemonEditor:475:in `open'

PokemonEditor:475:in `pbSaveTrainerTypes'

PokemonTrainers:71:in `pbConvertTrainerData'

PokemonTrainers:115:in `pbNewTrainer'

PokemonTrainers:188:in `pbMissingTrainer'



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+Menu On Map:201:in `update'

Scene_Map+Menu On Map:199:in `loop'

Scene_Map+Menu On Map:212:in `update'

Scene_Map+Menu On Map:121:in `main'
Reply With Quote
  #4    
Old July 21st, 2013 (7:59 AM).
Pharetra's Avatar
Pharetra Pharetra is offline
zzzz
 
Join Date: Jun 2011
Age: 19
Gender: Male
Posts: 455
Quote:
Originally Posted by Larryturbo View Post
Exception: RuntimeError

Message: Script error within event 2, map 134 (MAP134):

Exception: NoMethodError

Message: Section136:32:in `get'private method `gsub' called for nil:NilClass

***Full script:

pbTrainerBattle(PBTrainers::LEADER_Gardenia,"Gardenia",_I("Amazing! You're very good, aren't you?"))
It's right here. Check event 2 on map 134 because the script is not correctly layed out.
Reply With Quote
  #5    
Old July 21st, 2013 (8:59 AM).
Larryturbo Larryturbo is offline
 
Join Date: May 2013
Gender: Male
Posts: 44
OMG!I'm so angry!
It had nothing to do with that event at all.When I was adding the trainer types I used Flannery as the base,and I accidentally copy/pasted her in both numbers 105 and 106.I later proceeded to change one into Gardenia without noticing the other one.When I deleted the duplicate the error stopped.That's the reason the trainer types after 75 got deleted,75 was the original Flannery.Urggghhh.....
Reply With Quote
Reply Post 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

Forum Jump


  All times are GMT -8. The time now is 1:13 PM.


Contact Us Archive Privacy Statement Terms of Service Top