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.


Advertise here

Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #151    
Old June 20th, 2012, 05:10 PM
titiy
Beginning Trainer
 
Join Date: Aug 2010

Advertise here
I've changed the region map in my game and now I get this error everytime I go in the pokedex/area

-
Exception: NoMethodError

Message: undefined method `[]' for nil:NilClass

PokemonNestAndForm:33:in `pbStartScene'

PokemonNestAndForm:118:in `pbStartScreen'

PokemonPokedex:821:in `pbDexEntry'

PokemonPokedex:756:in `loop'

PokemonPokedex:828:in `pbDexEntry'

PokemonPokedex:755:in `pbActivateWindow'

PokemonPokedex:755:in `pbDexEntry'

PokemonPokedex:1057:in `pbPokedex'

PokemonPokedex:1025:in `loop'

PokemonPokedex:1063:in `pbPokedex'



-

I figured I'd post this here in case someone finds out what is wrong before I do
Reply With Quote
  #152    
Old June 20th, 2012, 05:53 PM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 26
Gender: Male
Nature: Naive
Can you give us more useful information? Show us the contents of your Townmap.txt, tell us what you named the map file, etc? The error is not helpful at all in this case.
__________________

Reply With Quote
  #153    
Old June 20th, 2012, 06:37 PM
titiy
Beginning Trainer
 
Join Date: Aug 2010
Sure.
[1]
Name=Sayba
Filename=map.png
Name="Sayba Region"
Point=23,16,"Maron Town",,,,,
Point=23,15,"Route 101",,,,,
Point=23,14,"Route 101",,,,,
Point=24,14,"Maron Lakebed",,,,,
Point=22,14,"Domino Town",,188,014,025,
Point=22,13,"Route 102",,,,,
Point=21,13,"Route 102",,,,,

The map file called "map.png'' and it's the region number 1 (I deleted the number ''0''.)
Everything else was done with the editor (set metadata, encounter etc etc)
Reply With Quote
  #154    
Old June 20th, 2012, 11:17 PM
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
Straight off the bat I'd say it's because it's trying to find region 1, which would be "0", try changing it to 0 instead... Also, I'm pretty sure this deserves it's own thread, not posted here as it's your error not an Essentials one.

Are you sure this error is for your map though?
Reply With Quote
  #155    
Old June 21st, 2012, 04:31 AM
Pharetra's Avatar
Pharetra
MOM GET THE CAMERA
 
Join Date: Jun 2011
Age: 18
Gender: Male
I get this error the moment a battle starts:
Code:
Exception: TypeError
Message: false can't be coerced into Fixnum
PokeBattle_Pokemon:550:in `+'
PokeBattle_Pokemon:550:in `calcHP'
PokeBattle_Pokemon:574:in `calcStats'
PokeBattle_Pokemon:571:in `each'
PokeBattle_Pokemon:571:in `calcStats'
PokemonTrainers:49:in `pbLoadTrainer'
PokemonTrainers:23:in `each'
PokemonTrainers:23:in `pbLoadTrainer'
PokemonTrainers:7:in `each'
PokemonTrainers:7:in `pbLoadTrainer'
I've searched around for similar errors and from what I found, most are caused by missing files. I don't think that's the case this time though.
__________________
Reply With Quote
  #156    
Old June 21st, 2012, 06:27 AM
titiy
Beginning Trainer
 
Join Date: Aug 2010
Quote:
Originally Posted by Nickalooose View Post
Straight off the bat I'd say it's because it's trying to find region 1, which would be "0", try changing it to 0 instead... Also, I'm pretty sure this deserves it's own thread, not posted here as it's your error not an Essentials one.

Are you sure this error is for your map though?
That's exactly what the problem was. I kinda realised that yesterday when I posted my reply but since my neighbours close their Wi-fi connection I couldn't come online and post this.

And yeah my bad.
Reply With Quote
  #157    
Old June 21st, 2012, 01:24 PM
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
Quote:
Originally Posted by P-Sign View Post
I get this error the moment a battle starts:
Code:
Exception: TypeError
Message: false can't be coerced into Fixnum
PokeBattle_Pokemon:550:in `+'
PokeBattle_Pokemon:550:in `calcHP'
PokeBattle_Pokemon:574:in `calcStats'
PokeBattle_Pokemon:571:in `each'
PokeBattle_Pokemon:571:in `calcStats'
PokemonTrainers:49:in `pbLoadTrainer'
PokemonTrainers:23:in `each'
PokemonTrainers:23:in `pbLoadTrainer'
PokemonTrainers:7:in `each'
PokemonTrainers:7:in `pbLoadTrainer'
I've searched around for similar errors and from what I found, most are caused by missing files. I don't think that's the case this time though.
From what I can read, you're trying to use a string instead of a number... Have you edited the code in PokeBattle_Pokemon at all? Maybe that's the place to start, your error is odd, it doesn't actually say alot.
Reply With Quote
  #158    
Old June 21st, 2012, 03:21 PM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Quote:
Originally Posted by Nickalooose View Post
Quote:
Originally Posted by P-Sign View Post
I get this error the moment a battle starts:
Code:
Exception: TypeError
Message: false can't be coerced into Fixnum
PokeBattle_Pokemon:550:in `+'
PokeBattle_Pokemon:550:in `calcHP'
PokeBattle_Pokemon:574:in `calcStats'
PokeBattle_Pokemon:571:in `each'
PokeBattle_Pokemon:571:in `calcStats'
PokemonTrainers:49:in `pbLoadTrainer'
PokemonTrainers:23:in `each'
PokemonTrainers:23:in `pbLoadTrainer'
PokemonTrainers:7:in `each'
PokemonTrainers:7:in `pbLoadTrainer'
I've searched around for similar errors and from what I found, most are caused by missing files. I don't think that's the case this time though.
From what I can read, you're trying to use a string instead of a number... Have you edited the code in PokeBattle_Pokemon at all? Maybe that's the place to start, your error is odd, it doesn't actually say alot.
Also, this can happen if you missplace some "=" with "==" and vice-versa, but have several interpretations. This occurs in both wild and trainer battles?
__________________
Reply With Quote
  #159    
Old July 2nd, 2012, 08:19 PM
Ratty524's Avatar
Ratty524
 
Join Date: Jan 2011
Gender: Male
Nature: Calm
Hello, I haven't been on this site in a while...

When I try to open up the latest release of PE, I get this error:

"Script 'SpriteResizer' line149 NoMethodError occured.
undefined method '*' for nil:NilClass"

... When I check the line its referring to, all I see is the asterisk used to multiply some variables. Seems the script is misreading it as a method?
Reply With Quote
  #160    
Old July 3rd, 2012, 04:44 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by Ratty524 View Post
Hello, I haven't been on this site in a while...

When I try to open up the latest release of PE, I get this error:

"Script 'SpriteResizer' line149 NoMethodError occured.
undefined method '*' for nil:NilClass"

... When I check the line its referring to, all I see is the asterisk used to multiply some variables. Seems the script is misreading it as a method?
Delete your save file and try again.
__________________
Reply With Quote
  #161    
Old July 3rd, 2012, 04:45 PM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
The textbox3 has a white background part in top left. I attached the fixed one in this post.

I guess that your running animation isn't right. The eyes need to be aligned, except in the step frames. I made a few changes and attached the fixed one in this post.
Attached Thumbnails
girl_run.png‎  
Attached Images
 
__________________
Reply With Quote
  #162    
Old July 5th, 2012, 01:54 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
The text box was fixed in version 7 (as were one or two others), but thanks for the revised running charset. I just threw the old one together based mainly on lining the feet up, but yours makes more sense.
__________________
Reply With Quote
  #163    
Old July 6th, 2012, 05:32 AM
desbrina's Avatar
desbrina
Lightning Yellow Creator
 
Join Date: Feb 2011
Location: UK
Age: 25
Gender: Female
Nature: Quiet
i'm trying to upgrade on of my projects to the latest version.
I've replaced the scripts file and deleted the save file. Now upon selecting new game i get the following error. I've replaced the pbs files with the default essentials one to see if it was mine ones causing it but no luck.

It seems to occur when pbChangePlayer(0) is called, i can have text before it and it'll show, but errors when i get to that call

Quote:
Exception: TypeError
Message: cannot convert Fixnum into String
Sprite_Character:95:in `+'
Sprite_Character:95:in `update_or'
PerspectiveTilemap:430:in `shadow_update'
Shadow:179:in `update'
Spriteset_Map:304:in `_animationSprite_update'
Spriteset_Map:297:in `each'
Spriteset_Map:297:in `_animationSprite_update'
AnimationSprite:84:in `update'
Scene_Map:51:in `updateSpritesets'
Scene_Map:45:in `each'
Edit:
Seems the issue is due to one of the pbs files, forced it to recompile them and the error goes. just need to find out which are causing it now
__________________
Creator of


A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.


Last edited by desbrina; July 6th, 2012 at 05:42 AM.
Reply With Quote
  #164    
Old July 6th, 2012, 07:14 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by desbrina View Post
i'm trying to upgrade...
...then your question doesn't belong in this thread.

Your error suggests that your metadata.txt doesn't list the filenames for one or more charsets for the player characters properly. It's something to do with changing the player's charset, anyway.
__________________
Reply With Quote
  #165    
Old July 8th, 2012, 05:47 AM
Steevie88's Avatar
Steevie88
 
Join Date: May 2008
Location: Germany
Age: 25
Gender: Male
You can still surf on a non-surfing-tile, when there is water an a lower layer. In the starter kits before, surfing stopped when the highest layer were a non-surfing-tile. And that was good xD
Reply With Quote
  #166    
Old July 8th, 2012, 06:07 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by Steevie88 View Post
You can still surf on a non-surfing-tile, when there is water an a lower layer. In the starter kits before, surfing stopped when the highest layer were a non-surfing-tile. And that was good xD
Then don't put water tiles where you don't want to surf. Or show me a good example where the water needs to be there but is causing your problem.

I've not changed anything in this respect. If the above tile has a terrain tag of 0, then the next highest tile (the water) is checked instead - make sure you don't cover up water with tiles whose terrain tag is 0.
__________________
Reply With Quote
  #167    
Old July 8th, 2012, 08:10 AM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 26
Gender: Male
Nature: Naive
Terrain Tag 13 is meant specifically for covering water.. But really, you can accomplish this with any terain tag that isn't 0.
__________________

Reply With Quote
  #168    
Old July 8th, 2012, 01:28 PM
xHamburgerx's Avatar
xHamburgerx
Beginning Trainer
 
Join Date: Jun 2012
Gender: Male
Can someone help I don't know what i did?

Script 'SpriteWindow' line 2130: Errno::ENOENT occurred.No such file or directory - Data/trainertypes.dat
Reply With Quote
  #169    
Old July 8th, 2012, 11:03 PM
Tiago_Uchiha
Beginning Trainer
 
Join Date: Jun 2012
Gender: Male
---------------------------
Pokemon XD Lords of Shadow
---------------------------
Exception: NoMethodError

Message: undefined method `[]' for nil:NilClass

