Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
milkboss20013

RS3 why can not log on?

9 posts in this topic

code:

package scripts;import org.tribot.api.rs3.Login;import org.tribot.script.Script;import org.tribot.script.ScriptManifest;@ScriptManifest(authors = { "boter" }, category = "0_Test", name = "~Test", version = 1.00, description = "this is a test.", gameMode = 2)public class Test extends Script{	@Override	public void run() {				println(Login.getState());		Login.login(true);		while(true){						sleep(500);					}	}}

client:

post-38657-0-56315500-1452670473_thumb.p

 

why can not log on?

please tell me why.

thx.

post-38657-0-73073200-1452670273_thumb.p

Share this post


Link to post
Share on other sites

does tribot even still support RS3?

Don't know.

 

Did you setup an account with the account manager?

 

Also you should use General.sleep(500) instead of sleep(500). General.sleep() is for the CPU to catch up while sleep() stops the thread.

while (true){     sleep(500);}

This puts you in an infinite sleep loop.

Edited by Kyle_1995

Share this post


Link to post
Share on other sites

Don't know.

 

Did you setup an account with the account manager?

 

Also you should use General.sleep(500) instead of sleep(500). General.sleep() is for the CPU to catch up while sleep() stops the thread.

while (true){     sleep(500);}

This puts you in an infinite sleep loop.

I print out the state is "INGAME",may be the reason.

Share this post


Link to post
Share on other sites

I use this for my 07 scripts:

        if (Login.getLoginState() == Login.STATE.LOGINSCREEN){            printState("Login screen.");            printState("Logging in...");            Login.login();            printState("Logged in.");        } else {            printState("In-game.");        }

Well Login.login() won't log you in if your INGAME.

Edited by Kyle_1995

Share this post


Link to post
Share on other sites

I use this for my 07 scripts:

        if (Login.getLoginState() == Login.STATE.LOGINSCREEN){            printState("Login screen.");            printState("Logging in...");            Login.login();            printState("Logged in.");        } else {            printState("In-game.");        }

Well Login.login() won't log you in if your INGAME.

just rs3 can't log on,07 can log

Share this post


Link to post
Share on other sites

My guess would be that tribot doesn't support rs3 anymore.

He's probably right, RS3 is not supported at the moment.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.