• Log in or sign up for an account here: https://www.sythe.org/login

[fix]how To Fix The Rsbot Welcome Button

law and order

Active Member
Joined
Nov 20, 2008
Sythe Gold
0
Messages
142
Ok since all the noobs spamming all over the place here is the fix.

I will not be giving out class files or putting a download for it. I ask that no one else post a download for it or give out class files.

I simply fixed the activate condition. No real credit deserved

if you having a problems connecting to the update server that is because you need to go the official rsbot website and download update #53 found here http://208.122.30.121/index.php?topic=270.0
after you do that there will be a problem with the welcome button the second you try to run any script it would try and click the welcome button moving your acount to fix it simply go into your randoms folder find welcome button button.java and replace whats in there with the code


Code:
import com.speljohan.rsbot.script.Random;
import com.speljohan.rsbot.script.wrappers.RSInterface;

/**
 * Created Using IntelliJ IDEA. User: illusion Date: Apr 23, 2008 Time: 9:57:41
 * PM
 */
public class WelcomeButton extends Random {
	public String getName() {
		return "Welcome Button";
	}

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

	public double getVersion() {
		return 1;
	}

	public int loop() {
		log("Clicking Welcome Button");
		atInterface(RSInterface.getInterface(378).getChild(45));
		return -1;
	}

	public boolean activateCondition() {
		return RSInterface.getInterface(378).getChild(45).getAbsoluteX() == 207;
	}
}
 
my rsobt wont even get past connecting to the update server...
 
sorry I havent been getting back to you guys!
if you having a problem connecting that is because you need to go the official rsbot website and download update #53 found here http://208.122.30.121/index.php?topic=270.0
after you do that there will be a problem with the welcome button the second you try to run any script it would try and click the welcome button moving your acount to fix it simply go into your randoms folder find welcome button button.java and replace whats in there with the code
 
i did what you said with the welcome button and it still doesnt work...
 
i did what you said with the welcome button and it still doesnt work...

when you erased the old code and pasted the new make sure you click saved before exiting the notepad then click compile all also make sure you coppied it right
 
i did... i did all that and it still doesnt work...
 
i did... i did all that and it still doesnt work...

hmmm then I cant help you it worked for me also just a side note you cant even bot right now if you get it to work because the new update erased all your anti bans so right now everyone is screwed :mad:
 
Fixed it for me, just start the script without logging in yet and bam, it works!
 
yeah this should fix the random clicking, but if you updated your rsbot, then it deleted all your anti-bans...which is like a death sentence for botters lol

Heres a fix!

Go into your anti-ban folder and create a new Notepad document

And in that notepad, insert this script (This is WarXperiments AllAntiBan script):
Code:
import com.speljohan.rsbot.script.Random;
import com.speljohan.rsbot.bot.Bot;
import com.speljohan.rsbot.logging.Log;
import java.awt.event.*;

import javax.swing.*;

public class AllAntiBan extends Random {

    int randomInt;
    int GambleInt;
    long lastCheck = 0;
    long timer = System.currentTimeMillis();
    int checkTime;
    public String[] thingsToSayIdle = new String[] {
""};


    public String getName() {
        return "AllAntiBan";
    }

    public double getVersion() {
      return  01;
    }

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

    private boolean timer(int seconds) {
        return System.currentTimeMillis() * 1000 < seconds;
    }

   public Log getLog() {
       if(LOG != null)
            LOG = null;

       return super.getLog();
    }

    public boolean activateCondition() {
        randomInt = random(1, 100);
        if (isLoggedIn() && randomInt == 50)
		return true;

	return random(0, 100) == 25;
    }
	
	public void turnCamera() {
    	char[] LR = new char[] { KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT };
    	char[] UD = new char[] { KeyEvent.VK_DOWN, KeyEvent.VK_UP };
    	char[] LRUD = new char[] { KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT,
    							KeyEvent.VK_UP, KeyEvent.VK_DOWN };
    	int random2 = random(0,2);
    	int random1 = random(0,2);
    	int random4 = random(0,4);
    	
    	if(random(0,3) == 0) {
        	Bot.getInputManager().pressKey(LR[random1]);
        	try { Thread.sleep(random(100, 400)); } catch (Exception e) {}
        	Bot.getInputManager().pressKey(UD[random2]);
        	try { Thread.sleep(random(300, 600)); } catch (Exception e) {}
        	Bot.getInputManager().releaseKey(UD[random2]);
        	try { Thread.sleep(random(100, 400)); } catch (Exception e) {}
        	Bot.getInputManager().releaseKey(LR[random1]);        		
    	} else {
    		Bot.getInputManager().pressKey(LRUD[random4]);
    		if(random4>1) {
    			try { Thread.sleep(random(300, 600)); } catch (Exception e) {}
    		} else {
    			try { Thread.sleep(random(500, 900)); } catch (Exception e) {}
    		}
    		Bot.getInputManager().releaseKey(LRUD[random4]);
    	}
    }
	
	
    public int loop() {
        GambleInt = random(1, 20);
		if (GambleInt == 1) {
			turnCamera();
		}

		if (GambleInt == 2) {
			int xA = random(0, 750);
			int yA = random(0, 500);
			moveMouse(xA, yA);
			turnCamera();
		}
		
		if (GambleInt == 3) {
			if (getCurrentTab() != TAB_INVENTORY) {
				openTab(TAB_INVENTORY);
				turnCamera();
			}
		}

		if (GambleInt == 4) {
			clickCharacter(getNearestPlayerByLevel(1,130) , "Cancel");
			return (random(500, 1750));
		}

		if ((System.currentTimeMillis() - lastCheck) >= checkTime) {
			lastCheck = System.currentTimeMillis();
			checkTime = random(300000, 600000);
			turnCamera();
		        openTab(random(0, 13));
			turnCamera();
		}
		
		
		if (GambleInt == 5) {
	    	        turnCamera();
			int xA = random(0, 750);
			int yA = random(0, 500);
			moveMouse(xA, yA);
		}
		
		if (GambleInt == 6) 
			turnCamera();
			
		if (GambleInt == 7) 
			openTab(random(0, 13));
			
		if (GambleInt == 8) 
			moveMouse(random(0,450), random(0,450));

		return -1;
	}	
}

Name that file AllAntiBan.java

Then go and compile your rsbot, and everything should work fine :)
 
Well, this is a fix fetched from rsbot.org posted by fusion89k

Code:
import com.speljohan.rsbot.script.Random;
import com.speljohan.rsbot.script.wrappers.RSInterface;

/**
 * Created Using IntelliJ IDEA. User: illusion Date: Apr 23, 2008 Time: 9:57:41
 * PM
 */
public class WelcomeButton extends Random {
	public String getName() {
		return "Welcome Button";
	}

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

	public double getVersion() {
		return 1;
	}

	public int loop() {
		log("Clicking Welcome Button");
		atInterface(RSInterface.getInterface(378).getChild(45));
		return -1;
	}

	public boolean activateCondition() {
		return RSInterface.getInterface(378).getChild(45).getAbsoluteX() == 207;
	}
}

When starting your script, please dont have yourself logged in, you will auto login and it will work!
 
this has already been posted by law and order...
 
Update it and you won't have that problem, it's just been fixed.
 
this has already been posted by law and order...

yea definitely posted by me ill just bump my old thread so there isn't thousands of leechers who want respect and just copy this thread >_<

bump up dont want leeachers to continuously make threads about this
 
i downloaded update for svn and the welcome button works fine and antiban without using these scripts
 
Runescape Gamblingrunescape gambling
Back
Top