Axe Software Forums
  Quest Developer Forum
  Drop Help Needed


Author Topic:   Drop Help Needed
Wizard posted 02-07-2001 23:22 GMT     
I am coding in 3.0 Beta 2. I am tiring to take advantage of the drop command. The following code will drop the object into the current room, however it will not delete it for the players inventory. I have tried hideobject/give/lose and anything else that looked applicable. Any suggestions?

Thanks Wizard

' GAME SECTION
command <Drop #ItemToDrop#> do <Drop>

' PROCEDURE SECTION
define procedure <Drop>
if got <#ItemToDrop#> then {
drop <#ItemToDrop#>
msg <You drop the #ItemToDrop#>
showobject <#ItemToDrop#>}
else msg <You are not carrying that.>
end define

Alex posted 03-07-2001 18:39 GMT          
Alan tells me the inventory pane is a bit buggy so I'll take a look into it. Type "inventory" and see if the object is *really* in the inventory, or if the inventory pane is just pretending.

I'll take a look into this soonish. I usually develop on a Celeron/600 laptop which I think is about to go belly-up - the hard disk is running at about a tenth of its normal speed. Never fear, I've backed everything up via LapLink onto a Pentium/100, so everything is safe, but it's certainly not pleasant to develop VB apps on this thing.

Wizard posted 03-07-2001 20:10 GMT          
Alex thanks. I can relate to your computer problems. I had hard drives go out in two computers in the house in less that one week of each other. This is like getting two flat tires and only having one spare.

Wizard

Tyrant posted 03-07-2001 21:16 GMT          
I replaced a hard drive in my 800 MHz Pentium 3 Gateway, then about two days later, that hard drive crashed on me, forcing me to get a new one... that's like getting a flat tire, replacing it, then blowing the replaced tire right after using it. Computers can be very annoying in both the frustration and $cash$ departments.
Alex posted 03-07-2001 22:29 GMT          
Fortunately this thing is still under warranty, I'm going to call the supplier tomorrow and get it sorted. It's not completely broken *yet* but it's on its way out - I've been looking on Google etc. for what the problem might be and it looks like it's something to do with errors on one of the platters/whatever. The head can try a large number of ways of reading a bit of the disk with an error and I'm quite sure it's this that's causing the slow-down. Argh. Computers.
carlii posted 04-07-2001 13:48 GMT          
Yes, that is another bug in QDK, the inventory window will not display any items you are carrying.