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.


Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #1351    
Old February 2nd, 2008, 08:44 PM
Mrchewy's Avatar
Mrchewy
nom nom nom
 
Join Date: Jul 2007
Location: Brisbane, Australia
Gender:
Nature: Lax
Quote:
Originally Posted by phoenixprime88b5 View Post
This happens when I try to do the starter pokemon events:

Exception: SyntaxError
Message: (eval):2:in `pbExecuteScript'compile error
(eval):2: syntax error
Interpreter:238:in `pbExecuteScript'
Interpreter:1615:in `eval'
Interpreter:238:in `pbExecuteScript'
Interpreter:1615:in `command_355'
Interpreter:467:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'
Scene_Map:98:in `update'
Scene_Map:96:in `loop'
Having a quick look at some of the lines in Interpreter, it seems you've got a script in your game with a dodgy syntax (obviously, the scripts you used when giving the player a starter Pokémon). Be sure to check notes.html and the example game to make sure your usage of scripts is correct.

Last edited by Mrchewy; February 2nd, 2008 at 08:45 PM. Reason: Typos.
  #1352    
Old February 2nd, 2008, 09:47 PM
phoenixprime88b5's Avatar
phoenixprime88b5
From the ashes, I rise...
 
Join Date: Sep 2007
Location: Hoenn Region (Lilycove City)
Gender:
Quote:
Originally Posted by Mrchewy View Post
Having a quick look at some of the lines in Interpreter, it seems you've got a script in your game with a dodgy syntax (obviously, the scripts you used when giving the player a starter Pokémon). Be sure to check notes.html and the example game to make sure your usage of scripts is correct.
I looked at the notes from top to bottom and whoever wrote them don't cover everything that needs to be covered so I'm just wondering how to set the pokemon up in the pokemon utilities script cause I know that's how it will work, I just need to know exactly how to write the script for the pokemon. the small kernel.pb isn't doing the trick.
  #1353    
Old February 3rd, 2008, 01:40 AM
Mrchewy's Avatar
Mrchewy
nom nom nom
 
Join Date: Jul 2007
Location: Brisbane, Australia
Gender:
Nature: Lax
Could you post your events/scripts, then? It's very hard for me to help you if we can't see where the problem is.
  #1354    
Old February 3rd, 2008, 02:05 AM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
A new version is available.

Changes:

More battle transitions added
Hidden move animation and fishing animation
Support for double wild battles and partner trainers
Fixed potential problem where a wild encounter can run even
if an event triggers on grass
Fixed bugs in storage system
Fixed bug where defining custom moves for a trainer causes an error

For detailed changes, see this diff file.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #1355    
Old February 3rd, 2008, 02:57 AM
Mrchewy's Avatar
Mrchewy
nom nom nom
 
Join Date: Jul 2007
Location: Brisbane, Australia
Gender:
Nature: Lax
Quote:
Originally Posted by poccil View Post
A new version is available.

Changes:

More battle transitions added
Hidden move animation and fishing animation
Support for double wild battles and partner trainers
Fixed potential problem where a wild encounter can run even
if an event triggers on grass
Fixed bugs in storage system
Fixed bug where defining custom moves for a trainer causes an error

For detailed changes, see this diff file.
Huzzah! Seems like a pretty solid content upgrade. Once again, great work Peter
  #1356    
Old February 3rd, 2008, 04:05 AM
Lorem Ipsum's Avatar
Lorem Ipsum
Psyduck
 
Join Date: Oct 2007
Gender:
Just a question, but can you add more than the 483 Pokémon that are already there? I just thought that you might be able to have it go #482 Shaymin, #483 Arceus, #484 Fakémon, #485 Fakémon etc.?

If the game doesn't allow for this, then that is fine, but if it does, please tell me.
  #1357    
Old February 3rd, 2008, 04:40 AM
MR.GLITCH_KING's Avatar
MR.GLITCH_KING
~ThaEmbacy~
 
Join Date: Oct 2005
Nature: Adamant
it does allow it

u can put as many pokemon as u want

btw nj poccil
__________________


  #1358    
Old February 3rd, 2008, 05:16 AM
ali madan
Beginning Trainer
 
Join Date: Oct 2007
Gender:
hi, I got a problem in the encounters, every time error apear:

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PokemonEncounters:140:in `pbEncounteredPokemon'
PokemonEncounters:174:in `pbGenerateEncounter'
PokemonField:439:in `pbOnStepTaken'
Game_Player*:620:in `update_old'
Walk/Run:25:in `update'
Scene_Map:99:in `update'
Scene_Map:96:in `loop'
Scene_Map:109:in `update'
Scene_Map:65:in `main'
Scene_Map:62:in `loop'

And how can I make the map, how can I make this place is pallet town!!! And please don't tell me to read the notes because I already did, and for the map problem can put for me the tutorial with pictures!!!
__________________
Sorry if I'm rude sometimes!
  #1359    
Old February 3rd, 2008, 06:23 AM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
Add the following line to line 140 of the script section PokemonEncounters:

Code:
  return nil if !encounter
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #1360    
Old February 3rd, 2008, 07:01 AM
NeoStar's Avatar
NeoStar
Future Scripter Extraordinaire
 
Join Date: Jan 2008
Location: Deep In The Depths Of hell
Age: 27
Gender: Male
Nature: Adamant
Send a message via AIM to NeoStar Send a message via Windows Live Messenger to NeoStar Send a message via Yahoo to NeoStar
Wow this new versions more than i expected keep up the good work!
  #1361    
Old February 3rd, 2008, 07:41 AM
Lorem Ipsum's Avatar
Lorem Ipsum
Psyduck
 
Join Date: Oct 2007
Gender:
Is there a way I can make the character limit for Pokémon names bigger than they are at the moment?
  #1362    
Old February 3rd, 2008, 07:52 AM
ali madan
Beginning Trainer
 
Join Date: Oct 2007
Gender:
thanks poccil your the best
__________________
Sorry if I'm rude sometimes!
  #1363    
Old February 3rd, 2008, 09:07 AM
Krobelus's Avatar
Krobelus
RainbowNoodleWarrior
 
Join Date: Sep 2006
Location: Vancouver
Age: 23
Gender: Male
Nature: Adamant
Quote:
Originally Posted by poccil View Post
A new version is available.
Always aim to please yea Poccil? Anyway just a few questions that might come up, because I didn't see any update (for this release) in your Notes.Html.

Which fields in Metadata define the animations for the Hidden Move/Fishing Animations?

Where does one put for the battle sprite of the partner trainer, and what should I name it?

Can you call a wild encounter with two Pokemon separate from having a partner trainer as long as you have 2 Pokemon in your party?

I think thats all for now, thanks Poccil!

-Krobe
__________________

YouTube Channel
Pokemon Pearl FC:
4296-8996-1956

Pokemon Heart Gold FC:
3009-0281-8050

Pokemon White 2 FC:
1765-0509-2291


Last edited by Krobelus; February 3rd, 2008 at 11:55 AM.
  #1364    
Old February 3rd, 2008, 02:50 PM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
The information on the fishing sprite is contained in the section "Miscellaneous".
The hidden move animation resembles the GBA games and cannot be changed.

I've recently changed the metadata so that the back of the trainer now depends on the
player's trainer type. It is to be placed in Graphics/Pictures/ and has a filename
of trbackXXX.png, where XXX is the trainer type's ID number. Trainer backs for partner
trainers and other trainers are defined in the same way.

For question three, no, that's not possible.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #1365    
Old February 3rd, 2008, 03:17 PM
Krobelus's Avatar
Krobelus
RainbowNoodleWarrior
 
Join Date: Sep 2006
Location: Vancouver
Age: 23
Gender: Male
Nature: Adamant
@Poccil - Thanks, that's all I needed to know! But for some reason, I get a script hanging error, and I'm still not sure why it happens. In any case, when I was talking about the hidden move part, I thought it was the same as the fishing one, where you see your character using the Pokeball, animation.

Anyway, if you can explain why the scripts hang sometimes, I would appreciate it, because of it, production of Pokemon Krobelus is on hold =P

-Krobe
__________________

YouTube Channel
Pokemon Pearl FC:
4296-8996-1956

Pokemon Heart Gold FC:
3009-0281-8050

Pokemon White 2 FC:
1765-0509-2291

  #1366    
Old February 3rd, 2008, 03:56 PM
phoenixprime88b5's Avatar
phoenixprime88b5
From the ashes, I rise...
 
Join Date: Sep 2007
Location: Hoenn Region (Lilycove City)
Gender:
Quote:
Originally Posted by Mrchewy View Post
Could you post your events/scripts, then? It's very hard for me to help you if we can't see where the problem is.
I found out what I did wrong and found the problem, It's been fixed. Thanks for your help though. I do have aanother question though, is there a way to add the music during the character surfing, or using the bike like in the games?
  #1367    
Old February 3rd, 2008, 05:22 PM
NeoStar's Avatar
NeoStar
Future Scripter Extraordinaire
 
Join Date: Jan 2008
Location: Deep In The Depths Of hell
Age: 27
Gender: Male
Nature: Adamant
Send a message via AIM to NeoStar Send a message via Windows Live Messenger to NeoStar Send a message via Yahoo to NeoStar
Quote:
Originally Posted by poccil View Post
I've recently changed the metadata so that the back of the trainer now depends on the
player's trainer type. It is to be placed in Graphics/Pictures/ and has a filename
of trbackXXX.png, where XXX is the trainer type's ID number. Trainer backs for partner
trainers and other trainers are defined in the same way.
So that goes for the trainers you define in trainers.txt too? like say i have a trainer called Youngster Joey and his id number is 098 id just name my backround joeyback098.png?

*edit*
Nope doesnt work hmm....
  #1368    
Old February 3rd, 2008, 05:34 PM
Firemaker's Avatar
Firemaker
Pokemon Master
 
Join Date: Apr 2004
Location: In space
Age: 18
Gender:
Nature: Lonely
you do "trback098". Poccil, can you make the biker and the walker the same person? It gets strange that when you use the bike, you change clothes :o
__________________
http://z8.invisionfree.com/Banto_Region
  #1369    
Old February 3rd, 2008, 06:04 PM
NeoStar's Avatar
NeoStar
Future Scripter Extraordinaire
 
Join Date: Jan 2008
Location: Deep In The Depths Of hell
Age: 27
Gender: Male
Nature: Adamant
Send a message via AIM to NeoStar Send a message via Windows Live Messenger to NeoStar Send a message via Yahoo to NeoStar
Quote:
Originally Posted by Firemaker View Post
you do "trback098". Poccil, can you make the biker and the walker the same person? It gets strange that when you use the bike, you change clothes :o
oh duh *feels dumb* and for your question you have to change your trainer bike graphic in your metadata.txt to a bike graphic with your player on it.
  #1370    
Old February 4th, 2008, 08:59 AM
phoenixprime88b5's Avatar
phoenixprime88b5
From the ashes, I rise...
 
Join Date: Sep 2007
Location: Hoenn Region (Lilycove City)
Gender:
Is there a way to add the music during the character surfing, or using the bike like in the games? And I followed the instructions on the notes and in trainers.txt and the partner trainer isn't working, i get this:

Exception: SyntaxError
Message: (eval):2:in `pbExecuteScript'compile error
(eval):2: syntax error
Interpreter:238:in `pbExecuteScript'
Interpreter:1615:in `eval'
Interpreter:238:in `pbExecuteScript'
Interpreter:1615:in `command_355'
Interpreter:467:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'
Scene_Map:98:in `update'
Scene_Map:96:in `loop'

