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.


Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old July 11th, 2013, 08:17 AM
jim42's Avatar
jim42
 
Join Date: Jul 2009
Gender: Male
It seems that error has resolved itself in the two days since I posted about it. Not sure why, since I haven't touched the thing since then. Oh well. I've left it below for posterity.

It's back, with a vengeance.

Code:
Exception: NoMethodError

Message: undefined method `*' for nil:NilClass

Game_Character_1:198:in `screen_z'

Sprite_Character:148:in `update_or'

PerspectiveTilemap:429:in `shadow_update'

Shadow:179:in `update'

Sprite_Character:37:in `perspectivetilemap_initialize'

PerspectiveTilemap:423:in `shadow_initialize'

Shadow:152:in `initialize'

Spriteset_Map:162:in `new'

Spriteset_Map:162:in `_animationSprite_initialize'

Spriteset_Map:161:in `each'
So I have no idea what this means. I gather it has something to do with drawing shadows on events, and it's encountering a problem doing so. Why, though, escapes me, as I haven't modified any of the script classes named in the stack call in the error message. I will note this only occurs when attempting to warp to outdoor maps. I was not able to reproduce the error in a clean Essentials.

Why is it throwing this error? I remember there being something in an older version that drew shadows when there were light events, but I haven't made any of those... And since I can't find what the call is from, I can't isolate the problem. Bleh, I should be better at this considering I've been studying programming for 3 semesters now.

Last edited by jim42; July 24th, 2013 at 07:53 PM.
Reply With Quote
  #2    
Old July 24th, 2013, 07:52 PM
jim42's Avatar
jim42
 
Join Date: Jul 2009
Gender: Male
Okay, so, it's back. I don't know why. I still haven't touched any scripts. This time, the error occurs on only one map, and it seems to do so when the player is close enough on a connected map for the map in question to load. The only things I did leading up to the re-occurance of the error were to change the tileset and the layout of the map, neither of which I should suspect would be the root of this problem. Since I have no idea what the stack call is doing, I really am at a loss as to how to fix this.

Help?
Reply With Quote
  #3    
Old July 25th, 2013, 04:22 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
It seems that the game is trying to find the priority of a tile which doesn't exist. This could happen if you switched from a longer tileset to a shorter one.

Make sure all the tiles on your map actually exist in the tileset. I suggest that you fill in any blank-looking areas with a "junk" tile and them fill them in with the real blank tile.
__________________
Reply With Quote
  #4    
Old July 25th, 2013, 07:21 AM
jim42's Avatar
jim42
 
Join Date: Jul 2009
Gender: Male
Yep, that did the trick. Thanks a bunch, man. I'm not sure what part of the map exactly was causing that problem, but thorough replacement fixed it, so I guess it had to be at least one tile somewhere.
Reply With Quote
Reply
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:23 PM.


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.