• 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?".
  • 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.

[Scripting Question] Rock Climb error

  • 3
    Posts
    7
    Years
    • Seen Sep 27, 2022
    Hello all!

    I recently decided to add Rock Climb to my game, using the Relic Castle resource by Ulithium_Dragon (sorry I couldn't link it, but this is my first post). I followed the instructions included in the resource, placed the tiles in my game, and tested. Surprisingly, the code works perfectly while I am descending, but when I attempt to ascend, I encounter this error:

    Code:
    [Pokémon Essentials version 17.2]
    
    Exception: TypeError
    
    Message: cannot convert nil into String
    
    Compiler:644:in `+'
    
    Compiler:644:in `canonicalize'
    
    Compiler:642:in `each'
    
    Compiler:642:in `canonicalize'
    
    BitmapCache:372:in `load_bitmap'
    
    PField_RockClimb:172:in `pbRockClimbAscendFrames'
    
    PField_RockClimb:56:in `pbAscendRock'
    
    PField_RockClimb:143:in `pbRockClimb'
    
    PField_RockClimb:192
    
    PField_RockClimb:183:in `call'

    I hate to admit that I'm not familiar with Ruby scripting, but usually I can troubleshoot and figure these error codes out. Since this error involves script sections I have never touched (Compiler, BitmapCache), I didn't want to mess around without knowing what I'm doing.

    I'm happy to provide any code sections listed in the error log if that would be helpful, though I suspect they are no different than what comes in base Essentials 17.2.

    Thank you in advance for the help!
     
    I wanna say that you're missing a file (or it has the wrong name/is in the wrong place)? Probably the sprite for ascending.
     
    Last edited:
    Thank you, mgriffin! I looked through the code to find the reference to the sprites, and realized that I did not create the filepath that it wanted. Once I created the correct filepath, every worked perfectly.

    Thank you so much! :)
     
    Back
    Top