Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Behavior-related Undo Strangeness in 5.2
New Topic New Poll Post Reply
Poster Message
Xindaris
Level: Smitemaster
Avatar
Rank Points: 1726
Registered: 06-13-2015
IP: Logged

File: Press Test.hold (42.3 KB)
Downloaded 8 times.
License: Public Domain
icon Behavior-related Undo Strangeness in 5.2 (+1)  
This is in version 5.2.0.562. (EDIT: Also present in 5.2.0.617)

In the attached hold, in 1E, is a room I've been building involving an updated version of the "Webbing" custom element that makes use of the "Activates Pressure Plates" behavior (they have the "seep" appearance, which normally wouldn't hold down pressure plates). It involves a lot of "copies" of that character type and several on-off plates connected to several different buttons, all of which I suspect has something to do with the issue; you can see in the entrance where I tried to build a room to more succinctly reproduce the problem with no success. The room also involves a relatively "5.1 compatible" version of the pulse cannons custom element, but I don't...think those are involved in the problem.

Basically: If you try to solve the room, and undo after some time in, just sometimes, the plates being held down by the webbing will unpress themselves, and stay unpressed if you then continue walking around through the room. Undoing a little more can retoggle them again. This is a weirdly inconsistent behavior, and only seems to happen after playing the room for a while.

EDIT: Actually, I was able to eventually reproduce the same problem in the entrance. It really seems to require going through several turns, and then undoing.

____________________________
109th Skywatcher

Here are some links to Things!
Click here to view the secret text


[Last edited by Xindaris at 02-17-2025 01:58 AM]
08-12-2024 at 09:40 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
hyperme
Level: Smitemaster
Avatar
Rank Points: 1428
Registered: 06-23-2006
IP: Logged
icon Re: Pressure Plates behavior-related Undo Strangeness in 5.2 (0)  
Does this happen for any other script behaviours? If one has playback issues, it may also happen for others.

____________________________
[Insert witty comment here]
Qzvlkx?
02-16-2025 at 05:41 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Xindaris
Level: Smitemaster
Avatar
Rank Points: 1726
Registered: 06-13-2015
IP: Logged
icon Re: Pressure Plates behavior-related Undo Strangeness in 5.2 (+1)  
I had a go at testing and..uh-oh.

Check the new version uploaded to the first post now. In 1W, if you wait long enough and then start undoing, the mud baby characters all just stop activating the tokens like they're supposed to. Both while undoing and if time is moving normally! I'm editing the thread title to reflect this...

Also, I noticed that in the entrance, this misbehavior starts around turn 420. The same seems to be true in 1W. Some number close to that appears to be the "magic" one for this bug, maybe.

____________________________
109th Skywatcher

Here are some links to Things!
Click here to view the secret text


[Last edited by Xindaris at 02-17-2025 01:58 AM]
02-17-2025 at 01:55 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Dragon Fogel
Level: Smitemaster
Rank Points: 2760
Registered: 06-21-2014
IP: Logged
icon Re: Behavior-related Undo Strangeness in 5.2 (0)  
I hit an undo-related bug in RPG some versions ago which involved a token not activating on undo/reset. Here's the thread for that bug, just in case there are any useful similarities that might help to solve this one:

https://forum.caravelgames.com/viewtopic.php?TopicID=41889
02-17-2025 at 02:14 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
hyperme
Level: Smitemaster
Avatar
Rank Points: 1428
Registered: 06-23-2006
IP: Logged
icon Re: Behavior-related Undo Strangeness in 5.2 (+3)  
That this require a lot of turns to pass before it happened was a big clue here. Turns out behaviours aren't getting copied over when a game snapshot is made, which causes the problem.

Now I simply have to understand how snapshotting works so I can fix this. yay.

____________________________
[Insert witty comment here]
Qzvlkx?
02-17-2025 at 07:01 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5411
Registered: 02-04-2003
IP: Logged
icon Re: Behavior-related Undo Strangeness in 5.2 (0)  
PR (thanks, hyperme!)

____________________________
Gandalf? Yes... That's what they used to call me. Gandalf the Grey. That was my name.
I am Gandalf the White. And I come back to you now at the turn of the tide.
02-18-2025 at 05:46 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
NoahT
Level: Smitemaster
Avatar
Rank Points: 1215
Registered: 06-17-2003
IP: Logged
icon Re: Behavior-related Undo Strangeness in 5.2 (+1)  
Not experiencing any of the undo strangeness described here in 5.2.0.738.

____________________________
And in the end, the love you take is equal to the love you make.

My stuff:
Click here to view the secret text

02-23-2025 at 06:57 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
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Behavior-related Undo Strangeness in 5.2
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.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.