SRL Archive - Discussions and Debates

Loses Focus?


Pancakes

2007-09-30 22:18:28

This code, that I have right here:
procedure Logout_Login;
var i : Integer;
begin
//Logout of runescape.
Logout;
//Wait 10 seconds plus a random 20 seconds.
i := 10000 + Random(20000);
Wait(i);
//Login to runescape with the current player.
LoginPlayer;
end;

Logs out, waits, but when it attempts to log back in, it kind of loses focus? What i mean by that is that when it clicks 'Username' or clicks 'Password' and attempts to type, nothing gets written in.

SRL problem or just my computer?

The Claw

2007-09-30 22:21:21

You must be using internet explorer.

http://www.villavu.com/forum/showthread.php?t=16195

Pancakes

2007-09-30 22:47:01

Nope, KYAB…

The Claw

2007-09-30 23:16:54

which uses explorer if i remember correctly :p

Pancakes

2007-09-30 23:54:31

From: The Claw
which uses explorer if i remember correctly :p


I believe it loads the JAR file directly?

Edit: Just found there is a fixed version of SRL for KYAB, I'll see if that works.

While we're talking, can you remember a link to get the run percentage? (Amount of energy left). That was going to be my next thread, lol. The SRL manual has nothing in it about it :eek:

The Claw

2007-10-01 00:50:39

No idea. It should be easy enough to make though, just GetTextAtEx or something

HyperSecret

2007-10-01 01:45:20

you need to do that ^^ loss of focus fix post ^^ for kyab also…

Pancakes

2007-10-01 02:45:27

Meh I just downloaded the fixed version of SRL for KYAB so it should work hopefully … :)

It doesn't really matter about the run percent thing, I just thought SRL would have it in there.