The Wiki for Tale 6 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Talk:TaleScripts"

From ATITD6
Jump to navigationJump to search
 
(30 intermediate revisions by 7 users not shown)
Line 35: Line 35:
  
 
I've had fun tweaking the fishing macro. Its now Apr 12 and I've still found things to tweak on it. Should be very user friendly and have nice statistics on the screen as well as all new log files now (tweaked the fishlog.txt and added a new fishstats.txt, now write to main folder, instead of the fishing folder (Since new Veggie Tales 1.6.0+ is out, figured it would be nicer to find the .txt files easier in the main folder), and not 'break' so easily :D   ~Cegaiel Apr 12, 2012
 
I've had fun tweaking the fishing macro. Its now Apr 12 and I've still found things to tweak on it. Should be very user friendly and have nice statistics on the screen as well as all new log files now (tweaked the fishlog.txt and added a new fishstats.txt, now write to main folder, instead of the fishing folder (Since new Veggie Tales 1.6.0+ is out, figured it would be nicer to find the .txt files easier in the main folder), and not 'break' so easily :D   ~Cegaiel Apr 12, 2012
 +
 +
When I try to use Fishing. lua it gives me the time. Is this a statement that I should not waste my time fishing? <wink> Settings have been triplechecked, and any advice would be gratefully accepted! ~ Hanid, October 14, 2012
  
 
== Problem with Installer 1.64 '''Fixed'''  ==
 
== Problem with Installer 1.64 '''Fixed'''  ==
Line 91: Line 93:
 
Issue resolved. I uploaded [[File:Veggietales164.zip]] to wiki, an exact copy of a fresh install. This will bypass Norton refusing an unknown installer. First time it ran, Norton quarantined veggietales.exe. Remove from quarantine and tell Norton to not include that file in future scans.
 
Issue resolved. I uploaded [[File:Veggietales164.zip]] to wiki, an exact copy of a fresh install. This will bypass Norton refusing an unknown installer. First time it ran, Norton quarantined veggietales.exe. Remove from quarantine and tell Norton to not include that file in future scans.
  
Also, even though a newer version of VeggieTales is now out, it will automatically updated to the latest VeggieTales version and Talescripts version, once you click the update button in the program So its still just as good as downloading the latest copy. ~Cegaiel
+
Also, even though a newer version of VeggieTales is now out, it will automatically update to the latest VeggieTales version and Talescripts version, once you click the update button in the program. So this link is still just as good as downloading the latest copy (assuming your click the Update button, after installing) ~Cegaiel
  
 
=== Norton Notes ===
 
=== Norton Notes ===
Line 154: Line 156:
  
 
Added to May 9, 2012 update ~Cegaiel
 
Added to May 9, 2012 update ~Cegaiel
 +
 +
=== Missing file: Unknown Fish Bottlenose Squid FIXED ===
 +
 +
Sent screenie via email. [[User:Zhukuram|Zhukuram]] 16:39, 17 May 2012 (EST)
 +
 +
Added to May 18, 2012 update ~Cegaiel
 +
 +
=== Missing fishes ===
 +
 +
* [[Image:Talescript_Moonfish.png‎]] <BR>
 +
* [[Image:Talescript_Tigerfish.png]] <BR>
  
 
== Vinetender.lua Distraction grape count is zero ==
 
== Vinetender.lua Distraction grape count is zero ==
Line 169: Line 182:
 
  [[User:Zhukuram|Zhukuram]] 23:58, 9 May 2012 (EST)
 
  [[User:Zhukuram|Zhukuram]] 23:58, 9 May 2012 (EST)
  
 +
FYI, the problem is actually that the code looks for 'Grapes' in order to parse the number after it. Some tends
 +
have the word 'Grapes' in them, and this confuses my code. There will be a fix soon.
 +
[[User:Tallow|Tallow]]
 +
 +
== Vinetender.lua Vine_P_Bright_Bunch_CCG.png ==
 +
I've uploaded an image for Vine Pascarella Bright Bunch CCG. It looks a little chopped off but it seems to be working for me.
 +
~Dreasimy
 +
[[File:Vine_P_Bright_Bunch_CCG.png]]
 +
 +
== Window Arranger: Brick Rack hangs on placements ==
 +
 +
I've used the Window Arranger for Brick Racks several times and it seems to "hang" when it is placing the windows in
 +
their finished locations.  The "focus" part works fine.  After the focus is done it starts to place the windows in the
 +
upper left corner of the screen and then places them along the left side of the window. 
 +
 +
It places 2 windows and "hangs". If I move my mouse the next window will be placed where ever the mouse pointer is at the time
 +
and then it completes the rest of the windows based on that offset.
 +
 +
Workaround: I now place my mouse in the upper left corner to start and when the second window placement hangs
 +
I move my mouse down and the windows will then be placed correctly.
 +
[[User:Zhukuram|Zhukuram]] 11:51, 22 May 2012 (EST)
 +
 +
 +
Hmm, it works fine for me. I can not get it to reproduce that. The windows do overlap slightly so that you can fit 7 up and down. Perhaps try removing the overlapping and do 5 windows instead. In function GetLayout() where it says --brick racks. Try changing dy = 115 to dy = 162 and changed num_high = 7 to num_high = 5 and see if that maybe helps. You maybe able to get 6 windows high, depending on your resolution, but at 1280x1024, I can only fit 5 high. But a dy of 162 wont overlap the windows and perhaps that might be the issue.
 +
 +
 +
Jump to: [[#Top | '''Top''' ]]
 +
 +
== Carp Blade Lua Problems ==
 +
 +
I tried the new Lua for Carp Blades and had several malfunctions.
 +
 +
When selecting an item to make the macro seems to be confused by the option to make an Archaeologist's Shovel in the list.
 +
My List has:
 +
#Shovel
 +
#Archaeologist Shovel
 +
#Carpentry Blade
 +
 +
The first blade try bombs right away.  The second try finds the Carp Blade option and loads the template but then my toon goes careening around the desert.  It appears that the macro is
 +
* looking for the anvil
 +
* clicking where it isn't which makes my toon move to the new spot (repeats).
 +
 +
I'm in F8x2 and set where I think I should be.  Not sure what else I need to do.
 +
 +
[[User:Zhukuram|Zhukuram]] 12:08, 10 July 2012 (EST)
 +
 +
== Problem with crematory.lua ==
 +
 +
The loading is not working properly for me it ends up (with 1 or 2 crematories) not loading Dried Pappy at all Limestone at all and wood in the 2nd crematory.  I tried adjusting the waits same results.  I have a 1600x900 resolution also the load pop up stays up (think it is when it is suppose to load the last wood) and thus the script does not see the fire button and ends the script saying it cannot find the fire button.  Yes I have formed grid.  I commented out the takeall and loadall function calls and do just 1 under run and load it manually and the script works great.
 +
 +
--[[User:Belekane|Belekane]] 15:07, 13 October 2012 (EST)
  
 
Jump to: [[#Top | '''Top''' ]]
 
Jump to: [[#Top | '''Top''' ]]
 +
 +
= Requests for Feature Enhancements =
 +
 +
== Request: Add Pause or Hold to Fishing.lua Included ==
 +
 +
I would like to request a Pause option to be added to the Fishing.lua script.
 +
 +
Benefits would include:
 +
* Being able to respond to chats
 +
* Temporary stopping for other activities (answer phone, email)
 +
* Keeping the fishing lure cycle progressing without restarting from the top.
 +
 +
[[User:Zhukuram|Zhukuram]] 11:30, 22 May 2012 (EST)
 +
 +
Pause should work on all of the macros. It is Alt+Shift. Some macros may specifically say it somewhere and some may not.
 +
But the universal Pause key of Alt+Shift does work on fishing. Ctrl+Shift aborts macros and Alt+Shift pauses/unpauses.
 +
 +
Thanks for the info. I did get it to pause.  You have to do the command at just the right time in the animation
 +
but it worked.  Thanks.  [[User:Zhukuram|Zhukuram]] 11:26, 6 June 2012 (EST)
 +
 +
Jump to: [[#Top | '''Top''' ]]
 +
 +
== Update failing - CRC Error ==
 +
 +
Downloaded the installer from http://www.bigscreensmallgames.com/ATITD/
 +
Loaded it up, says VeggieTales v1.74 (No newer version)
 +
TaleScripts installed version: f83d30a
 +
TaleScrips latest version: 95093a0
 +
[Update TaleScripts]
 +
 +
It then says 29 files need updating for a download size of 364944 bytes. Download and apply these updates?
 +
 +
Yes produces a number of "Update failed! Error downloading luaScripts/<various>.lua: CRC Failure" messages
 +
 +
Any idea how to fix this?
 +
 +
[[User:Silden|Silden]] 04:36, 28 December 2014 (EST)

Latest revision as of 09:36, 28 December 2014

Top

Kudos

This is really FANTASTIC!

A great community effort and a much needed resource. So many options and sometime I have problems doing updates or tweaks. So much better to get it from a known and maintained respository.

Thanks to all who make and provide the macros. Egypt would not be possible without them!
Zhukuram 18:52, 10 February 2012 (EST)

Error Reports and Fixes

Probem with Boards.lua Fixed

I am having a timing issue with boards.lua The current synced version times out after about 5 or 6 boards.
Tested on 1 and 2 carp shops with 7KQ blades.  I changed the last sleep command from 
    lsSleep(1000); 
  to 
    lsSleep(1500); 
which matches the one above and it seems to work better but still times out after about 170 boards. 
fwiw I dont know anything about lua coding so I'm not sure what I should tweak. Zhukuram 12:57, 31 March 2012 (EST)


The boards.lua is fixed and tweaked. It will be in next update. The fishing macro does work, but is very picky. The next update will have a ton of comments in the script on how to use correctly. Also some new tweaks. ~Cegaiel Apr 4, 2012


Problem with Fishing.lua Fixed

Also, fyi I tried the fishing.lua script and it just vaporized.  
I had never tried the fishing macro before.
I think a recent change to the fishing menu might have cause it to blow up too.  Zhukuram 13:19, 31 March 2012 (EST)


I've had fun tweaking the fishing macro. Its now Apr 12 and I've still found things to tweak on it. Should be very user friendly and have nice statistics on the screen as well as all new log files now (tweaked the fishlog.txt and added a new fishstats.txt, now write to main folder, instead of the fishing folder (Since new Veggie Tales 1.6.0+ is out, figured it would be nicer to find the .txt files easier in the main folder), and not 'break' so easily :D   ~Cegaiel Apr 12, 2012

When I try to use Fishing. lua it gives me the time. Is this a statement that I should not waste my time fishing? <wink> Settings have been triplechecked, and any advice would be gratefully accepted! ~ Hanid, October 14, 2012

Problem with Installer 1.64 Fixed

I see the new update on the VeggieTales main menu and the link takes me to Jimbly's page. 
I clicked the download item but Norton removed it claiming it had something wrong with it.
 I tried again this pm and captured the Norton unhappyiness: 

The Norton Report:

Full Path: ....\veggietalesinstaller.exe
Threat: WS.Reputation.1
____________________________
____________________________
On computers as of Not Available
Last Used 4/18/2012 at 6:46:53 PM
Startup Item No
Launched No
____________________________
____________________________
Unknown
Number of users in the Norton Community that have used this file: Unknown
____________________________
Unknown
This file release is currently not known.
____________________________
Medium
This file risk is medium.
____________________________
Threat Details
Threat type: Insight Network Threat. There are many indications that this file is untrustworthy and therefore not safe
____________________________
http://bigscreensmallgames.s3.amazonaws.com/VeggieTalesInstaller.exe Downloaded File veggietalesinstaller.exe
Threat name: 
WS.Reputation.1 from
amazonaws.com
____________________________
File Actions
File: ...\veggietalesinstaller.exe
Removed
____________________________
File Thumbprint - SHA:
02d7c0ee4270001d8a45c3e5b227b3c773187b8405e03e6f3d3ecf85e4658f33
____________________________
File Thumbprint - MD5:
7fe290ad2cb75f7d5067c375c274fdf8
____________________________

Zipped version of Installer 1.64 Available

Issue resolved. I uploaded File:Veggietales164.zip to wiki, an exact copy of a fresh install. This will bypass Norton refusing an unknown installer. First time it ran, Norton quarantined veggietales.exe. Remove from quarantine and tell Norton to not include that file in future scans.

Also, even though a newer version of VeggieTales is now out, it will automatically update to the latest VeggieTales version and Talescripts version, once you click the update button in the program. So this link is still just as good as downloading the latest copy (assuming your click the Update button, after installing) ~Cegaiel

Norton Notes

For anyone having problems with Norton blowing away the file or installation. Download the zipped version of the installer. Run a manual scan of the file to verify that all is OK because Norton is going to claim there's a problem with it. The manual scan will show the zip file to be green/good.

Unpack the zip file which should go OK too. When you execute the program Norton will grab it and place it in quarantine claiming there's a security risk. Open the quarantine and restore the file and exclude it from scan. Zhukuram 10:04, 23 April 2012 (EST)


Missing File on Update Fixed

I also did the Tortoise update and got error: 0.png not found
Zhukuram 14:46, 18 April 2012 (EST)

My version of VT got splinched due to Norton quarantining some of the new VT files. Once that was resolved (see above) then the updates completed OK Zhukuram 10:05, 23 April 2012 (EST)

Problem with Single Click Stat monitor Fixed

I get an error when running the stat monitor "failed to load  image AllStats-Black.png"
Then in exits to the main Lua selection page
Zhukuram 17:34, 22 April 2012 (EST)

Both above issues should be resolved now that you're not using version 1.5.9 with the new directory structure of 1.6.0+ . All .png and .wav files are now located in the images folder, not the main folder. VeggieTales 1.5.9 wasn't likely finding the .png files because it was expecting them to be in the main folder. ~Cegaiel

Missing file: Forge_Aluminum_Strap.png Fixed

I got an error trying to make aluminum straps using the Forge Lua.  
Failed to load image file Forge/Forge_Aluminum_Strap.png 
I had no problems making copper straps but the aluminum one stopped with that message.
Zhukuram 10:44, 28 April 2012 (EST)

Added to April 29, 2012 update. ~Cegaiel


REWARD: HELP ADD MISSING FISH to Fishing.lua

If anyone should ever encounter any similar error below, please take a screenshot (Alt+C in game) of the Main chat tab, that shows the fish name. Upload screenshot and give a link in this page. We can't add the missing fish without the screenshots. Also please note there is now an update that substitutes the below error message of "Unknown fish. This fish name and .png need to added to Fishing_Func.inc under the CL_Fish" TO "Unknown Fish! PLEASE, Take screenshot (Alt+C) of main chat tab, share with Talescripts team!". We ask that anyone that encounters a fish thats not in database, please submit to any member of Talescripts team, so it can be updated. It can't be updated without the screenshot. P.S. There's not really a reward, but we'll owe you a favor, which is just as good :)


Missing file: Unknown Fish Hylian Loach FIXED

Fishing.lua errored out on catching a Hylian Loach fish with message
282: Unknown fish.  This fish name and .png need to added to Fishing_Func.inc
under the CL_Fish
Zhukuram 11:57, 1 May 2012 (EST)
emailed Hylian Loach screenie
Zhukuram 10:06, 3 May 2012 (EST)

Added to May 2, 2012 update, Thanks for the screenshot! ~Cegaiel

Missing file: Unknown Fish Spotted Sea Cucumber FIXED

Fishing.lua errored out on catching a Spotted Sea Cucumber fish with message
282: Unknown fish.  This fish name and .png need to added to Fishing_Func.inc
under the CL_Fish
Zhukuram 12:40, 1 May 2012 (EST)

Added to May 9, 2012 update ~Cegaiel

Missing file: Unknown Fish Bottlenose Squid FIXED

Sent screenie via email. Zhukuram 16:39, 17 May 2012 (EST)

Added to May 18, 2012 update ~Cegaiel

Missing fishes

  • Talescript Moonfish.png
  • Talescript Tigerfish.png

Vinetender.lua Distraction grape count is zero

When running the vinetender on Distraction grapes the results that are displayed after the tend
show the grape count to be zero. All the other stats are OK.  
eg: grape count on the trellis: 127  grape count in Vinetender: 0
I have a screenie if you need it.
Zhukuram 10:54, 4 May 2012 (EST)
More info: This is likely some kind of lag within the game when the lua reports the status after the tend. 
I've had it happen several times on Distraction vines and once on another standard vine type.  The only stat
out of place is the number of grapes after the tend.  It's a bit spooky to see Grapes = zero but if you 
click the vinyard then you can see that all is ok.
Zhukuram 23:58, 9 May 2012 (EST)
FYI, the problem is actually that the code looks for 'Grapes' in order to parse the number after it. Some tends
have the word 'Grapes' in them, and this confuses my code. There will be a fix soon.
Tallow

Vinetender.lua Vine_P_Bright_Bunch_CCG.png

I've uploaded an image for Vine Pascarella Bright Bunch CCG. It looks a little chopped off but it seems to be working for me. 
~Dreasimy

Vine P Bright Bunch CCG.png

Window Arranger: Brick Rack hangs on placements

I've used the Window Arranger for Brick Racks several times and it seems to "hang" when it is placing the windows in 
their finished locations.  The "focus" part works fine.  After the focus is done it starts to place the windows in the
upper left corner of the screen and then places them along the left side of the window.  

It places 2 windows and "hangs". If I move my mouse the next window will be placed where ever the mouse pointer is at the time
and then it completes the rest of the windows based on that offset.

Workaround: I now place my mouse in the upper left corner to start and when the second window placement hangs 
I move my mouse down and the windows will then be placed correctly.
Zhukuram 11:51, 22 May 2012 (EST)


Hmm, it works fine for me. I can not get it to reproduce that. The windows do overlap slightly so that you can fit 7 up and down. Perhaps try removing the overlapping and do 5 windows instead. In function GetLayout() where it says --brick racks. Try changing dy = 115 to dy = 162 and changed num_high = 7 to num_high = 5 and see if that maybe helps. You maybe able to get 6 windows high, depending on your resolution, but at 1280x1024, I can only fit 5 high. But a dy of 162 wont overlap the windows and perhaps that might be the issue.


Jump to: Top

Carp Blade Lua Problems

I tried the new Lua for Carp Blades and had several malfunctions.

When selecting an item to make the macro seems to be confused by the option to make an Archaeologist's Shovel in the list. My List has:

  1. Shovel
  2. Archaeologist Shovel
  3. Carpentry Blade

The first blade try bombs right away. The second try finds the Carp Blade option and loads the template but then my toon goes careening around the desert. It appears that the macro is

  • looking for the anvil
  • clicking where it isn't which makes my toon move to the new spot (repeats).

I'm in F8x2 and set where I think I should be. Not sure what else I need to do.

Zhukuram 12:08, 10 July 2012 (EST)

Problem with crematory.lua

The loading is not working properly for me it ends up (with 1 or 2 crematories) not loading Dried Pappy at all Limestone at all and wood in the 2nd crematory. I tried adjusting the waits same results. I have a 1600x900 resolution also the load pop up stays up (think it is when it is suppose to load the last wood) and thus the script does not see the fire button and ends the script saying it cannot find the fire button. Yes I have formed grid. I commented out the takeall and loadall function calls and do just 1 under run and load it manually and the script works great.

--Belekane 15:07, 13 October 2012 (EST)

Jump to: Top

Requests for Feature Enhancements

Request: Add Pause or Hold to Fishing.lua Included

I would like to request a Pause option to be added to the Fishing.lua script.

Benefits would include:

  • Being able to respond to chats
  • Temporary stopping for other activities (answer phone, email)
  • Keeping the fishing lure cycle progressing without restarting from the top.

Zhukuram 11:30, 22 May 2012 (EST)

Pause should work on all of the macros. It is Alt+Shift. Some macros may specifically say it somewhere and some may not.
But the universal Pause key of Alt+Shift does work on fishing. Ctrl+Shift aborts macros and Alt+Shift pauses/unpauses.
Thanks for the info. I did get it to pause.  You have to do the command at just the right time in the animation
but it worked.  Thanks.  Zhukuram 11:26, 6 June 2012 (EST)

Jump to: Top

Update failing - CRC Error

Downloaded the installer from http://www.bigscreensmallgames.com/ATITD/ Loaded it up, says VeggieTales v1.74 (No newer version) TaleScripts installed version: f83d30a TaleScrips latest version: 95093a0 [Update TaleScripts]

It then says 29 files need updating for a download size of 364944 bytes. Download and apply these updates?

Yes produces a number of "Update failed! Error downloading luaScripts/<various>.lua: CRC Failure" messages

Any idea how to fix this?

Silden 04:36, 28 December 2014 (EST)