solution 4 Share Posted February 9, 2015 eww. Link to comment Share on other sites More sharing options...
Nuclear Nezz 2055 Author Share Posted February 9, 2015 eww. If you don't give constructive criticism, I'll have to assume you're like Jizzbeat. Link to comment Share on other sites More sharing options...
Dogerina 330 Share Posted February 9, 2015 eww. hey at least hes open sourcing scripts, i dont see you open sourcing scripts Link to comment Share on other sites More sharing options...
Calle 17 Share Posted February 17, 2015 You can do whatever you want with it. so we can do anything we want with it and don't give credit? i saw an enum i like Link to comment Share on other sites More sharing options...
Fran 99 Share Posted February 17, 2015 I have used your Druid's source as reference to add some improvements to my script thanks very much E: Haven't copied anything! Link to comment Share on other sites More sharing options...
Nuclear Nezz 2055 Author Share Posted February 17, 2015 so we can do anything we want with it and don't give credit? i saw an enum i like I'd like a bit of credit, especially if you're gonna sell it. But an enum is just data collection so I wouldn't be too upset. I have used your Druid's source as reference to add some improvements to my script thanks very much E: Haven't copied anything! Woo Link to comment Share on other sites More sharing options...
Calle 17 Share Posted February 18, 2015 I'd like a bit of credit, especially if you're gonna sell it. But an enum is just data collection so I wouldn't be too upset. Yeah, i cba make one, don't worry, i never make premium scripts Link to comment Share on other sites More sharing options...
Fran 99 Share Posted February 19, 2015 Hi Nezz, Was wondering if you could please explain what the RunTimer class is used for, to see if it can be valuable to any of the scripts I make. Below is the code you used. Thanks very much in advance! public class RunTimer { //need to ask on the forums about this private long start; public RunTimer() { start = System.currentTimeMillis(); } public long getElapsed() { return System.currentTimeMillis() - start; } public boolean isRunning() { return getElapsed() > 0; } public long getPerHour(long amt){ return (long)((amt*3600000D)/getElapsed()); } public String format() { long milliSeconds = getElapsed(); long secs = milliSeconds / 1000L; return String.format("%02d:%02d:%02d", secs / 3600L, (secs % 3600L) / 60L, secs % 60L); } } Link to comment Share on other sites More sharing options...
Dogerina 330 Share Posted February 19, 2015 Hi Nezz, Was wondering if you could please explain what the RunTimer class is used for, to see if it can be valuable to any of the scripts I make. Below is the code you used. Thanks very much in advance! public class RunTimer { //need to ask on the forums about this private long start; public RunTimer() { start = System.currentTimeMillis(); } public long getElapsed() { return System.currentTimeMillis() - start; } public boolean isRunning() { return getElapsed() > 0; } public long getPerHour(long amt){ return (long)((amt*3600000D)/getElapsed()); } public String format() { long milliSeconds = getElapsed(); long secs = milliSeconds / 1000L; return String.format("%02d:%02d:%02d", secs / 3600L, (secs % 3600L) / 60L, secs % 60L); } } It's a timer/stopwatch kind of thing, you can use it to tell how long the script has been running for. Link to comment Share on other sites More sharing options...
Nuclear Nezz 2055 Author Share Posted February 19, 2015 It's a timer/stopwatch kind of thing, you can use it to tell how long the script has been running for. ^ The client also has a built in Timer class, so the RunTimer in my code is kind of useless. I just had it there rip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.