Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : He likes a delver who likes to cheat (You're new to this whole challenge scripting thing, aren't you?)
New Topic New Poll Post Reply
Poster Message
averagemoe
Level: Master Delver
Avatar
Rank Points: 224
Registered: 03-22-2012
IP: Logged
icon He likes a delver who likes to cheat (+1)  
The challenge in the 5.0 version of JTRH Seventh Level, 1S1W triggers if you reenter the room after clearing it, and then step on the arrow.

Well, I've found that when scripting a challenge, it helps to use "wait for event Room Conquered" instead of "wait for clean room" They may seem identical, but actually, the former doesn't trigger if the room was already clear before it started checking. If my theory of how the scripting works is accurate, you just need to change that one command.

____________________________
It is against my religion to have service refused to me.
11-19-2018 at 08:49 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Nuntar
Level: Smitemaster
Avatar
Rank Points: 3645
Registered: 02-20-2007
IP: Logged
icon Re: He likes a delver who likes to cheat (+1)  
I never use either of those, since they both trigger on the turn after the room is cleared. I use "Wait while entity Monster at [whole room]", provided the room doesn't contain non-hostile monsters such as wubbas. (If it does, I have to make fudges on a room-by-room basis.)

The problem here is simply that it's possible for the script to reach the end of its commands without having triggered the character's mocking speech, and the mocking speech includes an "End" command to stop the script running on subsequent visits, but the end of the script does not.

This would be easy to fix, but I don't know if Caravel intend to do any more updates to the official holds now that the 5.0 versions have been stable for a long time.

____________________________
50th Skywatcher
11-19-2018 at 10:40 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : He likes a delver who likes to cheat (You're new to this whole challenge scripting thing, aren't you?)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.