Designated Posted May 11, 2016 Posted May 11, 2016 [ERROR][bot #1][05/10 09:03:09 PM]: Blocked permission: ("java.io.FilePermission" "C:\Users\Designated\OSBot\scripts" "read") What directory can we use to save/load settings from? Or is all FileIO blocked?
DragonAlpha Posted May 11, 2016 Posted May 11, 2016 (edited) [ERROR][bot #1][05/10 09:03:09 PM]: Blocked permission: ("java.io.FilePermission" "C:\Users\Designated\OSBot\scripts" "read") What directory can we use to save/load settings from? Or is all FileIO blocked? C:\Users\Designated\OSBot\Data All others are blocked. You can use the command: getDirectoryData() which will return back the full path to the OSBot\Data folder on anyone's computer, regardless of their username. Edited May 11, 2016 by DragonAlpha
Designated Posted May 11, 2016 Author Posted May 11, 2016 C:\Users\Designated\OSBot\Data All others are blocked. You can use the command: getDirectoryData() which will return back the full path to the OSBot\Data folder on anyone's computer, regardless of their username. Thank you