Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Selecting a square/area for a script scrolls the script window back to the start
New Topic New Poll Post Reply
Poster Message
Rabscuttle
Level: Smitemaster
Avatar
Rank Points: 2525
Registered: 09-10-2004
IP: Logged
icon Selecting a square/area for a script scrolls the script window back to the start (+2)  
Make a long script
Somewhere in the middle of the script, Add a command that requires selecting a square or area
Now you can are at the top of the script and not the command you just added.
01-29-2025 at 12:18 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: 5219
Registered: 02-04-2003
IP: Logged
icon Re: Selecting a square/area for a script scrolls the script window back to the start (0)  
Rabscuttle wrote:
Make a long script
Somewhere in the middle of the script, Add a command that requires selecting a square or area
Now you can are at the top of the script and not the command you just added.
Thanks for reporting this! Just to confirm, you're talking about editing the script and the UI displaying the wrong spot in the commands window, and not during play execution, correct?

____________________________
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.
01-30-2025 at 04:55 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
Xindaris
Level: Smitemaster
Avatar
Rank Points: 1623
Registered: 06-13-2015
IP: Logged
icon Re: Selecting a square/area for a script scrolls the script window back to the start (+1)  
Right, this is in the script editing UI. It's not that it's displaying something wrong, it's that the "current line cursor" jumps all the way back to the start of the code instead of just returning to the script command that wanted a rectangular area selected. I'm not confident this really is a bug, but it's very annoying when trying to script something complicated with a lot of lines of code, to have to go find where you were again every single time.

This is kind of like if typing the name of a certain constant inside of your C++ coding program, or something like that, had it suddenly jump your typing cursor to the beginning of the entire document.

____________________________
109th Skywatcher

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


[Last edited by Xindaris at 01-30-2025 11:03 PM]
01-30-2025 at 11:00 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Rabscuttle
Level: Smitemaster
Avatar
Rank Points: 2525
Registered: 09-10-2004
IP: Logged
icon Re: Selecting a square/area for a script scrolls the script window back to the start (+1)  
Yes, what Xindaris said
01-31-2025 at 07:01 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Someone Else
Level: Smitemaster
Avatar
Rank Points: 2362
Registered: 06-14-2005
IP: Logged
icon Re: Selecting a square/area for a script scrolls the script window back to the start (+1)  
Honestly, this has been the behaviour for so long that I just kind of stopped thinking about it. It'd be really nice to have it fixed.
01-31-2025 at 04:42 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
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5219
Registered: 02-04-2003
IP: Logged
icon Re: Selecting a square/area for a script scrolls the script window back to the start (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-13-2025 at 01:48 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: 1204
Registered: 06-17-2003
IP: Logged
icon Re: Selecting a square/area for a script scrolls the script window back to the start (+1)  
I can confirm that adding a command with a square/area selection does not jump to the top of the script in 5.2.0.727.

____________________________
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-18-2025 at 07:33 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 : Selecting a square/area for a script scrolls the script window back to the start
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.