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.

Crash problem with message window...

I think I know what may be the source of this problem, but I have no idea how to fix it...

I'm running some custom scripts in my game (long list, sorry):

Universal Message System 1.8.0
SDK 1.5 (I think)
Input Script v2 by Cybersam
Mouse Script v1 by Cybersam (edited by Astro_mech... and also slightly modified by me to make an event run when it is clicked on without moving the actor)
Path Finding v1 by Near Fantastica (I probably don't need this, but I'm keeping it just in case...)
"Window_Selectable" (came with IMS below)
Interactive Mouse System v1 by Mr.Mo
Keyboard Input Module by Cybersam
Name Input Script v1.4 by BlueScope
A Scene_Title edit to skip the title screen and just go to the first map (not sure who by. I had to make this one the last script before Main due to conflicts)

THE PROBLEM:
Every time I place the mouse cursor over a message box (but only when it has a player choices box as well), the game crashes.
It gives an error of:
Script 'Window_Message' line 277: TypeError occurred. no implicit conversion from nil to integer
The indicated line reads:
      self.cursor_rect.set(8, n * 32, @cursor_width, 32)

I think it may be that two scripts are conflicting (possibly the UMS and mouse system?) and I was wondering if anyone knows how I could fix the problem?

Thanks for taking the time to read this. :)
 
Hmm... that's odd...

I was just preparing a demo for you and I was testing it just to make sure it still didn't work (lol), but for some reason it does work on a new project!
Anyway, I've stripped out the music from the problematic project and I've uploaded it. After you start the game, click on Quit and you'll see what I mean.

Download: http://files.filefront.com/GoM+Errorexe ... einfo.html

EDIT: Never mind, I found that it was the UMS conflicting with the SDK. It's a pity ccoa hasn't made an SDK compatible version yet. Thanks for your help, Sephiroth! :)
 

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