Dashboard 34 Share Posted December 3, 2014 (edited) package org.dreambot.macrosuite; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import org.dreambot.api.methods.skills.Skill; import org.dreambot.macrosuite.Developer; import org.dreambot.macrosuite.paint.Paint; import org.dreambot.macrosuite.paint.PaintManifest; /** * SimplePaint plugin for MacroSuite Dreambot Edition * Displays a simple paint with experience rates for every skill. * * @author Name Namieson * */ @PaintManifest(author = "Name Namieson", description = "Simply displays lots of information", name = "Simple", uniqueId = 4441, version = 1.0) public class SimplePaint extends Paint { private long startTime; /** * Initializes the paint's variables. */ @Override public void init() { this.startTime = System.currentTimeMillis(); for(Skill skill : Skill.values()) getLauncher().getSkillTracker().start(skill); } /** * Paints to the game screen. * * @param graphics The graphics used to paint to the game screen. */ @Override public void paint(Graphics graphics) { // Set how our text will look graphics.setFont(new Font("Arial", 0, 14)); graphics.setColor(Color.WHITE); // Draw MacroSuite's version to the screen graphics.drawString(getLauncher().getManifest().name() + " " + getLauncher().getManifest().version(), 5, 35); // Draw the script's running time to the screen graphics.drawString("Running time: " + Developer.buildTime(startTime), 5, 50); // Set a variable for where the text's vertical position is, 75 pixels is our default. int y = 75; // Loop through every skill available. for(Skill skill : Skill.values()) { // Get the experience gained and the experience per hour long xpGained = getLauncher().getSkillTracker().getGainedExperience(skill); int xpPerHour = getLauncher().getSkillTracker().getGainedExperiencePerHour(skill); // Check to see if the user is training the skill. if(xpGained != 0) { // If the user is training the skill, display "skill_name: xp (xp / hr)" graphics.drawString(skill.getName() + ": " + xpGained + "xp (" + xpPerHour + " / hr)", 5, y); // Lower the text's verical position by 15 pixels. y += 15; } } } } Edited December 13, 2022 by Dashboard Remove personally identifying information Link to comment Share on other sites More sharing options...
Nuclear Nezz 1995 Share Posted December 3, 2014 Question. This is just a wrapper for the dreambot client. If someone was going to write scripts like this, why not just write them with the actual client? :x Link to comment Share on other sites More sharing options...
Dashboard 34 Author Share Posted December 3, 2014 Question. This is just a wrapper for the dreambot client. If someone was going to write scripts like this, why not just write them with the actual client? :x Because MacroSuite has its own community of users. Screenshot of the result: Volta 1 Link to comment Share on other sites More sharing options...
Nuclear Nezz 1995 Share Posted December 3, 2014 Because MacroSuite has its own community of users. Screenshot of the result: I don't get why that would mean they would use macrosuite (in dreambot) instead of just dreambot. :x It looks the same other than extra typing to get access to dreambot methods rip Link to comment Share on other sites More sharing options...
GoldenGates 72 Share Posted December 3, 2014 I agree with Nezz, maybe you guys can work something out to add this into the client. Link to comment Share on other sites More sharing options...
Jordan 8 Share Posted December 3, 2014 I like a design that is unique and represents the script as something of quality. One way to do this is to maybe split things up and break apart from the traditional paint. I was thinking this: Top left is a stat, it could be total xp gained using xyz script, or total xp gained using MacroSuite. Top center is the time. Top right is the script information. Bottom left have the various xp gains. Each different part would have a transparent black box with black outline. This allows for the information to not take up a vital part of the screen, and the user can still see whats going on behind the paint. I just threw something together for fun. Ignore the fonts and colors. Link to comment Share on other sites More sharing options...
Dashboard 34 Author Share Posted December 3, 2014 I don't get why that would mean they would use macrosuite (in dreambot) instead of just dreambot. :x It looks the same other than extra typing to get access to dreambot methods rip People will use MacroSuite for the same reason they used SSF. Jordan and Volta 2 Link to comment Share on other sites More sharing options...
Explicit 213 Share Posted December 3, 2014 Why the fuck are these SSF scripts still being designed? I would have thought by now simple biometric data collection would go on instead of having to select predefined actions.... Link to comment Share on other sites More sharing options...
Dashboard 34 Author Share Posted December 3, 2014 Why the fuck are these SSF scripts still being designed? I would have thought by now simple biometric data collection would go on instead of having to select predefined actions.... I've been researching this for a while, and there are quite a few holes in such a system. Maybe once I come up with some solutions we'll remove the menus. Link to comment Share on other sites More sharing options...
qbots 239 Share Posted December 3, 2014 Why the fuck are these SSF scripts still being designed? I would have thought by now simple biometric data collection would go on instead of having to select predefined actions.... That would be at least somewhat difficult. SSF scripts = simple, hence why people make them :3 Ericthecmh 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now