Results 1 to 18 of 18

Thread: My First Script Auto-Talker Accepts Trades

  1. #1
    Join Date
    Jan 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My First Script Auto-Talker Accepts Trades

    This is my first script and I made the all popular auto-talker. But this one will accept trades, i hope. Feedback is greatly appreciated. I want to know how i can make it better and fix something if anything is wrong with it.

    Update V1.1:
    This is now a SRL script so any mod that feels the urge to move this script, please don't criticize me because this script originally wasn't SRL.

    Update V1.2:
    Now has a main loop and everything that i could find is capitalized. JAD, please make sure i didn't miss anything, or someone else...

  2. #2
    Join Date
    Nov 2006
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nice script for first time i didint trai it but then i have time i tray it nice lines

  3. #3
    Join Date
    Feb 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This SRL?

  4. #4
    Join Date
    Jan 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks hakeris15!
    And no, this isn't an SRL script, yet....

  5. #5
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I like it, but u should make it so i can talk and accept trades at same time.
    Also on line 25 can u explaini to me about the x,y( i mean using them for cordinates)?
    Thank you.

    Check out my auto talker at:
    http://www.villavu.com/forum/showthread.php?t=6101

  6. #6
    Join Date
    Jan 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    diamondhero5, I'm guessing you know very little about scripting when you ask about x and y. X and y are variables, i declared them variables under var on line 15 and 16. In my next update, it will include SRL and so i won't have that in there because SRL already declares x and y variables. It does talk and accept trades at the same time, or maybe you mean keep talking even after it accepts a trade, but you have to be there to trade the items, so i don't really see a point in it and i'm not gonna upgrade as far as to make it trade what it was typing. I'm being pressed for time so the update may take a while

  7. #7
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i know some about scripting i just still dont understand the x,y thing for using them with cordinates
    Also when u r useing sendkeys it wont type it will just blurt it out.
    check out mine.
    SCAR Code:
    //Directions
    //Set what u would like it to say(lines 9-12)
    //Set how long until says next message(line 47)
    //hit play
    //press F12 to stop
    program AutoTalk;

    const
    message1='cyan:selling full rune';
    message2='white:selling full rune';
    message3='Green:selling fulll rune';
    message4='red:selling full rune';

    procedure SendText(text: string);
    var  i: Integer;
    begin
       for i := 1 to Length(Text) do
       begin
         SendKeys(Text[i]);
         Wait(50+random(50));
       end;
       SendKeys(Chr(13));
    end;

    procedure namechange(wstatus :String);
    begin
    status(wstatus);
    GetApplication.Title:=wstatus;
    GetSelf.Caption:=wstatus;
    end;


    procedure nc4(wstatus:String; time:Integer);
    begin
    namechange(wstatus);
    wait(time);
    end;

    procedure Talk;
    begin
    case random(4) of
    0:SendText(message1);
    1:SendText(message2);
    2:SendText(message3);
    3:SendText(message4);
    end;
    wait(2124+random(241));
    end;
    procedure nc(wstatus:String);
    begin
    nc4(wstatus, 250);
    end;

    procedure flashx;
    begin
    nc4('Auto-Talker',200);
    nc4('By Diamondhero5',200);
    nc4('Auto-Talker',200);
    nc4('By Diamondhero5',200);
    nc4('Auto-Talker',200);
    nc4('By Diamondhero5',200);
    nc4('Auto-Talker',200);
    nc4('By Diamondhero5',200);
    nc4('Auto-Talker',200);
    nc4('By Diamondhero5',200);
    end;

    procedure Animate;
    begin
    nc(' ');
    nc('A');
    nc('Au');
    nc('Aut');
    nc('Auto');
    nc('Auto- ');
    nc('Auto-T');
    nc('Auto-Ta');
    nc('Auto-Tal');
    nc('Auto-Talk');
    nc('Auto-Talke');
    nc('Auto-Talker');
    nc('--------------');
    nc('Auto-Talker');
    nc('--------------');
    nc('By Diamondhero5');
    flashx;
    nc4('Auto-Talker - By Diamondhero5',5);
    end;


    procedure ThankYou;
    begin
    writeln('-------Auto-Talker-------')
    writeln('-----by Diamondhero5-----')
    writeln('- I know u will like it -')
    writeln('@@##$$  Thank you  $$##@@')
    writeln('         ENJOY           ')
    end;

    begin
    Animate
    ActivateClient
    Thankyou
    repeat
    Talk;
    until(IsFKeyDown(12))
    end.

  8. #8
    Join Date
    Jan 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    diamond hero, you might wanna stop bragging about your script, i checked out your auto-talker page and you got a lot of help for it, plus i recommend you look at a tut on how to make scripts, and if you made an auto-wcer like you say, you would know how to declare x and y variables or include SRL so you wouldn't have to

    edit: i just looked over your script and you have declared "i" a variable, which i also saw on your topic yesterday, you may want to give credit to the person that gave that to you and it seems like you are having a lil trouble with being accused of stealing that wcer so you may want to figure out how to make your own scripts

  9. #9
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok first of all i made that auto talker but yes i did steal that wc script and i looked on all of the tutorials and none of them explain the x y thing clearly

  10. #10
    Join Date
    Jan 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you can't tell me you got everything else that is basically useless in your auto-talker but couldn't understand how the tut explained x and y and i already said this, you have "i" declared as a variable, so how could you not have gotten it from someone else if you don't understand how to make certain things variables clearly?!

  11. #11
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    omg ur an idiot i know how to make variables i don't know hot to use them with cordinates, i said this like 5 times

  12. #12
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    ZOMG NOOB FLAMING SESSION!

    Heh, rscheater, would you mind if I borrowed your trader? The SRL one doesn't always trade right...
    Interested in C# and Electrical Engineering? This might interest you.

  13. #13
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    diamond.. I wouldn't suggest calling him an idiot since that is rude.. and rscheater, even if he did get a lot of help so what? everybody gets help with there scripts. i have a 300+ line power miner coming out and i got a lot of help with error fixing.. so don't discourage him and tell him that the only reason he has a script is because he had help. only reason he posted it was to show you that he does know the basics of scripting. I'll download your script then edit this post and tell you what i think.

    Edit: what I'd suggest doing is using procedures/functions instead of making just 1 huge main loop. makes script look better, and it helps other people read it and could even make script run better possibly :P and as far as scripting standards go, i would just suggest checking your capitals other then that pretty good first script.

  14. #14
    Join Date
    Jan 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Smartzkid, i don't mind, you can borrow it. I don't mind getting or giving help either but i would at least like for some recognition, i also try to give recognition to the people that help me. Also when he said "check out mine" i considered that bragging and I don't like it when people brag, especially when they are showing off their own script on some else's page that has a script performing the same task, unless he was trying to help and was letting me see his for reference. Thanks a lot JAD i'll edit it tomorrow if i can, tennis is really getting in the way... Also, i don't know that much about functions, i only know procedures. I'll try to add some loops, but it won't include functions, i'll try to find a tut that will help me learn about functions later, again tennis wins for time. I didn't realize that capitals could be that important so i'll work on them.

  15. #15
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sorry if i made u think i was bragging, i was just showing some things that i have that u might want to add...

    sorry

  16. #16
    Join Date
    Jan 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well I'm sorry i thought you were bragging and misunderstood you.

  17. #17
    Join Date
    Feb 2007
    Posts
    71
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    appolgy accepted
    sorry i've been gone so long....
    i've been on sythe

  18. #18
    Join Date
    Jan 2007
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol, same, and mopar and Tennis...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. First Script (auto talker)
    By Scias307 in forum First Scripts
    Replies: 8
    Last Post: 05-06-2008, 12:21 AM
  2. First Script (Auto-Talker)
    By GhostbustThat in forum First Scripts
    Replies: 5
    Last Post: 12-03-2007, 05:02 PM
  3. Replies: 5
    Last Post: 11-23-2007, 08:45 PM
  4. First script Auto talker
    By qwerty5020 in forum First Scripts
    Replies: 1
    Last Post: 11-16-2007, 05:06 AM
  5. Help with auto trade/ auto talker script
    By logik in forum OSR Help
    Replies: 5
    Last Post: 03-16-2007, 11:16 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
  •