Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Script Error

Whenever I try to save, I get a choice window like how I evented it, but whenever I put the cursor over the "Save" choice, an error message pops up saying "Window_Message" TypeError on line 277, "no implicit conversion from nil to integer".

Here's line 277:
Code:
self.cursor_rect.set(8, n * 32, @cursor_width, 32)

How do I fix this?
 
Well from what I see you're associating (my multiplication?) the n to the 32
"no implicit conversion from nil to integer"
what I believe happens it tries to multiply n by 32 but discovers that isn't an integer

What to do to fix it - I have no clue...
If you have no script that changes Window_Message
I'd just start a new project and copy over the perfectly clean Window_Message
Otherwise I would suggest trying to delete the n and the asterisk
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top