SRL Archive - OSR Utility Scripts

Lazy Utilities! Auto Login / Typer


San122

2013-02-27 07:27:12

Hello, these are my first completed scripts!

I began learning to program only 3 weeks ago, so if you find any errors please point them out and ill do my best to fix them.

To use the AutoLogin:
Enter your login name.
Enter your password.
Select the client.
Run.

To use the AutoTyper: Edit: *Updated to 1.1, added 3 typos or insert another message there, more human like.
Select the client.
Run + Enter details.

Please suggest improvements, I'm happy to listen and learn something new.

Enjoy

tealc

2013-02-27 07:33:30

EOC bans simple autotypers im not sure about old school though

San122

2013-02-27 07:41:17

From: bob_saget
EOC bans simple autotypers im not sure about old school though


it uses TypeSend and Wait(RandomRange(0, 0)) and I believe those are safe to use.

tealc

2013-02-27 07:50:28

Jagex has a working a bot detection system for autotalkers in EOC.

San122

2013-02-27 08:02:48

From: bob_saget
Jagex has a working a bot detection system for autotalkers in EOC.

You have got me thinking, tomorrow ill see if I can add a case typo antiban, to make to more human like.

Unsolidarity

2013-02-27 08:37:58

Use R07 include login.

nemaster

2013-03-02 06:07:15

Thanks, I use this all the time for different things.

San122

2013-03-02 20:51:58

From: nemaster
Thanks, I use this all the time for different things.


no worries. :)

Obby_prodigy

2013-03-29 20:11:47

Hey thanks so much for this it honestly is amazing especially because i got it to work with smart. A quick question though, how could i edit the typing to be faster? not the wait time but like the actual letter by letter typing speed to increase. Any answer is greatly appreciated!

San122

2013-03-30 01:02:28

No worries :) Im glad you like it.

Ill attach a instant type edited one, what i did was replace all the "TypeSend" with "SendKeys"

Tell me if there are any bugs :) thanks!

Justin

2013-03-30 01:04:47

From: San122
No worries :) Im glad you like it.

Ill attach a instant type edited one, what i did was replace all the "TypeSend" with "SendKeys"

Tell me if there are any bugs :) thanks!


Notice you have a 'typo' section, Maybe you should take a look at this


(*
AddMistakes
~~~~~~~~~~~

.. code-block:: pascal

function AddMistakes(Orig: string; Chance: Integer): string;

Adds human mistakes to Orig such as mistypes, missing letters,
wrong cases. Probability that a character is typed wrong is 1 / Chance. ie.
Higher 'Chance' = less mistakes (I know thats stupid but oh well...).
Probability is the chance that an individual character is typed incorrectly.
That is if you have more characters in a string you will get more mistakes overall.
20 - 30 is usually good but it varies depending on your string so experiment!

.. note::
by Zephyrsfury

Example

.. code-block:: pascal

*)
function AddMistakes(Orig: string; Chance: Integer): string;

text.simba

http://docs.villavu.com/srl-5/text.html?highlight=addmistakes#addmistakes

I also notice you don't use your 'Traded' bitmap, would be awesome if you implement trade detection

Obby_prodigy

2013-03-30 08:50:48

It types it quick but it doesn't send. Maybe we can replace the vk_enter with something else? its not sending it.

Obby_prodigy

2013-03-30 10:33:17

Okay i figured a fix for it, instead of PressKey use the TypeByte function. and instead of the 0,0 at sendkeys you should add like 10,15. And yeah trade detection would be amazing if you could add that or direct me on how to add it myself!

San122

2013-04-09 06:10:07

From: Justin
Notice you have a 'typo' section, Maybe you should take a look at this


(*
AddMistakes
~~~~~~~~~~~

.. code-block:: pascal

function AddMistakes(Orig: string; Chance: Integer): string;

Adds human mistakes to Orig such as mistypes, missing letters,
wrong cases. Probability that a character is typed wrong is 1 / Chance. ie.
Higher 'Chance' = less mistakes (I know thats stupid but oh well...).
Probability is the chance that an individual character is typed incorrectly.
That is if you have more characters in a string you will get more mistakes overall.
20 - 30 is usually good but it varies depending on your string so experiment!

.. note::
by Zephyrsfury

Example

.. code-block:: pascal

*)
function AddMistakes(Orig: string; Chance: Integer): string;

text.simba

http://docs.villavu.com/srl-5/text.html?highlight=addmistakes#addmistakes

I also notice you don't use your 'Traded' bitmap, would be awesome if you implement trade detection


Oh wow I didn't know there was a function for typos!

I think ill fix up the script and see if I can add trade detection.

Thanks!

San122

2013-04-09 06:12:12

From: Obby_prodigy
Okay i figured a fix for it, instead of PressKey use the TypeByte function. and instead of the 0,0 at sendkeys you should add like 10,15. And yeah trade detection would be amazing if you could add that or direct me on how to add it myself!


Sorry about that mate, I didn't have much time to test it and Im still learning myself so Ill probably make a lot of mistakes. :duh:

Ill do my best to fix that and add trade detection, would you like it to print a message in the debug or just open the trade screen with the player?

PipiDaga

2013-06-12 06:22:05

Any chance this script can run in multiple clients?