Add Object Error

SteveYoungWork
24 Nov 2006, 23:31
Wilst following tutorial adding a object to a room with Quest pro 4.0 beta 2, I get the following error.

Room->lounge->objects->add or use toolbar to add object->

Add any discription (i.e. TV) ->

Run-time error '35601' : Element not found

Other notes,

If I edit the code by hand and add a object manualy all I have no problems, but the same error occours if I try to add new objects.

Install Quest Pro 4.0 Beta first then download the update, worked fine before update.

Steve

Alex
25 Nov 2006, 11:10
I've now updated the Beta 2 package to fix this error, so if you download and reinstall this should now work properly.

SteveYoungWork
25 Nov 2006, 12:48
Thank's for your response, I downloaded beta 2, installed it.

Still getting the error.

Here is the asl file before I add a object.

Hope it Helps.

' "House"
' Created with QDK Pro 4.0 Beta 2

!include <stdverbs.lib>

define game <House>
asl-version <391>
gametype singleplayer
start <Lounge>
game author <Steve>
game info <Created with QDK Pro 4.0 Beta 2>
end define

define options
debug on
panes on
end define

define room <Lounge>
end define

define room <Kitchen>
end define

Even if I add a object manualy too the first room I get the error.

i.e.

define room <Lounge>
define object <Table>
look <This is a grotty old table.>
speak <This thing is made of wood you know.>
examine <It's falling apart.>
gender <it>
end define
end define

The bug is still active. But I discovered something intresting.
If I add another room and add a object with the default name it works ok.
I can add any objects to this new room.

define room <hole>

define object <Enter a name here...>
displaytype <Object>
article <it>
gender <it>
end define

end define

if I cut and paste the object into the lounge I get the error.