Results 1 to 21 of 21

Thread: Attempting so miserably to Make a working script for CA.

  1. #1
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default Attempting so miserably to Make a working script for CA.

    Sept 10.08 EDIT

    I am attempting to create an auto player for combat arms, and keep running into run time errors. I routinely check my own progress, and little annoyed when SRL can't follow this part of the progress. I Think i've done it right, but help?

    I wanted to go make this script log the person in and out of the game every little while to join battles and just shoot (as I have no knowledge as to how to make them move, or know how to move). To get GP. Leave lobby when players are few, and rejoin another preset random server. Soo... Help? >.<
    So.. Help?


    SCAR Code:
    procedure LobbyTime;
    begin
      If not(findcolor(x,y,QuickJoin,0,0,1500,1000))then
      begin
        If(findcolor(x,y,Full,0,0,1500,1000))then
        MoveMouseSmoothEx(x,y,20,20,70,25,7);
        ClickMouse(x,y,true);
        wait(23+random(7));
        ClickMouse(x,y,true);
      end else
        writeLn('Cannot Find A Full Server, Going to look for Busy');
        begin
          If(findcolor(x,y,Busy,0,0,1500,1000))then
            MoveMouseSmoothEx(x,y,20,20,70,25,7);
            ClickMouse(x,y,true);
            wait(23+random(7));
            ClickMouse(x,y,true);
        end else
            writeLn('Cannot Find A Busy Server, Going to look for Moderate');
            begin
              If(findcolor(x,y,Moderate,0,0,1500,1000))then
              MoveMouseSmoothEx(x,y,20,20,70,25,7);
              ClickMouse(x,y,true);
              wait(23+random(7));
              ClickMouse(x,y,true);
            end else
              writeLn('Cannot Find A Moderate Server, Going to look for Low');
              begin
                If(findcolor(x,y,Low,0,0,1500,1000))then
                MoveMouseSmoothEx(x,y,20,20,70,25,7);
                ClickMouse(x,y,true);
                wait(23+random(7));
                ClickMouse(x,y,true);
              end else
                writeln('Cant Find a server');
              end;
            end;
          end;
        end;
      end;
    end;

  2. #2
    Join Date
    Apr 2007
    Location
    Here
    Posts
    109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I routinely check my own progress, and frustrated when SRL kept telling me "semicolon expected" and don't specify where. i looked and re looked. Looked fine.
    Code:
    MoveMousesmooth(x+319+random(5),y-88+random(5));
    ClickMouse(x+319,y-88,true);
    Writeln('Waiting 5 seconds for Starting lobby screen')
    wait(5000);
    I don't know if this is it or not but there is a semicolon missing right there...

  3. #3
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You dont have a main loop, you put the procedures you make into a main loop without anything like function or procedure, and it has begin and end. with a period at the very end of your script, im pretty sure thats your problem.

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, California
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yea as sirlaughsalot said you need a loop, also just a begin(loop) end. if you put a ";" instead of a period than it'll give errors.

    kinda on/off topic? but I play too if you wana play together sometime PM me your name.

    Good idea, I was about to make one
    Current Project: All In 1 Falador Script - 20% DONE

  5. #5
    Join Date
    Mar 2006
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    dont use click mouse , will definitely get you banned.



    Dont Steal..

  6. #6
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by SubiN View Post
    dont use click mouse , will definitely get you banned.
    Isn't rs is it?
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  7. #7
    Join Date
    Jul 2008
    Posts
    907
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeah you sorta need to learn begginers before intermediate dude...cos you haven't taken it in


  8. #8
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Lol yes I should go back to learning. And loops. I kinda just want to cheat my way through then realised I dont have the complete skills to get myself cheating.


    So. If click mouse doesn;t work, what does?

  9. #9
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    mouse =p
    Blank!

  10. #10
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Mouse(xLocation, yLocation, randomX, randomY: integer; clickLeft: boolean);

  11. #11
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Oh wow. I always thought it was something like MMouse. But anyways, I need to finish the tuts =)

  12. #12
    Join Date
    Mar 2008
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mrpickle View Post
    Oh wow. I always thought it was something like MMouse. But anyways, I need to finish the tuts =)
    Mouse clicks, MMmouse (move mouse) doesnt

  13. #13
    Join Date
    Sep 2008
    Posts
    194
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by SubiN View Post
    dont use click mouse , will definitely get you banned.
    No this isnt runescape
    Quote Originally Posted by TheVoiceInYourHead View Post
    SCAR Code:
    Mouse(xLocation, yLocation, randomX, randomY: integer; clickLeft: boolean);
    No he doesnt want mouse because it moves to slow, I assume hes using it as an Aimbot so he would want it to move fast....

  14. #14
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Then he can change MouseSpeed.

  15. #15
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Aim bot sure. I'm taking pictures in game and is going to put them all together. I will try and make bot go 15% at head, 60% at body, and 25% at limbs. Not sure how I'll do that, but need to finish tuts. School is holding me back xD.

    I also do want to ask, is it possible to make SCAR move characters around with the directional buttons? and make it move and respond with the environment? If so, How the heck is a beginner going to work that out (More tuts NEEDED!!! How to make Scar respond to 3D environment properly.)?

  16. #16
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    How come "end else" or "else" is not working here? ( I might need stepping stones all the way till this is finished xD).


    SCAR Code:
    procedure LobbyTime;
    begin
      If not(findcolor(x,y,QuickJoin,0,0,1500,1000))then
      begin
        If(findcolor(x,y,Full,0,0,1500,1000))then
        MoveMouseSmoothEx(x,y,20,20,70,25,7);
        ClickMouse(x,y,true);
        wait(23+random(7));
        ClickMouse(x,y,true);
      end else
        writeLn('Cannot Find A Full Server, Going to look for Busy');
        begin
          If(findcolor(x,y,Busy,0,0,1500,1000))then
            MoveMouseSmoothEx(x,y,20,20,70,25,7);
            ClickMouse(x,y,true);
            wait(23+random(7));
            ClickMouse(x,y,true);
        else
            writeLn('Cannot Find A Busy Server, Going to look for Moderate');
            begin
              If(findcolor(x,y,Moderate,0,0,1500,1000))then
              MoveMouseSmoothEx(x,y,20,20,70,25,7);
              ClickMouse(x,y,true);
              wait(23+random(7));
              ClickMouse(x,y,true);
            end else
              writeLn('Cannot Find A Moderate Server, Going to look for Low');
              begin
                If(findcolor(x,y,Low,0,0,1500,1000))then
                MoveMouseSmoothEx(x,y,20,20,70,25,7);
                ClickMouse(x,y,true);
                wait(23+random(7));
                ClickMouse(x,y,true);
              else
                writeln('Cant Find a server');
              end;
            end;
          end;
        end;
      end;
    end;

  17. #17
    Join Date
    Apr 2008
    Location
    Minnesota, USA
    Posts
    279
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol your names mrpickle...sorry i had to say that.
    But yeah im not a very good scripter and not very good at scripts my mains had 2 10 day bans so i think im done lol.

    but i was gonna ask what type of game is CA
    Currently Working on: Runite Miner W/ World Hop (Fally) 80% complete

    Next: Advanced Gnome Agility Course!

  18. #18
    Join Date
    Feb 2007
    Location
    @ SRL
    Posts
    402
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mrpickle View Post
    Aim bot sure. I'm taking pictures in game and is going to put them all together. I will try and make bot go 15% at head, 60% at body, and 25% at limbs. Not sure how I'll do that, but need to finish tuts. School is holding me back xD.

    I also do want to ask, is it possible to make SCAR move characters around with the directional buttons? and make it move and respond with the environment? If so, How the heck is a beginner going to work that out (More tuts NEEDED!!! How to make Scar respond to 3D environment properly.)?

    I'm guessing it's a first person shooter (like Counter-Strike).
    If it is, then good luck, taking bmps of the heads, bodys and limbs wont help you at all, because they change shape so often.

    And for a beginner, this would be very hard, even for an advanced scripter that would be very hard.

    All I can say is, good luck it with
    The game has an unexplainable attraction that convinces the player they are having fun, despite the fact that all they are doing is performing repetitive tasks to increase their statistics. "The game is actually a graphical nightmare and its gameplay is simple at best. Yet something, perhaps by subliminal means, forces the player - against his will - to play the game, and to believe that they are having fun".

  19. #19
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    CA I'm using as short term for combat arms. Here's a screen shot from google.


    ----------------------------------------------------------------------------
    I need help with the scripts. Why is my first post (edited) not working?? =\.

  20. #20
    Join Date
    Oct 2007
    Posts
    302
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    scar won't work with this btw, last time i checked scar doesn't work with full screen progs...

    also yea... epic fail, there's probs lots of hacks for it anyways -.-
    Previously known as boxcrop.


  21. #21
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    But no auto player. Lots aim bots, wall hack, player highlight, etc. But no auto player where u just turn it on and sleep.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Error Msg When Attempting to Run Programs
    By footballstud1410 in forum OSR Help
    Replies: 1
    Last Post: 05-13-2008, 07:57 PM
  2. I'm *attempting* to create an autoalcher.
    By Benz in forum OSR Help
    Replies: 5
    Last Post: 12-24-2007, 04:41 AM
  3. Attempting Appeals
    By TheGodfather in forum News and General
    Replies: 10
    Last Post: 05-22-2007, 03:34 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
  •