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
  #376    
Old November 11th, 2012, 06:57 PM
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm

Advertise here
i don't know if this a bug but when I'm test playing and I have the Rocky Helmet on my pokemon, the other pokemon attacks using fury swipes and on the 2nd hit its health depletes to zero and says it has fainted. but then I get hit 1 to 3 more times with fury swipes haha any way to fix that? it doesn't bother me, but if I could change it I would. I've already tried a few things but nothing seems to help. any suggestions?
Reply With Quote
  #377    
Old November 11th, 2012, 09:03 PM
zingzags's Avatar
zingzags
Creator or Pokemon Serenity
 
Join Date: Jan 2009
Location: Boston
Age: 20
Nature: Adamant
Quote:
Originally Posted by evulpsyduck View Post
I keep getting this error:

---------------------------
Exception: SystemStackError

Message: stack level too deep

SpriteResizerin `width'

Game_Map_:303:in `in_range?'

Game_Map_:335:in `update'

Game_Map_:334:in `each'

Game_Map_:334:in `update'

Scene_Map:37:in `updateMaps'

Scene_Map:36:in `each'

Scene_Map:36:in `updateMaps'

Scene_Map:84:in `miniupdate'

Scene_Map:83:in `loop'


This occurs after the first cutscene and after player has choosen a pokemon and leaves the lab.
The event move route needs to be fixed. Honestly I wish there was a better way to set up move routes but it is built in RPG MAKER XP.
__________________
Pokemon Serenity is my fangame name.
name decided 12/15/09
Currently helping:
Pokemon ebony
and
Xenotime:
Reply With Quote
  #378    
Old November 13th, 2012, 07:41 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by FL . View Post
1-Attached

3-Play time is a different case, it exists even in RBY.
1. I don't see that. I don't know why you do.

3. Yes, I know it's different. What I'm saying is that "date started" is related to "time played", and should also be the real world time.
__________________
Reply With Quote
  #379    
Old November 13th, 2012, 03:50 PM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 26
Gender: Male
Nature: Naive
First off
Quote:
Originally Posted by FL . View Post
6-The Hiker, the Fisherman and the Beauty
I would like to comment that that sounds like the opening to a joke of some sort. Probably with "Walk into a bar" being the next part.

Quote:
1. I don't see that. I don't know why you do.
I seem to see it too... What I notice is that the phone number lines seem to dislike \b or such commands. I couldn't guess why this happens though.
__________________

Reply With Quote
  #380    
Old November 13th, 2012, 04:50 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by IceGod64 View Post
First off

I would like to comment that that sounds like the opening to a joke of some sort. Probably with "Walk into a bar" being the next part.
Yeah... That's the best I could think of. The so-called "punchline" involves the fisherman getting his tackle out, but the events are out of order.


Quote:
Originally Posted by IceGod64 View Post
I seem to see it too... What I notice is that the phone number lines seem to dislike \b or such commands. I couldn't guess why this happens though.
It's because the text isn't displayed using the Show Text event command, but by a different script. In particular, I think it's the def _I that messes certain things up a bit by evaluating \b too early (and in your case turns it into a square - we're probably using different fonts/versions of a font). Try using \\b instead to make that colour command remain long enough to be "evaluated" in the proper place.

I made up that explanation; I have no idea if it's accurate; it seems to work, though, and describes quite well when you need to use those first few "Displays text" things.
__________________
Reply With Quote
  #381    
Old November 13th, 2012, 06:45 PM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 26
Gender: Male
Nature: Naive
Quote:
Originally Posted by Maruno View Post
It's because the text isn't displayed using the Show Text event command, but by a different script. In particular, I think it's the def _I that messes certain things up a bit by evaluating \b too early (and in your case turns it into a square - we're probably using different fonts/versions of a font). Try using \\b instead to make that colour command remain long enough to be "evaluated" in the proper place.
Yeah, that's the solution. I thought that might be the fix earlier, but I wasn't able to test at the time.
__________________

Reply With Quote
  #382    
Old November 14th, 2012, 04:05 PM
FHJoker's Avatar
FHJoker
Re-thinking Osmium
 
Join Date: Dec 2007
Location: Somwhere alone in peace
Age: 23
Gender: Male
Nature: Relaxed
When I look at the Area section of Pikachu's Pokedex entry I get this

