Results 1 to 22 of 22

Thread: First Script!

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

    Default First Script!

    Hey guys this is my first ever script so don't laugh :P Its a simple auto talker with nice little waits and stuff. Its pretty good IMO for my first one. I use it to sell stuff with in banks and crap. Well umm please critique me on it =]

    BTW its set up for smart =]

    SCAR Code:
    {______________________________________
    /           Cheese's TalkSmart         \
    |--------------------------------------|
    |Author: The[Cheese]                   |
    |                                      |
    |SRL Version: 415                      |
    |                                      |
    |Description: My First Script! Talk    |
    |    smart with my talker! Random      |
    |    timing makes it much harder to    |
    |    detect!                           |
    |                                      |
    |Usage: Fill out the constants, then   |
    |    go! Its S.M.A.R.T. ready! F2 to   |
    |    stop the script.                  |
    \______________________________________/
    }


    program TalkSmart;
    {.include SRL/SRL/Misc/Smart.scar}
    {.include SRL/srl.scar}

    const
      line1='Hello guys! Im fat!'; //First line of text that will be displayed.
      line2='I like cheese!'; //Second line of text that will be displayed. If you want only one,
                //then make both lines the same thing.
      SmartWorld = 35; // World that S.M.A.R.T. should load.
      Signed = true; // Load signed or unsigned?

    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name :=''; //Name
      Players[0].Pass :=''; //Pass
      Players[0].Nick :=''; //Nickname 3 - 4 Letter's of character's name.
      Players[0].Active :=true; //Dont change this!
    end;
               
    procedure TalkSmartly;
      begin
        TypeSend(line1);
        wait(100 + Random(1000));
        TypeSend(line2);
        wait(100 + Random(1000));
      end;

    procedure SetupSmart;
      begin
        SmartSetupEx(SmartWorld, false, Signed);
        ClearDebug;
        WriteLn('Setting up Smart... Please Hold...');
        Wait(10000 + random(5000));
        SetTargetDC(SmartGetDC);
        While not(SmartReady) do Wait(100);
      end;

    begin
      SetupSRL;
      SetupSmart;
      DeclarePlayers;
      LoginPlayer;
      wait(6000);
      repeat
        TalkSmartly;
      until(isFKeyDown(2));
    end.

    EDIT: Attached a smaller, S.M.A.R.T. free version =]

  2. #2
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Yay, first post!!! Well, it's a first time script so I wont be critical. It looks ok and I like the 'Talk Smartly' as a name for the procedure. It is also good that you included the User, Pass, Nick, Declare players. I am honestly not going to say anything about the S.M.A.R.T... (I hate S.M.A.R.T.) You should include it as an attachment instead of the *[SCAR][SCAR] Lasty you should make a version that doesn't include S.M.A.R.T. for the noobs that cannot romove it them selves.

    Other than that good job

    noidea

  3. #3
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks I'll do that now =]


    why do you hate smart?

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

    Default

    Hm... I should try and use this because if i'm not mistaken; SMART is useless on an autotalker because it blocks your chat messages and clicks while it runs?

    Nava2
    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

  5. #5
    Join Date
    May 2008
    Location
    Your mom's bedroom
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    Hm... I should try and use this because if i'm not mistaken; SMART is useless on an autotalker because it blocks your chat messages and clicks while it runs?

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

  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 alberttai View Post
    Agreed ^
    So... I am right?

    Nava2
    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
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    SMART is useless on an autotalker because it blocks your chat messages and clicks while it runs?

    Nava2
    Kind of. Unless the script trades for you too, it is kind of pointless to run an autotalker (All it'd do is talk, and you wouldn't be able to actually trade, assuming that you'd use this to advertise buying/selling ofc ). You could unblock it if you wanted to trade, but IMO it's just better to use the regular client

    Back ontopic...

    It's a nice script, but everyone knows autotalkers are simple Impress us with a pwnage powerminer/chopper/fisher xD

  8. #8
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    how bout with a VEM and BANKER! :P Im workin on that now! I actualy got it to walk to the mine so far. Its pretttttty nice too

    EDIT: So far I got walking to and from the mine almost flawless! I'm really getting the hang of radial walking =]

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

    Default

    Quote Originally Posted by The[Cheese] View Post
    how bout with a VEM and BANKER! :P Im workin on that now! I actualy got it to walk to the mine so far. Its pretttttty nice too

    EDIT: So far I got walking to and from the mine almost flawless! I'm really getting the hang of radial walking =]
    He said original .

    We have lots of those haha. Try doing something different!

    Nava2
    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

  10. #10
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Umm where did he say original? :P

  11. #11
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I was thinking that too ^


    Nice to see a new member putting an effort into scripting

  12. #12
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks runescapian =] I've really been looking into DTM's and DDTM's and i've learned quite a lot. I'm working on making a DDTM to click inside the mine instead of using a symbol. This way I can get to whatever rocks i need (aka iron, copper, tin... w.e :P) I read this is the way that I think fawk walks to his goblin killer, with those 3 rocks. ANyway suggestions are welcomed =]

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

    Default

    Quote Originally Posted by Runescapian View Post
    I was thinking that too ^


    Nice to see a new member putting an effort into scripting
    Agreed. Now post help on my thread!!!

    and back on topic...

    A varrok east miner shows skill no doubt, just its far from original which is always a plus when you apply... apparently

    Nava2
    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

  14. #14
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well I got something much bigger for when I apply

    Anyway I'm pretty proud of myself right now. I figured out how to make a DDTM, and the first one I made worked on the first try. I'm REALLY close to near perfect walking. I just have one or two more DDTM's to make.

    Heres some questions though:

    Is it safe to use more than 1 DDTM?(Answered)
    Do I need to release DDTM's like I free bmps?(Answered)
    Will it lag if I have more DDTM's even if I release them when I'm done using them?

  15. #15
    Join Date
    Sep 2007
    Location
    Pennsylvania
    Posts
    3,396
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    As long as you release them, I think you'll be OK

  16. #16
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Okay :P I just want to be sure. =]

  17. #17
    Join Date
    Oct 2006
    Posts
    1,211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Update on how my new miner is comming:

    Got nearly all of the walking done and perfected. Only death walk to do. Learned about TPA's and how to use FindColorSpiralTolerance. I made a rock finder and clicker for that. About half of the mining procedure is done. Player setup is almost done. Things are comming along great and I'm learning a lot!

  18. #18
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I hate SMART for two reasons... Just incase some thing happens, for example, you put a capital in your nick name and the script will not find randoms. You have to pause the script, and 'un-block' SMART. Second, on my computer it is very laggy and bumps the CPU work up to 100% Also if some one knows a way of preventing the outragous amout of lagg pm me please.
    thanks
    noidea

  19. #19
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    I hate SMART for two reasons... Just incase some thing happens, for example, you put a capital in your nick name and the script will not find randoms. You have to pause the script, and 'un-block' SMART. Second, on my computer it is very laggy and bumps the CPU work up to 100% Also if some one knows a way of preventing the outragous amout of lagg pm me please.
    thanks
    noidea
    Lol, the NickName part is not S.M.A.R.T.'s fault. It does that on normal RS too...

    And the CPU issue is just Jagex's game. Set SCAR.exe as "High" priority.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  20. #20
    Join Date
    May 2008
    Location
    California
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice autotalker, but remove the S.M.A.R.T. Please 8/10

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

    Default

    how much time do ppl spend
    to work on scripts?
    i was wondering so
    if i have time i wana make one myself

  22. #22
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I know it I set it to High priority it's fine, except I cannot do any thing else on my computer at all. I also know that the nick name is not smarts fault, I was just using as an example... Mabe that my comp was made a few years ago has to do with it lol. 512mb RAM? lol
    Sorry If I sounded rude HY, it wasnt meant to be

Thread Information

Users Browsing this Thread

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

Posting Permissions

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