Ezud.com Forum Home  
Ezud Home Ezud Forum  

Contact Us Members List Today's Posts
Go Back   Ezud.com - Trolling Assistance Forum > Runescape General and Market > Runescape Botting

Reply
 
Post New Thread Thread Tools Display Modes
  #1  
Old 05-14-2009, 08:12 PM
Dragon's Avatar
Dragon Dragon is offline
Ezudian
 
Join Date: Jul 2008
Location: West Acadia
Posts: 246
Reputation: 516
Dragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of light
Send a message via MSN to Dragon Send a message via Skype™ to Dragon
Default Dragon's PVP Camper

My first ever script. I would like the camera issue to be fixed, but yea. This is version 0.8, will add support for more foods later on, and perhaps other teletabs, albeit pointless, since this just eats or teleports to a safe zone. May add spellbook support.
Code:
import java.util.Map;

import com.speljohan.rsbot.script.*;

public class DragonPvPCamper extends Script {

	public int f1 = 7946;
	public int f2 = 385;
	public int teletab1 = 8013;
	public int teletab2 = 8008;
	public int randomInteger1 = random(1, 180);
	public int randomInteger2 = random(1, 180);
	
	public void checkEat() {
		final int cHealth = skills
		.getCurrentSkillLevel(Constants.STAT_HITPOINTS);
		if (cHealth <= (50)) { // This is where you edit when you want to eat. E.g. Your HP - 16 or 20.
			clickMouse(f1);
			clickMouse(f2);
		if (cHealth <= 25) //this is where you edit when you want to teleport. E.g. 33% of your hp is recommended. so 75 = 25 here.
		clickMouse(teletab1);
		clickMouse(teletab2);
		}
	}


private void clickMouse(final int teletab12) {
		
	}


public String getName(){
	return "Dragons PvP Camper";
}

public String getAuthor(){
	return "Dragon487";
}

public String getScriptCategory(){
	return "Player vs Player";
}

public double getVersion(){
	return 0.8;
}

public String getScriptDescription() {
	final String html = "This is Dragon's PvP script. It will eat below 50 hitpoints, when you are below 25, then it will teleport. Only teleports with a house or lumbridge teletab.";
    return(html);
}

public boolean onStart(final Map<String, String> args) {
	log ("Thanks for using my script.");
   return true;
}

public void onFinish(){
	log ("Oh, is it that way? Then you just lost the game.");
    return;
}

public int loop() {
	if(getMyPlayer().isMoving()){
		checkEat();
		setCameraRotation(randomInteger1);
		setCameraRotation(randomInteger2);
		return 300;
		
	}
	

	if (getMyPlayer().isIdle()){
		setCameraRotation(randomInteger1);
		setCameraRotation(randomInteger2);
		checkEat();
		return 300;
	}
	
	return food1;
	}
	}
Monkfish and sharks are only supported atm. You may use a lumby or house teleport.
__________________
Reply With Quote
  #2  
Old 05-14-2009, 08:40 PM
juvenilepunk's Avatar
juvenilepunk juvenilepunk is offline
Ezudian
 
Join Date: Jul 2008
Location: Los Angeles, California
Posts: 1,383
Reputation: 1431
juvenilepunk has much to be proud ofjuvenilepunk has much to be proud ofjuvenilepunk has much to be proud ofjuvenilepunk has much to be proud ofjuvenilepunk has much to be proud ofjuvenilepunk has much to be proud ofjuvenilepunk has much to be proud ofjuvenilepunk has much to be proud ofjuvenilepunk has much to be proud ofjuvenilepunk has much to be proud of
Send a message via MSN to juvenilepunk Send a message via Yahoo to juvenilepunk Send a message via Skype™ to juvenilepunk
Send a message via ICQ to juvenilepunk Send a message via AIM to juvenilepunk
Default

So what does it do, it just builds up pvp drop points?
__________________
Reply With Quote
  #3  
Old 05-15-2009, 10:02 AM
Dragon's Avatar
Dragon Dragon is offline
Ezudian
 
Join Date: Jul 2008
Location: West Acadia
Posts: 246
Reputation: 516
Dragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of light
Send a message via MSN to Dragon Send a message via Skype™ to Dragon
Default

