jflat06 Staff Lv 1
There's a new update out for the developer preview. The big news is the new LUA interface:
Lua - New in this release is the Foldit Lua interface V2. We have added a huge number of new functions, and have renamed all of the functions to be grouped by what they do. If you are a recipe writer, we strongly encourage you to get the beta and try converting your recipes to the new V2 functions and post any feedback to the forum. After this version goes to main, it will be harder to make changes. You can find information on the new functions on the wiki at http://foldit.wikia.com/wiki/Foldit_Lua_Functions. There are now three kinds of recipes, GUI, V1, and V2. In the future, we will only be enhancing V2 recipes, so the GUI and V1 scripts are supported for backwards compatibility. To create a V2 recipe, open the recipe editor and click the "New (Script V2)" button at the bottom. We will be adding more functions in the near future, but wanted to get this set out now.
Besides these functions, we have also added functions from the Lua standard libraries. You can find the documentation for Lua here: http://www.lua.org/manual/5.1/. We now have support for the all of the functions in the table, math, and string libraries. We have support for these os library functions: clock, date, difftime, and time. We have support for these base library functions and constants: _VERSION, assert, error, ipairs, next, pcall, pairs, select, tonumber, tostring, type, unpack, and xpcall.
There are also changes to a couple of other things:
Exploration Puzzles - A new type of scoring can be used which gives you exploration multiplier for LOSING contacts that the starting structure has, instead of just gaining ones that it doesn't.
Electron Density - The alignment should be faster, though less precise. It also shouldn't hang occasionally when attempting to align.
Intro Puzzles - The new intro puzzles are back with some changes which hopefully address some of the issues that people had with the previous versions.
Linux - Copy and paste should work now, as long as you have xclip installed (not xclipboard).
Bug Fixes - You should now be able to properly load in solutions from previous puzzles. Various other bug fixes.