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
  #5301  
Unread September 23rd, 2009, 06:01 PM
thepsynergist's Avatar
thepsynergist
A Gym Leader, Kyushu Region
 
Join Date: Mar 2009
Location: California, USA
Age: 23
Gender: Male
Nature: Adamant
Send a message via Yahoo to thepsynergist Send a message via Skype™ to thepsynergist
Quote:
Originally Posted by Fraot View Post
Are you serious? I mean, for some reason, RMXP lags too much or it's simply badly optimized, so if you make an event for every ice tile like the other guy said... the game will lag too much, i mean TOO MUCH.

There is only one event running as a parallel process to prevent lag. It checks the X and Y values of the tile the player is standing on. So lag won't be an issue.

But I hope that my 2nd question will be answered, as it is more imperative than the 1st.
__________________



http://www.planetdev.co.uk/topic.php?id=382
  #5302  
Unread September 23rd, 2009, 08:43 PM
blackspike
Beginning Trainer
 
Join Date: Sep 2009
Gender: Male
hey,
l wanted to try out the starter kid and l downloaded the latest version.
well, l cant start the editor it says: Script 'RtpAndRegistry' line 423: SyntaxError

Can someone give me an older version, or tell me how to fix it?

Thanks.
  #5303  
Unread September 24th, 2009, 12:28 AM
thepsynergist's Avatar
thepsynergist
A Gym Leader, Kyushu Region
 
Join Date: Mar 2009
Location: California, USA
Age: 23
Gender: Male
Nature: Adamant
Send a message via Yahoo to thepsynergist Send a message via Skype™ to thepsynergist
Quote:
Originally Posted by blackspike View Post
hey,
l wanted to try out the starter kid and l downloaded the latest version.
well, l cant start the editor it says: Script 'RtpAndRegistry' line 423: SyntaxError

Can someone give me an older version, or tell me how to fix it?

Thanks.
I believe that you can fix this by opening your script editor within RPG Maker and going to the RtpAndRegistry tab and going to line 423, and adding the word, "end", without quotes. That might fix it.
__________________



http://www.planetdev.co.uk/topic.php?id=382
  #5304  
Unread September 24th, 2009, 01:46 AM
Fraot's Avatar
Fraot
Researcher & Game Developer
 
Join Date: Jun 2008
Location: Somewhere on earth...
Gender: Male
Nature: Quiet
Quote:
Originally Posted by Luka S.J. View Post
Meh....I edited too many to count. But that's not the case. It's something with the new resolution and screen size that blocks fully battle entry.

I have no idea, but I can give you my script, it's based on your new resolution, which is 512x384 not 784 lol; whatever, if you want it, PM me then. I'm not having that problem anymore, so... I don't think you have too many different lines from mine. If you want my script, you can compare both.
__________________
Pokémon Pure Version. It's gone now. Buh-bye Nohmen Region! Nobody will miss you because no one had the chance to meet you.

And also... a new Megaman X game is coming. Megaman X: Maverick Wars.
  #5305  
Unread September 24th, 2009, 02:35 AM
Ziebart23's Avatar
Ziebart23
Beginning Trainer
 
Join Date: Sep 2009
Exception: NoMethodError
Message: undefined method `getPlayMusic' for Kernel:Module
Audio:136:in `Audio_bgm_play'
Audio:303:in `bgm_play'
Game_System:37:in `audioBgmPlay'
Game_System:58:in `bgm_play_ex'
Game_System:71:in `bgm_play'
Interpreter:1486:in `command'
Interpreter:414:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'

This exception was logged in errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.

All I did was remove the part that says to refer to the clipboard, and this appeared, can someone help? I plan on using this permanently, but the music is messing it up...
__________________
  #5306  
Unread September 24th, 2009, 04:29 AM
Short Range's Avatar
Short Range
Chargin' mah Solarbeam!
 
Join Date: Jun 2007
Location: Australia
Nature: Naive
Quote:
Originally Posted by Ziebart23 View Post
Exception: NoMethodError
Message: undefined method `getPlayMusic' for Kernel:Module
Audio:136:in `Audio_bgm_play'
Audio:303:in `bgm_play'
Game_System:37:in `audioBgmPlay'
Game_System:58:in `bgm_play_ex'
Game_System:71:in `bgm_play'
Interpreter:1486:in `command'
Interpreter:414:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'

This exception was logged in errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.

