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.

Fishing Script Help

Hey, I'm using a script made by Tiberius called Fishing II (found here). I need a bit of help editing the script because it errors out on me whenever I go into the fishing screen. It says "no implicit conversion from nil to integer," and the line it mentions is "self.contents.font.size = $defaultfontsize" in the scripts Window_FisherInfo and Window_FishingInfo. If I take that line it, the script works fine except it makes all the font size zero, so no text shows up. If I replace $defaultfontsize with any random number the error still shows up. Could someone please help me resolve this issue?

Thanks in advance
 
Sorry I did this pretty quickly and didn't realize it was in the wrong category. Someone can move this topic...

And it still doesn't work, same error occurs.

EDIT:
Ah nvm, I solved the problem and found the required code in main which Tiberius failed to mention :\
You can delete/move this thread now.

Thanks for helping anyway Landarma
 
In Main, under "begin" add the code

Code:
  $defaultfonttype = $fontface = "Arial"
  $defaultfontsize  = $fontsize = 20

(This was in Tiberius's script, he forgot to mention to change it.)
 

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