#3638 closed defect
KQ2: Bug when rubbing genie lamp
Reported by: | SF/hypn | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Engine: AGI |
Version: | Keywords: | original | |
Cc: | Game: | King's Quest 2 |
Description
ScummVM version: 0.11.0 (Jan 13 2008 14:39:54) and 0.12.0svn (Feb 27 2008 09:54:55) Game Language: English Game Version: 2.1 (1987-04-10/DOS/English) - from the "King's Quest Collection" Platform: Windows (XP)
After getting the oil lamp from the lady in the antique shop (in exchange for the bird cage), she kicks you out of the shop. If you type "rub lamp" (while right by the door), or while still on the patio and stairs (without walking around too much), your character "slides".
By default I think you slide to the left if you haven't moved since being kicked out the shop, otherwise you slide in the last direction you walked.
The bug doesn't seem to occur if you've walked around a bit, or down the stairs.
Unfortunately in the saved game I had already moved away from the door (I was trying in different locations, and accidentally over-wrote my original save just outside the door). The bug can still be reproduced in it if you just type "rub lamp" without moving.
Ticket imported from: #1903154. Ticket imported from: bugs/3638.
Attachments (2)
Change History (13)
by , 17 years ago
comment:1 by , 17 years ago
Priority: | normal → low |
---|
comment:2 by , 17 years ago
comment:3 by , 17 years ago
Summary: | Bug when rubbing genie lamp → KQ2: Bug when rubbing genie lamp |
---|
comment:4 by , 17 years ago
Owner: | set to |
---|---|
Priority: | low → normal |
comment:5 by , 17 years ago
I loaded the game from the attached kq2.000 and walked to another spot outside the antique shop and saved the game as kq2.001.
If you use this new savegame (kq2.001) and rub the lamp, king Graham will start flying to the right and fly right out of the screen and continue flying right in the next screen with the genie lamp in his hand until he hits a tree and stops. The genie never says anything and Graham is left with the genie lamp in his hand. So there's definitely something bugging here... File Added: kq2.001
comment:6 by , 17 years ago
I tried the game with the original interpreter (PC AGI v2.411) and there happens some sliding there too when rubbing the lamp near obstacles (e.g. the stairs) but at least with the original interpreter I couldn't reproduce the flying to the right out of the screen -effect I mentioned earlier.
Some debugging info for testing the game under the original interpreter:
ALT-D enables debug mode in KQ2. oil lamp = object 72 outside antique shop = room 20
When in debug mode get the lamp using command "get object" and teleport to outside the antique shop using command "tp" (Be sure not to teleport inside a tree or something weird, so walk around to a good spot beforehand ;-)).
comment:7 by , 17 years ago
I think that the relevant logic scripts are 20 and 21. Script 21 contain the following: if ((has("oil lamp") || has("carpet"))) { load.view(65); <----- King Graham with Genie load.view(98); <----- King Graham on magic carpet } (...)
And script 20 contains the following: if ((has("carpet") || has("oil lamp"))) { if (right.posn(o0,85,70,122,106)) { start.update(o3); stop.cycling(o3); stop.motion(o3); set(f30); } (...)
Not sure why those 2 items are in the same if case, however this *might* be what's causing this (i.e. it's a bug in the original game scripts)
comment:8 by , 16 years ago
Owner: | removed |
---|
comment:10 by , 16 years ago
This bugreport has been moved to Wiki to relevant Engine/TODO page. When the bug will be resolved, an appropriate message will be posted here and the bugreport link removed from Wiki
comment:11 by , 16 years ago
Keywords: | original added |
---|---|
Status: | new → closed |
This bug doesn't affect gameplay - after the genie animation and dialog your character is returned to the original location, and the game continues to function fine (for all three times that you have to "rub lamp").