Author Topic: Stop Python Console Pop-Ups  (Read 521 times)

Offline vonfrank

  • Posts: 447
  • Cookies: 182
Stop Python Console Pop-Ups
« on: March 16, 2017, 04:53:21 PM »
Is there any way to prevent the python console from popping up in a command prompt window every time the game comes across an error, regardless of how minor?
I think this only occurs when you run the game in windowed mode, and you can make the window disappear by typing 'resume' in the command prompt window, however it is very annoying to do so every few seconds if a certain minor script has a little issue.
If anyone is confused about what I'm referring to, I can provide screenshots or further explanation.

Thanks in advance!

Offline ACES_HIGH

  • BCC Roleplay Game Narrator
  • Moderator
  • Posts: 1678
  • Cookies: 54
  • while(!(succeed=try()));
    • BCC Roleplay Games
Re: Stop Python Console Pop-Ups
« Reply #1 on: March 16, 2017, 05:23:31 PM »
the simplest solution would be to correct the bug that is causing the script error.

Offline vonfrank

  • Posts: 447
  • Cookies: 182
Re: Stop Python Console Pop-Ups
« Reply #2 on: March 17, 2017, 06:29:04 PM »
the simplest solution would be to correct the bug that is causing the script error.

Well yes,  :P

But some of the errors are things I've never been able to find a fix for since they dont fully crash the game. Things like 'Math Errors' and Errors because of ships not having shields.

Offline ACES_HIGH

  • BCC Roleplay Game Narrator
  • Moderator
  • Posts: 1678
  • Cookies: 54
  • while(!(succeed=try()));
    • BCC Roleplay Games
Re: Stop Python Console Pop-Ups
« Reply #3 on: March 17, 2017, 11:23:16 PM »
if the problem is in windowed mode, run it in fullscreen mode.

Offline vonfrank

  • Posts: 447
  • Cookies: 182
Re: Stop Python Console Pop-Ups
« Reply #4 on: March 18, 2017, 09:52:56 AM »
if the problem is in windowed mode, run it in fullscreen mode.

Running in borderless windowed mode is the only way to bypass a 30fps framerate limit on windows 8.1. At least its the only one I've ever found.

Offline ACES_HIGH

  • BCC Roleplay Game Narrator
  • Moderator
  • Posts: 1678
  • Cookies: 54
  • while(!(succeed=try()));
    • BCC Roleplay Games
Re: Stop Python Console Pop-Ups
« Reply #5 on: March 18, 2017, 09:26:14 PM »
I feel like pointing out that the human eye can't see more then about 30 FPS.  Besides, my game usually runs less then that anyway.

Offline Nebula

  • BC elder / BCC Vice Admin
  • Administrator
  • Posts: 5499
  • Cookies: 1129
  • KM - Mod Team Member & BC - Elder (2002)
    • 9th fleet HQ
Re: Stop Python Console Pop-Ups
« Reply #6 on: March 18, 2017, 09:59:31 PM »
I feel like pointing out that the human eye can't see more then about 30 FPS.  Besides, my game usually runs less then that anyway.

That's actually not quite true. We can tell the difference between 30 60 and 120.
I can tell instantly when my games fps start to dip.

This conversation however isn't needed here.

As for the above issue with the cmd prompt window popping up.
there might be a command to stop it you can put into the short cut target line
Canon is what people argue exists on ships that don't exist.

Offline vonfrank

  • Posts: 447
  • Cookies: 182
Re: Stop Python Console Pop-Ups
« Reply #7 on: March 18, 2017, 10:03:24 PM »
As for the above issue with the cmd prompt window popping up.
there might be a command to stop it you can put into the short cut target line

Any idea what that command might be? And thanks for the relevant response to my actual question.