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 December 24th, 2012, 08:02 AM
Kunoichi's Avatar
Kunoichi
The one who dreams alone
 
Join Date: Jun 2006
Location: England
Age: 23
Nature: Mild
Send a message via Skype™ to Kunoichi
I am really stuck on how to make dependent events work. I have tried for the entire day to figure out why this little bit of code won't work for me.

All I want is for one character to follow and help the main player. I have read the Pokemon essentials Wikia page and it still doesn't make sense. T_T

I've tried making new trainer types, new encounters, replacing some of the older trainers/types... It's just a big mess.

I'm using the newest version of the starter kit (December 23rd).

I keep getting error messages:

Spoiler:

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

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

Exception: SyntaxError

Message: (eval):4:in `pbExecuteScript'compile error
(eval):3: syntax error

***Line '(PBTrainers::Pokemontrainer_Leaf,"Ita' shouldn't begin with '('. Try

putting '(' at the end of the previous line instead,

or using Extendtext.

***Full script:

pbRegisterPartner
(PBTrainers::Pokemontrainer_Leaf,"Ita
chi",
0)




Interpreter:276:in `pbExecuteScript'

Interpreter:1600:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Interpreter:124:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'



This exception was logged in 

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

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


I've even read the error message, about the line and have done a million different things (okay, that's an exaggeration but still) to change the 'line' that seems to bother the program, but still doesn't work. *sobbing*

Any help would be greatly appreciated.

Last edited by Kunoichi; December 24th, 2012 at 09:26 AM.
Reply With Quote
  #2    
Old December 24th, 2012, 08:49 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by Kunoichi View Post
I've even read the error message
You can't have done, because the error message tells you how to solve your problem. You also haven't searched this forum for similar errors, because if you had you would have found the recent thread about this exact same problem which includes a fuller explanation from me.

At the moment you have this:
Code:
pbRegisterPartner
(PBTrainers::Pokemontrainer_Leaf,"Ita
chi",
0)
It needs to look like this:
Code:
pbRegisterPartner(
PBTrainers::Pokemontrainer_Leaf,
"Itachi",0)
Notice how, at the end of each line, there is either a bracket or a comma. That's important.

An alternative is the other thing the error message suggested, which is to use ExtendText to make the code box really wide, and then put this code all on the same line:

Code:
pbRegisterPartner(PBTrainers::Pokemontrainer_Leaf,"Itachi",0)
Pick an option and go for it.
__________________
Reply With Quote
  #3    
Old December 24th, 2012, 09:19 AM
Kunoichi's Avatar
Kunoichi
The one who dreams alone
 
Join Date: Jun 2006
Location: England
Age: 23
Nature: Mild
Send a message via Skype™ to Kunoichi
Okay, after some tweaking and a lot of messing around in the game editor (mostly my own fault with confusing some trainer types), I've finally got it working.
I did read it, but you're right, pressing the backspace key didn't work. Thank you so much for the prompt response and solving it.

Also, what do you mean by extend text?
Reply With Quote
  #4    
Old December 24th, 2012, 09:32 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
It's a program called ExtendText.exe in the game's main folder. Running it while RMXP is open will cause all event message boxes and event script boxes to become larger, allowing you to fit more in. The effect lasts until you close RMXP.
__________________
Reply With Quote
  #5    
Old December 24th, 2012, 09:37 AM
Kunoichi's Avatar
Kunoichi
The one who dreams alone
 
Join Date: Jun 2006
Location: England
Age: 23
Nature: Mild
Send a message via Skype™ to Kunoichi
Thank you again for helping to solve my problems! c:
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 11:38 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.