Results 1 to 6 of 6

Thread: auto typer/ trade accepter

  1. #1
    Join Date
    Oct 2006
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default auto typer/ trade accepter

    well this is my first script

    what it does is auto types what u put in, then when it gets a trade offer it goes and accepts the trade, then the script ends

    PHP Code:
    program SpammerTradeAccepter;
    var
    x,yinteger;
    begin
    repeat
     Wait
    (3000+random(500));
     
    sendkeys('Buying Yew Logs 230ea'+chr(13)); //put what you want to type
    if(findcolor(x,y,8388736,78,423,117,427)) then
     begin
      MoveMouseSmoothEx
    (x,y,20,30,35,25,20);
      
    wait(500+random(200));
      
    ClickMouse(x,y,true);
     
    end;
    until(FindColor(x,y,8388736,78,423,117,427));
    end

    heres the updated 1

    SCAR Code:
    program SpammerTradeAccepter;
    {.include SRL/SRL.scar}
    var
    i,o: integer;
    begin
    SetUpSRL;
    repeat
     Wait(3000+random(500));
     TypeSend('Buying dds 70k'); //put what you want to type
    if FindColorSpiral(i, o, 8388736, 78, 423, 117, 427) then
    Mouse(i, o, 20, 1, true);
    until(FindColorSpiral(x, y, 8388736, 78, 423, 117, 427));
    end.

  2. #2
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    460
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use SRL it's much less detectable..



    like for example

    MoveMouseExSmooth ~ swap it to ~ Mouse in SRL
    SendKeys ~ swap it to ~ TypeSend in SRL
    ClickMouse = Never use unless you want to be banned..

    England155
    Varrock gTanner
    Previously known as England155.

  3. #3
    Join Date
    Oct 2006
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i know, but today is my first time scripting, i just got done reading some tuts like 1-2 hours ago

  4. #4
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    its pretty easy to incorporate SRL. also you need to do is put:

    {.include SRL/SRL.scar}

    a line below

    program SpammerTradeAccepter;

    like this:

    SCAR Code:
    program SpammerTradeAccepter;
    {.include SRL/SRL.scar}

    then all you need to do is change some of the functions.

    SCAR Code:
    TypeSend('Buying Yew Logs 230ea');
    Mouse(x, y, 1, 1, true);

    also SRL has a procedure called 'AcceptTrade' that will open the trade screen for you. so you don't have to use your method of opening the trade screen. but you need to put

    {.include SRL/SRL/misc/trade.scar}

    below program SpammerTradeAccepter;

    you could also make the text to type a constant near the top of the script so that when people want to say a different message they don't have to look through the script to find the TypeSend part.

    also i dont know if this is what you want but the script only says one line then waits for a trade then it will stop after the first trade. so you could make it work in a continuous loop by putting a repeat loop before the talking part and a until(false); at the end of the script. you can also make it accept a certain number of trades by adding 1 to a variable and waiting until that variable reaches a certain number.

    Heres an example of what you could do with the new functions:

    SCAR Code:
    program SpammerTradeAccepter;
    {.include SRL/SRL.scar}

    const
      TextToType = 'Buying yews 230 ea';   //put what you want to type
      Times = 5;

    var
      c: integer;

    begin
      repeat
       repeat
        Wait(3000+random(500));
        TypeSend(TextToType);
       until(SomeoneTrades);
       if (SomeoneTrades) then
        begin
         c:=c+1;
         AcceptTrade;
        end;
      until(c>=Times);
    end.

    also why are you posting your scripts is PHP tags?

  5. #5
    Join Date
    Oct 2006
    Posts
    87
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks alot, uhh i did php cause i didnt no what to press lol

  6. #6
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ummmmm0k View Post
    thanks alot, uhh i did php cause i didnt no what to press lol
    if you want an example look at my talker/soundplayer/trade opener at main page (not a section like "first script").
    You also can use things as long as you credit properly
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Auto Typer
    By scissormetimbers in forum First Scripts
    Replies: 12
    Last Post: 08-07-2012, 12:51 PM
  2. My First Auto Typer
    By otoole123 in forum First Scripts
    Replies: 12
    Last Post: 12-07-2007, 11:12 PM
  3. VERY VERY VERY x4 auto typer
    By rs cheata in forum First Scripts
    Replies: 14
    Last Post: 11-25-2007, 04:43 AM
  4. i need help again (not an auto typer)
    By corl455 in forum First Scripts
    Replies: 5
    Last Post: 09-18-2007, 09:08 PM

Posting Permissions

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