Exception: NameError
Message: undefined local variable or method `mapppos' for #<PokemonNestMapScene:0x89c2368>
PokemonNestAndForm:58:in `pbStartScene'
PokemonNestAndForm:57:in `each'
PokemonNestAndForm:57:in `pbStartScene'
PokemonNestAndForm:51:in `each'
PokemonNestAndForm:51:in `pbStartScene'
PokemonNestAndForm:136:in `pbStartScreen'
PokemonPokedex:821:in `pbDexEntry'
PokemonPokedex:756:in `loop'
PokemonPokedex:828:in `pbDexEntry'
PokemonPokedex:755:in `pbActivateWindow'


Similar Happens with Chansey also and probably others. This is on a fresh Verison of Essentials
__________________

Reply With Quote
  #383    
Old November 14th, 2012, 06:22 PM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 26
Gender: Male
Nature: Naive
Quote:
Originally Posted by FHJoker View Post
When I look at the Area section of Pikachu's Pokedex entry I get this

Exception: NameError
Message: undefined local variable or method `mapppos' for #<PokemonNestMapScene:0x89c2368>
PokemonNestAndForm:58:in `pbStartScene'
PokemonNestAndForm:57:in `each'
PokemonNestAndForm:57:in `pbStartScene'
PokemonNestAndForm:51:in `each'
PokemonNestAndForm:51:in `pbStartScene'
PokemonNestAndForm:136:in `pbStartScreen'
PokemonPokedex:821:in `pbDexEntry'
PokemonPokedex:756:in `loop'
PokemonPokedex:828:in `pbDexEntry'
PokemonPokedex:755:in `pbActivateWindow'


Similar Happens with Chansey also and probably others. This is on a fresh Verison of Essentials
Did you try making a new save?
__________________

Reply With Quote
  #384    
Old November 14th, 2012, 06:29 PM
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Quote:
Originally Posted by IceGod64 View Post
Did you try making a new save?
I noticed the same thing when I upgraded to the newer essentials. I had to start a new saved game in order to correct all of the script errors I was getting.
Reply With Quote
  #385    
Old November 15th, 2012, 04:21 AM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Quote:
Originally Posted by zingzags View Post
The event move route needs to be fixed. Honestly I wish there was a better way to set up move routes but it is built in RPG MAKER XP.
There is a problem with "Ignore If Can't Move" in "Move Route" for Player.
__________________
Reply With Quote
  #386    
Old November 15th, 2012, 05:34 AM
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Quote:
Originally Posted by FL . View Post
There is a problem with "Ignore If Can't Move" in "Move Route" for Player.
i've noticed that while making a scene in my game. why is that?
Reply With Quote
  #387    
Old November 15th, 2012, 08:17 PM
FHJoker's Avatar
FHJoker
Re-thinking Osmium
 
Join Date: Dec 2007
Location: Somwhere alone in peace
Age: 23
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by IceGod64 View Post
Did you try making a new save?
I tried both a new game and deleting my save. it still happens.
__________________

Reply With Quote
  #388    
Old November 15th, 2012, 09:04 PM
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Quote:
Originally Posted by FHJoker View Post
I tried both a new game and deleting my save. it still happens.
why not try deleting the essentials that you have and download an unmodified current version
Reply With Quote
  #389    
Old November 16th, 2012, 04:43 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Did you try reading the v10 release thread? It's a typo.
__________________
Reply With Quote
  #390    
Old November 17th, 2012, 11:17 AM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Quote:
Originally Posted by thor348 View Post
i've noticed that while making a scene in my game. why is that?
Probably Poccil forgot to add the "skippable" flag check in someplace.
__________________
Reply With Quote
  #391    
Old November 17th, 2012, 01:26 PM
p.claydon
 
Join Date: Jan 2011
Gender:
for those who want to buy things from the game corner and with coins then you can try my script

http://www.pokecommunity.com/showthread.php?t=282976

you in theory can buy pokémon with this script but u need a dummy item and conditional branches
Reply With Quote
  #392    
Old November 18th, 2012, 05:28 AM
mad.array's Avatar
mad.array
Eeveelutions... need more...
 
Join Date: Nov 2007
Location: Birmingham, UK
Age: 29
Gender: Male
Nature: Rash
During the end of round phase in PokeBattle_Battle, I've found something slightly peculiar. Everything runs fine up until

'@battlers[i].pbAbilitiesOnSwitchIn(false)' (Line 3372)

This seems to only run through once (it is nested in a 'for i in priority' loop). Subsequently, the next turn starts before things like the flinch effect etc. have finished resetting.

EDIT: I figured it out. Actually, it was posting it which drew my attention to it. '@battlers[i]' needs to be changed to i. I can't believe I've been scratching my head over this for the last half an hour!
__________________

Last edited by mad.array; November 18th, 2012 at 05:34 AM. Reason: Fixed it.
Reply With Quote
  #393    
Old November 18th, 2012, 06:27 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by mad.array View Post
During the end of round phase in PokeBattle_Battle, I've found something slightly peculiar. Everything runs fine up until

'@battlers[i].pbAbilitiesOnSwitchIn(false)' (Line 3372)

This seems to only run through once (it is nested in a 'for i in priority' loop). Subsequently, the next turn starts before things like the flinch effect etc. have finished resetting.

