Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

  • Feedback


Community Reputation

12 Good

About defqon_1

  • Rank
  • Birthday 03/16/1995


  • Sex
  • Location

Recent Profile Visitors

1,126 profile views
  1. I'm using house teleports for abyss at the moment, and the script teleported to my POH when it accidently clicked on the portal and it took the account outside. The script spam clicked the portal to get back into the house for short of a minute until I clicked the chat dialogue for the script. Luckily I was watching or else I probably would have came back to it hours later to it still clicking the portal. If you could look into this I would greatly appreciate it, otherwise abyss works pretty well. Thanks.
  2. defqon_1

    TRiBot Release 9.01_0

    Sounds like a great update
  3. Simple way to add some uniqueness and flair to your paint. Could be yours over the competition! import java.awt.Graphics;import java.awt.Point;import java.awt.Rectangle;import org.tribot.script.Script;import org.tribot.script.ScriptManifest;import org.tribot.script.interfaces.MouseActions;import org.tribot.script.interfaces.Painting;@ScriptManifest(authors = { "defqon_1" }, category = "Paint", name = "Painting Tutorial")public class HidePaint extends Script implements Painting, MouseActions { boolean paintEnabled = true; // Stores whether your paint is toggled or not for 'hide-on-click.' Rectangle whereToClick = new Rectangle(x, y, width, height); // The screen region to click to toggle the paint. Point mousePos = new Point(); // Current position of the mouse -- Do not modify. @Override public void onPaint(Graphics g) { // This is the rectangle to 'hide-on-mouseover' Rectangle r = new Rectangle(x2, y2, width2, height2); // The screen region to mouse over. // This expression checks whether or not your mouse is within the region created by the above rectangle if (!r.contains(mousePos)) { // Paint everything that you want to disappear on mouseover of the rectangle. } // This expression omits everything when the paint has been disabled by click. if (paintEnabled) { // Paint everything that you want toggled on click when the user clicks in the whereToClick rectangle. } } @Override public void run() { while (true) {} } // Toggles the paint when the user clicks within the whereToClick rectangle on the screen. @Override public void mouseClicked(Point click, int button, boolean isBot) { if (!isBot && button == 1 && whereToClick.contains(click)) { paintEnabled = (!paintEnabled); } } @Override public void mouseDragged(Point arg0, int arg1, boolean arg2) {} // Keeps track of current mouse position. @Override public void mouseMoved(Point pos, boolean isBot) { if(!isBot){ mousePos = pos; } } @Override public void mouseReleased(Point arg0, int arg1, boolean arg2) {}}
  4. defqon_1

    TRiBot Release 9.00_0 [RS3]

    looks like a great update!
  5. defqon_1

    [Suggestion] Toggle Run (& quick question)

    As for the run, that all depends on the scripter and not the client. For the auto-responder, I believe it responds to simple messages such as level and whatnot - but then for other messages it connects to CleverBot and uses the responses from that.
  6. defqon_1

    TRiBot Release 8.22_0

    Sounds like a great update!
  7. defqon_1

    Drag-able Paint

    Just a little example to show people how to create their own drag-able paint to make their script more appealing. import java.awt.Color;import java.awt.Graphics;import java.awt.Point;import java.awt.Rectangle;import org.tribot.api.interfaces.Clickable;import org.tribot.script.Script;import org.tribot.script.ScriptManifest;import org.tribot.script.interfaces.MouseActions;import org.tribot.script.interfaces.Painting;@ScriptManifest(authors = { "c0ded", "defq0n" }, category = "Paint", name = "Draggable Paint Demo")public class DraggablePaint extends Script implements Painting, MouseActions { //draggable region on screen (x,y,width,height) private static Rectangle paintReferenceBox = new Rectangle(0,0,105,35); private static Point mouseButtonDownPosition = null; //example variable private int xpGained = 80085; @Override public void run() { //your script here.... while(true){ sleep(100); } } @Override public void mouseClicked(Point p, int arg1, boolean arg2) {} @Override public void mouseDragged(Point drag, int arg1, boolean arg2) { //checks if this is the first movement/drag if(mouseButtonDownPosition==null){ //checks to see whether the mouse is actually inside the reference box if( paintReferenceBox.contains(drag)){ //set the down position to the current mouse position mouseButtonDownPosition = drag; } } //get change in position between the last mouse point and the current one (0, if its the first) int deltaX = (int)(drag.getX()-mouseButtonDownPosition.getX()); int deltaY = (int)(drag.getY()-mouseButtonDownPosition.getY()); //move the reference box, and therefore move all the other paint components //that are placed based on where the reference box is paintReferenceBox.translate(deltaX, deltaY); //set the last mouse position to the current one mouseButtonDownPosition = drag; } @Override public void mouseMoved(Point arg0, boolean arg1) {} @Override public void mouseReleased(Point releasePosition, int arg1, boolean arg2) { //reset the click in memory to terminate the dragging mouseButtonDownPosition = null; } @Override public void onPaint(Graphics g) { //it is strongly suggested that when using a draggable paint, you provide the user with some indication //of where they can click and drag to move the paint. as an example, this will fill the bounding rectangle //of the dragable region on screen g.setColor(Color.RED); g.fillRect((int)paintReferenceBox.getX(), (int)paintReferenceBox.getY(), (int)paintReferenceBox.getWidth(), (int)paintReferenceBox.getHeight()); //To utilize the draggable aspect of this, you have to provide the x and y coordinates of whatever //you want to paint with respect to the bounding rectangle as this is what will be moving. //what is happening when you provide the coordinates with respect to the rectangle's position is //when the rectangle moves you are essentialy shifting the origin for each component in your paint. //as an example this will draw the blue String "Experience Gained: " with the amount of experience gained //5 pixels down and right of the top left of the draggable region g.setColor(Color.BLUE); g.drawString("Experience Gained: "+xpGained ,(int) paintReferenceBox.getX()+5,(int) paintReferenceBox.getY()+5); }}
  8. Tonight, its burning a hole in the sky, tonight its beaming straight across the universe...

  9. defqon_1

    World Hopping

    pretty sure all he said he did was increase the sleep time, try making it longer so slower connections/computers have a little extra time to load if(Login.getLoginState() == STATE.LOGINSCREEN || Login.getLoginState() == STATE.WELCOMESCREEN){ Mouse.clickBox(10, 471, 88, 488, 1); sleep(1200,1800); //<----
  10. Looking forward to this, never liked doing that annoying island over and over
  11. This is great, love what you've come up with here!
  12. defqon_1

    fix model clicking!

    I found for objects, ones have an ID but does not have a model, I have to use Dynamic clicking its tile. Therefore, if the mouse hovers over the object on the tile, I will have it force right click then use the ChooseOption class to choose the wanted option.