PokemonNestAndForm:41:in `pbStartScene'

PokemonNestAndForm:40:in `each'

PokemonNestAndForm:40:in `pbStartScene'

PokemonNestAndForm:118:in `pbStartScreen'

PokemonPokedex:821:in `pbDexEntry'

PokemonPokedex:756:in `loop'

PokemonPokedex:828:in `pbDexEntry'

PokemonPokedex:755:in `pbActivateWindow'

PokemonPokedex:755:in `pbDexEntry'

PokemonPokedex:1057:in `pbPokedex'



This exception was logged in

C:\Users\MARCELO\Saved Games/Pokemon XD Lords of Shadow/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Reply With Quote
  #170    
Old July 9th, 2012, 12:19 AM
khkramer's Avatar
khkramer
 
Join Date: Apr 2010
Gender: Male
Quote:
Originally Posted by xHamburgerx View Post
Can someone help I don't know what i did?

Script 'SpriteWindow' line 2130: Errno::ENOENT occurred.No such file or directory - Data/trainertypes.dat
Try recompiling with the editor.
__________________

Check out the MMORPG I'm developing:

• Trading • PvP • Co-Op
Reply With Quote
  #171    
Old July 9th, 2012, 05:47 AM
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
Spoiler:
Quote:
Originally Posted by Tiago_Uchiha View Post
---------------------------
Pokemon XD Lords of Shadow
---------------------------

