Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#5795 closed defect (fixed)

Toon: Player desapear when you use a object in pepper plant

Reported by: SF/umbrio Owned by: sylvaintv
Priority: normal Component: Engine: Toon
Version: Keywords: script
Cc: Game: Toonstruck

Description

this bug don't affect in anything to playing only is a curiosity that differ of original, when you use a object in pepper plant, the character go out for left and dissappear of screen, in original (dosbox probed) the character go front of pepper plant. Although not see the character, it uses the object, so does not affect, (I don't think that this need fix except for questions of accuracy)

savegame attached

Toonstruck (English & Spanish versions) S.O: Windows XP SP3 (32 bits) Scummvm 1.4.0 git1018

Ticket imported from: #3363119. Ticket imported from: bugs/5795.

Attachments (2)

toon.000 (24.7 KB ) - added by SF/umbrio 13 years ago.
toon.001 (25.1 KB ) - added by digitall 13 years ago.
DOS English Savegame in this area with Weedkiller

Download all attachments as: .zip

Change History (10)

by SF/umbrio, 13 years ago

Attachment: toon.000 added

comment:1 by SF/umbrio, 13 years ago

Summary: Player desapear when you use a object in pepper plantToon: Player desapear when you use a object in pepper plant

comment:2 by digitall, 13 years ago

Owner: set to sylvaintv

comment:3 by digitall, 13 years ago

Running with: ScummVM 1.4.0git1053-g25c0f0a-dirty (Jul 12 2011 11:21:11) Features compiled in: Vorbis FLAC MP3 ALSA SEQ TiMidity RGB zLib FluidSynth Theora AAC on Linux x86_32 with Toonstruck (DOS/English).

The attached savegame doesn't seem to show the issue as it is too early in Act 1 and you don't have the weedkiller in the watering can for the briar patch. Using any other object doesn't cause Drew to move (You just hear the "Invalid Action" Horn). If you use the Look (magnifying glass) on the patch, or Pick Up on the Pepper, he correctly moves in front of it and not off screen here.

I am attaching a savegame later in the Act, when you have the Weedkiller, but that doesn't show the issue either when you use it to kill the briar patch or take the pepper.

by digitall, 13 years ago

Attachment: toon.001 added

DOS English Savegame in this area with Weedkiller

comment:4 by SF/umbrio, 13 years ago

No, is not in pepper only in the pepper plant, for example take the leaky old tankard in inventary and attempt to use on pepper plant (pepper plant, not pepper), in scummvm the character go out to left, in the original go in front the pepper plant . As this is not necessary why I said it's only a curiosity bug but not affect in anything.

comment:5 by digitall, 13 years ago

OK. I can replicate. You use the tankard on the Pepper Plant i.e. the green plant to the right of the Briar Patch and Pepper. Drew then walks off screen.

sylvaintv: Looks like a minor non-fatal bug in actor pathfinding. Running with ./scummvm -d 4 --debugflags=character, path gives the following: setupPalette() stopWalk() walkTo(166, 201) findClosestWalkingPoint(166, 201, fxx, fyy, 920, 298) findPath(920, 298, 166, 201) stopSpecialAnim() getFacingFromDirection(-4, 0) setFacing(6) playStandingAnim() stopSpecialAnim() playStandingAnim() stopSpecialAnim() playStandingAnim() stopSpecialAnim() playWalkAnim(0, 0) stopSpecialAnim() getFacingFromDirection(-4, 0) setFacing(6) playWalkAnim(0, 0) stopSpecialAnim() getFacingFromDirection(-4, 0)

The last 4 repeat until you execute a new action..

comment:6 by digitall, 13 years ago

sylvaintv: No valgrind issues associated.

comment:7 by sylvaintv, 13 years ago

The default walkto when interacting with an object was wrong when the background had scrolling. Thanks tdhs for all the info :)

Fixed in rev ab5850a

comment:8 by sylvaintv, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.