Announcement: Be excellent to each other.


Caravel Forum : DROD RPG Boards : RPG Bugs : Monster don't move after undo (An unusual bug?)
New Topic New Poll Post Reply
Poster Message
komachi
Level: Master Delver
Rank Points: 104
Registered: 07-30-2012
IP: Logged

File: It dont move.drh (1.1 KB)
Downloaded 1 times.
License: Public Domain
icon Monster don't move after undo (0)  
I have a script which makes a monster unkillable, it set another appearance to the monster when you kill him and then, he move to the player. The code is:
    Set var "_MyHP" = 90
  Set var "_MyATK" = 1
  Behavior Face Target
  Imperative Unkillable
  Wait for defeat 
  Wait 1
  Imperative Killable
  Set appearance gel baby
  Set var "_MyHP" = 100
  Set var "_MyATK" = 10
  Move to Player 0,0

If you exit the room, re-enter with the gel baby and you use undo, the gel baby won't move for the rest of the room until you re-enter again.
Here is a hold with a custom pirate that when you kill him it turns into a gel baby (with other stats).

I use a gel baby as example, it happens the same with any monster.
I'm using the last build (1.2.3.98).
01-13-2016 at 10:53 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Doom
Level: Smitemaster
Avatar
Rank Points: 3053
Registered: 07-05-2004
IP: Logged
icon Re: Monster don't move after undo (0)  
Found about this after running into it in the recently released hold "Great place". I've tested this more and narrowed down the cause to "Set appearance" command inside a custom character's default script (same script on a regular character works fine).

Here's a simplified example of the same thing:
Create a new custom character "Moving roach" and give it the following default script, then follow komachi's directions.
Set appearance Roach
Move to Player 0,0
I suspect that this'll cause score verification issues because it's easy to trigger and lets you skip some enemies. We could probably try patching the hold to work around the bug (remove the "Set appearance" command from Temple guardians and maybe replace it with a MyColor change or something that doesn't break the universe), since I doubt there will be game patches anytime soon.

[Last edited by Doom at 04-16-2018 01:34 PM]
04-16-2018 at 01:23 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
komachi
Level: Master Delver
Rank Points: 104
Registered: 07-30-2012
IP: Logged
icon Re: Monster don't move after undo (0)  
To be honest, I totally forgot about this bug. I can upload again the hold fixing this if it's needed.

[Last edited by komachi at 04-22-2018 07:46 PM]
04-22-2018 at 07:46 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD RPG Boards : RPG Bugs : Monster don't move after undo (An unusual bug?)
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.