SRL Archive - RS has been updated.

EoC why scripts are typing when using action bar


Dynamite

2012-12-02 16:13:37

When enabling and disabling simba i noticed that smart still does that weird 'enter' click.
Which i guess is why some people are complaining that scripts are typing and not using the action bar?

-Boom

masterBB

2012-12-02 16:16:57

I thought it was because people are using the wrong type function. The standard srl type function presses enter, use the pressKey function.

DrChill

2012-12-02 16:29:29

I had this problem too, I check if chat is open and close. Also what masterBB said, you have to use the right function.

I am however having an odd error where occasionally when I look at my bot and it's typing EoC keys in the search window … which is weird but probably because I don't do enough waits. I noticed that when you close the banking window it waits ~1sec then opens it again.

The Killer

2012-12-02 16:48:13

From: Dynamite
When enabling and disabling simba i noticed that smart still does that weird 'enter' click.
Which i guess is why some people are complaining that scripts are typing and not using the action bar?

-Boom


yeah noticed that it wasn't using the hotbar after banking.

DannyRS

2012-12-02 18:54:59

From: masterBB
I thought it was because people are using the wrong type function. The standard srl type function presses enter, use the pressKey function.


SendKeys is the standard one you are talking about? Doesent seem to press enter for me but it does lock up smart randomly in my tests

masterBB

2012-12-02 19:08:59

procedure TypeSend(Text : string);

Types Text in a human-like way and presses enter. Wrapper function for TypeSendEx
for compatibility purposes.

edit:

Also SMART uses Tab to gain focus of the client iirc.

Flight

2012-12-02 19:20:33

From: masterBB
I thought it was because people are using the wrong type function. The standard srl type function presses enter, use the pressKey function.


From: masterBB
procedure TypeSend(Text : string);

Types Text in a human-like way and presses enter. Wrapper function for TypeSendEx
for compatibility purposes.

edit:

Also SMART uses Tab to gain focus of the client iirc.


You're absolutely right; those scripts are simply using the incorrect key-sending procedures. With the ActionBar you only have to press a number/symbol, you never press enter, otherwise you switch from hot-keys mode to public chat mode.

I recommend using 'TypeSendEx(KEY, FALSE)' or 'SendKeys'.

Ian

2012-12-02 20:14:23

From: Flight
You're absolutely right; those scripts are simply using the incorrect key-sending procedures. With the ActionBar you only have to press a number/symbol, you never press enter, otherwise you switch from hot-keys mode to public chat mode.

I recommend using 'TypeSendEx(KEY, FALSE)' or 'SendKeys'.


I was using
TypeSendEx('1', False);
and people started having problems with it typing in the chatbox. At Laimonas' suggestion, I switched it to
SendKeys('1', 12+ Random(12), 12+ Random(12));
and the problem stopped happening.

I'd recommend SendKeys over TypeSendEx.

Flight

2012-12-02 20:17:23

From: BMWxi
I was using
TypeSendEx('1', False);
and people started having problems with it typing in the chatbox. At Laimonas' suggestion, I switched it to
SendKeys('1', 12+ Random(12), 12+ Random(12));
and the problem stopped happening.

I'd recommend SendKeys over TypeSendEx.


Yeah I prefer to use SendKeys and control the timing myself, one can see how I use it in Barb Fly-Fisher.


tC := CountItems('dtm', DTM_Trout, []);
for i:=1 to tC do
SendKeys(tSlot,RandomRange(180,230),RandomRange(180,230));

sC := CountItems('dtm', DTM_Salmon, []);
if sC > 0 then
for i:=1 to sC do
SendKeys(sSlot,RandomRange(180,230),RandomRange(180,230));

Ian

2012-12-02 21:11:52

From: Flight
Yeah I prefer to use SendKeys and control the timing myself, one can see how I use it in Barb Fly-Fisher.


tC := CountItems('dtm', DTM_Trout, []);
for i:=1 to tC do
SendKeys(tSlot,RandomRange(180,230),RandomRange(180,230));

sC := CountItems('dtm', DTM_Salmon, []);
if sC > 0 then
for i:=1 to sC do
SendKeys(sSlot,RandomRange(180,230),RandomRange(180,230));


Does dropping with hotkeys interrupt the fishing?

DannyRS

2012-12-02 21:21:21

From: BMWxi
Does dropping with hotkeys interrupt the fishing?


No it doesent, however it does interupt the player animation, so it can appear like it, but it doesent :)

abbot

2012-12-02 21:26:10

can someone give me a link to the download link to this simba bot please?

Ian

2012-12-02 21:26:57

From: DannyRS
No it doesent, however it does interupt the player animation, so it can appear like it, but it doesent :)


Sweet, looks like I should take advantage of that. I wonder if it's a bug or intentional?

DannyRS

2012-12-02 21:48:34

From: BMWxi
Sweet, looks like I should take advantage of that. I wonder if it's a bug or intentional?


As far as i know it isnt a bug and is intended to allow more xp/ph, on the beta the animation was not interupted, and jagex linked to videos about dropping while mining etc,

The animation interupt may well be a bug or just something they overlooked and doesent really matter for non botters :P