All I did was remove the part that says to refer to the clipboard, and this appeared, can someone help? I plan on using this permanently, but the music is messing it up...
I'm having this problem too, but only with the latest version. Has something been changed?
On a side note, thank you to whoever is working on this now. It's been a while since I've checked this project out so I'm not sure if Poccil is still working on it. If so, how's your education funding going? I hope it's all well.
__________________
MSN/E-mail ~ [email protected]

Nintendo Wii Code ~ 6691-5507-3921-0167
Pokemon Platinum Code ~ 1849-2990-6860

Feel free to drop me a line on Wii Message or MSN! :D
  #5307  
Unread September 24th, 2009, 05:29 AM
thepsynergist's Avatar
thepsynergist
A Gym Leader, Kyushu Region
 
Join Date: Mar 2009
Location: California, USA
Age: 23
Gender: Male
Nature: Adamant
Send a message via Yahoo to thepsynergist Send a message via Skype™ to thepsynergist
Can someone help me figure out how to temporarily remove all of the pokemon in my party and store them in a variable and call them back with a script command plz? I really need to know how to do this...plz help me.
__________________



http://www.planetdev.co.uk/topic.php?id=382
  #5308  
Unread September 24th, 2009, 10:02 AM
blackspike
Beginning Trainer
 
Join Date: Sep 2009
Gender: Male
Quote:
Originally Posted by Ziebart23 View Post
Exception: NoMethodError
Message: undefined method `getPlayMusic' for Kernel:Module
Audio:136:in `Audio_bgm_play'
Audio:303:in `bgm_play'
Game_System:37:in `audioBgmPlay'
Game_System:58:in `bgm_play_ex'
Game_System:71:in `bgm_play'
Interpreter:1486:in `command'
Interpreter:414:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'

This exception was logged in errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.

All I did was remove the part that says to refer to the clipboard, and this appeared, can someone help? I plan on using this permanently, but the music is messing it up...
delete the audio.dll

Quote:
I believe that you can fix this by opening your script editor within RPG Maker and going to the RtpAndRegistry tab and going to line 423, and adding the word, "end", without quotes. That might fix it.
umm, l dunno how to/cant open the editor.exe. And in the Game.exe it isnt.
  #5309  
Unread September 24th, 2009, 11:02 AM
The Smell's Avatar
The Smell
Doof-Man
 
Join Date: Sep 2006
Location: Melbourne, Australia
Age: 19
Gender: Male
Nature: Adamant
OK, which trback graphic is the one that is used ingame? :o

And can I change the size of each graphic? I need the backsprite of the trainer to be bigger.
__________________



  #5310  
Unread September 24th, 2009, 11:11 AM
Ziebart23's Avatar
Ziebart23
Beginning Trainer
 
Join Date: Sep 2009
Quote:
delete the audio.dll
Like I said, I am new to this, and I do not know what the audio.dll is...
__________________
  #5311  
Unread September 24th, 2009, 11:23 AM
blackspike
Beginning Trainer
 
Join Date: Sep 2009
Gender: Male
Quote:
Originally Posted by Ziebart23 View Post
Like I said, I am new to this, and I do not know what the audio.dll is...
you can find it inside of your game folder.
  #5312  
Unread September 24th, 2009, 11:39 AM
lx_theo's Avatar
lx_theo
Game Developer
 
Join Date: Jun 2009
Gender: Male
Nature: Careful
Quote:
Originally Posted by The Smell View Post
OK, which trback graphic is the one that is used ingame? :o

And can I change the size of each graphic? I need the backsprite of the trainer to be bigger.

The ones with the numbers in the name that correspond with the trainer type used for that player character are the ones used.


As for different size, its a matter of just changing the size of the file and possibly editting the script.
__________________

  #5313  
Unread September 24th, 2009, 12:14 PM
Vaskituh
Beginning Trainer
 
Join Date: May 2009
Gender:
Could someone help me, i basically want the Pokemon that is number one on the Trainers Party to follow the Trainer (Using the Rips from HGSS for the Pokemons) ?
  #5314  
Unread September 24th, 2009, 12:47 PM
The Smell's Avatar
The Smell
Doof-Man
 
Join Date: Sep 2006
Location: Melbourne, Australia
Age: 19
Gender: Male
Nature: Adamant
Quote:
Originally Posted by Vaskituh View Post
Could someone help me, i basically want the Pokemon that is number one on the Trainers Party to follow the Trainer (Using the Rips from HGSS for the Pokemons) ?
That is extremely difficult, no-one has done it yet. You will either have to script it yourself, or wait for others to release a script that they complete.
__________________



  #5315  
Unread September 24th, 2009, 04:09 PM
Wichu's Avatar
Wichu
Project Amethyst
 
Join Date: Sep 2007
Location: North Herts, England
Age: 20
Gender: Male
Nature: Naive
Quote:
Originally Posted by Luka S.J. View Post
Long since I've last posted here...anyways...I've been trying to solve this for about 2 days now, and I'm just going insane. Now I'm driving myself crazy and can't find even a trace of the script I could edit to fix my problem.
Now onto my problem. I've recently changed my game resolution to full dual screen NDS resolution (which is 512x784). Now whenever i try to start a battle, the black that moves away for the appearence of the battle keeps going away but stops at a certain point. The image below, I hope will show more details about my problem.

And that's it. The black just stops and doesnt go away.
The viewport's height only increases while the enemy base is scrolling to the right. Since you doubled the screen height, you'll want to double the speed at which the viewport's height increases. Try finding and changing these lines in PokeBattle_ActualScene:
Code:
  if @viewport.rect.y>Graphics.height/4
   @viewport.rect.y-=2
   @viewport.rect.height+=4
  elsif @viewport.rect.y>0
   @viewport.rect.y-=4
   @viewport.rect.height+=8
  end
__________________
  #5316  
Unread September 24th, 2009, 05:33 PM
ryu3000's Avatar
ryu3000
Beginning Trainer
 
Join Date: Sep 2009
Gender: Male
I wanted to make it so that in order to pass certain areas all pokemon had to be at a certain level, (that way you can't just easily use only one pokemon to defeat the gyms, elite 4, and champion). I tried using
Code:
$Trainer.party.level
,but I can't seem to use it right, I don't know what I'm doing wrong or if that can even help prevent using just one or two pokemon. If that doesn't help is there a way I can do that?
  #5317  
Unread September 24th, 2009, 07:08 PM
StormRuler's Avatar
StormRuler
Kung foo fighter
 
Join Date: Jun 2009
For some reason it says one or more fonts don't exist on the system.
  #5318  
Unread September 24th, 2009, 07:26 PM
Luka S.J.'s Avatar
Luka S.J.
Pokemon Blue Chrome Creator
 
Join Date: Dec 2008
Age: 19
Gender: Male
Nature: Adamant
Quote:
Originally Posted by Wichu View Post
The viewport's height only increases while the enemy base is scrolling to the right. Since you doubled the screen height, you'll want to double the speed at which the viewport's height increases. Try finding and changing these lines in PokeBattle_ActualScene:
Code:
  if @viewport.rect.y>Graphics.height/4
   @viewport.rect.y-=2
   @viewport.rect.height+=4
  elsif @viewport.rect.y>0
   @viewport.rect.y-=4
   @viewport.rect.height+=8
  end
You, sir, are a genious...and I bow down to you. Thank you so much!:D This error has been driving me crazy.
__________________

  #5319  
Unread September 24th, 2009, 09:00 PM
Ziebart23's Avatar
Ziebart23
Beginning Trainer
 
Join Date: Sep 2009
Quote:
Originally Posted by blackspike View Post
you can find it inside of your game folder.
Thanks, that helped a lot. I can now continue through the game...
__________________
  #5320  
Unread September 24th, 2009, 10:30 PM
Quilava's Master's Avatar
Quilava's Master
Shattered Dreams '13
 
Join Date: Jul 2007
Nature: Adamant
how do i add a person to the pokegear...
__________________
The return of Pokemon Shattered Dreams! Click the screenshot to visit the thread, you know you want to.
  #5321  
Unread September 24th, 2009, 10:32 PM
thepsynergist's Avatar
thepsynergist
A Gym Leader, Kyushu Region
 
Join Date: Mar 2009
Location: California, USA
Age: 23
Gender: Male
Nature: Adamant
Send a message via Yahoo to thepsynergist Send a message via Skype™ to thepsynergist
Wichu, or anyone skilled in Pkmn Essentials, can someone help me with my problem.

I want to temporary remove the pokemon in my party and be able to call them back with a script command. Just like in the bug catching contest, Can someone please help me? I can't progress in my game if I don't have this info.
__________________



http://www.planetdev.co.uk/topic.php?id=382
  #5322  
Unread September 24th, 2009, 11:14 PM
Soul.//Silver's Avatar
Soul.//Silver
Drowzee
 
Join Date: Sep 2007
Location: Brisbane, Australia
Age: 19
Gender: Male
Nature: Jolly
New problem, I keep getting a syntax error at line 2498 and I have no idea why. I tried deleting a few "ends" but I still kept getting the error.
HTML Code:
2483 def pbThrowAndDeflect(ball,targetBattler)
2484 end
2485 def pbThrow(ball,shakes,targetBattler)
2486  @briefmessage=false
2487  pokeballThrow(ball,shakes,targetBattler)
2488 end
2489 def pbThrowSuccess
2490  if !@opponent
2491   @briefmessage=false
2492   $game_system.bgm_play("../ME/PkmRS-Caught.mid")
2493   frames=(3.5*Graphics.frame_rate).to_i
2494   frames.times do
2495    pbGraphicsUpdate
2496    pbInputUpdate
2497  end
2498 end
2499
Any help will be appreciated.
  #5323  
Unread September 24th, 2009, 11:23 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
Quote:
Originally Posted by thepsynergist View Post
2.) How can you store all of the pokemon that you have in your party to a variable (a.k.a bug catching contest) so that you have no pokemon in your party, and you can call them back by using another script command or something. I want to have my character go into the past, and have no pokemon in his party that he had in the future, just so you can get the right idea. Maybe Maruno or OblivionMew can help me with this...?
2) I presume you want the player to pick up and use new pokémon after he's (temporarily) lost his old team. Now, looking at the Bug Catching scripts, this catches my eye:

Code:
     @otherparty=[]
     chosenpkmn=$Trainer.party[@chosenPokemon]

     for i in 0...$Trainer.party.length
      if i!=@chosenPokemon
       @otherparty.push($Trainer.party[i])
      end
     end

     $Trainer.party=[chosenpkmn]
The "chosenpkmn" is whichever one you chose to use before you entered the Contest. The "if" statement copies all the information about all the non-chosen pokémon to an array called "@otherparty" (defined as blank at the beginning). Finally, the trainer's party is redefined to be only the chosen pokémon. At the end of the Contest, the rest of the party is added back.

So that sounds simple enough. Create an array called "@futurepkmn", and when you time travel, do the "if" statement stuff to copy all the party pokémon into it, then say "$Trainer.party=[]" to make it blank.

The recovery part of the script (that gives you your pokémon back) is equally simple, but you can look for that yourself (hint: search for "@otherparty"). Do (a variation of) that when you want to get your future pokémon back. You can do other things with that array instead, if you want (and can imagine).


Quote:
Originally Posted by ryu3000 View Post
I wanted to make it so that in order to pass certain areas all pokemon had to be at a certain level, (that way you can't just easily use only one pokemon to defeat the gyms, elite 4, and champion). I tried using
Code:
$Trainer.party.level
,but I can't seem to use it right, I don't know what I'm doing wrong or if that can even help prevent using just one or two pokemon. If that doesn't help is there a way I can do that?
$Trainer.party[0].level

That is the level of the leading pokémon in your party (the party pokémon are numbered 0-5 inclusive). After a quick bit of imagining, I came up with the following:

Code:
tempvar=0
for i in 0...$Trainer.party.length-1
  if $Trainer.party[i].level>=42
    tempvar+=1
  end
end
if $Trainer.party.length==tempvar
  You may pass.
else
  You cannot pass.
end
Make sure you're happy with figuring out what's going on. If you want a walkthrough of it, ask me in a PM - I'm feeling nice.
  #5324  
Unread September 25th, 2009, 12:18 AM
ryu3000's Avatar
ryu3000
Beginning Trainer
 
Join Date: Sep 2009
Gender: Male
Ah thank you. I'll use that. That makes sense.
  #5325  
Unread September 25th, 2009, 05:00 AM
taimao
Beginning Trainer
 
Join Date: Aug 2009
Gender: Male
Nature: Quiet
Quote:
Originally Posted by Soul.//Silver View Post
New problem, I keep getting a syntax error at line 2498 and I have no idea why. I tried deleting a few "ends" but I still kept getting the error.
HTML Code:
2483 def pbThrowAndDeflect(ball,targetBattler)
2484 end
2485 def pbThrow(ball,shakes,targetBattler)
2486  @briefmessage=false
2487  pokeballThrow(ball,shakes,targetBattler)
2488 end
2489 def pbThrowSuccess
2490  if !@opponent
2491   @briefmessage=false
2492   $game_system.bgm_play("../ME/PkmRS-Caught.mid")
2493   frames=(3.5*Graphics.frame_rate).to_i
2494   frames.times do
2495    pbGraphicsUpdate
2496    pbInputUpdate
2497  end
2498 end
2499
Any help will be appreciated.
Looks to me like you might need one more "end" after line 2498; however, I'm new at this so I don't know for sure.

Last edited by taimao; September 25th, 2009 at 05:09 AM.
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 04:03 PM.


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.