Opened 4 years ago
Last modified 10 days ago
#11841 pending defect (pending)
GRIM: Game locks if the user opens the inventory while Manny is knocking at Glottis' door
Reported by: | sev- | Owned by: | |
---|---|---|---|
Priority: | high | Component: | Engine: Grim |
Version: | Keywords: | ||
Cc: | Game: | Grim Fandango |
Description
If the user asks Manny to knock at Glottis' garage door, and while he is approaching the door the user quickly opens the inventory, the game locks.
It's due to a bug in the scripts, since it happens also with the original executable
This is a lot larger of an issue than just using that one door. They have a fairly common pattern in the scripts (used 73 times).
if (walk manny to the object) {
disable input;
dialogue;
enable input;
}
The walk Manny call will return true when Manny makes it to the object and false if he gets blocked. The possible fixes I see are to to disable the inventory key while walking to an object, or make the inventory key cancel the walking.
I'll just leave this here.
Attachments (1)
Change History (7)
by , 4 years ago
Attachment: | 197315fe-c1d6-11e3-97d0-d5d694e6430f.png added |
---|
comment:1 by , 3 years ago
comment:2 by , 2 weeks ago
Priority: | normal → high |
---|
Would be good to resolve this for the 2.9.0 release.
comment:3 by , 2 weeks ago
I would rather avoid patching scripts everywhere. I think solution with stop walking.
comment:4 by , 2 weeks ago
about "ImSetParam: getting name from number is not supported!" it's related to imuse, but maybe gracefully warning instead exit with error
comment:5 by , 2 weeks ago
Owner: | set to |
---|---|
Resolution: | → assigned |
Status: | new → pending |
comment:6 by , 10 days ago
Owner: | removed |
---|---|
Resolution: | assigned → pending |
Trying to reproduce this bug, I get an error
ImSetParam: getting name from number is not supported!
and the debugger is called. It happens when I open the inventory (keypressi
) whatever if Manny is walking or not, as long as he is in the garage. Is it the same problem?