avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday January 17, 2021, 1:27 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - jimbo1qaz [ switch to compact view ]

Pages: [1]
Dr.Windows / Dr.Windows web-based version
« on: September 06, 2014, 02:38 PM »
I wrote a web-based version of Dr.Windows. It's more like the AtomSmasher error generator, but it's written in HTML and PHP, so the buttons are actually clickable.

Don't overload it, it's running on free hosting. If anyone's willing to host it at a better location, the source code is attached.

Any credits-related issues?

Dr.Windows opens dialog boxes off-center every time it starts, but occasionally fixes itself for one session. Note that I use a large taskbar.
Dr.Windows does not remember the "open error" key. By default, it's Ctrl-Shift-E, which interferes with Firefox Expo, which I sometimes use. (not that I should have it open on my main computer, anyway...)

Can I have the src code and fix it myself? Or should I make a clone in porta-python?

It's been known for a long time.
When I only have one valid dialog, then there's a 50-50 chance of displaying an invalid dialog message.
Easiest way to reproduce:
  • Delete all but one cfg file.
  • Either: Press random dialog, repeat, rinse.
  • Or: Set time to one minute, and wait.
The problem is that, for example, I assume you have an array of N filenames. And you get a random number from zero through N. When the number hits N, then you get an invalid array index, leading to an error. The fix is to get a random index from zero through N-1.
(Maybe you use one-indexed arrays, but same thing.)

Also, your program doesn't handle transparency too well.

Oh, and I have an fixed set of WinWarden dialogs, with many bugs removed, and a few things updated (replace CD with DVD here and there). I also added a XP Theme Manifest to your program, which adds shiny buttons. However, the text is still not antialiased (cleartype). Also, will you add custom taskbar icons, replacing the DrWindows generic icon?

Will you ever fix the invalid index bug? It results from accessing files 0...filenum instead of 0...filenum-1. When it accesses files[filenum], then you get a cfg file error.

Pages: [1]