PDA

View Full Version : Bugs...


flipflop
2002.05.18, 01:38 AM
Not sure where to report bugs -- Sourceforge? Here?

I downloaded the latest build and ran into the following bug:

- Launch Hooptie
- Start a new game
- While playing a level, select "End Game" or hit CMD-N
- It hangs the game until you hits CMD-P to unpause it
- Interesting, if you hide the Hooptie window in this state behind another window and bring it back to the foreground, the "game frozen" is displayed.

If you run it using Project Builder, you get the following error message:

"Hooptie[390] *** -[NSCFArray objectAtIndex:]: index (21) beyond bounds (16)"

This was tested on my duel usb iBook 500mhz. If that makes a difference or not.

One more thing, the "Open Levels..." works great but I'm wondering if we could put an indicator somewhere (in the window title?) saying which bundle is currently loaded.

Have a fun weekend!
- John

Pazolli
2002.05.18, 06:30 AM
Trash the compiled application, and then rebuild it from scratch. The problems you experienced arise from using an old score file which does not contain the score dates with the new version of the program designed with the expectation that the score file has dates. Outside of developer-oriented releases we'd prepare Hooptie for old score files, but since we're not into end-user releases yet, we don't. You can report bugs either here or in Sourceforge, it's up to you.

Cheers,
Mark Pazolli
Supreme Debugger :cool:

Kjurtyl
2002.05.21, 03:19 PM
I'm not sure if this qualifies as a bug or not, but when I pick up one of those time bonuses (5 sec and 10 sec) the progress bar doesn't appear to reflect the true value of what I picked up. If I take the 5 sec powerup, the bar stays put for a second before continuing. If I take the 10 sec powerup, the bar goes back one notch and then continues.

I was under the impression that every notch meant roughly one second.. it seems to mean five.

-Kjurtyl

Pazolli
2002.05.26, 12:02 AM
This mystery can be explained through mathematics:

Let 365 be the time limit for the level.
Let 20 be the time spent on the level.

20 / 365 = 5% (to closest %)
20 / (365 + 10) = 5% (to closest %)

A negligible change in the progress bar.

It is certainly true that the progress bar is advised of changes every second, but Cocoa determines weather that results in a change in the progress bar's length.

Though thanks for your input Kjurtyl.