A Wiki in the Desert
Log in

Difference between revisions of "User:Cegaiel/Thistle"

From A Wiki in the Desert
Line 8: Line 8:
  
 
<B>Note:</b> For daytime to work, the Sun needs to be => 19 (canopy closed) and => 79 (canopy open). Numbers outside this range is night.
 
<B>Note:</b> For daytime to work, the Sun needs to be => 19 (canopy closed) and => 79 (canopy open). Numbers outside this range is night.
If you want to be sure and want 0 Sun while testing night voids:
 
*Canopy Closed - 0 Sun occurs at 6:30PM
 
*Canopy Open - 0 Sun occurs at 6:38PM
 
 
  
 
As the recipe runs, I take screenshots (Alt+C) every 10 ticks and then figure out the voids based on the screenshots.
 
As the recipe runs, I take screenshots (Alt+C) every 10 ticks and then figure out the voids based on the screenshots.

Revision as of 19:32, 26 December 2019

Voids Testing

I use Automato to run my void tests. I do 3 different tests each week.

  • Full Day (8:20AM - 3:50PM egypt time) with canopy OPEN
  • Full Day with canopy CLOSED
  • Night Time


Note: For daytime to work, the Sun needs to be => 19 (canopy closed) and => 79 (canopy open). Numbers outside this range is night.

As the recipe runs, I take screenshots (Alt+C) every 10 ticks and then figure out the voids based on the screenshots. I take a screenshot at tick 9, 19, 29, 39 (maybe 40 if possible). The reason I do this odd number instead of 10, 20, 30, 40 is because that is when VT will start clicking on buttons. Taking a screenshot causes the screen to freeze for a moment, which could affect buttons clicking correctly. By doing this 1 tick earlier, will prevent that possibility the buttons not getting clicked correctly.

There is an option on thistle_new.lua that will take these screenshots for you. They will be saved to the c:\games\automato folder.

Thistle new screenshot option.png



The 3 recipes (at bottom of page) will be able to test every possible void with the least amount of materials


Each run uses the following

15 Dung (Nit), 15 Saltpeter (Pot), 13 water (in jugs), 13 oxy (free)


Nit, Pot, H20, Oxy

Tick 0: 3,3,3,3
Tick 10: 4,4,0,5
Tick 20: 4,4,5,0
Tick 30: 4,4,5,5


So at tick 0, it immediately clicks the Nit button 3 times (Dung), the Pot button 3 times (Saltpeter), H20 3 times and Oxygen 3 times

Tick 10 is 4 Nit, 4 Pot, 0 H20, 5 Oxygen
Tick 20 is 4 Nit, 4 Pot, 5 H20, 0 Oxygen
Tick 30 is 4 Nit, 4 Pot, 5 H20, 5 Oxygen


These recipes would be inserted into the thistle_new.lua or thistle_custom.lua file. Then take screen shot at tick 9, 19, 29, 39, 40. Compare results with ThistleSim or Talos T4 Thistle Garden Simulator. Talos' program is written in Python and requires the installation of a few programs, such as Python for Windows, etc. Worth the extra work as I find it much easier to use than Thistlesim. Thistlesim is an Excel spreadsheet, fyi.

Note you can also download Talos Thistle Simulator and all library files you need to install at https://atitd.sharpnetwork.net/macros/talos_thistlesimulator/Thistle_Python_for_Windows.zip Be sure to read the install_instructions.txt - You should install them in the order listed. It probably won't matter, but probably should.


Here is a video where I've already tested night voids and took my screenshots. I'll now compare the values and try some of the void checkboxes so that the values start matching.

https://youtu.be/Fs4L4hYU14I


Tip: An easier way to do this would be to run both Day Time on two different gardens at same time. Pin the windows side by side at top and take your screenshots of both windows. Saves time instead of running to day tests, on one garden, back to back.

You could technically just use the Night Recipe for day testing too. Note the last number in Night is not 33 or 99? 33 means to close the canopy and 99 means to open it. But the night ends with a zero. That means don't ever adjust the canopy (Sun button).

Just manually set one garden with canopy open and another canopy closed. By using the Night recipe, it will not attempt to adjust the canopy.

If you need to set/change one of your canopies quickly, just Plant a Crop, click Sun button, then Abort.


I set local expected_gardens = 2; (in thistle_custom.lua - pin both windows side by side (just don't overlap them)). for testing both possible day voids. They will run without ever adjusting the canopy and use its current position.

Then when its time to test night voids, simply change local expected_gardens = 1;. It doesn't matter what position the canopy is in at night, because there is no sun anyways.


Full Day - Canopy Open Full Day - Canopy Closed Night
3,3,3,3,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
4,4,0,5,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,0,99,
0,0,0,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