SRL Archive - SRL Bugs

Nextplayer issue


fre

2012-08-14 18:07:25

Hello all,

so i see my scripts sometimes being a little slow.

reason:
when it changes player(nextplayer), the function clicks on the big cross to logout. But sometimes after clicking (normal it should change to the logout menu, with the big red bar "click here to logout") it flashes this screen but changes to inventory.

I guess this is a way of Jagex to make botting harded.


So i think the function 'logout' just needs a little adjustment.

Le Jingle

2012-08-14 18:20:35

Is the screen that flashes/appears, have an X on it? or does it only let you hit a bar,
eg. ( Press OK )

Don't suppose you got a screenie of it?

(I also noticed that I get a pop-up when logging in, that says 'you are running low on membership' - Press OK to continue)

fre

2012-08-14 18:46:20

It has nothing to do with p2p.

Just when the function:nextplayer kicks in,
it presses the X to go to the Logout menu, goes to that menu for a second. But then goes (without clicking) to the inventory menu. (it only happens once in a while, like 1% of the time), but it makes my script hang until it automatic logs out.

Le Jingle

2012-08-14 18:53:13

Oh huh weird. Yeah then maybe a loop of some sorts to be thrown into the func, function SwitchToPlayer(PlayerNo: Integer; Active: Boolean): Boolean;, so that the 'logout;' is sure to be present?

fre

2012-08-14 19:01:01

yeh, i m looking at the function right now.
But can't find out what function, line makes it press the big X

riwu

2012-08-15 06:48:39

From: fre
yeh, i m looking at the function right now.
But can't find out what function, line makes it press the big X

It's quite tricky:
GameTab(tab_LogOut)

To avoid modifying the login include, i suppose you can just do something like:
while LoggedIn do Logout;
before calling NextPlayer?