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
  #7126  
Unread May 26th, 2010, 12:44 AM
~Frozen Darkness~'s Avatar
~Frozen Darkness~
It's watching you...
 
Join Date: Apr 2008
Location: Staten Island, NY
Age: 15
Gender: Male
Nature: Docile
---------------------------
Pokemon DawnRuby Version
---------------------------
Exception: ArgumentError

Message: wrong number of arguments(1 for 0)

Game_Event_in `initialize'

Game_Event_in `nf_particles_game_map_initialize'

Particle_Engine:541:in `initialize'

Game_Map_:55:in `new'

Game_Map_:55:in `old_setup_neoM7'

Game_Map_:54:in `each'

Game_Map_:54:in `old_setup_neoM7'

Neo Mode 7 Part 2:156:in `setup'

PokemonMap:573:in `setup'

PokemonLoad:318:in `pbStartLoadScreen'


Any fixes? This is because I'm trying to get Neo Mode 7 to work.
__________________
Signature is blank right now :/
  #7127  
Unread May 26th, 2010, 02:20 PM
bluWAHL
Beginning Trainer
 
Join Date: May 2010
Gender: Male
Hey! I'm getting an ERROR I can't figure out:

Code:
Exception: RuntimeError
Message: Undefined Trainer constant name:
Name must consist only of letters, numbers, and
underscores and can't begin with a number.
File PBS/trainers.txt, line 1

Compiler:815:in `pbGetConst'
Compiler:850:in `parseTrainer'
Compiler:1272:in `pbCompileTrainers'
Compiler:1270:in `loop'
Compiler:1331:in `pbCompileTrainers'
Compiler:3525:in `pbCompileAllData'
Compiler:3636

I made a new Trainer type and trainer, everything worked just fine until I deleted the trainer in the trainers.txt file. Because I wanted to give him some other Pokémon, but now I can't start my game or the Editor.

I've tried to type in exactly what stood there before, but no luck.
Please help

Thank you
  #7128  
Unread May 26th, 2010, 03:54 PM
carmaniac's Avatar
carmaniac
Where the pickle surprise at?
 
Join Date: Apr 2009
Location: England
Age: 18
Nature: Relaxed
That problem may be caused from where you havn't deleted
the event that calls the trainer type you deleted. And if you wanted
to give the trainer new pokemon just edit what pokemon they have
in the editor. If you havn't got an event that calls the deleted trainer
then I'm not really sure.
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.
  #7129  
Unread May 26th, 2010, 04:49 PM
bluWAHL
Beginning Trainer
 
Join Date: May 2010
Gender: Male
Quote:
Originally Posted by carmaniac View Post
That problem may be caused from where you havn't deleted
the event that calls the trainer type you deleted. And if you wanted
to give the trainer new pokemon just edit what pokemon they have
in the editor. If you havn't got an event that calls the deleted trainer
then I'm not really sure.
I did delete the event:/ Thats the weird thing.
And when I start the Game.exe file I get another error:

Code:
Script 'PokeBattle_Trainer'line91:NameError occurred.
uninitialized consant PokeBattle_Trainer::PBSpecies
  #7130  
Unread May 26th, 2010, 08:01 PM
Colbex's Avatar
Colbex
Cobalt Black Creator
 
Join Date: Jul 2009
Location: The land of gentle breezes
Age: 19
Gender: Male
Nature: Calm
Send a message via Windows Live Messenger to Colbex
Hm, I not sure how to describe this error, it's more like... a bug or w/e... anywho. I've started on editing the battle scene for my game and I've changed the EXPGAUGESIZE along with the coordinates. (speaking of which, does anyone know how to make this bar appear thinner. It's bulkiness kinda clashes atm.) Anywho, whenever a PokéMon gains experience, instead of the bars increasing in length, it will jump backwards and end in a place shorter of the designated distance than where it started. However, when I enter a new battle the bar is at the place it should be (in other words, the blue is longer). Does anyone know what I'm missing that would cause this?

Oh, and also, in the same area, I've been playing around with the HP Gauge X and Y coordinates. It appears as though it edits both the enemy and player HP gauge and I can't fix one's location without messing up the other. Does anyone know if I've overlooked anything or what I need to do to fix this?
__________________
My game thread has been closed, but since I have so much of it to re-do, it's a good thing. Rest assured, Cobalt Black (formerly burn) will be back, eventually.

  #7131  
