The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Register New Account FAQ/Rules Chat 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
Thread Tools
  #2776  
Unread July 31st, 2008, 05:06 AM
Hall Of Famer's Avatar
Hall Of Famer
Born as Hall of Famer
 
Join Date: Mar 2008
Location: In the World of Fame
I still have a question to ask, how do you guys manage to make shiny wild pokemon event? I tried to test the shiny event following the instructions in note.html but got this error:
Code:
Exception: SyntaxError
Message: (eval):2:in `pbExecuteScript'compile error
(eval):2: syntax error
(::PBSpecies::GYARADOS,30,1)
                          ^
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:100:in `update'
Scene_Map:98:in `loop'
__________________
Yes, I am the founder of Pokemon HOF



My sites:
Pokemon Mysidia: http://www.pokemonmysidia.com
Poketube: http://www.pokemonmysidia.org
Pokemon HOF Official site: http://pkmnhalloffame.pokemonmysidia.com
Mysidian's board: www.pokemonmysidia.com/forum

Quote:
Women are beautiful for the simple fact they are women.


  #2777  
Unread July 31st, 2008, 05:11 AM
partyghoul2000's Avatar
partyghoul2000
Intermediate Game Designer
 
Join Date: Jan 2006
Location: USA
Age: 25
Gender: Male
Nature: Calm
Quote:
Originally Posted by JolylRoger25 View Post
Aggg, yet another road block, I am at the point were you battle your rival for the first time in the prof.'s lab, and I can't seem to figure out how to imput his data as a trainer, I know were, just don't know how, I read the Notes.html, still can't get it. If some one can give it to me step by step, that would be great.
first off, your sig is way too big. it needs to be resized. now about inputting his trainer information, first off, if you haven't downloaded the latest version of the starter kit, please do so. it would make things so much easier for you considering poccil added a new trainer data menu within the debug/editor menu for easier trainer management. ok, now that you've got the lastest sk, go to the trainer data menu i mentioned before. go to [NEW TRAINER BATTLE] and define the type of trainer it is, enter their name and define what pokemon that trainer has. afterwards, your newly entered trainer will now appear on the menu. you can go to that trainer and edit various bits of data besides what you entered in already. i believe it's just items. but anyways, now that you've done that you're ready to enter the script and whatnot under the trainer event on the map. here's what a basic trainer event looks like:

Name: Trainer(X) Page: 1

Script: pbTrainerIntro(YOUNGSTER)
Script: Kernel.pbNoticePlayer(get_character(0))
Text: I just got my first pokemon. Let's battle!
Conditional Branch: Script: pbTrainerBattle(PBTrainers::YOUNGSTER,"Rick",_I("I have training to do."),false,0)
Control Self Switch: A =ON

: Branch End
Script: pbTrainerEnd

Name: Trainer(X) Page: 2 Self Switch: A is ON

Text: I've got some training to do.


you should be able to get the gist of what all that means within the notes.html under Behind the Scenes in the Trainers area. now in order to link this script to the data you entered in earlier, just change the name and type accordling. i haven't tried this personally, but it should work out perfectly.

Quote:
Originally Posted by Hall Of Famer View Post
I still have a question to ask, how do you guys manage to make shiny wild pokemon event? I tried to test the shiny event following the instructions in note.html but got this error:
Code:
Exception: SyntaxError
Message: (eval):2:in `pbExecuteScript'compile error
(eval):2: syntax error
(::PBSpecies::GYARADOS,30,1)
                          ^
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:100:in `update'
Scene_Map:98:in `loop'
did you insert the following code into a new script entry within the ruby script editor?
Code:
Events.onWildPokemonCreate+=proc {|sender,e|
  pokemon=e[0]
  if $game_switches[50]
    pokemon.makeShiny
  end
}
remember it has to be a new entry, not an existing one. also make sure you have switch 50 turned on before the battle and switched off after battle to insure that pokemon aren't always shiny.
__________________

Check out my Super Gothic Bros hack here.
My ripped pokemon music in MP3 format can be found here.
My custom battle animations and whatnot can be found here.
Credit is expected, if used.

Last edited by partyghoul2000; July 31st, 2008 at 05:17 AM.
  #2778  
