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.


    MHTY Script Framework

    Share

    Durka Durka Mahn
    Admin

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

    MHTY Script Framework

    Post  Durka Durka Mahn on 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

    DWB

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

    Re: MHTY Script Framework

    Post  DWB on Sat Jun 13, 2009 1:56 am

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

    BOOM BOOM

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

    Re: MHTY Script Framework

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

    Whats the difference between the old methods then the methods you have added?

    Durka Durka Mahn
    Admin

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

    Re: MHTY Script Framework

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

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

    Silverleafz

    Posts : 25
    Points : 46102
    Reputation : 0
    Join date : 2009-06-19
    Age : 24
    Location : Bilzen

    Re: MHTY Script Framework

    Post  Silverleafz on Fri Jun 19, 2009 9:41 am

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

    Silverleafz

    Posts : 25
    Points : 46102
    Reputation : 0
    Join date : 2009-06-19
    Age : 24
    Location : Bilzen

    Re: MHTY Script Framework

    Post  Silverleafz on 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?
    avatar
    luldespencer

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

    Re: MHTY Script Framework

    Post  luldespencer on 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.

    BOOM BOOM

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

    Walking methods

    Post  BOOM BOOM on 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?
    avatar
    luldespencer

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

    Re: MHTY Script Framework

    Post  luldespencer on 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)

    dashs13

    Posts : 7
    Points : 45826
    Reputation : 0
    Join date : 2009-06-19
    Age : 27
    Location : cali

    Re: MHTY Script Framework

    Post  dashs13 on Fri Jun 19, 2009 6:46 pm

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

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

    Re: MHTY Script Framework

    Post  luldespencer on 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.

    Durka Durka Mahn
    Admin

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

    Re: MHTY Script Framework

    Post  Durka Durka Mahn on 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.

    BOOM BOOM

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

    Re: MHTY Script Framework

    Post  BOOM BOOM on 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.

    maksas

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

    Re: MHTY Script Framework

    Post  maksas on Mon Jul 06, 2009 5:19 pm

    Hi, how to make faster droping than:

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

    What i should write?
    avatar
    RapidShot

    Posts : 2
    Points : 45331
    Reputation : 0
    Join date : 2009-07-17
    Age : 24
    Location : Australia

    Re: MHTY Script Framework

    Post  RapidShot on 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

    Re: MHTY Script Framework

    Post  Sponsored content


      Current date/time is Tue Oct 24, 2017 5:32 am