Results 1 to 19 of 19

Thread: AutoTalker - Talking in RuneScape Window.

  1. #1
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    110
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default AutoTalker - Talking in RuneScape Window.

    I have a little problem with my AutoTalker [First-Script]
    When i run my autotalker, it typs my messages in the SCAR-Window ... Everything is oke there. But, when i drag my crosshair into my RuneScape window, and then run the script, it still types into the SCAR-Window ... Do i have to add a code to my script or something?

    Also: Is there a possibility to add a Anti-Ban function to my script? If yes, can someone post a link to it?

    ~Thanks, By Mod Mopar~

  2. #2
    Join Date
    Jun 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lets see your script first. Do you have SRL?

  3. #3
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    110
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oke; here is my script, made by using Bebe's TUT on how to make a first script (Now don't laugh, will you? ) And nope, no SRL, i don't even know how it works.

    SCAR Code:
    program Autotalker;


    const
    AutoMessage1='1';                 // Typ here what your character needs to say \\
    AutoMessage2='2';                 // If you don't need the message, don't typ anything in it. \\
    AutoMessage3='3';
    AutoMessage4='4';
    AutoMessage5='5';
    AutoMessage6='6';
    AutoMessage7='';
    AutoMessage8='';
    AutoMessage9='';
    AutoMessage10='';
    AutoMessage11='';
    AutoMessage12='';
    AutoMessage13='';
    AutoMessage14='';
    AutoMessage15='';


    procedure AutoTalking;
    begin
      if(not(Automessage1=''))then
      wait(500)
      Writeln(AutoMessage1);
      if(not(Automessage2=''))then
      wait(500)
      Writeln(AutoMessage2);
      if(not(Automessage3=''))then
      wait(500)
      Writeln(AutoMessage3);
      if(not(Automessage4=''))then
      wait(500)
      Writeln(AutoMessage4);
      if(not(Automessage5=''))then
      wait(500)
      Writeln(AutoMessage5);
      if(not(Automessage6=''))then
      wait(500)
      Writeln(AutoMessage6);
      if(not(Automessage7=''))then
      wait(500)
      Writeln(AutoMessage7);
      if(not(Automessage8=''))then
      wait(500)
      Writeln(AutoMessage8);
      if(not(Automessage9=''))then
      wait(500)
      Writeln(AutoMessage9);
      if(not(Automessage10=''))then
      wait(500)
      Writeln(AutoMessage10);
      if(not(Automessage11=''))then
      wait(500)
      Writeln(AutoMessage11);
      if(not(Automessage12=''))then
      wait(500)
      Writeln(AutoMessage12);
      if(not(Automessage13=''))then
      wait(500)
      Writeln(AutoMessage13);
      if(not(Automessage14=''))then
      wait(500)
      Writeln(AutoMessage14);
      if(not(Automessage15=''))then
      wait(500)
      Writeln(AutoMessage15);
    end;

    begin
    repeat
    AutoTalking;
    until(true)
    end.


    PS. I have to go now I 'll answer when i am back

  4. #4
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Ehh..? Writeln writes text only to Scar debug window...
    You should include SRL to it, and replace writeln with "TypeSend(Text:string);"

  5. #5
    Join Date
    Oct 2006
    Location
    England
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Here fixed it.
    PHP Code:
    program Autotalker;
    {.include 
    SRL/SRL.Scar}
     
     
    const
    AutoMessage1='1';                 // Typ here what your character needs to say \\
    AutoMessage2='2';                 // If you don't need the message, don't typ anything in it. \\
    AutoMessage3='3';
    AutoMessage4='4';
    AutoMessage5='5';
    AutoMessage6='6';
    AutoMessage7='';
    AutoMessage8='';
    AutoMessage9='';
    AutoMessage10='';
    AutoMessage11='';
    AutoMessage12='';
    AutoMessage13='';
    AutoMessage14='';
    AutoMessage15='';
     
     
    procedure AutoTalking;
    begin if(not(Automessage1=''))then
      wait
    (500)
      
    TypeSend(AutoMessage1);
      if(
    not(Automessage2=''))then
      wait
    (500)
      
    TypeSend(AutoMessage2);
      if(
    not(Automessage3=''))then
      wait
    (500)
      
    TypeSend(AutoMessage3);
      if(
    not(Automessage4=''))then
      wait
    (500)
      
    TypeSend(AutoMessage4);
      if(
    not(Automessage5=''))then
      wait
    (500)
      
    TypeSend(AutoMessage5);
      if(
    not(Automessage6=''))then
      wait
    (500)
      
    TypeSend(AutoMessage6);
      if(
    not(Automessage7=''))then
      wait
    (500)
      
    TypeSend(AutoMessage7);
      if(
    not(Automessage8=''))then
      wait
    (500)
      
    TypeSend(AutoMessage8);
      if(
    not(Automessage9=''))then
      wait
    (500)
      
    TypeSend(AutoMessage9);
      if(
    not(Automessage10=''))then
      wait
    (500)
      
    TypeSend(AutoMessage10);
      if(
    not(Automessage11=''))then
      wait
    (500)
      
    TypeSend(AutoMessage11);
      if(
    not(Automessage12=''))then
      wait
    (500)
      
    TypeSend(AutoMessage12);
      if(
    not(Automessage13=''))then
      wait
    (500)
      
    TypeSend(AutoMessage13);
      if(
    not(Automessage14=''))then
      wait
    (500)
      
    TypeSend(AutoMessage14);
      if(
    not(Automessage15=''))then
      wait
    (500)
      
    TypeSend(AutoMessage15);
    end;
     
    begin 
    ActivateClient
    ;
    repeat
    AutoTalking
    ;
    until(trueend 
    i added SRL into it for you and ActivateClient; so you dont need to click the rs screen

  6. #6
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    110
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1) How do I include SRL, and how do I work with it??

    2) So it will be TypeSend(AutoMessage1) ?

  7. #7
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    110
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks arr0w But I am not here to leech ..

    Can you explain what you exactly changed

    I see SRL included , but I don't know what it is
    Also, whats the Activate client thingie at the bottom of the script?

    Btw, can i add AntiBan function in this script? Or isn't that needed?

  8. #8
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    110
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Code:
    Successfully compiled
    Line 170: [Hint] (192:43): Variable 'NEWLINE' never used in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar
    Successfully executed
    Oh yea, almost forget to say: To typ numbers on my keyboard, I need to hold SHIFT, and then typ the number I need. When I autotalk, it doesn't hold SHIFT and typs things like & and é. .. Any ideas how to fix?

  9. #9
    Join Date
    Oct 2006
    Location
    England
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1)SRL is a include what contains all the lastest procedures and functions for more info look at Darkness's post on how do downlaod it and what it is
    2)ActivateClient; will make it so you dont have to click the rs screen when you start the script.

  10. #10
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    110
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Do you also know how to fix the Shift-Thing ?

    And: Where can I learn everything about the incudes etc. from SRL?

    Edit: Lolz, I think I ask to much questions ...

  11. #11
    Join Date
    Oct 2006
    Location
    England
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    read tuts i amde oen on mopar in the scripting help section and what shift thingy?

  12. #12
    Join Date
    Jun 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Download SRL and install it with the manual. Open the manual, click search, then if you ever want to do anything, search for it. Chances are, SRL can do it.

  13. #13
    Join Date
    Nov 2006
    Posts
    189
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SRL is an include and you include it in your script by putting it under the program name, so for example:

    Program AutoTalker;
    {.include SRL/SRL.scar} <------------- That is how you include SRL


    Now, to find out how to use SRL, do the following:

    1) Open up two scar windows, one being your auto talker and one being SRL
    (File>Open>Local Disk(C: )>Program Files>Scar 2.03>SRL>includes>SRL>SRL)

    2) ^ That will get you into SRL, now from there you can browse into different categories such as core, miscellaneous, skill, etc. These will show you different procedures / functions that scar can use and it will show you exactly what to type when you need it.

    3) Since you're making an auto talker, you more than likely want to browse into the category "core" and from there, double click on Auto Talk. Look through it and actually READ it and it can provide you with some very useful information.

    4) After you have READ and UNDERSTOOD it, go back to your auto talker and use the correct procedures / functions that you need to use and get that script complete!


    Any more questions just weather PM me or make a new thread on here.

    Hope I helped!

    - Da Der Der
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig

  14. #14
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    110
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Da De Der .. I LOVE YOU lolz ... Thank you soo much!

    So all my questions in find there? Like:

    1) Where can i find HumanTalk script
    2) To typ numbers on my keyboard, I need to hold SHIFT, and then typ the number I need. When I autotalk, it doesn't hold SHIFT and typs things like & and é. .. Any ideas how to fix?
    3) Is there an AntiBan function needed for AutoTalk? (I think its HumanTalk)


    Well .. Thats just cool!

  15. #15
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    110
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just 1 thing: How can i understand this things if i never heard of them? ...

    I think i am first going to search at a TUT about all the terms

  16. #16
    Join Date
    Oct 2006
    Location
    England
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Btw for a human like writing procedure ( your first question ) TypeSend is one

  17. #17
    Join Date
    Oct 2006
    Location
    Kentucky
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SRL Manual...Couple hours with that and you'll be ready to go!

    C:\Program Files\SCAR 2.03\SRL Docs

    Thats what helped me understand SRL!
    Hope I helped
    If I see you autoing with level 3/default clothes/crap name I WILL report you. Auto Correctly. - put this in your sig

  18. #18
    Join Date
    Nov 2006
    Location
    Belgium
    Posts
    110
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @ arr0w = Kewl! then I just used humantalk thanks !
    @ drowningtrout = Yea, m0u53m4t allready told me, first I am going to try Digger's TUT .exe, and then, with that info, i 'll try the SRL manual

    ~Thanks to everyone who posted here! ~

  19. #19
    Join Date
    Jun 2006
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I use the SRL manual for everything. I always use the search for whatever I need.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 02-06-2009, 04:18 AM
  2. focus on runescape window
    By jir0n in forum OSR Help
    Replies: 2
    Last Post: 12-24-2007, 06:43 PM
  3. Replies: 3
    Last Post: 10-21-2007, 10:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •