Mene-Mene Member Posts: 1398 From: Fort Wayne, IN, USA Registered: 10-23-2006 |
I've got a bug, and I need a tester of sorts to help me figure it out, I can't figure out why the crazy thing isn't working! I've tried a couple of tests, and it won't "Quit". It won't detect keys either, its like it lost its button detection. All I can do right now is offer discounts. ------------------ I reserve the full right to change my views/theories at any time. |
|
MastaLlama Member Posts: 671 From: Houston, TX USA Registered: 08-10-2005 |
what is it? | |
samw3 Member Posts: 542 From: Toccoa, GA, USA Registered: 08-15-2006 |
sounds like its stuck in an infinite loop ------------------ |
|
Lazarus Member Posts: 1668 From: USA Registered: 06-06-2006 |
How much of a discount? j/k. samw's answer sounds correct. |
|
Mene-Mene Member Posts: 1398 From: Fort Wayne, IN, USA Registered: 10-23-2006 |
Funny thing is though, the button still changes frames, and the mouse image still moves. Laz: Up to 50% depending upon the amount. ------------------ I reserve the full right to change my views/theories at any time. |
|
Lazarus Member Posts: 1668 From: USA Registered: 06-06-2006 |
If the code for detecting the "quit" key and closing the program isn't too long, posting it would be very helpful. (Oooh... 50%. ...) |
|
Mene-Mene Member Posts: 1398 From: Fort Wayne, IN, USA Registered: 10-23-2006 |
Here's the code:
------------------ I reserve the full right to change my views/theories at any time. |
|
HanClinto Administrator Posts: 1828 From: Indiana Registered: 10-11-2004 |
I don't have anything to offer at the moment in helping to solve your problem, but I wanted to touch on a small thing that you mentioned.
quote: Technically, software testers are the ones who just find and report bugs, and the programmers are the ones who fix bugs. When you say "I need a tester", generally that means that you're looking for people to help you find bugs in your code so that you can polish things up more.
I'm only guessing how one would do debug output in BB -- I've never used it before. But basically you just want a way so that you can try and see how your code is flowing. If at all possible, you may want to take the time to learn how to use a debugger so that you can step through your code one line at a time as it executes (though I don't know if BB has one). Cheers! --clint |
|
Lava Member Posts: 1905 From: Registered: 01-26-2005 |
Mene-Mene if you don't get it to work, you can PM or email me the source, if you want to, then I'll look at it and if I get it work I'll tell you what's wrong. Because sometimes these problems don't always start where you think. My advice, for now, would be to use the "IF AND" function in Blitz. So like this:
I hope this helps. And yeah Han gave some pretty good advice, use Print to figure out where everything is. I also use the "Text" function so like Text 0,20,CurPlayer.ExitButtonFrame So that way I know if CurPlayer.ExitButtonFrame = 1, the mouse button was clicked or if Quit = true. [This message has been edited by LAVA (edited March 03, 2007).] |