My VERY first actual program. Not my best work, but it sorta works. If you can figure out why it stops APing randomly, more power to ya.
Last edited by Reemer; 09-07-2012 at 11:29 AM. Reason: fixed forever
I love this program to death. Until it stops randomly. I'm so glad you would put the code out so others could try fixing it.
I would debug this, add to a textbox a unique message for each time you "stopTheProgram" or whatever is triggering it to stop.
Use something more specific as the stopping trigger.
Oh wow. No wonder it randomly stopped. Your pet randomly says stuff, and sometimes it will say something like "blabla bored". Nice one @Zachafer.
All makes sense now. Garbage in, garbage out.
---------- Post added at 11:35 AM ---------- Previous post was at 11:15 AM ----------
What's the proper way to check for a bored pet then?
---------- Post added at 11:46 AM ---------- Previous post was at 11:35 AM ----------
Took that part out, still randomly stops. Maybe someone should just make a new one, shouldn't be that hard. I just don't have the time nowadays.
You should learn how to debug your apps with breakpoints you would of found this bug easily.