Page 2 of 6 FirstFirst 1234 ... LastLast
Results 26 to 50 of 144

Thread: YoHoJo Video Tutorial #1, for ABSOLUTE BEGINNERS!

  1. #26
    Join Date
    Aug 2011
    Location
    Spooner Street
    Posts
    309
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What program did you use for the recording?

    And I'll say it again, nice tut!

  2. #27
    Join Date
    Nov 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    This video helped me out a TON, I really hope you plan on making more of these, especially some runescape tutorials. I made my own script for defend your castle using this guide and it worked GREAT, I'm just having a really hard time making rs scripts...

  3. #28
    Join Date
    Dec 2006
    Posts
    908
    Mentioned
    1 Post(s)
    Quoted
    17 Post(s)

    Default

    Will definitely look into this once i fin school today. Want to start over again

  4. #29
    Join Date
    Nov 2011
    Location
    Turn Around...
    Posts
    528
    Mentioned
    1 Post(s)
    Quoted
    44 Post(s)

    Default

    Thank you for your help This tut was so informative and time for me to start working on my first script lol hehe

  5. #30
    Join Date
    Dec 2011
    Posts
    353
    Mentioned
    3 Post(s)
    Quoted
    8 Post(s)

    Default

    Awesome guide, good voice. It was fun to script this.

  6. #31
    Join Date
    Nov 2011
    Posts
    77
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great tut, I also watched the tut on DTM`s so i might try to make a simple script like an Alcher or Cannonballer

  7. #32
    Join Date
    Nov 2011
    Location
    Sacramento, California
    Posts
    366
    Mentioned
    4 Post(s)
    Quoted
    85 Post(s)

    Default

    Awesome guide! Should be stickied!


    I've had absolutely no experience at all with scripting before, and this definitely made a ton of sense and was a great way to introduce how to script (:

  8. #33
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Very glad you liked it.
    I just uploaded my second tutorial today, this one actually teaches you to script for runescape:
    http://villavu.com/forum/showthread.php?t=69179

    Hope you enjoy this one as well!

  9. #34
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Hey man thanks for the tutorial!
    I built the Slap The Monkey Script just fine but when I get on the first step of the Save The Gold Fish Script I get this error: http://i1196.photobucket.com/albums/...20112-59AM.png
    Something about an error on paraments.. Any Help?
    Last edited by Gushers; 12-14-2011 at 09:07 AM.

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

    Default

    When you take somthing that is hard to do, break it down so people understand it, then you are a master of it!

    GR8 tutorial!!! ill be doing some flash games before ill do scar scripts

    omg thank you!

  11. #36
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    @Gushers you forgot the left/right click parameter
    remember, clickmouse looks like this:
    procedure ClickMouse(x, y: Integer; clickType: Integer):
    Ex: ClickMouse(547, 447, 1);
    (You need either a 1 or 2 as the last parameteter to tell it to either left or right click)

    @Slakan Glad you enjoyed it so much, you are welcome!

  12. #37
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    @Gushers you forgot the left/right click parameter
    remember, clickmouse looks like this:
    procedure ClickMouse(x, y: Integer; clickType: Integer):
    Ex: ClickMouse(547, 447, 1);
    (You need either a 1 or 2 as the last parameteter to tell it to either left or right click)
    Alright man thanks for the reply!
    I have this entered:
    program SaveTheGoldFish;

    procedure StartGame;
    begin
    ClickMouse(330, 533, 1);





    begin
    end.

    And now I get this error (the line with end on it):
    [Error] (13:4): Identifier expected at line 12
    Compiling failed.

  13. #38
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    You need an end after that clickmouse lone. Every begin needs a corresponding end!
    It should look like
    End;

  14. #39
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    You need an end after that clickmouse lone. Every begin needs a corresponding end!
    It should look like
    End;
    Thanks man! I got it. I was trying to compile as I go, but now I release that you can't compile until you have a section finished.

  15. #40
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    One last question. I have this:

    procedure SaveGoldFish;
    var
    x, y:Integer;
    begin
    if FindColorSpiralTolerance(x, y, 1471228, 16, 25, 264, 228, 20); or
    FindColorSpiralTolerance(x, y, 1204732, 16, 25, 264, 228, 20); or
    FindColorSpiralTolerance(x, y, 1003517, 16, 25, 264, 228, 20); then
    begin
    MoveMouse(x, y);
    HoldMouse(x, y, 1);
    MoveMouse(384, 50);
    ReleaseMouse(384, 50, 1);
    end;
    end;

    And I end up with this error: [Error] (20:67): 'THEN' expected at line 19.

  16. #41
    Join Date
    Nov 2011
    Location
    Sacramento, California
    Posts
    366
    Mentioned
    4 Post(s)
    Quoted
    85 Post(s)

    Default

    so I have a couple of questions...

    1) the client won't let me do the alt+enter thing that lets me search the different functions! nothing happens

    2) it keeps on saying Invalid number of parameters at line 13
    Compiling failed. when I try to write "Wait (500)"

    3) for my save the goldfish thing, I first have it scroll down a tad bit, and then preform the startgame procedure. How do I insert all the functions in my main function then?

  17. #42
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by Gushers View Post
    One last question. I have this:

    procedure SaveGoldFish;
    var
    x, y:Integer;
    begin
    if FindColorSpiralTolerance(x, y, 1471228, 16, 25, 264, 228, 20); or
    FindColorSpiralTolerance(x, y, 1204732, 16, 25, 264, 228, 20); or
    FindColorSpiralTolerance(x, y, 1003517, 16, 25, 264, 228, 20); then
    begin
    MoveMouse(x, y);
    HoldMouse(x, y, 1);
    MoveMouse(384, 50);
    ReleaseMouse(384, 50, 1);
    end;
    end;

    And I end up with this error: [Error] (20:67): 'THEN' expected at line 19.

    You know if you put the video to 720p you can see my code clearly and copy it better? Anyways, you need to remove the ;s from the ends of your FindColorSpiralTolerances you don't need those there because you have or's and then's so they don't need ;'s.

    ALSO first thing's first you need better standards (the way in which you format your script)! After each begin there must be two a two space indent! Please take another look at the video and see how I space out my lines properly and try to do it like that! :] Good Luck!

    Quote Originally Posted by sahibjs View Post
    so I have a couple of questions...

    1) the client won't let me do the alt+enter thing that lets me search the different functions! nothing happens

    2) it keeps on saying Invalid number of parameters at line 13
    Compiling failed. when I try to write "Wait (500)"

    3) for my save the goldfish thing, I first have it scroll down a tad bit, and then preform the startgame procedure. How do I insert all the functions in my main function then?
    1) I think I misspoke in the video, the command is ctrl+space, not alt+enter!

    2) Umm, can you show more of the script please? Wait(500) looks just fine, you SHOULD have a ; at the end like Wait(500); but besides that it should be okay. So show the entire script please and I'll find the problem.

    3) Not sure what you are saying? Explain this better/again please.

  18. #43
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    =YoHoJo;862744]You know if you put the video to 720p you can see my code clearly and copy it better? Anyways, you need to remove the ;s from the ends of your FindColorSpiralTolerances you don't need those there because you have or's and then's so they don't need ;'s.

    ALSO first thing's first you need better standards (the way in which you format your script)! After each begin there must be two a two space indent! Please take another look at the video and see how I space out my lines properly and try to do it like that! :] Good Luck!
    Thanks man once again, I got it working! And about the formatting I listened to you when you said it in your video, in Simba it's all pretty and formated but when I pasted it to here it just took away the spaces. Now I'm gonna start with my first RuneScape script, thanks for the wishes of luck!

  19. #44
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by Gushers View Post
    Thanks man once again, I got it working! And about the formatting I listened to you when you said it in your video, in Simba it's all pretty and formated but when I pasted it to here it just took away the spaces. Now I'm gonna start with my first RuneScape script, thanks for the wishes of luck!
    Ohh okay, that's odd. Good that it is though!
    Maybe next time if you post code on the forum put simba tags around it.

    Good luck, how exciting!
    If you didn't already know, I have also made tutorials for runescape scripts too:
    http://villavu.com/forum/showthread.php?t=69179

  20. #45
    Join Date
    Nov 2011
    Location
    Sacramento, California
    Posts
    366
    Mentioned
    4 Post(s)
    Quoted
    85 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post

    1) I think I misspoke in the video, the command is ctrl+space, not alt+enter!

    2) Umm, can you show more of the script please? Wait(500) looks just fine, you SHOULD have a ; at the end like Wait(500); but besides that it should be okay. So show the entire script please and I'll find the problem.

    3) Not sure what you are saying? Explain this better/again please.
    Ctrl + space works! awesome.


    procedure startgame;
    begin;
    MoveMouse (338, 621);
    ClickMouse (338, 621)
    wait (500);
    MoveMouse (453, 591);
    ClickMouse (453, 591);
    wait (500);

    it highlights the first wait and says Invalid number of parameters at line 13 Compiling failed.

    And sorry about my 3rd question earlier, I re-read what I wrote, and I sound really stupid. I was a tad bit rushed :P


    For my save the goldfish script, the first procedure that I wrote down was a procedure to scroll down the browser to a proper spot where the entire game can be seen.

    How to I integrate that procedure into my main function (at the end of the script where we list the procedures to be performed)

  21. #46
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by sahibjs View Post
    Ctrl + space works! awesome.


    procedure startgame;
    begin;
    MoveMouse (338, 621);
    ClickMouse (338, 621)
    wait (500);
    MoveMouse (453, 591);
    ClickMouse (453, 591);
    wait (500);

    it highlights the first wait and says Invalid number of parameters at line 13 Compiling failed.

    And sorry about my 3rd question earlier, I re-read what I wrote, and I sound really stupid. I was a tad bit rushed :P


    For my save the goldfish script, the first procedure that I wrote down was a procedure to scroll down the browser to a proper spot where the entire game can be seen.

    How to I integrate that procedure into my main function (at the end of the script where we list the procedures to be performed)
    Someone else already had the first problem you are having. Read this:
    http://villavu.com/forum/showpost.ph...9&postcount=36
    Basically, you forgot to tell clickmouse to left or right click!

    As for the scrolling. I would just load the page and scroll down myself.
    Because remember, you drag the crosshairs to the game before you start the script/to get coordinates. So dealing with stuff outside of the game doesn't work too well/would mess up your coordinates and stuff. Get it?

  22. #47
    Join Date
    Feb 2009
    Posts
    484
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks for this YoHoJo! Really help me out a lot.

    I'm thinking of starting a project with a friend of mine. A Soul Wars script.

    Do you think it's achievable with colour?

  23. #48
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by lamebungy View Post
    Thanks for this YoHoJo! Really help me out a lot.

    I'm thinking of starting a project with a friend of mine. A Soul Wars script.

    Do you think it's achievable with colour?
    Anything is! Go for it!
    Maybe start a bit more simple though, check out tutorial #2 it's on my youtube channel, and then get the script in #2 working nicely, and then try soul wars!

  24. #49
    Join Date
    Feb 2009
    Posts
    484
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Anything is! Go for it!
    Maybe start a bit more simple though, check out tutorial #2 it's on my youtube channel, and then get the script in #2 working nicely, and then try soul wars!
    Watched part one already today Got my PowerChopper running nicely.

    Downloading part two now.

  25. #50
    Join Date
    Dec 2011
    Location
    Indiana
    Posts
    205
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So I know absolutely next to nothing about computers and my time is somewhat limited yet I still am eager to learn to script. Is this something I can do with a limited schedule and limited computer knowledge?

Page 2 of 6 FirstFirst 1234 ... LastLast

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
  •