PDA

View Full Version : Isolated's AutoTyper



Isolated
06-22-2007, 11:00 PM
This is my first script! (h)

Tell me what you think, post bugs and what not:D
EDIT: v0.2 released below
EDIT: v0.3 released below - I had to remove the whole 'F' Key thing because of Jagex's update. :( Ah well. I guess it's just a spammer now.

Program Autotyper;

{.include SRL/SRL.scar}

//////////////////////////////////////////
// Isolated's Auto-Typer v0.3 //
// //
//Version History: //
// o v0.1 //
// -Original Release //
// //
// o v0.2 //
// -SRL incorperated into script //
// -SendKeys replaced with TypeSend //
// -Some bugs were tweeked out //
// //
// o v0.3 //
// -Messages are no longer sent //
// using the 'F' keys, due to a //
// recent update to the RuneScape //
// game engine, that allows players //
// to control functions of the game //
// using the 'F' keys. //
// //
//Directions: //
// o Fill in your desired messages //
// (Setup Line 30-33) //
// o Set RuneScape client window //
// o Log in //
// o Use keys F9-F12 to auto-type //
// messages //
// //
// *This has been been tested //
// with SCAR 2.03 + SRL 3.6 //
// and SCAR 3.10 + SRL 3.8 //
//////////////////////////////////////////

Const
Message1 = '';
Message2 = '';
Message3 = '';
Message4 = '';

begin
repeat
TypeSend (Message1)
Wait (400+Random (300))
TypeSend (Message2)
Wait (400+Random (300))
TypeSend (Message3)
Wait (400+Random (300))
TypeSend (Message4)
Until (False)
end.

{================================================= ======================|
| Jagex has turned this script into the simplest of all-time, with their|
| recent update. You suck Jagex. | |
|================================================= ======================}

ZephyrsFury
06-23-2007, 03:11 AM
first of all, i think you should use and make scripts in SCAR Divi cos thats what most scripters are now using.

secondy, you should incorporate SRL in to your scripts cos their functions are a lot better than the inbuilt SCAR functions. for example, instead of SendKeys which goes poof... and your text is there, SRL's typesend function actually types the message like a human. otherwise you'll get banned before you say your second line.

thirdly, why do you make it press enter every so often. you can just go SendKeys(Message1+Chr(13)) which will automatically press enter or you can use TypeSend which autmatically presses enter.

you also need to learn the standards of scripting such as indenting after begin, if, else, etc. this will make your script easier to follow and easier for someone to understand what you are doing.

and just so you know, F7 and F8 are already used by SCAR for Step In and Step Over.

Isolated
06-23-2007, 04:23 PM
Alright, so I got some tweakin to do. It's my first script, it isn't gonna be perfect.

Isolated
06-23-2007, 04:32 PM
And Divi won't run anything so I'm using 2.03

ZephyrsFury
06-24-2007, 03:07 AM
sry i didn't mean to sound so negative. now that i read my last post i apologise.

divi should work with many script as many good scripts are now updated to Divi, make sure you got the latest ver of Divi cos i know the older ones don't support all the functions used in scripts.

Isolated
06-24-2007, 03:48 AM
Na man, that's ok.

I had SCAR Divi 3.06 but it wasn't working with any scripts - I'm starting to wonder if I didn't have SRL installed correctly, though.

Took your advice though, and updated the script.

crossback7
06-26-2007, 02:28 AM
DIVI runs a lot better, and you'll be able to find more scripts for it now. You probably didn't have all the includes and the such downloaded.

ZephyrsFury
06-26-2007, 08:10 AM
i had a problem with DIVI 3.06 because i kept getting a 'duplicate identifier' message when i tried to run a script. once i installed SRL 3.8, every worked fine so you could try that.

Isolated
06-26-2007, 05:47 PM
Mother-****

Dude - check Runescape - the new update just screwed my script over completely!


The keys work like this:

Esc - Inventory
F1 - Combat options
F2 - Your statistics
F3 - Quest Journal
F4 - Equipped interface
F5 - Prayer
F6 - Spellbook
F8 - Friends list
F9 - Ignore list
F10 - Options interface
F11 - Emotes
F12 - Music Player
Control - Run

ZephyrsFury
06-27-2007, 09:48 AM
its stuffed up my rune mysteries runner aswell :fiery:

Isolated
07-13-2007, 05:31 AM
New release

yanix
07-13-2007, 08:14 PM
keep up the work