Unread May 26th, 2010, 08:47 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
Quote:
Originally Posted by Colbex View Post
Hm, I not sure how to describe this error, it's more like... a bug or w/e... anywho. I've started on editing the battle scene for my game and I've changed the EXPGAUGESIZE along with the coordinates. (speaking of which, does anyone know how to make this bar appear thinner. It's bulkiness kinda clashes atm.) Anywho, whenever a PokéMon gains experience, instead of the bars increasing in length, it will jump backwards and end in a place shorter of the designated distance than where it started. However, when I enter a new battle the bar is at the place it should be (in other words, the blue is longer). Does anyone know what I'm missing that would cause this?
I vaguely recall having a problem like this way back when I fiddled with it in my game.

Ah, found it! In PokeBattle_ActualScene, go find the def pbEXPBar. In there are the following lines:

Code:
  if exprange!=0
   startexplevel=(tempexp1-startexp)*128/exprange
   endexplevel=(tempexp2-startexp)*128/exprange
  end
Replace those two numbers with PokeBattle_Scene::EXPGAUGESIZE. That should solve it. It's an oversight on poccil's part.

As for the height of the EXP bar itself, the height (in pixels) is the red number in the line:

Code:
   self.bitmap.fill_rect(@spritebaseX+expGaugeX,@spritebaseY+expGaugeY,self.exp,4,PokeBattle_Scene::EXPCOLOR)
The method fill_rect uses the arguments "X-coordinate", "Y-coordinate", "width", "height" and "colour" in that order. Everything else is calculated or uses words, but the height uses a number, which may be why you overlooked it.


Quote:
Originally Posted by Colbex View Post
Oh, and also, in the same area, I've been playing around with the HP Gauge X and Y coordinates. It appears as though it edits both the enemy and player HP gauge and I can't fix one's location without messing up the other. Does anyone know if I've overlooked anything or what I need to do to fix this?
Both the player's and the enemy's boxes are constructed in the same way, so the HP gauge will appear in the same place on either. You haven't overlooked anything.

Immediately after the following lines (in the refresh part, where all this stuff is drawn), add something like the bit in red:

Code:
  hpGaugeX=PokeBattle_Scene::HPGAUGE_X
  hpGaugeY=PokeBattle_Scene::HPGAUGE_Y
  hpGaugeX+=42 if @battler.index==0 || @battler.index==2
  hpGaugeY+=17 if @battler.index==0 || @battler.index==2
This will move the bars around only for the player's Pokémon (the amount moved is 42 and 17 in the example above). Remember to also shift the HP numbers (125/211) and whatever else you want as well, using the same "if" clause.
__________________
  #7132  
Unread May 26th, 2010, 09:14 PM
Shinri
Beginning Trainer
 
Join Date: Apr 2010
Gender: Male
Quote:
Originally Posted by Shinri View Post
Hey all, is there a way to visually show a Shadow Pokemon's progress towards purification? As far as I know, the only way to check right now is from the text in Summary - e.g. 'The door to its heart is starting to open'.

Thanks for any answers

EDIT: Having another problem. I made a Shadow Abra with the Shadow Blitz attack, but in battle it says it has no moves and can only use Struggle, and in the attack menu it says it has Shadow RUSH (the attack description for Shadow Rush there is '121') ... what's going on?
Desperately need help with this.
  #7133  
Unread May 26th, 2010, 10:57 PM
Gregora
Trainer
 
Join Date: Feb 2006
Age: 25
Nature: Modest
Send a message via AIM to Gregora Send a message via Windows Live Messenger to Gregora Send a message via Yahoo to Gregora
I'd hate to sound like an 00ber n00b, but is there a way with the basic Pokemon Essentials to have the mother save money like in G/S/C/HG/SS? Thanks.
__________________




Click here to see my current RMXP project!
  #7134  
Unread May 26th, 2010, 11:19 PM
Soul.//Silver's Avatar
Soul.//Silver
Drowzee
 
Join Date: Sep 2007
Location: Brisbane, Australia
Age: 19
Gender: Male
Nature: Jolly
Quote:
Originally Posted by Soul.//Silver View Post
I can't seem to find whereabouts in PokeBattle_ActualScene the viewport is handled. I have gone through all of the viewports I could find in it, none of which edited what I needed to edit. I have moved every other scene (Summary, Option, the Overworld Map etc) so it fits in the custom wrap-around skin I made, but I just can't seem to change PokeBattle_ActualScene. I'm also having the exact same problems with the message system and title screen where I cannot find the viewports. Usually its Viewport = Viewport.new (x,y,w,h)...
Just a re-post of a previous question...
  #7135  
Unread May 27th, 2010, 01:07 AM
zingzags's Avatar
zingzags
Creator or Pokemon Serenity
 
