[Scummvm-tracker] [ScummVM] #10778: QFG4 floppy: Crashes on the first fortune teller visit

Vhati trac at scummvm.org
Tue Nov 27 04:30:24 CET 2018


#10778: QFG4 floppy: Crashes on the first fortune teller visit
--------------------------------+-------------------------
  Reporter:  Vhati              |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  high               |  Component:  Engine: SCI
Resolution:                     |   Keywords:  SCI32
      Game:  Quest for Glory 4  |
--------------------------------+-------------------------

Comment (by Vhati):

 @m-kiewitz:
 > try to warp to that location

 Quick and dirty way to skip to the first meeting with the fortune teller.

 * Create a new character. Any kind.
 * Wake up in the starting room.
 * Set plot flag 39 (freeing Davy from the Burgomeister's cell)
   * vv g 502 256
 * Get rich.
   * send hero get 0 100
 * Teleport to the forest south of the camp.
   * room 588
 * Dismiss the debugger, and save.
 * Walk north.
 * Davy will welcome hero in. Both will enter the fortune teller's wagon.

 * The above steps will cause rm470::init() to set local0 = 1 (first
 meeting).
   * Walking out will crash.
   * Paying the fortune teller for a reading will crash.
   * Teleporting away will crash.
   * Restarting will crash.

 All crashes involve hero having a null "plane" property, when hero::show()
 is called, from rm470::dispose().

 The CD edition does not crash.
 \\
 \\
 script 470 - rm470::dispose()
 {{{
 (method (dispose)
         (g0_hero posn: 1000 1000 show:)
         (g93_walkHandler delete: self)
         (super dispose:)
 )
 }}}

 Diffing against the CD edition... Only the floppy has that posn & show
 line.

 I patched that line away. No more errors.

--
Ticket URL: <https://bugs.scummvm.org/ticket/10778#comment:8>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list