Opened 9 years ago

Closed 7 years ago

Last modified 7 months ago

#9238 closed patch (outdated)

MMC64: use stamps with envelope

Reported by: SF/tobigun Owned by: Kirben
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Maniac Mansion

Description

This patch addresses bug "MMC64: Bug while getting the stamps from the parcel - ID: 3072094".

Seems as if in ScummEngine_v0::o_setOwnerOf() should be _activeObject instead of _activeInventory. This patch fixes the problem but it still needs some testing as it might break other things.

The reverse command "use envelope in stamps" does not work yet as ScummEngine_v0::o_doSentence() does not handle the special objects 255 and 254 correctly in the call doSentence(11,255,254) performed by script-81 to swap the position of envelope and stamp in the sentence (resulting in "use stamps on envelope"). A warning "Code for object 255 not in room 7!" is caused by this. I guess that object 255 is activeObject2 and 254 is activeObject, so both will be swapped. But there are also calls to doSentence(1,254,255) (roomobj-1-18) which would result in an endless loop so its not that easy.

Ticket imported from: #3095595. Ticket imported from: patches/1343.

Attachments (1)

stamp.patch (321 bytes) - added by SF/tobigun 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by SF/tobigun

Attachment: stamp.patch added

comment:1 Changed 7 years ago by bluegr

Owner: set to Kirben
Resolution: outdated
Status: newclosed

comment:2 Changed 7 years ago by bluegr

After speaking with kirben, I'm closing this one as outdated, as there have been major changes to the relevant code not long ago.

comment:3 Changed 7 months ago by digitall

Component: Engine: SCUMM
Game: Maniac Mansion
Note: See TracTickets for help on using tickets.