Join Date: Jan 2009
Location: Boston
Age: 19
Nature: Adamant
Hey guys,
I am wondering how can you change the background of the bag depending on the sex of the player. You know like in the regular games.
__________________
Pokemon Serenity is my fangame name.
name decided 12/15/09
Currently helping:
Pokemon ebony
and
Xenotime:
  #7136  
Unread May 27th, 2010, 02:42 AM
BlitŻ's Avatar
BlitŻ
guahh my dog is so cute
 
Join Date: Feb 2009
Location: Bay Area, Califronia.
Age: 18
Gender: Male
Nature: Jolly
Why can't Pokemon Essentials use Background sounds? O__O This is more of a suggestion than a question, but it would really make the experience of Pokemon the best it can be. I've heard that Poccil excluded it to make the kit the closest thing possible to the Pokemon Game Engine, but doing that was more of a drawback! I want to re-implement this feature in myself, so would there be any way to do that?
__________________
  #7137  
Unread May 27th, 2010, 03:34 AM
Colbex's Avatar
Colbex
Cobalt Black Creator
 
Join Date: Jul 2009
Location: The land of gentle breezes
Age: 19
Gender: Male
Nature: Calm
Send a message via Windows Live Messenger to Colbex
@Maruno: Thanks a lot man.

@Soul.//Silver: I'm not sure, I'll take a look and see if I can find anything later and either edit this post or make a new one.

@Gregora: Wichu made a simple bank system for essentials ages ago. It should be in this thread... I think it was somewhere on...page 54? Although, it was only for savings, you'll have to edit it some more if you want your mom to actually spend the money and buy stuff.

@Blitz: You're just gonna have to delete the Audio.dll in the folder and it'll revert back to normal. Just realize that background sounds carry over from map to map, so if you don't want the sound of crackling fire in the middle of a lake, set it to have the map play a different bg sound, or set it to automatically play and then select (none). Or, you can select a sound and set it to 0 volume too.
__________________
My game thread has been closed, but since I have so much of it to re-do, it's a good thing. Rest assured, Cobalt Black (formerly burn) will be back, eventually.

  #7138  
Unread May 27th, 2010, 06:08 AM
Meegz0's Avatar
Meegz0
Beginning Trainer
 
Join Date: May 2010
Gender: Female
Nature: Quirky
Hm, I've got another problem/possibly a bug. But I can't "attach" my maps together anymore o.O
I got to test play, press F9->Visual Editor-> F5..and when I type a command it dosen't respond. It only responds to X, and C.
How do I fix this problem? D:
__________________
Horay for fake pokemon!
  #7139  
Unread May 27th, 2010, 05:46 PM
SwiftSign's Avatar
SwiftSign
Scary Fire Demon
 
Join Date: Jan 2009
Location: England
Age: 21
Gender: Male
Nature: Rash
I can make a Dependent event and stop it following you, but is there anyway to then use it as an event on the new map? E.G.

Dependent -> go to new map, talk to event -> Dependent character walks off.
__________________
  #7140  
