Profile
Best ForComments
Mon, 08/11/2014 - 23:19
#2
The software
The software release, Lua Version: Lua 5.1 http://fold.it/portal/recipe/47844 a recipe called “version print” has been created to test these functions There is no indication as to where the error occurred. Lua is compiled into a series of function calls when executed. Something like “Divide by zero in function check_helix + 128 “ would be nice. |
|
This script is to demonstrate that an invalid argument to the os.date( "%Q" ) statement in a Lua script or attempting to divide by zero in a Lua script will crash Foldit. I was running Foldit under Windows 8. I would be interested in
what this script does in Linux or on a Mac.
Current Foldit uses Lua 5.1.
I downloaded Lua 5.2 and ran it using Windows Lua compiler. The errors seem to be handled better there. It prints out an error message rather than crashing.