Announcement: Why not try our official idea generator for inspiration when making puzzles?


Caravel Forum : DROD Boards : Architecture : Spoostlefish Virus Outbreak Expected to Reach Pandemic Status
New Topic New Poll Post Reply
Poster Message
disoriented
Level: Smitemaster
Avatar
Rank Points: 2379
Registered: 08-07-2007
IP: Logged

File: SpoostleVirus v2.hold (41.2 KB)
Downloaded 47 times.
License: Public Domain
icon Spoostlefish Virus Outbreak Expected to Reach Pandemic Status (+4)  
PUBLIC HEALTH WARNING

Avoid all travel to Akandia or contact with those who have visited that continent for 14 days. RCS routes north of Tueno canceled until further notice.

There is still a lot that is unknown about the newly emerged Spoostlevirus and how it spreads. We have dispatched a Smitemaster to investigate the situation.



____________________________
34th Skywatcher

Best to PM me, since I might miss your message on CaravelNet chat.

[Last edited by disoriented at 02-28-2020 05:02 AM]
02-27-2020 at 03:35 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Rabscuttle
Level: Smitemaster
Avatar
Rank Points: 2460
Registered: 09-10-2004
IP: Logged

File: S SpoostleVirus 1E lazy virus.demo (8.7 KB)
Downloaded 24 times.
License: Public Domain
icon Re: Spoostlefish Virus Outbreak Expected to Reach Pandemic Status (+1)  


In the final move of the attached demo, I feel like the virus should spread east, but it doesn't.

I think it's because the script hits two "Wait 0"s after spawning S - one straight after the S, and one at the start of the loop.

02-27-2020 at 11:01 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Dying Flutchman
Level: Smiter
Avatar
Rank Points: 406
Registered: 01-27-2017
IP: Logged
icon Re: Spoostlefish Virus Outbreak Expected to Reach Pandemic Status (+1)  
That's a very nice custom element with potential for a larger hold :yes

If you allow me, I'll put it in the big list of custom elements, where it belongs. It's simple, but very effective.

Oh, by the way
Click here to view the secret text


____________________________
Autocorrect is not my friend. Apologies for the typos.
02-27-2020 at 01:03 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
disoriented
Level: Smitemaster
Avatar
Rank Points: 2379
Registered: 08-07-2007
IP: Logged

File: 1E.png (358.7 KB)
Downloaded 236 times.
License: Public Domain
icon Re: Spoostlefish Virus Outbreak Expected to Reach Pandemic Status (0)  
Rabscuttle wrote:


In the final move of the attached demo, I feel like the virus should spread east, but it doesn't.

I think it's because the script hits two "Wait 0"s after spawning S - one straight after the S, and one at the start of the loop.


There is a Wait 0 Turns command at the end of every spawn, no matter the direction. I don't know why spawning S would behave any differently than any other direction.

By the way, the hold is intended to be played with the Voids room style by Chaco.



____________________________
34th Skywatcher

Best to PM me, since I might miss your message on CaravelNet chat.

[Last edited by disoriented at 02-28-2020 01:42 AM]
02-28-2020 at 01:38 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Rabscuttle
Level: Smitemaster
Avatar
Rank Points: 2460
Registered: 09-10-2004
IP: Logged
icon Re: Spoostlefish Virus Outbreak Expected to Reach Pandemic Status (+2)  
disoriented wrote:
There is a Wait 0 Turns command at the end of every spawn, no matter the direction. I don't know why spawning S would behave any differently than any other direction.

What I think is happening is:
On the previous turn the northern virus spread S, then hit the wait 0 in that if clause
On the current turn, it starts from that wait 0, is unable to spawn SW or W, so goes back to the start of the main loop and hits the wait 0 there, so it never gets to the east check.

I think the solution might be to change the open move checks to "Else If" instead, then move the MyScript resets and the Wait 0 to the bottom of the loop, and move the first wait 0 to outside the loop.

<stuff>
Wait 0 turns
Loop:
If open move North
  <spawn a virus there>
Else if open move NE
  <spawn a virus there>
Else if open move E
  <spawn a virus there>
...
Else if open move NW
  <spawn a virus there>
If End
Set var _myscriptx,y = -9999
Wait 0 turns
Go to "Loop"




[Last edited by Rabscuttle at 02-28-2020 02:04 AM]
02-28-2020 at 02:01 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Avatar
Rank Points: 2379
Registered: 08-07-2007
IP: Logged
icon Re: Spoostlefish Virus Outbreak Expected to Reach Pandemic Status (+1)  
Thanks Rabscuttle. I've updated the original post and incorporated your modified code.

1E changed: no more rattlesnake, but there's something else.

____________________________
34th Skywatcher

Best to PM me, since I might miss your message on CaravelNet chat.

[Last edited by disoriented at 02-28-2020 05:04 AM]
02-28-2020 at 05:02 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Avatar
Rank Points: 2379
Registered: 08-07-2007
IP: Logged
icon Re: Spoostlefish Virus Outbreak Expected to Reach Pandemic Status (0)  
Dying Flutchman wrote:

Oh, by the way
Regarding 1E

Thanks Dying Flutchman, this has been updated.

____________________________
34th Skywatcher

Best to PM me, since I might miss your message on CaravelNet chat.
02-28-2020 at 05:04 AM
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: 1527
Registered: 06-13-2015
IP: Logged
icon Re: Spoostlefish Virus Outbreak Expected to Reach Pandemic Status (0)  
Cool thing! :D
There is a weird rectangle in the end text for me where it looks like there should be a new line, just before the
Click here to view the secret text


____________________________
109th Skywatcher

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

02-29-2020 at 02:00 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Avatar
Rank Points: 2379
Registered: 08-07-2007
IP: Logged
icon Re: Spoostlefish Virus Outbreak Expected to Reach Pandemic Status (0)  
maybe it’s that annoying thing where Mac/Unix represents newlines as LF whereas Windows treats them as CR LF.

Or maybe I accidentally held Shift while pressing the Return key there.

____________________________
34th Skywatcher

Best to PM me, since I might miss your message on CaravelNet chat.

[Last edited by disoriented at 02-29-2020 02:35 AM]
02-29-2020 at 02:35 AM
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 : Architecture : Spoostlefish Virus Outbreak Expected to Reach Pandemic Status
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.