[Scummvm-tracker] [ScummVM] #10778: QFG4 floppy: Crashes on the first fortune teller visit
Vhati
trac at scummvm.org
Wed Oct 31 05:29:53 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):
OFF-TOPIC
@digitall:
I'm not at a place where the specs can help me yet.
I did find this article '''particularly''' helpful, demonstrating
backtrace (bt) and breakpoints (bp_method) in SCI (Island of Dr. Brain).
Wish there were more like that!
https://moral.net.au/writing/2017/09/23/sierra_bug/
Plus the subtle hint that "view_object 0013:1aa9" can be written as
"view_object hero". And further, that one can drill down into attributes
with "view_object hero plane", etc.
\\
\\
The ''send'' command sounds like it could open up cheaty fun, invoking
stuff on the fly, if I had a clue how to wield it... *clickety-click*
{{{
visible_plane_list
# Hm.
visible_plane_items statusPlane
# Hmm.
send statMana hide
go
# Looks at the absent mana bar.
send statMana show
go
# Heh heh.
}}}
{{{
# Experiments with listing inventory icons that way and calling their
loseItem.
# No get(). Those NumInvItem View objects must be downstream of the real
# inventory management.
# Hrm. "send hero get theOil" crashes.
}}}
{{{
# Peeks at the cave arch script for properly getting the Dark One Sign
item.
view_object hero
send hero drop 25
go
# Checks inventory.
send hero get 25
go
# It's back.
# 1, 2, 3...
send hero get 15
# Struck oil!
send hero has 15
# Message completed. Value returned 0000:0002.
send hero get 15
send hero has 15
# Message completed. Value returned 0000:0003.
}}}
*evil grin*
\\
\\
Aw. Looking at script 28 where the hero class is defined... takeDamage
method might be using negative args to heal. Debugger can't pass 'em
because its parser chokes on the minus sign.
Maybe I'll post questions on the forum sometime: pagination/redirection
for long text, setting attribute values on objects, passing negative args,
etc.
--
Ticket URL: <https://bugs.scummvm.org/ticket/10778#comment:5>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list