Jump to content

Are is interested to work with me? Al Kharid Warrior


Recommended Posts

Posted (edited)

NEW TITE: 

Are you interested to work with me? Al Kharid Warrior

 

Hello i am working on my Al kharid warrior bot but i need someone who knows how to use STATES and making a form where you can type food you would like to eat and get from bank.

 

Right now my bot is a bit slower then kwarrior and i would like to improve that

 

My bot can:

    Attack Warrior

    Open doors if there is a warrior inside.

    Show info about Time,Xp and so on...

 

I Wish to:

    Go to Bank for food

    Having a form for the kind of food you would like to get in bank

   Faster or as fast as Kwarrior 

 

gUUJSI5.png

 

Edited by hajar424
Posted

So are you asking for someone to do the work for you? Look up how to use window builder/whatever jframe builder you prefer. Check to see if a warrior is around, and if he is, check if he's reachable, and if he's not reachable open the nearest door.

Look at pugs guide for learning paint, it's on the scripting help section, and I'm sure you can find a snippet on te scripting help forum for banking and walking a path.

Posted

For your GUI, look up JFrame.

For states:

public enum States {
    ATTACK, RUN, BANK
};

public States getState() {
    if (....) {
        return States.ATTACK;
    }
    return States.RUN;
}

public void onLoop() throws InterruptedException {
    switch (getState()) {
        case ATTACK: //Attack
            //code
            break;

        case RUN: //Run
            //code
            break;
        // repeat etc
    }
}
Posted (edited)

 

For your GUI, look up JFrame.

For states:

public enum States {
    ATTACK, RUN, BANK
};

public States getState() {
    if (....) {
        return States.ATTACK;
    }
    return States.RUN;
}

public void onLoop() throws InterruptedException {
    switch (getState()) {
        case ATTACK: //Attack
            //code
            break;

        case RUN: //Run
            //code
            break;
        // repeat etc
    }
}

 I have already made a STAT but i have to improve it, i am not so good at Java

 

And i know JFrame i just dont know how to start with adding a button and implement it to my bot. What i need is someone who have time to just show me how to begin

Edited by hajar424

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...