Page 5 of 6 FirstFirst ... 3456 LastLast
Results 101 to 125 of 144

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

  1. #101
    Join Date
    Dec 2011
    Location
    Berlin
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Sweet job NatureValley feels good doesn't it! You ran it for pretty long too, cool cool!

    Hope you keep following along with my other tutorials and read other people's text tutorials and to see some neat runescape scripts from you in the future!!!
    Do you make some other video tutorials in the soon future? As DTM walking or usage of TPA´s. I love your videos

    I will try to answer all Runescape related questions!

  2. #102
    Join Date
    Mar 2012
    Location
    Australia
    Posts
    625
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Good tutorial, learning heaps, I can't figure out how to get the stupid music to stop on spank the monkey so it is so hard to understand you! But when I do hear you, It's very clear on what to do.
    Bored of playing rs, and bored of botting it, why am i here?

  3. #103
    Join Date
    Apr 2012
    Posts
    127
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    If anyone had trouble with MarkTime/TimeFromMark try this:

    MarkTime(OreCounter);

    repeat
    AntiBan;
    Wait(100);
    If InvCount=PlusOne then begin
    writeln ('Ore obtained');
    end;
    Until (InvCount=Plusone) or (TimeFromMark(OreCounter) > 3000);
    (Put the MarkTime outside of the Repeat->Until loop so that way it accutally counts up, where before it just kept on updating the time so there was no way it reached 3 seconds ^ in this example)

    EDIT: you fix this in video #2
    Last edited by h4x_; 04-29-2012 at 02:24 PM.

  4. #104
    Join Date
    Feb 2012
    Location
    Minneapolis
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Appreciate the video. Hope it'll teach me how to script.

  5. #105
    Join Date
    Feb 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    help please, i tried your video tutorial and my code wont work :-( im a newb you can laugh:/. please tell me where i went wrong, ill love you forever!

    program new;
    {$DEFINE SMART}
    {$i srl/srl.simba}
    {$i srl/srl/misc/paintsmart.simba}
    procedure DeclarePlayers;
    begin
    HowManyPlayers := 1;
    NumberOfPlayers(HowManyPlayers);
    CurrentPlayer := 0;
    players[0].Name := '';
    Players[0].Pass := '';
    Players[0].Active := True;
    end;
    begin
    Smart_Server :=26;
    Smart_Members := False;
    Smart_Signed := True;
    Smart_SuperDetail := False;
    ClearDebug;
    SetupSRL;
    DeclarePlayers;
    LoginPlayer;
    end;
    Procedure; FailSafe(Reason:String);
    Begin;
    Players(currentPlayer).Loc:-Reason;
    Logout;
    Stats_Commitl
    TerminateScript;
    End;
    Function ChopDown:Boolean;
    Var
    SEX, SEY: Integer;
    Begin
    if FindObjCustom(x, y, ['Chop', 'down'], [1582113 , 3953242 , 2109229], 30) Then
    Writeln('found tree, gonna cut... :-)');
    End;

    Begin
    SetupSRL;
    DeclarePlayers;
    / Repeat
    ChopDown;
    Until(false);

    end.

    EDIT:- this is the error code i get :|

    [Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
    [Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
    [Error] (24:4): period ('.') expected at line 23
    Compiling failed.
    Last edited by hypooo; 05-08-2012 at 10:41 PM. Reason: missed a bit

  6. #106
    Join Date
    Apr 2012
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by hypooo View Post
    help please, i tried your video tutorial and my code wont work :-( im a newb you can laugh:/. please tell me where i went wrong, ill love you forever!

    program new;
    {$DEFINE SMART}
    {$i srl/srl.simba}
    {$i srl/srl/misc/paintsmart.simba}
    procedure DeclarePlayers;
    begin
    HowManyPlayers := 1;
    NumberOfPlayers(HowManyPlayers);
    CurrentPlayer := 0;
    players[0].Name := '';
    Players[0].Pass := '';
    Players[0].Active := True;
    end;
    begin
    Smart_Server :=26;
    Smart_Members := False;
    Smart_Signed := True;
    Smart_SuperDetail := False;
    ClearDebug;
    SetupSRL;
    DeclarePlayers;
    LoginPlayer;
    end;
    Procedure; FailSafe(Reason:String);
    Begin;
    Players(currentPlayer).Loc:-Reason;
    Logout;
    Stats_Commitl
    TerminateScript;
    End;
    Function ChopDown:Boolean;
    Var
    SEX, SEY: Integer;
    Begin
    if FindObjCustom(x, y, ['Chop', 'down'], [1582113 , 3953242 , 2109229], 30) Then
    Writeln('found tree, gonna cut... :-)');
    End;

    Begin
    SetupSRL;
    DeclarePlayers;
    / Repeat
    ChopDown;
    Until(false);

    end.

    EDIT:- this is the error code i get :|

    [Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'X' never used at line 256
    [Hint] C:\Simba\Includes\SRL/SRL/core/animation.simba(257:3): Variable 'Y' never used at line 256
    [Error] (24:4): period ('.') expected at line 23
    Compiling failed.
    I'm very inexperienced, and it could be a completely different issue, but you have to change
    Code:
    Begin
      if FindObjCustom(x, y, ['Chop', 'down'], [1582113 , 3953242 , 2109229], 30) Then
    to

    Code:
    Begin
      if FindObjCustom(x, y, ['hop', 'own'], [1582113 , 3953242 , 2109229], 30) Then
    You can't use the first letter.

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

    Default

    hypooo first clean up your standards, and past the code in simba tags.

    Problem is kind of here:
    Simba Code:
    begin
    Smart_Server :=26;
    Smart_Members := False;
    Smart_Signed := True;
    Smart_SuperDetail := False;
    ClearDebug;
    SetupSRL;
    DeclarePlayers;
    LoginPlayer;
    end;

    You can only have
    Begin
    End.
    (Begin outside of a function/procedure and end with a period ONCE in a script (at the end)). You have that chunk of code in the middle of your script.

    Clean up standards, use simba tags, and post again and I can help better.

  8. #108
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great tutorial looking forward into watching the rest of your series!

  9. #109
    Join Date
    May 2012
    Posts
    59
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    This was awesome, you made it very easy to follow and it was nice to see how you go about finding problems like forgetting to declare what mouse button to use, I will work my way though your other tutorials as well. I have already been through a through other tutorials on basic scripting in this section and they are just as helpful.
    Thanks again, looking forward to my first personal script without a tutorial

  10. #110
    Join Date
    Apr 2012
    Location
    St. Louis, Missouri
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    I'm going to follow along with this later on when I have time, but you did made me LOL today,

    "As you can see, the point of this game... is to grab this hand... and spank this monkey."

    Just the way your monotonous voice said that, made me lol hard. But looks great, I can't wait to follow along - thanks a lot !

  11. #111
    Join Date
    May 2012
    Location
    Under the sea
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for the guide! Can you make a guide for RSPS's please? Sorry to bug you but smart doesn't work for RSPS's and I'm looking to make bots on some. Just the basics would be great like walking, and banking?

  12. #112
    Join Date
    May 2012
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you for this great guide! I have never written anything before, even not in other programs. But this just went great! I learned this real fast, and the guide was super easy to understand! Thank you so much, ill take a look at video 2 later!
    Last edited by Bot4Fun; 06-02-2012 at 10:39 AM.
    Sorry if bad english

  13. #113
    Join Date
    May 2012
    Posts
    59
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Hey YoHoJo, you said you started programming for smaller games like spank the monkey and catch the goldfish like we followed you in the tutorial, are there other games you made scripts for?

    If you did, could we have the name of the games so I can go away and try to make a few scripts for them, if not no worry's, I have found 2 that should be ok for me to make scripts for, practice is always good .

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

    Default

    Quote Originally Posted by cadet54 View Post
    Hey YoHoJo, you said you started programming for smaller games like spank the monkey and catch the goldfish like we followed you in the tutorial, are there other games you made scripts for?

    If you did, could we have the name of the games so I can go away and try to make a few scripts for them, if not no worry's, I have found 2 that should be ok for me to make scripts for, practice is always good .
    Curveball:
    http://www.addictinggames.com/sports.../curveball.jsp
    (Try using a repeat until(false) loop to do that)

    Defend Your Castle:
    http://www.xgenstudios.com/game.php?keyword=castle
    (You can develop this pretty far, even have user settings where they can input which addons/powerups they wish to buy)

    You should just move onto RS scripts though, just start with basic power(miner/fisher/cutter) with simple techniques and then learn more advanced ones and develop the script further over time.

  15. #115
    Join Date
    May 2012
    Posts
    59
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Curveball:
    http://www.addictinggames.com/sports.../curveball.jsp
    (Try using a repeat until(false) loop to do that)

    Defend Your Castle:
    http://www.xgenstudios.com/game.php?keyword=castle
    (You can develop this pretty far, even have user settings where they can input which addons/powerups they wish to buy)

    You should just move onto RS scripts though, just start with basic power(miner/fisher/cutter) with simple techniques and then learn more advanced ones and develop the script further over time.
    Wow thanks very much for the reply, hopefully over time I will have a better understanding when developing my own scripts.

  16. #116
    Join Date
    Jun 2012
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lol, spanked the monkey at 6,962 miles per hour and got a score of 30,492 on Save the Goldfish. Thanks for the tut, was really clear and easy to learn from. Can't wait for the next one.

  17. #117
    Join Date
    Jun 2012
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Great vid, impressed with the client being able to play games other than runescape (unlike other bots). Trying my hardest to learn this, your vids help so much!

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

    Default

    It's summer time!
    What better time than now to start leaning how to script?!

  19. #119
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    It's summer time!
    What better time than now to start leaning how to script?!
    Quote Originally Posted by YoHoJo View Post
    It's summer time!
    What better time than now to start leaning how to script?!
    You are such a spammer

    Also shame it is raining here...

  20. #120
    Join Date
    Apr 2012
    Location
    United Kingdom
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So, I finally finished all my exams etc and have spare time to start my own scripting!

    Your video was very clear and concise (although I found out after multiple attempts that it's ctrl+space to bring up the procedure/function box, not ctrl+enter).

    So far, you've made it look pretty simple, can't wait to go through the rest of your videos.

    Also think I'll attempt using what I learnt just from this video to create a simple script for War Of Legends (another Jagex game)

    So, thank you for the great video, a very nice job, and I hope the rest are just as good!
    Last edited by Danza99; 06-25-2012 at 05:10 PM.
    Don't quit. Suffer now, and live the rest of your life as a champion - Muhammad Ali

    Currently learning how to script, whilst in the progress of making a script for War of Legends, as well as a "Hero's Guild Blue Dragon Cannoner"

  21. #121
    Join Date
    Jun 2007
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    Thanks a lot this helped me a lot start my first script!

  22. #122
    Join Date
    Apr 2012
    Location
    Vancouver, BC
    Posts
    291
    Mentioned
    1 Post(s)
    Quoted
    84 Post(s)

    Default

    This is amazing stuff and I have almost finished my 1st script! Gotta say I love the video but having a "transcript" is really handy as well for two reasons:

    1). I cant watch these at work but reading threads is totally ok

    2). You cant "search" for answers in the youtube videos ... but if you had it transcribed we would know what was in the video.

    Cant wait to become a member!

  23. #123
    Join Date
    Apr 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Nice videos! Fully support you bro! Is that all about scripting? Do you think there is any more to learn? I would like to make a magic script. Is there any any websites that include all functions with explanations and their usage?

  24. #124
    Join Date
    Feb 2012
    Location
    UK
    Posts
    909
    Mentioned
    10 Post(s)
    Quoted
    191 Post(s)

    Default

    Quote Originally Posted by botftwww View Post
    Nice videos! Fully support you bro! Is that all about scripting? Do you think there is any more to learn? I would like to make a magic script. Is there any any websites that include all functions with explanations and their usage?
    There is the scripting reference, which you can find here;
    http://docs.villavu.com/simba/referencescript.html
    Solar from RiD.

  25. #125
    Join Date
    May 2012
    Location
    Draynor Willows
    Posts
    498
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Off work for 2 weeks, time to make a real attempt into scripting since my last attempt failed due to having no spare time. :P

Page 5 of 6 FirstFirst ... 3456 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
  •