Exception: NoMethodError

Message: undefined method `[]' for nil:NilClass

PokemonNestAndForm:41:in `pbStartScene'

PokemonNestAndForm:40:in `each'

PokemonNestAndForm:40:in `pbStartScene'

PokemonNestAndForm:118:in `pbStartScreen'

PokemonPokedex:821:in `pbDexEntry'

PokemonPokedex:756:in `loop'

PokemonPokedex:828:in `pbDexEntry'

PokemonPokedex:755:in `pbActivateWindow'

PokemonPokedex:755:in `pbDexEntry'

PokemonPokedex:1057:in `pbPokedex'



This exception was logged in


C
:\Users\MARCELO\Saved Games/Pokemon XD Lords of Shadow/errorlog.txt.

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

---------------------------
OK
---------------------------


This gives us no information what-so-ever, what did you do? What happened? It looks to me like you need to start a new game... But first, delete your save file...

On a side note, next time you clipboard another error, remove all unneccessary things like blank, new lines and everything highlighted red, please.

EDIT: Actually, on another note, it looks like you edited the region map, and the region "0" doesn't exist.
Reply With Quote
  #172    
Old July 9th, 2012, 07:03 AM
xHamburgerx's Avatar
xHamburgerx
Beginning Trainer
 
Join Date: Jun 2012
Gender: Male
Sorry that i keep posting errors but i keep coming acrossed them in my work.


---------------------------
Pokemon Essentials
---------------------------
Script 'PokemonUtilities' line 1246: NoMethodError occurred.

undefined method `[]' for nil:NilClass
---------------------------
OK
---------------------------

