Opened 18 years ago

Closed 15 months ago

#2377 closed defect (fixed)

SCUMM: MI1 (VGA) - Guybrush doesn't appear immediately at the 1st beach

Reported by: SF/sgt-nukem Owned by: AndywinXp
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Monkey Island 1

Description

(Latest CVS snapshot) ScummVM 0.9.0CVS (Nov 23 2005 11:41:50) Features compiled in: Vorbis FLAC MP3 zLib MPEG2

Windows XP SP2

Monkey Island 1 VGA - German / DOS

Details: When on the overlook Monkey Island map at the western coast south of the mountains, and from there clicking to the beach (where you first grounded when entering Monkey Island), it may be, that after changing to the beach screen, Guybrush needs minutes to actually enter the scene (or not enter it at all?!).

Reproducible: I think it's dependant on WHERE you click, because this strange bug doesn't occur always.

Just load my savegame. -> You will see the beach scene. But no Guybrush.

It may be that you could wait for hell freezing over without Guybrush appearing (didn't wait that long ;).

But if you do an action, like "watch the boat", Guybrush appears after approx. 20 seconds.

Ticket imported from: #1365422. Ticket imported from: bugs/2377.

Attachments (4)

monkey.s10 (22.4 KB ) - added by SF/sgt-nukem 18 years ago.
Savegame with strange "not-appearing"-bug
Monkey1WhereToClickForBug.PNG (204.2 KB ) - added by SF/sgt-nukem 18 years ago.
Where To Click For Bug (?) Appearing
monkey.s12 (25.4 KB ) - added by SF/sgt-nukem 18 years ago.
New Savegame - this time on overlook map
monkey-vga.s01 (21.6 KB ) - added by tag2015 15 months ago.
Scumvm 2.7.0 save

Download all attachments as: .zip

Change History (20)

by SF/sgt-nukem, 18 years ago

Attachment: monkey.s10 added

Savegame with strange "not-appearing"-bug

comment:1 by SF/sgt-nukem, 18 years ago

Actually it's more south-western than western coast.

It seems that this occurs if Guybrush is really near the coast. Maybe the screen changes immediately, but Guybrush still does pathfinding on the overlook map?!

comment:2 by fingolfin, 18 years ago

Summary: Guybrush doesn't appear immediately at the first beachMI VGA: Guybrush doesn't appear immediately at the 1st beach

comment:3 by fingolfin, 18 years ago

In your savegame, Guybrush *is* visible, he's just outside the screen. His x coordinate has a negative value, i.e. he starts out at x = -640. He'll stay there forever, unless you make him walk, e.g. to watch the boat, which takes about 14 seconds over here.

Guybrush's position on the beach is determined by the point at which you enter the beach. Some calculations in the scripts will convert his position on the "map" to a position on the beach. It's possible that those scripts have a small subtle bug which causes this odd behavior when you are at precisely the correct spot before entering the beach...

But the savegame itself, I am afraid, is rather usless for debugging the issue. The interesting question is: Is there a way to reproduce this reliably? If you could provide a savegame on the map view where a single click on the beach reproduces the issue, that would help...

However, I think this is most likely a bug in the game itself, not in ScummVM

comment:4 by fingolfin, 18 years ago

Pending comment by the bug submitter.

comment:5 by fingolfin, 18 years ago

Owner: set to fingolfin
Status: newpending

comment:6 by SF/sgt-nukem, 18 years ago

Mhhh... Since Nov. I played no further.

I just tried to reproduce it, but at first that didn't work.

But now I got it (I think).

Savegame attached. I posted a screenshot of where to click here -> http://img453.imageshack.us/img453/7233/monkey1wheretoclickforbug4db.png

It may be, that you first need to go northwest (to the round mountain basin), then change the map back, and from there just click to a point near the shown.

-> The screen changes IMMEADIATELY. But no guybrush.

Then click in the middle of the jungle, and after 20 sec (here) he shows up.

Then another strange thing happens: Before Guybrush actually enters the jungle, he makes some steps (animation) on the same spot (without moving) in front of the "jungle entry point"... :/ Weird.

fingolfin:

In your savegame, Guybrush *is* visible, he's just outside the screen.

>> Hey, for a user, this actually MEANS invisible. For a programmer, okay, if Guybrush.isVisible == true, this is visible, okay... ;)

comment:7 by SF/sgt-nukem, 18 years ago

Status: pendingnew

by SF/sgt-nukem, 18 years ago

Where To Click For Bug (?) Appearing

by SF/sgt-nukem, 18 years ago

Attachment: monkey.s12 added

New Savegame - this time on overlook map

comment:8 by SF/sgt-nukem, 18 years ago

Status: newpending

comment:9 by fingolfin, 18 years ago

Status: pendingnew

comment:10 by wjp, 16 years ago

I can reproduce this in the english MI1.

This happens if you click on the very bottom of the 'beach' object (number 26). That area is outside of walkboxes, and the closest walkbox is determined to be box 16, which is in the middle of the sea and unreachable. This makes you fail to walk there, and then immediately be moved to the beach room.

comment:11 by fingolfin, 15 years ago

Testing tracker monitoring feature -- please ignore & sorry for the annoyance.

comment:12 by fingolfin, 13 years ago

Owner: fingolfin removed

comment:13 by raziel-, 4 years ago

Summary: MI VGA: Guybrush doesn't appear immediately at the 1st beachSCUMM: MI1 (VGA) - Guybrush doesn't appear immediately at the 1st beach

by tag2015, 15 months ago

Attachment: monkey-vga.s01 added

Scumvm 2.7.0 save

comment:14 by tag2015, 15 months ago

This still occurs and is quite easy to reproduce.
It happens every time if guybrush is heading top-left on the map and you click on the beach , around the area of the boat/tree, before he finishes walking.
Guybrush would increase his walking speed and then teleport to the beach at a negative out-of-screen coordinate.
The broken pathfinding also happens on DREAMM, he teleports to the beach (at a seemingly random location) but is never "invisible".

Save attached

comment:15 by tag2015, 15 months ago

Should be trivial to add a workaround but maybe a cleaner solution could be implemented

comment:16 by AndywinXp, 15 months ago

Owner: set to AndywinXp
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.