Soldtodie Posted March 7, 2015 Share Posted March 7, 2015 Hey, how can I find the script folder when I uploaded my script to the sdn? Quote Link to comment Share on other sites More sharing options...
AresScripts Posted March 7, 2015 Share Posted March 7, 2015 (edited) need more details the local script folder or the repository Edited March 7, 2015 by AresScripts Quote Link to comment Share on other sites More sharing options...
Soldtodie Posted March 7, 2015 Author Share Posted March 7, 2015 (edited) need more details When I upload my script to the sdn. My script will be downloaded by the client but I don't know where and how I can find the Scripts folder. That's all . Local script folder! Edited March 7, 2015 by Soldtodie Quote Link to comment Share on other sites More sharing options...
Mysteryy Posted March 7, 2015 Share Posted March 7, 2015 When I upload my script to the sdn. My script will be downloaded by the client but I don't know where and how I can find the Scripts folder. That's all . Local script folder! lmfao ur siggy thou 3 Quote Link to comment Share on other sites More sharing options...
AresScripts Posted March 7, 2015 Share Posted March 7, 2015 When I upload my script to the sdn. My script will be downloaded by the client but I don't know where and how I can find the Scripts folder. That's all . Local script folder! its under C:/Users/Name here/OsBot/Scripts Quote Link to comment Share on other sites More sharing options...
Soldtodie Posted March 7, 2015 Author Share Posted March 7, 2015 its under C:/Users/Name here/OsBot/Scripts Yeah . But i want to get this folder. And idk if every system has the same location. Quote Link to comment Share on other sites More sharing options...
AresScripts Posted March 7, 2015 Share Posted March 7, 2015 oh well why would you want to do that?! just put in on the gosh darn sdn Quote Link to comment Share on other sites More sharing options...
Soldtodie Posted March 7, 2015 Author Share Posted March 7, 2015 (edited) oh well why would you want to do that?! just put in on the gosh darn sdn I want to save some rock locations for my miner. And i don't know if the path is correct when i added it. Edited March 7, 2015 by Soldtodie Quote Link to comment Share on other sites More sharing options...
AresScripts Posted March 7, 2015 Share Posted March 7, 2015 ah.Careful when you get involved with files. Someone might think youre trying to phish accounts Quote Link to comment Share on other sites More sharing options...
Soldtodie Posted March 7, 2015 Author Share Posted March 7, 2015 ah.Careful when you get involved with files. Someone might think youre trying to phish accounts Yeah but i must save the rocks locations because the users don't want to select every time every rock. Quote Link to comment Share on other sites More sharing options...
AresScripts Posted March 7, 2015 Share Posted March 7, 2015 Yeah but i must save the rocks locations because the users don't want to select every time every rock. True Quote Link to comment Share on other sites More sharing options...
Mysteryy Posted March 7, 2015 Share Posted March 7, 2015 (edited) Yeah . But i want to get this folder. And idk if every system has the same location. I made a getFolder method which will search for the OSBot folder and then return the path. I believe that using System.getProperty("user.home") + "/OSBot" will also work in most cases as the path. I had a bit of strange behavior running that on linux, so I just went with my method of folder crawling until I find the appropriate one. This works cross platform. Edited March 7, 2015 by Mysteryy Quote Link to comment Share on other sites More sharing options...
Swizzbeat Posted March 7, 2015 Share Posted March 7, 2015 ah.Careful when you get involved with files. Someone might think youre trying to phish accounts wait what do you know what phishing is? Quote Link to comment Share on other sites More sharing options...