Yes, and if you go below 50 hp, it will eat, at 25 hp it teles.
You can edit those how you like in the script, ill make a // to show you where.
__________________
Reply With Quote
  #4  
Old 05-15-2009, 11:01 AM
Jello's Avatar
Jello Jello is offline
Ezudian
 
Join Date: Jul 2008
Location: Canada
Posts: 1,061
Reputation: 1616
Jello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant future
Send a message via MSN to Jello Send a message via Yahoo to Jello Send a message via Skype™ to Jello
Send a message via ICQ to Jello Send a message via AIM to Jello
Default

Thanks dude.

I'm gonna try it out later today and see how it works.
And gratz on your first ever script.
__________________
MSN: [email protected]



[X] [X] [X]
Reply With Quote
  #5  
Old 05-16-2009, 07:03 PM
Bomb Bomb is offline
Ezudian
 
Join Date: Mar 2009
Posts: 65
Reputation: 414
Bomb is just really niceBomb is just really niceBomb is just really niceBomb is just really niceBomb is just really nice
Send a message via MSN to Bomb
Default

This is absolutely horrible.
Reply With Quote
  #6  
Old 05-17-2009, 02:17 PM
Jello's Avatar
Jello Jello is offline
Ezudian
 
Join Date: Jul 2008
Location: Canada
Posts: 1,061
Reputation: 1616
Jello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant futureJello has a brilliant future
Send a message via MSN to Jello Send a message via Yahoo to Jello Send a message via Skype™ to Jello
Send a message via ICQ to Jello Send a message via AIM to Jello
Default

Quote:
Originally Posted by Bomb View Post
This is absolutely horrible.
Would you like to state why and offer a solution?
__________________
MSN: [email protected]



[X] [X] [X]
Reply With Quote
  #7  
Old 05-17-2009, 08:44 PM
Bomb Bomb is offline
Ezudian
 
Join Date: Mar 2009
Posts: 65
Reputation: 414
Bomb is just really niceBomb is just really niceBomb is just really niceBomb is just really niceBomb is just really nice
Send a message via MSN to Bomb
Default

Quote:
Originally Posted by Jello View Post
Would you like to state why and offer a solution?
Why: It's Horrible.
Solution: Make it better.
Reply With Quote
  #8  
Old 05-17-2009, 08:55 PM
Wutwutwut Wutwutwut is offline
Ezudian
 
Join Date: May 2009
Posts: 27
Reputation: 19
Wutwutwut is on a distinguished road
Default

Quote:
Originally Posted by Bomb View Post
Why: It's Horrible.
Solution: Make it better.
clearly he was asking why it's horrible, and 'it's horrible' isn't an awnser.

better luck next time.
Reply With Quote
  #9  
Old 05-18-2009, 11:11 AM
Thainerr's Avatar
Thainerr Thainerr is offline
Ezudian
 
Join Date: Mar 2009
Location: England Woop
Posts: 426
Reputation: 805
Thainerr is a splendid one to beholdThainerr is a splendid one to beholdThainerr is a splendid one to beholdThainerr is a splendid one to beholdThainerr is a splendid one to beholdThainerr is a splendid one to beholdThainerr is a splendid one to behold
Send a message via MSN to Thainerr
Default

Quote:
Originally Posted by Bomb View Post
Why: It's Horrible.
Solution: Make it better.
Wow stfu... Hes tried his best.. I'd like to see you do better.

If I could write scripts I would find a way the bot could calculate max hit.. but I don't think thats possible yet.. since it couldn't tell what you opponent is wearing? right? it could use high scores to get strength level though.

+ rep.
__________________
Merrr...
Reply With Quote
  #10  
Old 05-18-2009, 12:40 PM
Dragon's Avatar
Dragon Dragon is offline
Ezudian
 
Join Date: Jul 2008
Location: West Acadia
Posts: 246
Reputation: 516
Dragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of lightDragon is a glorious beacon of light
Send a message via MSN to Dragon Send a message via Skype™ to Dragon
Default

^ you can't try your best, because simplest scripts are better.
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Affiliates: Trik.com


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.