More Human Than You Forums

Hello and welcome to the MHTY Script Series Forums. Please log in or register to post and download our scripts.

We do this to discourage people from downloading the script, thus keeping the amount of people who are using the MHTY series scripts down along with the chance of us getting banned. Sorry for the inconvenience.

Join the forum, it's quick and easy

More Human Than You Forums

Hello and welcome to the MHTY Script Series Forums. Please log in or register to post and download our scripts.

We do this to discourage people from downloading the script, thus keeping the amount of people who are using the MHTY series scripts down along with the chance of us getting banned. Sorry for the inconvenience.

More Human Than You Forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.


+4
Silverleafz
BOOM BOOM
DWB
Durka Durka Mahn
8 posters

    MHTY Script Framework

    avatar
    Durka Durka Mahn
    Admin


    Posts : 75
    Points : 82112
    Reputation : 29
    Join date : 2009-06-10

    MHTY Script Framework Empty MHTY Script Framework

    Post  Durka Durka Mahn Sat Jun 13, 2009 1:05 am

    This is a much better, well documented framework for making scripts.

    First off, how to install it:
    -Download the .zip file
    http://0x098b4a40.webs.com/mhty.zip
    and extract it to *RSBot folder*/Bot/.

    Second, what does it do? What does it come with?
    -This is a few classes that will really help out anyone who wants to script with RSBot. It has much better documentation than RSBot so you can hit CTRL+SPACE in your IDE and actually read what each method does, returns, and what the parameters for each method are.
    -Contains all of my fast dropping methods, walking methods, pathfinding methods, atXXXX methods and more.
    -Extends the Script class so all you have to do is say extends MHTYScript instead of Script.

    To make a script with this new framework:
    Add these lines:
    Code:
    import mhty.*;
    import mhty.path.*;
    import mhty.tilearea.*;
    import mhty.updater.*;
    import mhty.time.*;

    Then when making a script, you should do:
    Code:
    public class MyScript extends MHTYScript
    instead of
    Code:
    public class MyScript extends Script

    Remember that after doing this, you will still have ALL the old methods at your disposal if you wish, plus the ones I added.

    I will probably be added more to this later on.

    Enjoy Smile Any questions, please ask! But before you ask questions, please make sure that you:
    -Read the documentation on whatever it is you are having trouble with
    -You have a firm grasp on the Java Programming language.

    Thanks,
    Durka Durka Mahn
    avatar
    DWB


    Posts : 15
    Points : 81352
    Reputation : 2
    Join date : 2009-06-10
    Age : 36
    Location : P-Town AZ

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  DWB Sat Jun 13, 2009 1:56 am

    nice! good job like always! ELEPHANT FOR YOU! elephant
    avatar
    BOOM BOOM


    Posts : 17
    Points : 81049
    Reputation : 0
    Join date : 2009-06-18
    Age : 113
    Location : World 1337

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  BOOM BOOM Fri Jun 19, 2009 12:16 am

    Whats the difference between the old methods then the methods you have added?
    avatar
    Durka Durka Mahn
    Admin


    Posts : 75
    Points : 82112
    Reputation : 29
    Join date : 2009-06-10

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  Durka Durka Mahn Fri Jun 19, 2009 1:43 am

    They are better and there are ones that I added that aren't even included in RSBot.
    avatar
    Silverleafz


    Posts : 25
    Points : 81307
    Reputation : 0
    Join date : 2009-06-19
    Age : 30
    Location : Bilzen

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  Silverleafz Fri Jun 19, 2009 9:41 am

    Great job, i'm starting scripting, this will help a lot.
    avatar
    Silverleafz


    Posts : 25
    Points : 81307
    Reputation : 0
    Join date : 2009-06-19
    Age : 30
    Location : Bilzen

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  Silverleafz Fri Jun 19, 2009 10:24 am

    How u get these working?

    I just extracted them to my Bot map. Compiled and run a script?
    luldespencer
    luldespencer


    Posts : 101
    Points : 82413
    Reputation : 4
    Join date : 2009-06-19
    Age : 33
    Location : At my Computer.

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  luldespencer Fri Jun 19, 2009 12:12 pm

    Congrats on the New framework. This should be a step closer to making a whole client? I don't really know Java :L

    ~ Lul.
    avatar
    BOOM BOOM


    Posts : 17
    Points : 81049
    Reputation : 0
    Join date : 2009-06-18
    Age : 113
    Location : World 1337

    MHTY Script Framework Empty Walking methods

    Post  BOOM BOOM Fri Jun 19, 2009 2:33 pm

    I saw that their was tilepath and stuff based on walking does that mean that this is a better walking method then the one that came with RSBot?
    luldespencer
    luldespencer


    Posts : 101
    Points : 82413
    Reputation : 4
    Join date : 2009-06-19
    Age : 33
    Location : At my Computer.

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  luldespencer Fri Jun 19, 2009 2:53 pm

    BOOM BOOM wrote:I saw that their was tilepath and stuff based on walking does that mean that this is a better walking method then the one that came with RSBot?

    The frame work is just to connect with rsbot and the commends... I'm pretty sure. The random walks is in the anti-ban that DDM made. I'm not sure if it's on here, but it's on RSBot(Was until DDM left RSBot)
    avatar
    dashs13


    Posts : 7
    Points : 81031
    Reputation : 0
    Join date : 2009-06-19
    Age : 33
    Location : cali

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  dashs13 Fri Jun 19, 2009 6:46 pm

    so how do i get it to work i save it to rsbot/bot folder then what?
    luldespencer
    luldespencer


    Posts : 101
    Points : 82413
    Reputation : 4
    Join date : 2009-06-19
    Age : 33
    Location : At my Computer.

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  luldespencer Fri Jun 19, 2009 7:15 pm

    dashs13 wrote:so how do i get it to work i save it to rsbot/bot folder then what?

    Frame work is only for the Script to work - I'm pretty sure you just put in MHTY config. Although, I may be wrong.


    ~ Lul.
    avatar
    Durka Durka Mahn
    Admin


    Posts : 75
    Points : 82112
    Reputation : 29
    Join date : 2009-06-10

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  Durka Durka Mahn Sat Jun 20, 2009 2:08 pm

    BOOM BOOM wrote:I saw that their was tilepath and stuff based on walking does that mean that this is a better walking method then the one that came with RSBot?

    Yes, it is much better. Feel free to look into the source code of the Framework and use it. I don't mind.
    avatar
    BOOM BOOM


    Posts : 17
    Points : 81049
    Reputation : 0
    Join date : 2009-06-18
    Age : 113
    Location : World 1337

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  BOOM BOOM Sat Jun 20, 2009 11:20 pm

    Durka Durka Mahn wrote:
    BOOM BOOM wrote:I saw that their was tilepath and stuff based on walking does that mean that this is a better walking method then the one that came with RSBot?

    Yes, it is much better. Feel free to look into the source code of the Framework and use it. I don't mind.

    I would like to base my Script around it but I am a little confused.
    avatar
    maksas


    Posts : 1
    Points : 80687
    Reputation : 1
    Join date : 2009-07-06

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  maksas Mon Jul 06, 2009 5:19 pm

    Hi, how to make faster droping than:

    if(isInventoryFull()){
    dropAllExcept(pickaxe);
    return 800;
    }

    What i should write?
    RapidShot
    RapidShot


    Posts : 2
    Points : 80536
    Reputation : 0
    Join date : 2009-07-17
    Age : 30
    Location : Australia

    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  RapidShot Fri Jul 17, 2009 4:07 am

    Nice i will test this out.

    I reckon you could make your own version of RSBot one day.

    Good Luck with everything man.

    Sponsored content


    MHTY Script Framework Empty Re: MHTY Script Framework

    Post  Sponsored content


      Current date/time is Thu Mar 28, 2024 4:12 pm