Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Complete Varrock/G.E. PVP World Looter Source


    v6p
     Share

    Recommended Posts

    This source came from another bot site and needs to be changed to the dreambot format then uploaded to this SDN. If someone has the time to do that it would be greatly appreciated. (The script writer had a private and public version for every action within the script)

     

    Here it is:

    package woodCutter;
    import java.awt.*;
    
    import org.tbot.internal.AbstractScript;
    import org.tbot.internal.Manifest;
    import org.tbot.internal.ScriptCategory;
    import org.tbot.internal.event.listeners.PaintListener;
    import org.tbot.internal.handlers.LogHandler;
    import org.tbot.methods.Camera;
    import org.tbot.methods.GroundItems;
    import org.tbot.methods.Random;
    import org.tbot.methods.Time;
    import org.tbot.methods.tabs.Inventory;
    import org.tbot.methods.walking.Path;
    import org.tbot.methods.walking.Walking;
    import org.tbot.wrappers.GroundItem;
    import org.tbot.wrappers.Player;
    
    import org.tbot.wrappers.Tile;
    import org.tbot.wrappers.Area;
    import org.tbot.methods.Bank;
    import org.tbot.util.Condition;
    import org.tbot.methods.Players;
    import org.tbot.methods.web.banks.WebBanks;
              @Manifest(name = "UltraLooter", authors = "Trester", description = "test script", version = 1.0, category = ScriptCategory.MONEY_MAKING)
              public class topBot_Project extends AbstractScript implements PaintListener{	
            	  
            	  
            	  String Status = " ";
            	  
            		private final Area wholeLootArea = new Area(3149, 3484, 3221, 3424);
            	 
            	  public static Area varrock = new Area(3192, 3448 , 3161 , 3462);
            	  public static Area bankarea = new Area(3191 , 3448 , 3179 , 3432);
            	  public static Area lumbridge = new Area(3217, 3210, 3225 , 3229);
            	  
            	  Tile varrockSpot = new Tile(3169 , 3489);
            	  public final String[] items = { "Super combat potion(1)" , "Super combat potion(2)" , "Super combat potion(3)" , "Super combat potion(4)" , "Teleport to house", "Amulet of power"  , "Ahrims hood 0" ,"Ahrims robe skirt 0" ,"Ahrims robe top 0" ,"Archer helm" ,"Dharoks platebody 0" ,"Dharoks platelegs 0" ,"Dragon chainbody" ,"Dragon full helm" ,"Dragon gloves" ,"Dragon med helm" ,"Dragon platelegs" ,"Dragon plateskirt" ,"Dragon sq shield" ,"Guthans chainskirt 0" ,"Guthans helm 0" ,"Guthans platebody 0" ,"Infinity hat" ,"Infinity top" ,"Infinity bottoms" ,"Infinity gloves" ,"Infinity boots" ,"Karils coif 0" ,"Torags helm 0" ,"Torags platebody 0" ,"Torags platelegs 0" ,"Veracs brassard" ,"Veracs helm" ,"Veracs plateskirt" ,"Dragon 2h sword" ,"Dragon battleaxe" ,"Dragon halberd" ,"Dragon longsword" ,"Dragon mace" ,"Blood rune" ,"Death rune" ,"Dark crab" ,"Armadyl armour" ,"Armadyl chestplate" ,"Armadyl helmet" ,"Armadyl plateskirt" ,"Black d'hide body" ,"Robin hood hat" ,"Ranger boots" ,"Mystic boots" ,"Mystic gloves" ,"Mystic hat" ,"Mystic robe bottom" ,"Mystic robe top" ,"Wizard boots" ,"Occult necklace" ,"Farseer helm" ,"Rune full helm" ,"Rune kiteshield" ,"Saradomin brew" ,"Ranging potion (4)" ,"Antifire potion (4)" ,"Antifire potion (3)" ,"Antipoison (4)" ,"Antipoison (3)" ,"Super attack potion (4)" ,"Antipoison+ (4)" ,"Antipoison (3)" ,"Super attack potion (3)" ,"Super defence potion (4)" ,"Super defence potion (3)" ,"Super energy potion (4)" ,"Super energy potion (3)" ,"Super restore potion (4)" ,"Super restore potion (3)" ,"Restore potion (4)" ,"Super strength potion (4)" ,"Super strength potion (3)" ,"Super antipoison (4)" ,"Super antipoison (3)" ,"Armadyl crossbow" ,"Karils crossbow" ,"Toktz-xil-ul" ,"Rune thrownaxe" ,"Third-age range coif" ,"Third-age range legs" ,"Third-age range top" ,"Third-age ranger armour" ,"Third-age vambraces" ,"Third-age amulet" ,"Third-age mage hat" ,"Third-age robe" ,"Third-age robe top" ,"Ahrims staff 0" ,"Ancient staff" ,"Master wand" ,"Amulet of Fury" ,"Warrior ring" ,"Dharok's helm 0" ,"Dharok's greataxe 0" ,"Torag's hammers 0" ,"Guthan's warspear 0" ,"Verac's flail 0" ,"Karil's leathertop" ,"Karil's leatherskirt" ,"Ahrim's staff 0" ,"Tzhaar-Ket-Om" ,"Toktz-Ket-Xil" , "Dragonfire shield" ,"Combat bracelet" ,"Bandos chestplate" ,"Bandos tassets" ,"Bandos boots" ,"Granite helm" ,"Granite body" ,"Granite legs" ,"Granite shield" ,"Rock-shell helm" ,"Rock-shell plate" ,"Rock-shell legs" ,"Odium ward" ,"Archers' ring" ,"Splitbark gauntlets", "Splitbark helm" ,"Splitbark body" ,"Splitbark legs" ,"Splitbark boots" ,"Malediction ward", "Seer's ring" , "Saradomin godsword" , "Zamorak godsword" , "Armadyl godsword" , "Bandos godsword" , "Saradomin sword" , "Shark", "Rune arrow", "Diamond bolts (e)", "Dragon bolts (e)", "Emerald bolts (e)", "Dragon arrow", "Super strength(4)", "Super strength(3)", "Super strength(2)", "Super strength(1)", "Super attack(4)", "Super attack(3)", "Super attack(2)", "Super attack(1)", "Prayer potion(4)", "Prayer potion(3)", "Prayer potion(2)", "Prayer potion(1)", "Dragon dagger", "Dragon scimitar", "Rune platelegs", "Rune platebody", "Berserker helm", "Snakeskin boots", "Rune knife", "Granite maul", "Monkfish", "Amulet of strength", "Amulet of glory", "Dark bow", "Magic shortbow", "Black d'hide vamb", "Black d'hide chaps", "Red d'hide vamb", "Red d'hide chaps", "Camelot teleport", "Ring of recoil", "Ring of life", "Amulet of diamond", "Abyssal whip", "Rune crossbow", "Monk's robe", "Climbing boots", "Cooked karambwan", "Ranging potion(3)", "Ranging potion(2)", "Ranging potion(1)", "Rune dart", "Dragon dart", "Runite bolts" , "Rune boots" ,"Dragon boots" , "Dragon dagger" , "Dragon dagger(p)" , "Dragon dagger(+)" , "Dragon dagger(s)" , "Dragon dagger(p+)" , "Dragon dagger(p++)" , "Adamant platelegs" , "Adamant platebody"  , "Rune scimitar" , "Adamant scimitar" , "Berserker helm" , "Berserker ring" , "Phoenix necklace" , "Helm of neitiznot"};
            		int[] items1 = {11212, 9244 , 3105, 9241 , 157,159,161,2440,6685,6687,6689,6691,892};
            	  
            		private Timer t = new Timer();
    	boolean deathWalk = false;
        boolean shouldBank = false;
        boolean underAttack = false;
        private int runEnergy = Random.nextInt(30, 60);
        private boolean firstTime;
        int i;
    
    		public boolean onStart() {
    			LogHandler.log("I punched a racoon today.");
    			return true;
    		}
    
    
    		public int loop() {
    			Player p = Players.getLocal();
    			GroundItem stuff = GroundItems.getNearest(items);
    			
    			
    			
    			if(!varrock.contains(p.getLocation()) && !lumbridge.contains(p.getLocation()) && !wholeLootArea.contains(p.getLocation())){
    				deathWalk = true;
    			}
    
    			if (firstTime) {
    				t = new Timer();
    				firstTime = false;
    			}
    			
    			if(varrockSpot.distance() <= 10){
    				deathWalk = false;
    			}
    		    if(bankarea.contains(p)){
    		    	deathWalk = false;
    		    }
                 
    			while(p != null && Players.getLocal().isHealthBarVisible()){
    				Status = "Banking";
    				if (!Bank.isOpen()) {
    					Bank.openBank(WebBanks.VARROCK_WEST_BANK);
    					Time.sleepUntil(new Condition() {
    						public boolean check() {
    							return Bank.isOpen();
    						}
    					}, Random.nextInt(1800, 2400));
    				} else {
    					if (Bank.depositAll()) {
    						Time.sleepUntil(new Condition() {
    							public boolean check() {
    								return Inventory.getEmptySlots() == 28;
    							}
    						}, Random.nextInt(1800, 2400));
    					}
    				}
    			}
    		 
    			
    			if(!Walking.isRunEnabled() && (Walking.getRunEnergy() >= runEnergy)) {
    				if (Walking.setRun(true)) {
    					Time.sleepUntil(new Condition() {
    						public boolean check() {
    							return Walking.isRunEnabled();
    						}
    					}, Random.nextInt(800, 1200));
    					runEnergy = Random.nextInt(30, 60);
    				}
    			}
    			
    			if(Inventory.getEmptySlots() > 18  && deathWalk == false){
    				Status = "Scanning ground";
    				if(stuff != null && wholeLootArea.contains(stuff)){
    					Status = "Found Stuff";
    					if(stuff.isOnScreen() ){
    						Status = "picking Stuff";
    						stuff.interact("Take");
    							Time.sleep(Random.nextInt(200, 400));
    					}else if(stuff.distance() < 5){
    						Status = "Moving camera";
    					Camera.turnTo(stuff);
    					Camera.setPitch(Random.nextInt(32, 39));
    					Time.sleepUntil(new Condition() {
    						public boolean check() {
    							return Camera.getPitch() <= 39;
    						}
    					}, Random.nextInt(1800, 2400));
    					}else{
    						Status = "Walking to stuff";
    						Path path = Walking.findPath(stuff);
    						if(path !=null) {
    						   if(path.traverse()) {
    						Time.sleep(Random.nextInt(200, 900));
    						   }
    						}
    					}
    				}
    			} else if (Inventory.getEmptySlots() <= 18 || underAttack == true) {
    				Status = "Banking";
    				if (!Bank.isOpen()) {
    					Bank.openBank(WebBanks.VARROCK_WEST_BANK);
    					Time.sleepUntil(new Condition() {
    						public boolean check() {
    							return Bank.isOpen();
    						}
    					}, Random.nextInt(1800, 2400));
    				} else {
    					if (Bank.depositAll()) {
    						Time.sleepUntil(new Condition() {
    							public boolean check() {
    								return Inventory.getEmptySlots() == 28;
    							}
    						}, Random.nextInt(1800, 2400));
    					}
    				}
    			}
    			if(Bank.isOpen() && Inventory.getEmptySlots() == 28){
    				Bank.close();
    				Time.sleep(Random.nextInt(200, 900));
    			}
    			if(lumbridge.contains(p.getLocation())){
    				Status = "We died deathwalking";
    				deathWalk = true;
    				}
    			Path path1 = Walking.findPath(varrockSpot);
    			if(path1 !=null && deathWalk == true) {
    				Status = "We died deathwalking";
    				   if(path1.traverse()) {
    				Time.sleep(Random.nextInt(200, 900));
    				   }
    				   }
    			
    		
    			
    			if(varrock.contains(p) || bankarea.contains(p)){
    				deathWalk = false;
    			}
    			
    		
    			
    			return Random.nextInt(121 , 423);
    		}
    
    
    		
    
    		public void onRepaint(Graphics g) {
    
    			Graphics2D gr = (Graphics2D) g;
    			gr.setColor(Color.WHITE);
    			gr.setFont(new Font("Arial", 1, 11));
    
    			
    			gr.drawString("Time Running: " + t.getFormattedTime(), 25, 50);
    			gr.drawString("Status: " + Status, 25, 75);
    		}
    
    		
    	}
    
    Link to comment
    Share on other sites

    I'll give this a shot later today. If some other scripter already started porting this, please tell me:)

    Done. I will upload it to sdn soon :)

    I don't feel like releasing this myself, someone else can do it. If you give me credits for porting, that would be great. Here is the ported version: http://pastebin.com/J3G4HzrR

    Link to comment
    Share on other sites

    I'll give this a shot later today. If some other scripter already started porting this, please tell me:)

    Done. I will upload it to sdn soon :)

    I don't feel like releasing this myself, someone else can do it. If you give me credits for porting, that would be great. Here is the ported version: http://pastebin.com/J3G4HzrR

     

    Thanks a lot for doing this. Well appreciated.

    Link to comment
    Share on other sites

     

    This source came from another bot site and needs to be changed to the dreambot format then uploaded to this SDN. If someone has the time to do that it would be greatly appreciated. (The script writer had a private and public version for every action within the script)

     

    Here it is:

    package woodCutter;
    import java.awt.*;
    
    import org.tbot.internal.AbstractScript;
    import org.tbot.internal.Manifest;
    import org.tbot.internal.ScriptCategory;
    import org.tbot.internal.event.listeners.PaintListener;
    import org.tbot.internal.handlers.LogHandler;
    import org.tbot.methods.Camera;
    import org.tbot.methods.GroundItems;
    import org.tbot.methods.Random;
    import org.tbot.methods.Time;
    import org.tbot.methods.tabs.Inventory;
    import org.tbot.methods.walking.Path;
    import org.tbot.methods.walking.Walking;
    import org.tbot.wrappers.GroundItem;
    import org.tbot.wrappers.Player;
    
    import org.tbot.wrappers.Tile;
    import org.tbot.wrappers.Area;
    import org.tbot.methods.Bank;
    import org.tbot.util.Condition;
    import org.tbot.methods.Players;
    import org.tbot.methods.web.banks.WebBanks;
              @Manifest(name = "UltraLooter", authors = "Trester", description = "test script", version = 1.0, category = ScriptCategory.MONEY_MAKING)
              public class topBot_Project extends AbstractScript implements PaintListener{	
            	  
            	  
            	  String Status = " ";
            	  
            		private final Area wholeLootArea = new Area(3149, 3484, 3221, 3424);
            	 
            	  public static Area varrock = new Area(3192, 3448 , 3161 , 3462);
            	  public static Area bankarea = new Area(3191 , 3448 , 3179 , 3432);
            	  public static Area lumbridge = new Area(3217, 3210, 3225 , 3229);
            	  
            	  Tile varrockSpot = new Tile(3169 , 3489);
            	  public final String[] items = { "Super combat potion(1)" , "Super combat potion(2)" , "Super combat potion(3)" , "Super combat potion(4)" , "Teleport to house", "Amulet of power"  , "Ahrims hood 0" ,"Ahrims robe skirt 0" ,"Ahrims robe top 0" ,"Archer helm" ,"Dharoks platebody 0" ,"Dharoks platelegs 0" ,"Dragon chainbody" ,"Dragon full helm" ,"Dragon gloves" ,"Dragon med helm" ,"Dragon platelegs" ,"Dragon plateskirt" ,"Dragon sq shield" ,"Guthans chainskirt 0" ,"Guthans helm 0" ,"Guthans platebody 0" ,"Infinity hat" ,"Infinity top" ,"Infinity bottoms" ,"Infinity gloves" ,"Infinity boots" ,"Karils coif 0" ,"Torags helm 0" ,"Torags platebody 0" ,"Torags platelegs 0" ,"Veracs brassard" ,"Veracs helm" ,"Veracs plateskirt" ,"Dragon 2h sword" ,"Dragon battleaxe" ,"Dragon halberd" ,"Dragon longsword" ,"Dragon mace" ,"Blood rune" ,"Death rune" ,"Dark crab" ,"Armadyl armour" ,"Armadyl chestplate" ,"Armadyl helmet" ,"Armadyl plateskirt" ,"Black d'hide body" ,"Robin hood hat" ,"Ranger boots" ,"Mystic boots" ,"Mystic gloves" ,"Mystic hat" ,"Mystic robe bottom" ,"Mystic robe top" ,"Wizard boots" ,"Occult necklace" ,"Farseer helm" ,"Rune full helm" ,"Rune kiteshield" ,"Saradomin brew" ,"Ranging potion (4)" ,"Antifire potion (4)" ,"Antifire potion (3)" ,"Antipoison (4)" ,"Antipoison (3)" ,"Super attack potion (4)" ,"Antipoison+ (4)" ,"Antipoison (3)" ,"Super attack potion (3)" ,"Super defence potion (4)" ,"Super defence potion (3)" ,"Super energy potion (4)" ,"Super energy potion (3)" ,"Super restore potion (4)" ,"Super restore potion (3)" ,"Restore potion (4)" ,"Super strength potion (4)" ,"Super strength potion (3)" ,"Super antipoison (4)" ,"Super antipoison (3)" ,"Armadyl crossbow" ,"Karils crossbow" ,"Toktz-xil-ul" ,"Rune thrownaxe" ,"Third-age range coif" ,"Third-age range legs" ,"Third-age range top" ,"Third-age ranger armour" ,"Third-age vambraces" ,"Third-age amulet" ,"Third-age mage hat" ,"Third-age robe" ,"Third-age robe top" ,"Ahrims staff 0" ,"Ancient staff" ,"Master wand" ,"Amulet of Fury" ,"Warrior ring" ,"Dharok's helm 0" ,"Dharok's greataxe 0" ,"Torag's hammers 0" ,"Guthan's warspear 0" ,"Verac's flail 0" ,"Karil's leathertop" ,"Karil's leatherskirt" ,"Ahrim's staff 0" ,"Tzhaar-Ket-Om" ,"Toktz-Ket-Xil" , "Dragonfire shield" ,"Combat bracelet" ,"Bandos chestplate" ,"Bandos tassets" ,"Bandos boots" ,"Granite helm" ,"Granite body" ,"Granite legs" ,"Granite shield" ,"Rock-shell helm" ,"Rock-shell plate" ,"Rock-shell legs" ,"Odium ward" ,"Archers' ring" ,"Splitbark gauntlets", "Splitbark helm" ,"Splitbark body" ,"Splitbark legs" ,"Splitbark boots" ,"Malediction ward", "Seer's ring" , "Saradomin godsword" , "Zamorak godsword" , "Armadyl godsword" , "Bandos godsword" , "Saradomin sword" , "Shark", "Rune arrow", "Diamond bolts (e)", "Dragon bolts (e)", "Emerald bolts (e)", "Dragon arrow", "Super strength(4)", "Super strength(3)", "Super strength(2)", "Super strength(1)", "Super attack(4)", "Super attack(3)", "Super attack(2)", "Super attack(1)", "Prayer potion(4)", "Prayer potion(3)", "Prayer potion(2)", "Prayer potion(1)", "Dragon dagger", "Dragon scimitar", "Rune platelegs", "Rune platebody", "Berserker helm", "Snakeskin boots", "Rune knife", "Granite maul", "Monkfish", "Amulet of strength", "Amulet of glory", "Dark bow", "Magic shortbow", "Black d'hide vamb", "Black d'hide chaps", "Red d'hide vamb", "Red d'hide chaps", "Camelot teleport", "Ring of recoil", "Ring of life", "Amulet of diamond", "Abyssal whip", "Rune crossbow", "Monk's robe", "Climbing boots", "Cooked karambwan", "Ranging potion(3)", "Ranging potion(2)", "Ranging potion(1)", "Rune dart", "Dragon dart", "Runite bolts" , "Rune boots" ,"Dragon boots" , "Dragon dagger" , "Dragon dagger(p)" , "Dragon dagger(+)" , "Dragon dagger(s)" , "Dragon dagger(p+)" , "Dragon dagger(p++)" , "Adamant platelegs" , "Adamant platebody"  , "Rune scimitar" , "Adamant scimitar" , "Berserker helm" , "Berserker ring" , "Phoenix necklace" , "Helm of neitiznot"};
            		int[] items1 = {11212, 9244 , 3105, 9241 , 157,159,161,2440,6685,6687,6689,6691,892};
            	  
            		private Timer t = new Timer();
    	boolean deathWalk = false;
        boolean shouldBank = false;
        boolean underAttack = false;
        private int runEnergy = Random.nextInt(30, 60);
        private boolean firstTime;
        int i;
    
    		public boolean onStart() {
    			LogHandler.log("I punched a racoon today.");
    			return true;
    		}
    
    
    		public int loop() {
    			Player p = Players.getLocal();
    			GroundItem stuff = GroundItems.getNearest(items);
    			
    			
    			
    			if(!varrock.contains(p.getLocation()) && !lumbridge.contains(p.getLocation()) && !wholeLootArea.contains(p.getLocation())){
    				deathWalk = true;
    			}
    
    			if (firstTime) {
    				t = new Timer();
    				firstTime = false;
    			}
    			
    			if(varrockSpot.distance() <= 10){
    				deathWalk = false;
    			}
    		    if(bankarea.contains(p)){
    		    	deathWalk = false;
    		    }
                 
    			while(p != null && Players.getLocal().isHealthBarVisible()){
    				Status = "Banking";
    				if (!Bank.isOpen()) {
    					Bank.openBank(WebBanks.VARROCK_WEST_BANK);
    					Time.sleepUntil(new Condition() {
    						public boolean check() {
    							return Bank.isOpen();
    						}
    					}, Random.nextInt(1800, 2400));
    				} else {
    					if (Bank.depositAll()) {
    						Time.sleepUntil(new Condition() {
    							public boolean check() {
    								return Inventory.getEmptySlots() == 28;
    							}
    						}, Random.nextInt(1800, 2400));
    					}
    				}
    			}
    		 
    			
    			if(!Walking.isRunEnabled() && (Walking.getRunEnergy() >= runEnergy)) {
    				if (Walking.setRun(true)) {
    					Time.sleepUntil(new Condition() {
    						public boolean check() {
    							return Walking.isRunEnabled();
    						}
    					}, Random.nextInt(800, 1200));
    					runEnergy = Random.nextInt(30, 60);
    				}
    			}
    			
    			if(Inventory.getEmptySlots() > 18  && deathWalk == false){
    				Status = "Scanning ground";
    				if(stuff != null && wholeLootArea.contains(stuff)){
    					Status = "Found Stuff";
    					if(stuff.isOnScreen() ){
    						Status = "picking Stuff";
    						stuff.interact("Take");
    							Time.sleep(Random.nextInt(200, 400));
    					}else if(stuff.distance() < 5){
    						Status = "Moving camera";
    					Camera.turnTo(stuff);
    					Camera.setPitch(Random.nextInt(32, 39));
    					Time.sleepUntil(new Condition() {
    						public boolean check() {
    							return Camera.getPitch() <= 39;
    						}
    					}, Random.nextInt(1800, 2400));
    					}else{
    						Status = "Walking to stuff";
    						Path path = Walking.findPath(stuff);
    						if(path !=null) {
    						   if(path.traverse()) {
    						Time.sleep(Random.nextInt(200, 900));
    						   }
    						}
    					}
    				}
    			} else if (Inventory.getEmptySlots() <= 18 || underAttack == true) {
    				Status = "Banking";
    				if (!Bank.isOpen()) {
    					Bank.openBank(WebBanks.VARROCK_WEST_BANK);
    					Time.sleepUntil(new Condition() {
    						public boolean check() {
    							return Bank.isOpen();
    						}
    					}, Random.nextInt(1800, 2400));
    				} else {
    					if (Bank.depositAll()) {
    						Time.sleepUntil(new Condition() {
    							public boolean check() {
    								return Inventory.getEmptySlots() == 28;
    							}
    						}, Random.nextInt(1800, 2400));
    					}
    				}
    			}
    			if(Bank.isOpen() && Inventory.getEmptySlots() == 28){
    				Bank.close();
    				Time.sleep(Random.nextInt(200, 900));
    			}
    			if(lumbridge.contains(p.getLocation())){
    				Status = "We died deathwalking";
    				deathWalk = true;
    				}
    			Path path1 = Walking.findPath(varrockSpot);
    			if(path1 !=null && deathWalk == true) {
    				Status = "We died deathwalking";
    				   if(path1.traverse()) {
    				Time.sleep(Random.nextInt(200, 900));
    				   }
    				   }
    			
    		
    			
    			if(varrock.contains(p) || bankarea.contains(p)){
    				deathWalk = false;
    			}
    			
    		
    			
    			return Random.nextInt(121 , 423);
    		}
    
    
    		
    
    		public void onRepaint(Graphics g) {
    
    			Graphics2D gr = (Graphics2D) g;
    			gr.setColor(Color.WHITE);
    			gr.setFont(new Font("Arial", 1, 11));
    
    			
    			gr.drawString("Time Running: " + t.getFormattedTime(), 25, 50);
    			gr.drawString("Status: " + Status, 25, 75);
    		}
    
    		
    	}
    

    nice job :D

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.