Jump to content

Are is interested to work with me? Al Kharid Warrior


hajar424

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
    }
}
Link to comment
Share on other sites

 

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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