SRL Archive - General

The Automatically split characters are too wide.


Era Xz

2012-05-01 08:17:05

Try decreasing minspacing.

This happens once every so often in my banking function when im using ChooseOption. Quite annoying :P
Any idea how to solve this.
I did a search but people said to update SRL, mine is up to date tho.

Thanks

nickrules

2012-05-01 16:20:53

Not really :/ It's an SRL issue, and a rare(ish) one at that, which shouldn't impede your script much, if at all.

Era Xz

2012-05-01 16:45:53

Hmm okay :P will have to deal with it then, thanks

Abu

2012-05-01 16:50:33

You could always use SlideMouse
(*
SlideMouse
~~~~~

.. code-block:: pascal

procedure SlideMouse(cx, cy, rx, ry: Integer);

Moves the mouse 'cx' across the x axis and 'cy' along the y axis
with a randomness of rx and ry

.. note::

by abu_jwka

Example:

.. code-block:: pascal

if IsUptext('ord') then
begin
Mouse(x, y, 0, 0, false);
SlideMouse(0, 10, 0, 0,);
ChooseOption('aw all');
end'

*)

So say the option you wanted to choose was 10 pixels down you would do:
Mouse(x, y, 0, 0, False); // move it to where you want and right-click
SlideMouse(0, 10, 0, 0); // move mouse 10 pixels down
GetMousePos(x, y); // get the mouse position
Mouse(x, y, 0, 0, True); // Left click the mouse to select

Justin

2012-05-01 21:11:02

From memory you maily see this issue if jagex have changed the uptext