Unread July 31st, 2008, 05:51 AM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
The script should read:
Code:
pbWildBattle(
::PBSpecies::GYARADOS,30,1)
Note the parenthesis at the end of the first line.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #2779  
Unread July 31st, 2008, 06:57 AM
Kevvviiinnn
Beginning Trainer
 
Join Date: Jul 2008
I am getting this error when I walk onto a connected map with different music:

Quote:
Exception: ArgumentError
Message: wrong number of arguments(4 for 2)
Game_Map*1:99:in `pbCueBGM'
Game_Map*1:99:in `autoplayAsCue'
PokemonField*:1139:in `pbAutoplayOnTransition'
PokemonMap*:780:in `setCurrentMap'
Game_Map*1:290:in `update'
Scene_Map*:34:in `updateMaps'
Scene_Map*:33:in `each'
Scene_Map*:33:in `updateMaps'
Scene_Map*:99:in `update'
Scene_Map*:98:in `loop'
How can I fix this? I've never had this problem until recently (perhaps something missed in the newer version).

EDIT: Never mind, I seemed to have fixed it

Last edited by Kevvviiinnn; July 31st, 2008 at 08:01 AM.
  #2780  
Unread July 31st, 2008, 05:33 PM
partyghoul2000's Avatar
partyghoul2000
Intermediate Game Designer
 
Join Date: Jan 2006
Location: USA
Age: 25
Gender: Male
Nature: Calm
something i've noticed just now, is that when pokemon hatch from eggs it's the natural level 5 found in the advance games. im curious as to where the script is to change this to DP's natural level 1. i tried searching for it, but i came up with alot of results.
__________________

Check out my Super Gothic Bros hack here.
My ripped pokemon music in MP3 format can be found here.
My custom battle animations and whatnot can be found here.
Credit is expected, if used.
  #2781  
Unread July 31st, 2008, 10:13 PM
Pokepal2007's Avatar
Pokepal2007
angels awakening
 
Join Date: Jun 2007
Location: Fire City
Nature: Calm
how do you make the credits screen?
__________________


Click here to feed me a Star Fruit!


Click here to feed me a Rare Candy!

[center]
Name: Hevaa Guardian
Mascot of Pokémon Heaven Legends
  #2782  
Unread August 1st, 2008, 12:59 AM
Kevvviiinnn
Beginning Trainer
 
Join Date: Jul 2008
Is it just me or can you not make trainer events with just comments anymore?
  #2783  
Unread August 1st, 2008, 02:36 AM
yaoimutt
Trainer
 
Join Date: Sep 2007
Nature: Impish
Send a message via AIM to yaoimutt Send a message via Yahoo to yaoimutt
Quote:
Originally Posted by Kevvviiinnn View Post
Is it just me or can you not make trainer events with just comments anymore?
you haven't been able to make trainer events with just comments in a long time, (the last time i updated my game was 6 months ago, and i can't make trainer events with just comments) i don't think you really ever could, you need the condition branch as well.
__________________

Name: FishieNUMBER37 (you don't want to know what happened to the other fishies)
Adopt one yourself! @Pokémon Orphanage

Geat thread here
  #2784  
Unread August 1st, 2008, 02:42 AM
Hall Of Famer's Avatar
Hall Of Famer
Born as Hall of Famer
 
Join Date: Mar 2008
Location: In the World of Fame
Quote:
Originally Posted by poccil View Post
The script should read:
Code:
pbWildBattle(
::PBSpecies::GYARADOS,30,1)
Note the parenthesis at the end of the first line.
It works this time, thanks a lot!
__________________
Yes, I am the founder of Pokemon HOF



My sites:
Pokemon Mysidia: http://www.pokemonmysidia.com
Poketube: http://www.pokemonmysidia.org
Pokemon HOF Official site: http://pkmnhalloffame.pokemonmysidia.com
Mysidian's board: www.pokemonmysidia.com/forum

Quote:
Women are beautiful for the simple fact they are women.


  #2785  
Unread August 1st, 2008, 04:58 AM
Kevvviiinnn
Beginning Trainer
 
Join Date: Jul 2008
Quote:
Originally Posted by yaoimutt View Post
you haven't been able to make trainer events with just comments in a long time, (the last time i updated my game was 6 months ago, and i can't make trainer events with just comments) i don't think you really ever could, you need the condition branch as well.
Really? The first release I got was dated July 1, 2008, and I was able to make trainers with just comments. :^S
  #2786  