I got it while Battling a new pokemon i made.
Reply With Quote
  #173    
Old July 10th, 2012, 02:22 AM
darkdemon
Beginning Trainer
 
Join Date: Jun 2011
Gender: Male
For some reason when I connect my maps (with Visual Editor) everything works fine, but then I go into game and test out the connection but then it seams to be connected to a black map, even though I have none. It says Im entering Route 1 but my player's sprite disapears and im wlaking in a blank map. After a while Route 1 becomes visible but then the Home Town map is a Black map now. PLEASE HELP!
Reply With Quote
  #174    
Old July 10th, 2012, 06:36 AM
Nickalooose
--------------------
 
Join Date: Mar 2008
Gender: Female
Quote:
Originally Posted by xHamburgerx View Post
Sorry that i keep posting errors but i keep coming acrossed them in my work.

Script 'PokemonUtilities' line 1246: NoMethodError occurred.
undefined method `[]' for nil:NilClass

I got it while Battling a new pokemon i made.
I don't think the whole error is here for a start... But I think you need to start a new game surely... It can't find the new form of the new Pokémon... As far as I can read anyways.

Quote:
Originally Posted by darkdemon View Post
For some reason when I connect my maps (with Visual Editor) everything works fine, but then I go into game and test out the connection but then it seams to be connected to a black map, even though I have none. It says Im entering Route 1 but my player's sprite disapears and im wlaking in a blank map. After a while Route 1 becomes visible but then the Home Town map is a Black map now. PLEASE HELP!
I think the problem has been sorted before, I think, it's because your maps are overlapping, try not over lapping them! I believe teleports are fine to use, so maybe use a teleport with no fading, that could give the illusion of maps being linked.
Reply With Quote
  #175    
Old July 10th, 2012, 10:26 AM
Pokemon 3000's Avatar
Pokemon 3000
huh?
 
Join Date: Sep 2005
Location: Germany
Gender: Male
Nature: Rash
A few bugs, that I found in the latest release (Version 8):

Castform doesn't change his form. I tried it with the weathertype rain and storm. When the battle was starting, it simply says "Castform transformed", but nothing happenes. Neither his sprite nor his type is changing.

If you defeat a foe pokémon, your pokémon doesn't gain exp. (Both battle against a wild pokemon and against a trainer)

During a trainer battle, the foe trainer doesn't call the next pokemon (sometimes), if you defeat the previous pokémon. Your pokémon is attacking "nothing" and the message "But there's no target" will appear. I testet it with the magma traier, next to the water.

If you change the weather type with an event, e.g on the "Test Map" map, the weather will continue if you entering a non Outdoor Map.

Of course i startet a new game before, so an error due to an old savegame is so be excludet from it. I'm not sure, if this are really bugs or if I'm doing something wrong (Or if anyone here understand my miserable english)

Last edited by Pokemon 3000; July 10th, 2012 at 10:49 AM.
Reply With Quote
Reply
Quick Reply

Sponsored Links


Advertise here
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:08 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.