Back to Recipes Homepage
recipe picture
Recipe: tlaloc SelectMultiStart 3.00
Created by Tlaloc 51 1376
Your rating: None Average: 4.5 (14 votes)
Used 841 times with an average impact of -10287 points.


Name: tlaloc SelectMultiStart 3.00
ID: 2714
Created on: Tue, 06/15/2010 - 03:54
Updated on: Mon, 09/20/2010 - 06:24

This script figures out how many different starts there are, and saves them into the quickload save spots. You can use ctrl+1, ctrl+2, or ctrl+3 to load the first 3 after running this script. You can also change the parameter to SelectMultiStart to select ones that appear beyond the first 3.

Best For


Tlaloc's picture
User offline. Last seen 45 weeks 1 day ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'
Have you wanted to select a particular start of a multi-start?

The randomness of the multi-start puzzles drives me crazy. I want to work with particular starts, which is not easy in the UI.

This script solves that problem by restarting 100 times, and finding all the unique starting scores. It saves the first three of the starts to the first three quicksave slots. There are actually 10 quicksave slots, but the other seven can only be retrieved through code. If you change the parameter at the end of the script, you can retrieve any of the first 9 starting points. It defaults to loading the start in quicksave slot #1.

You may need to hit the 'Home' key to center the start into the window after you run this.

It reports information on the starts to the output window.

If you call the function with no arguments, or pass in 10 as the argument, it will restore the original structure when the script was run.

Joined: 09/18/2009
Groups: SETI.Germany

Very useful!

Tlaloc's picture
User offline. Last seen 45 weeks 1 day ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'
I made a change

The structure that you have before running the script is saved to the 'recent best' position, so that if you go to the Undo menu and select 'Restore Rcnt Best' you will get back where you started.

It also sorts the scores, so the start with the highest starting score will be in slot 1, the second highest in slot 2, the third highest in slot 3. Lower scoring starts will require changing the argument to SelectMultiStart [e.g. SelectMultiStart(4)].

It still does not use quicksave slot 10, so if the algorithm is incorporated into other scripts, they can use quicksave slot 10 without fear of stomping on one of the quicksaves created by this script.

Also useful in other scripts: if you call the SelectMultiStart() with no arguments, it returns the number of starts.

Joined: 09/18/2009
Groups: SETI.Germany

..this SelectMultiStart() function should be implemented as standard game function!

Joined: 11/03/2011
Groups: None
This script doesn't help me.

This script doesn't help me. I ran it against 497 (Jan 2012) and it just looped through 100 starts in 50 or 60 seconds and they were all hugely negative. I think I tried it with another multi-start puzzle a few weeks ago and had the same issue. Rav3n pl SBS seems to handle 497 much better. I don't know enough about scripting to explain why. Not even sure that starting with a higher total from the first script will give me a higher total after a couple of rounds of tuning... but that's my feedback on this particular script. The other tlaloc scripts I have downloaded are *waaaaay* more helpful than this one.

If anyone knows how to use this better please speak...

Want to try?
Add to Cookbook!
To download recipes to your cookbook, you need to have the game client running.



Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons