I’m getting this error on startup from 2010. I’m not sure whats launching it. krakatoa gui.ms I’m guessing.
MAXScript Auto-load Script Error - C:\Program Files\Autodesk\3ds Max 2010\PlugIns\krakatoa\Scripts\KrakatoaPartitionTasksOnDeadline.ms Exception: – Runtime error: Current renderer must be set to Krakatoa to access its properties. <<
Uhm, Krakatoa is installed incorrectly.
You cannot copy it under Plugins because MAX executes every script in EVERY SUBFOLDER of any plugin folder.
The script KrakatoaPartitionTasksOnDeadline.ms is not supposed to be run outside of Deadline jobs, but in your case every script shipping with Krakatoa gets evaluated, which is a no-no.
You can copy the Krakatoa folder under the Max root folder or anywhere else inside the Max directory structure, BUT NOT under a path that is listed in the plugin.ini. Instead, you are supposed to list the path containing the Krakatoa DLR in the plugin.in. When that path gets evaluated, the krakatoa_startup.ms found in the DLR’s folder will get evaluated and will look for the scripts in the \Scripts folder two folders up.
So the only rules for copying Krakatoa around are:
*Don’t copy into a plugin path already listed under plugin.ini to avoid evaluation of scripts that should not run on startup.
*Keep the relative depth of the folder containing the DLR two levels deeper than the folder containing the \Icons and \Scripts folders.
*List the correct DLR’s folder in the plugin.ini
Otherwise, you can place Krakatoa anywhere you want.
Very weird, it shouldn’t have worked.
Unless your \Plugins path was not included in the plugin.ini for some reason, or the folder that contained Krakatoa’s root was in parentheses (which prevents MAXScript from scanning the subfolders).