Hi, > I verified this to be reproducible under FreeSCI latest CVS on Linux. > A have ZIP'd a savegame directory right before it happens @ > http://www.clock.org/~matt/tmp/kq4-lute-save.zip OK. Sice the savegame contains decompressed copies of the scripts currently on the heap, this might even work with later versions of KQ4. Thanks! > To reproduce, just restore the game and press "up". The lute player moves > visibly into the stump. On my machine, after I restore and break into the > debugger, I see this (note the unaligned read): > > > obj > Class Event > Species=403a, Superclass=3af8 > Local variables @ 0x4310 > Variable selectors: > species[0000] = 403a %Event > superClass[0002] = 3af8 %Obj > -info-[0004] = 8000 > name[002e] = 42e3 Warning: Unaligned unsigned read from 42e3 Yes, the magic type detection function doesn't check for alignments yet (this is a missing feature in the debugger). The new implementation of obj (or, rather, the selector printer function) tries to guess the type (remember SCI's primitives are completely untyped) of the selector; right now, it usually guesses objects and classes, and treats most other things as values. The correct thing to print instead of the warning would have been "Event" (the class/object's name, which was determined correctly). llap, Christoph
