SRL Archive - Help and Support

Loosing focus or something.. ?


DaWu

2008-10-23 04:46:42

Yep, I came back to RS when I heard about the PK update, started my autofighter, everything goes all fine, takes a break, but then It wont be able to log back for some wierd reason, just get "2 minutes have passed" or something near to that, so I think its about scar loosing the client or something ?


Anyone faced anything similar? When I last time used it, it went all fine.


Thanks.

-DaWu

Bonfield

2008-10-23 07:41:17

yea i know what you mean, a script i was using could not type or anything like that so that means that it could not log the nextplayer in, i think it might have something to do with the canvas changing but im not to sure

[offtopic] how is ur autofighter going? have you kept updating it?

Tniffoc

2008-10-23 07:56:13

I used to be getting this. Then it just decided to randomly stop :confused:

DaWu

2008-10-23 09:28:30

From: Bonfield
yea i know what you mean, a script i was using could not type or anything like that so that means that it could not log the nextplayer in, i think it might have something to do with the canvas changing but im not to sure

[offtopic] how is ur autofighter going? have you kept updating it?


Thanks for asking.
It's all fine and working, 5x 90+ stat with it. Oh and I'm really fed with the gay ass focusloss, used to be able to do 100+ hrs with one char ( script breaks and so on ) but now it fails everytime it breaks.

Would love to get the problem solved.

Markus

2008-10-23 16:08:30

Try to add a FindRS every now and then:

{*******************************************************************************
function FindRS: Boolean;
By: RsN
Description: Finds RS Window
*******************************************************************************}

function FindRS: Boolean;
begin
Result := FindWindowBySize(766, 504);
end;

Nava2

2008-10-23 19:21:57

Even better:

{*******************************************************************************
procedure ResetRS;
By: RSN/Nava2
Description: Finds RS Window and sets a timer to repeat every one second.
*******************************************************************************}

procedure ResetRS;
begin
FindWindowBySize(766, 504);
SetTimeOut(1, 'ResetRS');
end;

Should fix your problem.. Call it once.

E: Jerks making fun of me.

noidea

2008-10-23 19:45:21

WHo is RsN?

Cazax

2008-10-23 19:47:30

From: noidea
WHo is RsN?


http://www.srl-forums.com/forum/member.php?u=9

SRL developer.

noidea

2008-10-23 20:39:31

From: Cazax
http://www.srl-forums.com/forum/member.php?u=9

SRL developer.


Thanks, wow only 40 posts lol.

HayHay89

2008-10-23 21:08:08

From: noidea
Thanks, wow only 40 posts lol.


man of action not words,,,,lol

Bonfield

2008-10-23 21:58:28

From: DaWu
Thanks for asking.
It's all fine and working, 5x 90+ stat with it. Oh and I'm really fed with the gay ass focusloss, used to be able to do 100+ hrs with one char ( script breaks and so on ) but now it fails everytime it breaks.

Would love to get the problem solved.


script sounds really good, yeah i know i hope navas fix works

any chance of releasing your script to SRL members?

bullzeye95

2008-10-23 22:06:12

From: Nava2
Even better:

{*******************************************************************************
procedure ResetRS;
By: RSN/Nava2
Description: Finds RS Window and sets a timer to repeat every one second.
*******************************************************************************}

procedure ResetRS;
begin
Result := FindWindowBySize(766, 504);
SetTimeOut(1, 'ResetRS');
end;

Should fix your problem.. Call it once.


Yarite, more like by bullzeye95 :rolleyes:

Narcle

2008-10-24 00:20:01

From: bullzeye95
Yarite, more like by bullzeye95 :rolleyes:


How can you claim a function that's 2 lines long? rofl

Nava2

2008-10-24 08:44:58

From: bullzeye95
Yarite, more like by bullzeye95 :rolleyes:


I loosded yours so I wrote mine :(.

Your idea though.

noidea

2008-10-24 09:27:33

From: Nava2
Even better:

{*******************************************************************************
procedure ResetRS;
By: RSN/Nava2
Description: Finds RS Window and sets a timer to repeat every one second.
*******************************************************************************}

procedure ResetRS;
begin
Result := FindWindowBySize(766, 504);
SetTimeOut(1, 'ResetRS');
end;

Should fix your problem.. Call it once.


Would that work with SMART?

bullzeye95

2008-10-24 15:56:44

No.

Magiic

2008-10-24 17:12:55

nobodys mentionesd that loginplayer has activate client in it, so if your using ie it loses focus, ff ftw?

DaWu

2008-10-24 18:16:16

From: sandos1234
nobodys mentionesd that loginplayer has activate client in it, so if your using ie it loses focus, ff ftw?


I think its loosing the rs screen rather than activation of client.
Have to try to refind the client every break.