Unread May 27th, 2010, 07:18 PM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Somewhere on earth where else?
Age: 16
Gender: Male
Nature: Adamant
manully changing pokemon forms? i use pokemon.form = 3
but it gives me an error message, how do i fix this (i was changing rotom's form or was trying.)
__________________
My Game:


  #7141  
Unread May 27th, 2010, 09:03 PM
Gregora
Trainer
 
Join Date: Feb 2006
Age: 25
Nature: Modest
Send a message via AIM to Gregora Send a message via Windows Live Messenger to Gregora Send a message via Yahoo to Gregora
Edit: I found the problem and fixed it. It was a very noob-ish problem. -_-
__________________




Click here to see my current RMXP project!

Last edited by Gregora; May 28th, 2010 at 06:34 PM. Reason: Fixed the problem
  #7142  
Unread May 28th, 2010, 07:52 PM
venom12's Avatar
venom12
Pokemon Crystal Rain Relased
 
Join Date: Sep 2006
Age: 22
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to venom12
Hi i have problem, when i battle with pokemon and i win then my pokemon dont get the exp points how can i fix it?
I using version from 7 may 2010

EDIT:
Never mind i fixed that.
__________________




Last edited by venom12; May 29th, 2010 at 08:04 AM.
  #7143  
Unread May 28th, 2010, 08:35 PM
Vicente14
Beginning Trainer
 
Join Date: May 2009
Gender:
how can i change the names of the pokemon? if i change them in pbs/pokemn.txt nothing happens
  #7144  
Unread May 29th, 2010, 02:07 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
Quote:
Originally Posted by Vicente14 View Post
how can i change the names of the pokemon? if i change them in pbs/pokemn.txt nothing happens
I assume you mean you want to change the species names, not individual Pokémon names (e.g. having your starter Pokémon and only it be called Wally).

After editing pokemon.txt, did you recompile the game before running it? You compile it by doing a playtest while in RPG Maker XP (where you draw the maps) - it's the big green "play" button at the top on the right.

The way the PBS files work is that they're a temporary set of files that can be easily edited. When you compile the game, the information therein is copied to some other files in a more complicated format (in the Data folder, anything with ".dat" at the end). The game only uses those .dat files while it's playing, not the PBS files. You can edit the PBS files all you want, but if you don't recompile the data (i.e. make new .dat files from them), they'll make no difference to the game.
__________________
  #7145  
Unread May 29th, 2010, 02:57 AM
Nyu~♥!'s Avatar
Nyu~♥!
Pokémon Opal Producer
 
Join Date: Jun 2009
Location: Somewhere!
Age: 17
Gender: Female
Nature: Gentle
Send a message via Yahoo to Nyu~♥!
Hey, all.
Can someone tell me how to delete a save file? Because I find it sad that I've never known how before. I mean, really.
Please do tell. Manually, or not.
Thanks.
__________________
Pokémon Opal has become partner's with another game! We are now hideAki!

  #7146  
Unread May 29th, 2010, 03:26 AM
Colbex's Avatar
Colbex
Cobalt Black Creator
 
Join Date: Jul 2009
Location: The land of gentle breezes
Age: 19
Gender: Male
Nature: Calm
Send a message via Windows Live Messenger to Colbex
To delete save data you have 3 options.
The first option is to just save over it. But.. that's probably not want you want.
The second is to, while on the title screen, press CTRL + X + Down Key.
The third is to open the game folder and find the file that says Game. You should have, like 4 of these. Delete the one with the blue dragon icon.
__________________
My game thread has been closed, but since I have so much of it to re-do, it's a good thing. Rest assured, Cobalt Black (formerly burn) will be back, eventually.

  #7147  
Unread May 29th, 2010, 06:41 AM
pokehackster's Avatar
pokehackster
Togepi
 
Join Date: Jan 2009
Gender:
at the risk of sounding really dumb is there anyway to empliment an underground script into the starter kit or is that yet to be thought of if the latter is true im going to see if there is anyway to make it ^.^
__________________
Pokémon Dual Shades

My deviantART

Sometimes you just have to ask your self "would I rather be crazy or stupid?"
  #7148  
Unread May 29th, 2010, 09:13 AM
NeoXodus
Beginning Trainer
 
Join Date: Apr 2010
Hey,
how can I delete the pokemonparty and all pokemon (in boxes)from the player?
  #7149  
Unread May 29th, 2010, 10:45 AM
brian1666's Avatar
brian1666
Beginning Trainer
 
Join Date: Apr 2009
Location: Ifori Region
Age: 21
Gender: Male
Nature: Calm
Quote:
Originally Posted by carmaniac View Post
Not exactly hard took me about 5 minutes to do this in the new starter kit.

Save the graphics I have attatched.
Go to the script PokemonUtilities
Go to line 1444 and this should be on that line:
Code:
   return AnimatedBitmap.new(sprintf("Graphics/Pictures/egg"))
Create a new line and paste in this code:
Code:
 elsif isConst?(species,PBSpecies,:GIRATINA) && ($game_map.map_id==36) #pokemon.item==PBItems::GRISEOUSORB || 
   return AnimatedBitmap.new(sprintf("Graphics/Battlers/%03d%s%s_alt",species,
      pokemon.isShiny? ? "s" : "",
      back ? "b" : "")
   )
And there you go.
And the icons? And there's one thing, i wanted only when the Griseous Orb is holded, but i already fixed that myself. Now i don't know how to change the icons! If you don't know, does someone else know it?
__________________
Games i support:
  #7150  
Unread May 29th, 2010, 03:07 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
Quote:
Originally Posted by brian1666 View Post
And the icons? And there's one thing, i wanted only when the Griseous Orb is holded, but i already fixed that myself. Now i don't know how to change the icons! If you don't know, does someone else know it?
Do the same kind of thing, but in the def immediately below the one you edited, handily called pbLoadPokemonIcon. It doesn't kill you to have a bit of a look on your own before clamouring for help, you know.

The only thing I'll say here is that you won't use the exact same chunk of code. Figure out how to adapt it by yourself.
__________________
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 06:31 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.