EDIT: I figured it out. Actually, it was posting it which drew my attention to it. '@battlers[i]' needs to be changed to i. I can't believe I've been scratching my head over this for the last half an hour!
Yep, that's right. It's because I tend to copy lines of code from place to place, and don't always make sure it works. Different parts of the scripts refer to battlers in different ways, and indeed that end-of-round method refers to them in both ways in different places (sometimes i is a number, sometimes it's the battler itself).
__________________
Reply With Quote
  #394    
Old November 18th, 2012, 12:46 PM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 26
Gender: Male
Nature: Naive
What exactly was the problem it caused?
__________________

Reply With Quote
  #395    
Old November 18th, 2012, 02:26 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
It would have made the def pbEndOfRoundPhase exit early, which means lines 3372 and later wouldn't ever run. This includes abilities that occur when a battler is switched in (e.g. weather), Truant's and Lock-On's counting down, and the cancelling of effects like flinching, Helping Hand, Charge, Magic Coat and Snatch (and a few others). This would result in some quirky behaviour, including a battler flinching from being attacked in the previous round, Pokémon always remaining Charged, and Regigigas never toggling between attacking and truanting.

That's what I'm guessing.
__________________
Reply With Quote
  #396    
Old December 14th, 2012, 07:12 AM
desbrina's Avatar
desbrina
Lightning Yellow Creator
 
Join Date: Feb 2011
Location: UK
Age: 25
Gender: Female
Nature: Quiet
Quote:
Originally Posted by FHJoker View Post
When I look at the Area section of Pikachu's Pokedex entry I get this

Exception: NameError
Message: undefined local variable or method `mapppos' for #<PokemonNestMapScene:0x89c2368>
PokemonNestAndForm:58:in `pbStartScene'
PokemonNestAndForm:57:in `each'
PokemonNestAndForm:57:in `pbStartScene'
PokemonNestAndForm:51:in `each'
PokemonNestAndForm:51:in `pbStartScene'
PokemonNestAndForm:136:in `pbStartScreen'
PokemonPokedex:821:in `pbDexEntry'
PokemonPokedex:756:in `loop'
PokemonPokedex:828:in `pbDexEntry'
PokemonPokedex:755:in `pbActivateWindow'


Similar Happens with Chansey also and probably others. This is on a fresh Verison of Essentials
I've just run into that error. Its due to mapppos
Theres an extra p in there, its in the v10 download as well

Find the line

showpoint=false if loc[0]==mappos[1] && loc[1]==mappos[2] &&
loc[7] && !$game_switches[loc[7]]

in that file and change mapppos[2] to mappos[2]
__________________
Creator of


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

Reply With Quote
  #397    
Old December 16th, 2012, 07:33 AM
desbrina's Avatar
desbrina
Lightning Yellow Creator
 
Join Date: Feb 2011
Location: UK
Age: 25
Gender: Female
Nature: Quiet
It seems that variables & switches that are supposed to set after a trainer battle don't seem to happen.
Its the same in a unedited version of essentials as well

I have the following event, which is trainer event
Click image for larger version

Name:	e1.png
Views:	8
Size:	7.4 KB
ID:	66745

And a door event
Click image for larger version

Name:	e2.png
Views:	6
Size:	6.1 KB
ID:	66746

When you beat the trainer, the door is supposed to open, but the variable doesn't get set. It doesn't get set if i make the variable set to the second page

And yet, this event works
Click image for larger version

Name:	e3.png
Views:	7
Size:	12.8 KB
ID:	66747
__________________
Creator of


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

Reply With Quote
  #398    
Old December 16th, 2012, 09:17 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by desbrina View Post
It seems that variables & switches that are supposed to set after a trainer battle don't seem to happen.
Its the same in a unedited version of essentials as well

I have the following event, which is trainer event
Attachment 66745

And a door event
Attachment 66746

When you beat the trainer, the door is supposed to open, but the variable doesn't get set. It doesn't get set if i make the variable set to the second page

And yet, this event works
Attachment 66747
It appears that Essentials is putting trainer comments back into the event even if you've deleted them (perhaps because the event's name is still "Trainer"), which means when you run/compile the game any changes to that trainer are erased. You'll only notice if you close RMXP and open it again.

This behaviour is unwanted, and I'll have a look at it.
__________________
Reply With Quote
  #399    
Old December 16th, 2012, 09:58 AM
desbrina's Avatar
desbrina
Lightning Yellow Creator
 
Join Date: Feb 2011
Location: UK
Age: 25
Gender: Female
Nature: Quiet
I always forget about changing the event name, this was the problem.
__________________
Creator of


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

Reply With Quote
  #400    
Old December 16th, 2012, 01:21 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Even so, it shouldn't do that - I can easily imagine a scenario where you'd want a trainer who can spot the player from afar and who does something special.

I had a quick look, and I found the script section Compiler and the lines beginning at 3658. It looks like this behaviour is caused by an automatic conversion of some way-old method trainers used to work ("legacy"), so this behaviour was never actually intended. I've not tried this yet, but if you delete that entire "if" statement there (to line 3750), it should work.
__________________
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 06:51 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.