Axe Software Forums
  Quest Developer Forum
  a bug for Quest 3.0


Author Topic:   a bug for Quest 3.0
carlii posted 08-09-2001 11:03 GMT     
I found this bug while using Quest 3.0/QDK 3.0 (not BETA, the upgrade from your site). You create a menu using QDK 3.0. Let's say if you click on the choice 'Try To Get A Gig' another menu will appear (called 'gig') where you can choose where your band will play. (Eg. at a stadium or at a night club,etc) If do this, ie. make the action " Show menu 'gig' ", it says there is an error and closes the program! This didn't happen in 2.19!
carlii posted 08-09-2001 11:05 GMT          
If you want to see this bug in action, here's the download : http://www.geocities.com/corrsdirect/musical_manager.zip
ondre posted 08-09-2001 23:16 GMT          
In object the definitions for use on something delete themself everytime.
ondre posted 09-09-2001 18:16 GMT          
Alex, loom up "beta" in dictionary!
Alex posted 09-09-2001 21:43 GMT          
Ondre, don't be so cheeky!

I'll take a look into these soon. A Quest/QDK 3.01 was inevitable anyway.

Computer Whizz posted 09-09-2001 23:33 GMT          
Cheeky??

Ondre, would YOU look at the software properly? It is NOT Beta software....
Of course there will be bugs in it, there isn't a program WITHOUT bugs (unless it's a simple "X here: Y here: X*Y is:" program..... WHICH I DOUBT THERE IS COMMERCIALLY!!!
....anyway, that sounds like an error in Quest, not QDK..... unless while you're coding (carlii) it shuts QDK down!

Computer Whizz

carlii posted 10-09-2001 05:37 GMT          
Um....I was expecting somebody to actually answer my question!
Alex posted 10-09-2001 18:18 GMT          
Carlii, I said I'd look into it didn't I? :)
ondre posted 11-09-2001 08:35 GMT          
TEMPVS FVGIT
Computer Whizz posted 11-09-2001 20:23 GMT          
huh?

Computer Whizz

ondre posted 11-09-2001 21:47 GMT          
That's in latin and means time flies.
ondre posted 14-09-2001 18:24 GMT          
Alex, you better release a working version of Quest. Or else!
Alex posted 14-09-2001 18:55 GMT          
I've fixed the "use on" bug now, 'twas a silly mistake.

As for the menu bug, Carlii, you're getting the run time error because your "gig" menu doesn't have any choices in it. Admittedly a run time error as a result is pretty unkind, but then a menu that doesn't let you choose anything is pretty confusing.

Computer Whizz posted 14-09-2001 21:44 GMT          
Alex:
Along these lines, can you have a "type" that defines whether an object can be used by itself??
Like a type "Average" where when you use the item by itself then a message comes up saying "Sorry.... you can't use this object by itself!" or something like that.

Computer Whizz

Alex posted 14-09-2001 22:26 GMT          
CW, what you are looking for is this:

action <object name; use> (script)

as explained in "Changing an Object's Behaviour" in the "Quest Methods" section of the ASL Reference.

Alex posted 14-09-2001 22:27 GMT          
Or rather, in your "average" type:

define type <average>
action <use> msg <You can't use that object all by itself, silly boy.>
end define