Console appears not to be working

● ARCHIVED · READ-ONLY
Started by Kes 6 posts View original ↗
  1. I was having a bit of difficulty with something and decided to have the Console open in case it showed me something useful.  However, all it has is just a blank, black screen.  I can see the cursor flashing top left corner, but that is it.  It doesn't give any of the usual data that comes scrolling out as things happen.

    Does anyone know why this might have happened and what I need to do so that it reveals data in the usual way?

    Thanks.
  2. either you have no command (or only malfunctioning commands) that puts something to the console, or the game crashes before the first such command is executed.


    Tell us the lines where you try to put something out on the console, and we can check which is the case.
  3. The game doesn't crash, that's not what I was trying to check for.  

    Maybe I have misunderstood how the console works, but when I've used it before, it automatically listed whatever was going on, I've never had to put commands in manually.

    What I'm trying to do is to get it to tell me what happens when I save the game, as the number of saves shown in the Save screen is doing stupid things (last time it went straight from 16 times saved to 31 times saved).
  4. The RGSS console doesn't do anything manually -- it's basically just a redirected input / output stream for the game player and little more than that. As such, in order for the console to display anything, you need to have some call made that writes information to standard output.


    Most developers use frequent calls to p (good, as it inspects the given object) or puts (bad, as it explicitly calls #to_s on the object) for showing debugging information, which is really... not the ideal, but it's what RPG Maker gives us by default (which is why I've written so many different debugging tools for scripters).
  5. @Solistra

    thanks for the clarification.  I think I shall have to post a topic, then, to find out what's happening with my save file.
  6. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.