Soldtodie Posted March 7, 2015 Posted March 7, 2015 Hey, how can I find the script folder when I uploaded my script to the sdn?
AresScripts Posted March 7, 2015 Posted March 7, 2015 (edited) need more details the local script folder or the repository Edited March 7, 2015 by AresScripts
Soldtodie Posted March 7, 2015 Author 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
Mysteryy Posted March 7, 2015 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
AresScripts Posted March 7, 2015 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
Soldtodie Posted March 7, 2015 Author 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.
AresScripts Posted March 7, 2015 Posted March 7, 2015 oh well why would you want to do that?! just put in on the gosh darn sdn
Soldtodie Posted March 7, 2015 Author 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
AresScripts Posted March 7, 2015 Posted March 7, 2015 ah.Careful when you get involved with files. Someone might think youre trying to phish accounts
Soldtodie Posted March 7, 2015 Author 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.
AresScripts Posted March 7, 2015 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
Mysteryy Posted March 7, 2015 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
Swizzbeat Posted March 7, 2015 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?