antillon: Thank you for yoir work. I want ro know if between your fixes you include that bug of the screen with the bpnsai tree. In my version of the game (the GOG version), when I throw the rocks to get the bonsai, immediately that the bonsai slide to my feet, I can't pick up it or realize any action: the game crashes and take me out to the desktop
reddvii: Hello, I suddenly remember the crash you're referring to! I thought that running the game under an emulator had fixed it. Will look into the bonsai script again. I didn't really touch that room during my first pass.
Hello! I just registered here to reply and leave some feedback about this bug.
First of all, thanks a lot for your work! I have been wanting to play QFG4 since 1994, when I read a review about it in a computer magazine of the time. I then forgot everything about it, except for two things: A screenshot of a woman wearing a hood and the name "Katrina". In 2021 I finally found it and started playing it, only to get frustrated several times over game breaking bugs.
I saw your patch a few days ago, and decided to give it a try.
Starting the game from scratch, as you suggested, I encountered two crashes at the Squidstone arch (room 800):
1. Game crashes leaving the Squidstone arch I found an open issue in your GitHub repository, so I left a comment and a temporary workaround I found:
https://github.com/AshLancer/QFG4-Enhanced/issues/9 I've been facing the exact same issue, both with version 1.0 and 1.1a, running the game in DosBox. The game crashes right after the narrator says "The path is dripping with slimy goo", when the hero passes right behind a tree, right before the sliding animation.
The only workaround I have found so far to progress is the following:
After entering the Squidstone arch scene, DO NOT try to walk down the path.
Use the hand option to touch the tree in the middle of the screen, right next to the arch. Your hero automatically starts walking towards the tree, and he's interrupted by the "The path is dripping with slimy goo" message. He then reaches the tree and you get an "It doesn't budge" message.
After that, you can normally walk down the path to get the sliding animation.
2. Game crashes at Squidstone arc after freeing bonzai I opened a new issue about it on your github repository:
https://github.com/AshLancer/QFG4-Enhanced/issues/10 It turns out that just throwing a rock at the bonzai leaves the hero at a "sliding" state. Attempting to walk or reach for things crashes the game. Throwing a rock at any other object restores the hero's state back to normal, and you can walk or touch things without crashing.
The thing is that once the bonzai is freed, you can no longer throw rocks at other objects. If you do, you just get a "You missed." message, and the hero remains at a "sliding" state.
After having seen your work and your mentions about "scripts", I decided to look around for tools and found SCICompanion. I did a few experiments, and ended up having a deeper look at it:
At around line 383 of 800.scr:
((== param1 21)
(if (proc0_4 347)
(gGloryMessager say: 0 33 0)
(return 1)
else
(global2 setScript: (ScriptID 32) 0 21)
)
Adding the line "(global2 setScript: (ScriptID 32) 0 21)" after the "(if (proc0_4 347)" condition allows you to throw rocks at other things after freeing the bonzai. This makes it possible to throw rocks at any other thing and restore the hero's state to normal. After that you can pick up the bonzai and walk away without issues.