Adblock breaks this site

Lumby dummy curser [RsBot]

Discussion in 'Archives' started by That One Kid, Nov 28, 2008.

Thread Status:
Not open for further replies.
  1. That One Kid

    That One Kid Forum Addict
    Banned

    Joined:
    Jul 29, 2007
    Posts:
    449
    Referrals:
    0
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    Anyone got the lumby dummy curser script for rsbot? Post it if you have, thanks in advance. (Cant get it because website=down)
     
  2. BossHogg

    BossHogg Active Member

    Joined:
    Nov 26, 2008
    Posts:
    108
    Referrals:
    0
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    I don't have it but I was wondering: does the dummy ever actually get cursed or is doing this the same as cursing anything else?
     
  3. Romber

    Romber Guest

    Referrals:
    0
    Lumby dummy curser [RsBot]

    Is there a script to where you can cast curse and stuff on the mage in varrock castle?
     
  4. iN The Clutch

    iN The Clutch Forum Addict

    Joined:
    Oct 19, 2008
    Posts:
    335
    Referrals:
    0
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    The cursing script doesn't work. It will click on Teleoport to lumbridge and stop the script, because it thinks its out of runes.


    oh well, Rsbot got hacked! (CHANGE UR PASSWORDS!)
     
  5. last_man_3

    last_man_3 Member

    Joined:
    Oct 25, 2008
    Posts:
    42
    Referrals:
    0
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    NO NEED TO!

    We got hacked by that sad people(RsE) that cant create a bot..., and as we just setup the VPS and we were having some problems, we didnt had security, they hacked us, and boom, they are telling to run away from rsbot, thats SHIT!... RSBot doesnt send bot's passes to ANY SERVER!

    RsE IS THE WORST PAGE!
     
  6. iN The Clutch

    iN The Clutch Forum Addict

    Joined:
    Oct 19, 2008
    Posts:
    335
    Referrals:
    0
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    :)

    I changed my passes just incase.



    But i hope your right. I was looking forward to Rsbot 2 ;)
     
  7. wind woman1

    wind woman1 Forum Addict
    Banned

    Joined:
    May 29, 2008
    Posts:
    466
    Referrals:
    1
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    i changed my password aswell i tryed to get onto the site and it just times out.
     
  8. R33l2r3al

    R33l2r3al Grand Master
    $5 USD Donor Retired Global Moderator

    Joined:
    Jul 7, 2007
    Posts:
    3,443
    Referrals:
    1
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    I take NO CREDIT for this script in anyway shape or form. This is the only version I have (it should be the most up to date one). I was using it 2 days ago and it worked fine (got me from 45 to 55 magic with ease).

    Code:
    import java.awt.*;
    import java.util.*;
    import java.awt.event.*;
    
    import com.speljohan.rsbot.script.*;
    import com.speljohan.rsbot.bot.*;
    import com.speljohan.rsbot.script.wrappers.*;
    import com.speljohan.rsbot.event.listeners.*;
    import com.speljohan.rsbot.event.events.*;
    import com.speljohan.rsbot.event.events.ServerMessageEvent;
    import com.speljohan.rsbot.event.listeners.ServerMessageListener;
    
    public class DummyCurser extends Script implements ServerMessageListener,PaintListener{
    	long lastanti = System.currentTimeMillis();
    	long curranti;
    	long anticheck;
    	public boolean norunes = false;
    	public int spell = 0;
    	public String spelln = "";
    	public int runecount = 0;
    	public int startlvl = 0;
    	public int startxp = 0;
    	public int style = 0;
    	public int castxp = 0;
    	Color BG = new Color(0, 0, 0, 100);
    	public long startTime = System.currentTimeMillis();
    	public String getName() {
    		return "Lumbridge Dummy Curse";
    	}
    
    	public double getVersion() {
    		return 1.3;
    	}
    
    	public String getAuthor() {
    		return "endoskeleton";
    	}
    	public void serverMessageRecieved(ServerMessageEvent e) {
    		if (e.getMessage().contains("You do not have enough")) {
    			norunes = true;
    		}
    		if (e.getMessage().contains("Your Magic level is not high enough")) {
    			if (spell == 3)
    				norunes = true;
    			spell = 3;
    			spelln = "Confuse";
    		}
    	}
    	public void onFinish() {
    		Bot.getEventManager().removeListener(ServerMessageListener.class, this);
    		Bot.getEventManager().removeListener(PaintListener.class, this);
    	}
    	public boolean onStart(Map<String, String> args) {
    		if (args.get("style").equals("confuse")) {
    			spell = 3;
    			spelln = "Confuse";
    			castxp = 13;
    		}
    		if (args.get("style").equals("curse")) {
    			spell = 12;
    			spelln = "Curse";
    			castxp = 29;
    		}
    		startlvl = skills.getCurrentSkillLevel(STAT_MAGIC);
    		startTime = System.currentTimeMillis();
    		startxp = skills.getCurrentSkillExp(STAT_MAGIC);
    		runecount = getEquipmentCount(559);
    		Bot.getEventManager().addListener(PaintListener.class, this);
    		norunes = false;
    		Bot.getEventManager().addListener(ServerMessageListener.class, this);
    		return true;
    	}
    	public void onRepaint(Graphics g) {
    		if (isLoggedIn()) {
    			long millis = System.currentTimeMillis() - startTime;
    			long hours = millis / (1000 * 60 * 60);
    			millis -= hours * (1000 * 60 * 60);
    			long minutes = millis / (1000 * 60);
    			millis -= minutes * (1000 * 60);
    			long seconds = millis / 1000;
    			int LevelChange = skills.getCurrentSkillLevel(STAT_MAGIC) - startlvl;
    			int XPChange = skills.getCurrentSkillExp(STAT_MAGIC) - startxp;
    			float XPperSec = 0;
    			if ((minutes > 0 || hours > 0 || seconds > 0) && XPChange > 0) {
    				XPperSec = ((float) XPChange)/(float)(seconds + (minutes*60) + (hours*60*60));
    			}
    
    			float XPperMin = XPperSec*60;
    			float XPperHour = XPperMin*60;
    			float timeTillLvl = 9999;
    			float secsTillLvl = (int) timeTillLvl;
    			float minsTillLvl = (int) timeTillLvl;
    			float hoursTillLvl = (int) timeTillLvl;
    
    			if (XPperSec > 0) {
    				secsTillLvl = skills.getXPToNextLevel(STAT_MAGIC)/XPperSec ;
    			}
    			if (XPperMin > 0) {
    				minsTillLvl = skills.getXPToNextLevel(STAT_MAGIC)/XPperMin ;
    			}
    			if (XPperHour > 0) {
    				hoursTillLvl = skills.getXPToNextLevel(STAT_MAGIC)/XPperHour ;
    			}
    			secsTillLvl -= (int) minsTillLvl*60;
    			minsTillLvl -= (int) hoursTillLvl*60;
    
    			if (minsTillLvl < 0) minsTillLvl = 0;
    			g.setColor(BG);
    			g.fill3DRect(332, 258, 184, 75, true);
    			g.setColor(Color.white);
    			g.drawString("Runtime: " + hours + "h " + minutes
    					+ "m " + seconds + "s.", 335, 270);
    			g.drawString("Magic levels gained: " +LevelChange, 335, 282);
    			g.drawString("Magic EXP gained: " +(skills.getCurrentSkillExp(STAT_MAGIC) - startxp), 335, 294);
    			g.drawString("EXP per hour: " +(int)XPperHour, 335, 306);
    			g.drawString("Casts per hour: " +((int)XPperHour / castxp), 335, 318);
    			g.drawString("Time to level: " + (int)hoursTillLvl + "h " + (int)minsTillLvl
    					+ "m " + (int)secsTillLvl + "s", 335, 330);
    		}
    	}
    	public int loop() {
    		try {
    			if (getMyPlayer().isMoving()) {
    				return random(300,400);
    			}
    			if (getMyPlayer().isInCombat() && getPlane() == 0) {
    				if (atTile(new RSTile(3212, 3256), "Climb-up"))
    					return random(30000,40000);
    				return random(300,400);
    			}
    			if (getPlane() == 1) {
    				atTile(new RSTile(3213, 3256), "Climb-down");
    				return random(500,600);
    			}
    			if (!isInArea(3213, 3252, 3210, 3254)) {
    				walkTileMM(new RSTile((3213 - random(0,3)), (3254 - random(0,2))));
    				return random(600,700);
    			}
    			if (norunes)
    				return -1;
    			RSNPC dummy = getNearestFreeNPCByID(4474);
    			if (!Bot.getClient().isSpellSelected()) {
    				if (getCurrentTab() != 6)
    					openTab(6);
    				myCastSpell(spell);
    				Point mouse = Calculations.tileToScreen(dummy.getLocation());
    				moveMouse((mouse.x + random(-10,10)), (mouse.y + random(-10,10)));
    				return antiBan();
    			}
    			if (dummy != null && getMyPlayer().getAnimation() == -1) {
    				String at = getMenuActions().get(0) + " " +getMenuOptions().get(0);
    				if (at.equals("Cast " +spelln+ " -> Magic dummy")) {
    					clickMouse(true);
    					return random(300,500);
    				}
    				atNPC(dummy, "Cast " +spelln+ " -> Magic dummy");
    			}
    		} catch(Exception e) {
    			e.printStackTrace();
    		}
    		return antiBan();
    	}
    	public boolean isInArea(int maxX, int minY, int minX, int maxY) {
    		int x = getMyPlayer().getLocation().getX();
    		int y = getMyPlayer().getLocation().getY();
    		if (x >= minX && x <= maxX
    				&& y >= minY && y <= maxY) {
    			return true;
    		}
    		return false;
    	}
    	public int antiBan() {
    		int rand = random(1,200);
    		if (rand==100) {
    			if (Bot.getClient().isSpellSelected())
    				clickMouse(true);
    			openTab(TAB_STATS);
    			wait(random(100,200));
    			int tempstat = 130;
    			int tempxM = RSInterface.getInterface(320).getChild(tempstat).getAbsoluteX() + RSInterface.getInterface(320).getChild(tempstat).getWidth();
    			int tempxY = RSInterface.getInterface(320).getChild(tempstat).getAbsoluteY() + RSInterface.getInterface(320).getChild(tempstat).getHeight();
    			moveMouse(tempxM,tempxY,1,1);
    			wait(random(1000,2000));
    			return random(300,400);
    		}
    		if (rand==200) {
    			if (Bot.getClient().isSpellSelected())
    				clickMouse(true);
    			if (getCurrentTab() != TAB_INVENTORY) {
    				openTab(TAB_INVENTORY);
    			}
    			wait(random(1000,2000));
    			return random(300,400);
    		}
    		if (rand==90) {
    			if (Bot.getClient().isSpellSelected())
    				clickMouse(true);
    			if (getCurrentTab() != TAB_EQUIPMENT) {
    				openTab(TAB_EQUIPMENT);
    			}
    			wait(random(1000,2000));
    			return random(300,400);
    		}
    		if (rand==15) {
    			moveMouse(random(0,450), random(0,450));
    			return random(800,900);
    		}
    		if (rand==50) {
    			setCameraRotation(random(189,346));
    			setCameraAltitude(random(0,100));
    			return random(300,400);
    		}
    		if (rand==150) {
    			return random(3000,4000);
    		}
    		return random(200,300);
    	}
    	public String getScriptDescription() {
    		return "<html>\n" +
    		"<head></head>\n" +
    		"<body>\n" +
    		"<center>" +
    		"<h2>" + getName() + "</h2>" +
    		"</center>\n" +
    		"<b>Author:</b> " + getAuthor() + "<br/>\n" +
    		"Confuse:<input type=\"radio\" name=\"style\" value=\"confuse\"> " +
    		"Curse:<input type=\"radio\" name=\"style\" value=\"curse\" checked=\"checked\"> " +
    		"</body>\n" +
    		"</html>";
    	}
    	public String getScriptCategory() {
    		return "Magic";
    	}
    	public void myCastSpell(int i) {
    		openTab(TAB_MAGIC);
    		if (i == 20) { i = 60; }
    		else if (i == 62) { i = 63; }
    		else if (i > 20) { i -= 2; }
    		else if (i <= 19) { i -= 1; }
    		atInterface(192,i);
    	}
    }
    Like I said, I take no credit for this. You asked for the script so here it is.
     
  9. Romber

    Romber Guest

    Referrals:
    0
    Lumby dummy curser [RsBot]

    Are you sure that one works?
     
  10. m3l33 demon

    m3l33 demon Active Member
    Banned

    Joined:
    Nov 13, 2008
    Posts:
    242
    Referrals:
    0
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    RSBot is not hacked, first of all, there is an updated version out in my thread. GF?
     
  11. k4l4sh4s

    k4l4sh4s Forum Addict
    Banned

    Joined:
    Oct 26, 2008
    Posts:
    269
    Referrals:
    0
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    rsbot isnt hacked -.-
     
  12. R33l2r3al

    R33l2r3al Grand Master
    $5 USD Donor Retired Global Moderator

    Joined:
    Jul 7, 2007
    Posts:
    3,443
    Referrals:
    1
    Sythe Gold:
    0
    Lumby dummy curser [RsBot]

    I have not tested since the site went down. Prior to that it worked fine.
     
< Selling 80 Range Pure | Selling LVL3 Skiller good stats n bank >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site