• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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!
     
    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