Unread August 1st, 2008, 06:45 AM
brianhoorn
Beginning Trainer
 
Join Date: Aug 2007
Gender:
How do I make connected maps?
I looked through the Notes and couldn't find an explanation.
  #2787  
Unread August 1st, 2008, 06:33 PM
partyghoul2000's Avatar
partyghoul2000
Intermediate Game Designer
 
Join Date: Jan 2006
Location: USA
Age: 25
Gender: Male
Nature: Calm
Quote:
Originally Posted by Kevvviiinnn View Post
Really? The first release I got was dated July 1, 2008, and I was able to make trainers with just comments. :^S
so im not the only one who's noticed this...

Quote:
Originally Posted by brianhoorn View Post
How do I make connected maps?
I looked through the Notes and couldn't find an explanation.
well, make your maps. go to the debug/editor menu and go to visual editor. use the gui to put your maps together. F5 will tell you what buttons do what.
__________________

Check out my Super Gothic Bros hack here.
My ripped pokemon music in MP3 format can be found here.
My custom battle animations and whatnot can be found here.
Credit is expected, if used.
  #2788  
Unread August 1st, 2008, 09:32 PM
brianhoorn
Beginning Trainer
 
Join Date: Aug 2007
Gender:
Oh, ok.
Thanks a bunch partyghuol2000!
  #2789  
Unread August 1st, 2008, 10:39 PM
PokemonOI's Avatar
PokemonOI
Back To WORK!
 
Join Date: May 2008
Location: INSULA
Nature: Brave
I get this Error when starting doing a partner two on two battle:

Exception: SyntaxError
Message: (eval)in `pbExecuteScript'compile error
(eval) syntax error
ENDAN,"BRENDAN",0)
^
(eval) syntax error
ENDAN,"BRENDAN",0)
^
Interpreter:238:in `pbExecuteScript'
Interpreter:1614:in `eval'
Interpreter:238:in `pbExecuteScript'
Interpreter:1614:in `command_355'
Interpreter:466:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'
Scene_Map:99:in `update'
Scene_Map:97:in `loop'
__________________
  #2790  
Unread August 1st, 2008, 10:43 PM
Atomic Reactor's Avatar
Atomic Reactor
Criticism, I give it.
 
Join Date: Jul 2007
Location: Minnesota
Age: 20
Gender: Male
Nature: Rash
try putting a BR in front of ENDAN
maybe that's why?
__________________
  #2791  
Unread August 1st, 2008, 10:46 PM
PokemonOI's Avatar
PokemonOI
Back To WORK!
 
Join Date: May 2008
Location: INSULA
Nature: Brave
Quote:
Originally Posted by Atomic_Reactor View Post
try putting a BR in front of ENDAN
maybe that's why?
BR is in front of it thats just how the error came out
__________________
  #2792  
Unread August 1st, 2008, 10:49 PM
Kevvviiinnn
Beginning Trainer
 
Join Date: Jul 2008
It's funny seeing the word "eval" next to that cute Teddiursa X^)

Anyway, are you calling the script with a Call Script command or a Conditional Branch? The Call Script command will cut it off, so try placing it in the script section on the fourth page of the Conditional Branch.
  #2793  
Unread August 1st, 2008, 10:49 PM
Atomic Reactor's Avatar
Atomic Reactor
Criticism, I give it.
 
Join Date: Jul 2007
Location: Minnesota
Age: 20
Gender: Male
Nature: Rash
oh alright.
That's all i got. i just noticed that it was missing.
Good luck on fixing it lol :P
__________________
  #2794  
Unread August 1st, 2008, 10:53 PM
PokemonOI's Avatar
PokemonOI
Back To WORK!
 
Join Date: May 2008
Location: INSULA
Nature: Brave
Quote:
Originally Posted by Kevvviiinnn View Post
It's funny seeing the word "eval" next to that cute Teddiursa X^)

Anyway, are you calling the script with a Call Script command or a Conditional Branch? The Call Script command will cut it off, so try placing it in the script section on the fourth page of the Conditional Branch.
I get this now

Exception: SyntaxError
Message: (eval)in `pbExecuteScript'compile error
(eval) syntax error
pbRegisterPartner(PBTrainers::RIVAL_BR
^
Interpreter:238:in `pbExecuteScript'
Interpreter:753:in `eval'
Interpreter:238:in `pbExecuteScript'
Interpreter:753:in `command_111'
Interpreter:292:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'
Scene_Map:99:in `update'
Scene_Map:97:in `loop'
__________________
  #2795  
Unread August 1st, 2008, 10:59 PM
Kevvviiinnn
Beginning Trainer
 
Join Date: Jul 2008
Try placing the partner registration in a Conditional Branch, too.
  #2796  
Unread August 1st, 2008, 11:02 PM
PokemonOI's Avatar
PokemonOI
Back To WORK!
 
Join Date: May 2008
Location: INSULA
Nature: Brave
Heres the script I've been using

pbRegisterPartner(PBTrainers::RIVAL_BR
ENDAN,"BRENDAN",0)

but the error keeps coming up.
__________________
  #2797  
Unread August 1st, 2008, 11:04 PM
Kevvviiinnn
Beginning Trainer
 
Join Date: Jul 2008
Quote:
Originally Posted by PokemonOI View Post
Heres the script I've been using

pbRegisterPartner(PBTrainers::RIVAL_BR
ENDAN,"BRENDAN",0)

but the error keeps coming up.
Did you try placing that in a Conditional Branch? It looks like it's just cutting off.
  #2798  
Unread August 1st, 2008, 11:08 PM
PoKéMaKeR's Avatar
PoKéMaKeR
Pokemon Rancher creator!
 
Join Date: Apr 2008
Location: The Netherlands :)
Gender:
Nature: Relaxed
Send a message via Windows Live Messenger to PoKéMaKeR
Quote:
Originally Posted by PokemonOI View Post
Heres the script I've been using

