Results 1 to 10 of 10

Thread: Fight Caves Trainer!

  1. #1
    Join Date
    Apr 2006
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Fight Caves Trainer!

    SCAR Code:
    // ----------------------------------
    // TZHAAR FIGHT CAVES TRAINER v1.1
    // ----------------------------------
    // Created by QQu (my first script in a very, very long time)
    // Some code (setup/antiban) taken from other scripters!

    // v1.1 : Proggie report modified from NKN's Cave Fighter script!
    //      : Fixed up most if not all of the bugs.. should work flawlessly now :)
    //      : Modified some of the code to make it more stable (y)
    //      : INCLUDES BANKING NOW! (just for my own scripting practice)
    //      : INCLUDES FIGHTING MODES!

    // A very simple script which allows the player to train any combat skill by
    // constantly entering the fight cave minigame after they die since no items
    // are lost. This is an effective way of levelling for any combat level since
    // there are monsters of various difficulty.

    // THE SCRIPT CURRENTLY ONLY USES AUTO-RELATIATE TO ENGAGE MONSTERS <--------

    //INSTRUCTIONS
    //--> Start next to the fight cave entrance/bank
    //--> Enter the setup below before running the script

    // WORKS WITH THE NEW SLAYER UPDATE!!! :)
    Last edited by QQu; 07-19-2012 at 08:38 AM. Reason: Updated v1.0->1.1
    Oldgen.

  2. #2
    Join Date
    May 2007
    Location
    England/Liverpool
    Posts
    1,004
    Mentioned
    9 Post(s)
    Quoted
    106 Post(s)

    Default

    Have you tested this out your self yet?

    I'm on my phone atm but what I can see you have no method of moving your mouse after you find the object just clicknouse2. Which only clicks mouse at its current location.
    Glad your making a fight cave runner last one I used was PVH's awhile back.

    I saw a few other things that caught my eye mostly just long waits.

    But anyway you will pick all this back up as I see you've just made a return to these forums so welcome back.

  3. #3
    Join Date
    Apr 2006
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yup it works.. only bug is that it will right click something random and say it has entered the cave and then mess up the counter but it wont get stuck because it will think the player died and will start from the beginning lol. Any clues to fix this up so it will keep repeating until it finds the cave just incase it right clicks something random??

    The long waits are also for running to the center of the arena and also after the player dies just incase it lags or something :/

    Also this might be a noob question and I should be using the search button but is there a quicker way of locating the srl functions instead of looking them up in the simba folder? I couldn't find a glossary or anything so it made it a bit confusing at first.

    Thanks im definately going to make it better! It seemed like an interesting script to make but mainly because im bored training my range so im using this with a sling
    Oldgen.

  4. #4
    Join Date
    May 2007
    Location
    England/Liverpool
    Posts
    1,004
    Mentioned
    9 Post(s)
    Quoted
    106 Post(s)

    Default

    yeah here is the SRL function reference link
    http://docs.villavu.com/srl-5/srlref.html

    also look into timed loops
    Example:
    Simba Code:
    var
    a:Integer;

    MarkTime(a);

     repeat
        wait(1);
     until(somthing)or(TimeFromMark(a) > 10000)

    im still on phone and half way thru my break so after work i will have another look
    Last edited by Mark; 07-18-2012 at 01:33 PM.

  5. #5
    Join Date
    Apr 2006
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    LOL haha awesome thanks! will do.
    Oldgen.

  6. #6
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Surajd, in my script, I have it look for the continue button, that only comes after you enter the cave.

    Simba Code:
    if(ClickContinue(false,false)) then
    begin
      FindCave;
    end;
    There's a little delay when it comes though, so I would add a five second delay or such, as the monsters don't go anyway unless you press it.

  7. #7
    Join Date
    Apr 2006
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks man. I'll check it out! At the moment it's using keydown and keyup for spacebar which is pretty neat and works great but looks a bit amatuer lol.

    Sample lame proggie for 10 cycles:
    SCAR Code:
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 1
    You died :O

    Starting cycle again..
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 2
    You died :O

    Starting cycle again..
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 3
    You died :O

    Starting cycle again..
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 4
    You died :O

    Starting cycle again..
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 5
    You died :O

    Starting cycle again..
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 6
    You died :O

    Starting cycle again..
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 7
    You died :O

    Starting cycle again..
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 8
    You died :O

    Starting cycle again..
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 9
    You died :O

    Starting cycle again..
    Cave entrance found!
    Entering the cave..
    Initiated battle. Good luck :D
    Cycle#: 10
    You died :O

    Starting cycle again..
    Successfully executed.
    Oldgen.

  8. #8
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    USe ClickContinue(True,False)

    That clicks the spacebar when the green continue thing is there.

  9. #9
    Join Date
    Apr 2006
    Posts
    168
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Updated!

    SCAR Code:
    // v1.1 : Proggie report modified from NKN's Cave Fighter script!
    //      : Fixed up most if not all of the bugs.. should work flawlessly now :)
    //      : Modified some of the code to make it more stable (y)
    //      : INCLUDES BANKING NOW! (just for my own scripting practice)
    //      : INCLUDES FIGHTING MODES!

    Sample proggie reports:

    SCAR Code:
    //========== Fight Caves Trainer v1.1 ==========
    //              Created by QQu              
    //Games played : 10 (20 P/H)
    //XP earned    : 6557 (13480 P/H)
    //Total Time   : 29 Minutes and 11 Seconds
    //==============================================

    SCAR Code:
    //========== Fight Caves Trainer v1.1 ==========
    //              Created by QQu              
    //Games played : 20 (12 P/H)
    //XP earned    : 26820 (16392 P/H)
    //Total Time   : 1 Hours, 38 Minutes and 10 Seconds
    //==============================================

    SCAR Code:
    //========== Fight Caves Trainer v1.1 ==========
    //              Created by QQu              
    //Games played : 30 (10 P/H)
    //XP earned    : 40929 (14707 P/H)
    //Total Time   : 2 Hours, 46 Minutes and 58 Seconds
    //==============================================
    Oldgen.

  10. #10
    Join Date
    Apr 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hey reckon you can help me with this? i'm new to this whole botting thing i've set up simba/srl and evertyhing just don't know how to put in these bots.

    add me on skype if you can: james.emp

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
  •