SRL Archive - Discussions and Debates

Loosing Client activity ?


DaWu

2007-08-19 14:16:51

Well, theres wierdo bug that it looses client activity, this never happened before SRL 4 so, anyone else having the same problem, and what might cause it ?

Killerdou

2007-08-19 14:27:57

maybe try:
at the beginning of the script GetClientWindowHandle(ClientHandle);
and at the beginning of every function SetClientWindowHandle(ClientHandle);

Town

2007-08-19 14:28:16

I took out the ActivateClient's in Login.scar and it's working right.

The Claw

2007-08-19 18:06:55

Happened to me too, caused my script to mess up last night lol

Hugolord

2007-08-19 18:11:51

From: DaWu
Well, theres wierdo bug that it looses client activity, this never happened before SRL 4 so, anyone else having the same problem, and what might cause it ?


Oh that's what messed up my scripts !

yer i autoed on Ratz then SCSS was minimized and the script still running :S

Tim0suprem0

2007-08-19 20:57:41

Well at least Town told us the fix :)

Town

2007-08-19 22:34:08

On second thought, take the ActivateClient out of PerfectNorth. Or take them all out. I don't think it matters if the ones are in Login.scar or not, but PerfectNorth is would was messing me up.

DaWu

2007-08-20 06:56:10

Probably best to remove _All_ activateclients from the whole SRL, as it seems to mess up bad.
They arent even really needed.

Town for SRL dev ?


EDIT: Seems like the activateclients and PerfNorths arent the only problems,
Running Wizzups essminer and theres wierdo problem, always when changing the player, client looses the focus, and I took all activateclients and perfectnorths out yes ?

Town

2007-08-20 14:42:06

You don't have to take out PerfectNorth. In the SRL folder take out the ActivateClients in Login.scar and also in your SRL folder take out the ActivateClient in PerfectNorth. You can keep the ActivateClients in the script, probably.

If I remember, PerfectNorth is in MapWalk.scar. I don't feel like checking.

WT-Fakawi

2007-08-20 14:48:26

Hmm, so thats what is causing on some comps the loss of focus? ActivateClient? hmm, could be. Strange thing is, it doenst affect all of us… Maybe I will set up a thread for this.

DaWu

2007-08-20 15:58:36

From: WT-Fakawi
Hmm, so thats what is causing on some comps the loss of focus? ActivateClient? hmm, could be. Strange thing is, it doenst affect all of us… Maybe I will set up a thread for this.


Probably, I deleted all the activate clients from my autofighter and the login.scar and it works now, donno, theres other factors also, that other scripts have.

EDIT: Just noticed, atleast on SCSS if you put client allways on top, when the bug steps in, it still sends clicks and text to runescape, but client won't get activated, This would inmy eyes seem VERY VERY suspicious, getting events without focus on client you know :S