• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Report bugs and errors in unmodified Essentials version 21

70
Posts
18
Years
The last Version doesn't support special characters like ä, ö, ü or é. Example of this if i try to type a special character in a box name, I get this error:

Spoiler:

Edit:

@Rayd12smitty: Have you tried to start a new save file?
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
The last Version doesn't support special characters like ä, ö, ü or é. Example of this if i try to type a special character in a box name, I get this error:
From what I can tell, this has never worked; it's not just the latest version.

In the script section PokemonTextEntry, around line 800, find the instances of the word codepoint. Replace them all with buf[j] and see if that works.
 
70
Posts
18
Years
That works, thank you. The only strange thing is when I type a "`" with my keyboard, a "{" appears sometimes instead of a "`". But sometimes it types correctly the "`".
 

FL

Pokémon Island Creator
2,434
Posts
13
Years
  • Online now
When you slide on ice, the camera is always offsetted when you stop sliding. It is a rather jarring effect
After a big time I finally fix this!
This bugs occurs because the way that movimentation and tile updates works. Example: If you move 10 pixel in time and the tile is 32 pixel, so you need to move by 10, 10, 10 and 2 pixel and by way that the game is refreshed, in some steps you goes some pixels out of screen center making the game incorrectly center you. There 3 ways of fix this: Changing the sprite update way on movement, center the player after the slide ends or making the event similar to move route (that haven't this problem).
The first may unleash some side effects, if anyone wish to try, search for 'def refreshLayer0'. I tried the second way. After you centered, in some scenarios some sprites goes off player range without been correctly dispose, so its need to update all in map after the first update.

In Scene_Map, before line 'def transfer_player(cancelVehicles=true)' put:

Code:
 def updateSprites 
   for i in @spritesets.keys
     @spritesets[i].updateSprites
   end  
 end

In Spriteset_Map, before line 'def in_range?(object)' put:

Code:
 def updateSprites
   for sprite in @character_sprites
     sprite.update
   end
 end

In PokemonField, after line 'end while pbGetTerrainTag(event)==PBTerrain::Ice' put:

Code:
 $game_player.center($game_player.x, $game_player.y)
 $scene.updateSprites
 
47
Posts
12
Years
  • Seen May 18, 2017
Thanks a lot. It works great. Only thing is that running will speed up the ice sliding which makes sense irl and is a cool "feature", but isn't quite faithful to the games which might bother some people.
 
202
Posts
15
Years
  • Age 27
  • Seen Jan 5, 2014
when i start the game in anyway it crashes upon loading the menu that shows new game and that stuff.


---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError
Message: scss
PokemonLoad:308:in `pbStartLoadScreen'
DebugIntro:6:in `main'
Main:37:in `mainFunctionDebug'
Mainin:15: `mainFunction'
Main:15:in `pbCriticalCode'
Main:15:in `mainFunction'
Main:47
Main:46:in `loop'
Main:55

This exception was logged in
C:\Users\Josh\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
At the end of a battle there come a main script error on line 47 help
That really doesn't help. At least copy the error message you get and post it. Also tell us whether you've changed anything (if you have, this error doesn't belong in here but in its own thread).
 
8
Posts
11
Years
  • Seen Apr 27, 2014
yes but when i not change it then this error come. I'm dutch :P

Exception: NameError

Message: undefined local variable or method `value' for #<PokeBattle_Battler:0xa4c8d68>

PokeBattle_Battler:91:in `type1'

PokeBattle_Move:90:in `pbTypeModifier'

PokeBattle_Battler:1125:in `pbSuccessCheck'

PokeBattle_Battler:1212:in `pbProcessNonMultiHitMove'

PokeBattle_Battler:1485:in `pbUseMove'

PokeBattle_Battler:1462:in `loop'

PokeBattle_Battler:1488:in `pbUseMove'

PokeBattle_Battler:1746:in `pbProcessTurn'

PokeBattle_Battler:1745:in `logonerr'

PokeBattle_Battler:1745:in `pbProcessTurn'



This exception was logged in errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
 
46
Posts
13
Years
  • Seen Jul 12, 2016
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
 

IceGod64

In the Lost & Found bin!
624
Posts
15
Years
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.
 
46
Posts
13
Years
  • Seen Jul 12, 2016
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)
 

Nickalooose

--------------------
1,309
Posts
15
Years
  • Seen Dec 28, 2023
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?
 

Pharetra

zzzz
451
Posts
12
Years
  • Age 27
  • Seen Nov 23, 2021
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.
 
46
Posts
13
Years
  • Seen Jul 12, 2016
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.
 

Nickalooose

--------------------
1,309
Posts
15
Years
  • Seen Dec 28, 2023
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.
 

FL

Pokémon Island Creator
2,434
Posts
13
Years
  • Online now
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?
 
302
Posts
13
Years
  • Seen Aug 25, 2014
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?
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
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.
 

FL

Pokémon Island Creator
2,434
Posts
13
Years
  • Online now
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.
 

Attachments

  • textbox3.png
    textbox3.png
    1.3 KB · Views: 146
  • girl_run.png
    girl_run.png
    3 KB · Views: 6
Back
Top