pbRegisterPartner(PBTrainers::RIVAL_BR
ENDAN,"BRENDAN",0)

but the error keeps coming up.
Just turn it into this
pbRegisterPartner(
PBTrainers::RIVAL_BRENDAN,"BRENDAN",0)

Then it'll be over i think
__________________
(Click for the thread)



Last update on the Rancher thread: February 26th 2009

  #2799  
Unread August 1st, 2008, 11:10 PM
PokemonOI's Avatar
PokemonOI
Back To WORK!
 
Join Date: May 2008
Location: INSULA
Nature: Brave
Quote:
Originally Posted by Kevvviiinnn View Post
Did you try placing that in a Conditional Branch? It looks like it's just cutting off.
yeah I get this


Exception: SyntaxError
Message: (eval)in `pbExecuteScript'compile error
(eval) syntax error
pbRegisterPartner(PBTrainers::RIVAL_BR
^
Interpreter:238:in `pbExecuteScript'
Interpreter:753:in `eval'
Interpreter:238:in `pbExecuteScript'
Interpreter:753:in `command_111'
Interpreter:292:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'
Scene_Map:99:in `update'
Scene_Map:97:in `loop'
__________________
  #2800  
Unread August 1st, 2008, 11:13 PM
partyghoul2000's Avatar
partyghoul2000
Intermediate Game Designer
 
Join Date: Jan 2006
Location: USA
Age: 25
Gender: Male
Nature: Calm
Quote:
Originally Posted by PokemonOI View Post
yeah I get this


Exception: SyntaxError
Message: (eval)in `pbExecuteScript'compile error
(eval) syntax error
pbRegisterPartner(PBTrainers::RIVAL_BR
^
Interpreter:238:in `pbExecuteScript'
Interpreter:753:in `eval'
Interpreter:238:in `pbExecuteScript'
Interpreter:753:in `command_111'
Interpreter:292:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'
Scene_Map:99:in `update'
Scene_Map:97:in `loop'
did you try poccil's little extendtext.exe?
__________________

Check out my Super Gothic Bros hack here.
My ripped pokemon music in MP3 format can be found here.
My custom battle animations and whatnot can be found here.
Credit is expected, if used.
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

Forum Jump


All times are UTC. The time now is 09:35 AM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.