Rooom Description Bug in QDK 4.03
wsquires
15 May 2008, 17:13Here's two closely-related show-stoppers!
Problem 1:
Room description scripts are shared.
Description:
When you provide a room with a description script, all further rooms use the same script!
To Replicate:
1) Start QDK as usual, and make a new game. You know the routine by now.
2) Create a room, and - under the Description - set it's Style to "Run Script".
3) Type some silly text into the Print | Print a Message field. Click OK.
4) Add a new room with a different name. Set it's style to "Run Script" also.
5) Whoops! The script shown is the same one as for the first room!
Workaround:
None known.
Problem 2:
Only one room can have a script description.
Description:
When a room has already been given a script for the description, no other room will hold the "Run Script" style.
To Reproduce:
1) Follow the steps above to reproduce problem #1
2) Type in something into the description field below it's script block. Click on the first room. It still shows it's script.
3) Click on the second room. Whoops - it's style went back to "Standard Style"!
Workaround:
As with problem #1, there doesn't seem to be any.
Problem 1:
Room description scripts are shared.
Description:
When you provide a room with a description script, all further rooms use the same script!
To Replicate:
1) Start QDK as usual, and make a new game. You know the routine by now.
2) Create a room, and - under the Description - set it's Style to "Run Script".
3) Type some silly text into the Print | Print a Message field. Click OK.
4) Add a new room with a different name. Set it's style to "Run Script" also.
5) Whoops! The script shown is the same one as for the first room!
Workaround:
None known.
Problem 2:
Only one room can have a script description.
Description:
When a room has already been given a script for the description, no other room will hold the "Run Script" style.
To Reproduce:
1) Follow the steps above to reproduce problem #1
2) Type in something into the description field below it's script block. Click on the first room. It still shows it's script.
3) Click on the second room. Whoops - it's style went back to "Standard Style"!
Workaround:
As with problem #1, there doesn't seem to be any.
Alex
17 May 2008, 14:27Yes there does seem to be something odd happening here. However, after selecting "Run Script" on the second room, if you then edit the script, everything seems to work properly.
It's basically just a display issue, as it's displaying the previous script you entered. Behind the scenes you don't have a script there yet. In your scenario 2, because you didn't actually enter a script in the second room, the style reverted to standard.
It's basically just a display issue, as it's displaying the previous script you entered. Behind the scenes you don't have a script there yet. In your scenario 2, because you didn't actually enter a script in the second room, the style reverted to standard.
wsquires
21 May 2008, 18:04Yes, this workaround is now confirmed. I suspect the bug is the result of an uninitialized variable somewhere in the script editing code for the room descriptions when the style is set to "Run Script."