Dashboard 34 Posted December 3, 2014 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; } } } }
Nuclear Nezz 2063 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
Dashboard 34 Author 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:
Nuclear Nezz 2063 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
GoldenGates 72 Posted December 3, 2014 I agree with Nezz, maybe you guys can work something out to add this into the client.
Jordan 8 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.
Dashboard 34 Author 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.
Explicit 213 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....
Dashboard 34 Author 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.
qbots 240 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.