Last edited by phoenixprime88b5; February 4th, 2008 at 09:09 AM.
  #1371    
Old February 4th, 2008, 03:02 PM
RMXPUser462's Avatar
RMXPUser462
Just call me Ryan
 
Join Date: Mar 2006
Age: 22
Nature: Adamant
nice to see some new updates to your game poccil, but i get the same error as well, will you help some nubs? :)
__________________

Pokemon Dark, come join us today!

Pokemon Dark is currently looking to hire...

Spriter(s)
Overworld Spriter(s)
Storyboard Editor(s)
Mapper(s)
Supporters!!

If you have any other talents, and would like to help out, just PM me!
  #1372    
Old February 4th, 2008, 05:00 PM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
phoenixprime88b5:

What was the Script event command you used that caused the error above? There was a syntax error in that event command.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #1373    
Old February 4th, 2008, 05:28 PM
RMXPUser462's Avatar
RMXPUser462
Just call me Ryan
 
Join Date: Mar 2006
Age: 22
Nature: Adamant
i believe he used the one that your site said to use, the pbRegisterPartner command, i did the same thing and got an error :\
__________________

Pokemon Dark, come join us today!

Pokemon Dark is currently looking to hire...

Spriter(s)
Overworld Spriter(s)
Storyboard Editor(s)
Mapper(s)
Supporters!!

If you have any other talents, and would like to help out, just PM me!
  #1374    
Old February 4th, 2008, 08:34 PM
phoenixprime88b5's Avatar
phoenixprime88b5
From the ashes, I rise...
 
Join Date: Sep 2007
Location: Hoenn Region (Lilycove City)
Gender:
RMXPUser462 is correct, i used the script command from the notes that came with the SK and that's what gave me the syntax error.
  #1375    
Old February 5th, 2008, 12:27 AM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
It was a mistake on my part. The note should have read:

Code:
pbRegisterPartner(PBTrainers::PkMnTRAINER_Cheryl,"Cheryl",0)
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
Closed Thread
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 09:46 AM.


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.