Autocaster for sts

Discussion in 'Archives' started by secksi i am, Jun 11, 2007.

Autocaster for sts
  1. Unread #1 - Jun 11, 2007 at 12:39 PM
  2. secksi i am
    Referrals:
    0

    secksi i am Guest

    Autocaster for sts

    Does anyone have the java code or the file for the autocaster in sts?

    It has to be implented into the actual bot because sts doesnt include anything to support autocasting or autocatching.

    if so pm me or post please :D

    this is for dueling btw, not vs npcs.
     
  3. Unread #2 - Jun 12, 2007 at 4:52 AM
  4. Pet rock
    Referrals:
    0

    Pet rock Guest

    Autocaster for sts

    Disect the Macro_Automager script, in the scripts folder.
     
  5. Unread #3 - Jun 12, 2007 at 6:32 AM
  6. secksi i am
    Referrals:
    0

    secksi i am Guest

    Autocaster for sts

    You cant, STS doesnt have the commands built in to mage vs players

    Code:
    /** Player Functions **/
    int[] GetPlayerByName(String name) - returns the index, x-coord and y-coord as an array
    int CountPlayers() - returns the amount of players near you
    int PlayerX(int index) - returns the given players x-coord
    int PlayerY(int index) - returns the given players y-coord
    String PlayerName(int index) - returns the given players name
    void TradePlayer(int index) - trade a player based on their index
    boolean InTradeScreen1() - returns true when in the first trade screen
    boolean InTradeScreen2() - returns true when in the second trade screen
    void AcceptTrade1() - accepts the first trade screen
    void AcceptTrade2() - accepts the second trade screen
    boolean MyTrade1Accepted() - returns true if you have accepted the first trade screen
    boolean MyTrade2Accepted() - returns true if you have accepted the second trade screen
    boolean OpponentTradeAccepted() - returns true if your opponent has accepted the trade
    void DeclineTrade() - declines the trade
    void OfferItems(int items[], int amount[]) - set which items are in the trade window
    void AddToOffer(int item, int amount) - add items into the trade window
    int[] GetOpponentTradeItems() - returns an array containing the ids of the items offered in trade
    int[] GetOpponentTradeAmounts() - returns an array containing the amounts of the items offered in trade
    boolean IsOffered(int id, int amount) - returns true if the amount (or more) of the given id is being offered in trade
    String GetTradeOpponentName() - returns the name of the person your trading with
    
    Thats all the commands implemented into STS.

    And here when you run the SBOT emulator script it says this:

    Code:
        {
            ShowMessage("@gre@SBoT Emulator script for STS, by Reines. @whi@Alot of player related commands are not supported, as STS doesn't support ACing etc. @or3@Important: @or1@UseOnObject(int x, int y, int item) @whi@in SBoT scripts must change to @or1@UseOnObject(int item, int x, int y)@whi@!");
            macros.clear();
            File f = new File(System.getProperty("user.dir") + "/SBoT/");
            if(!f.exists())
               f.mkdir();
            String[] files = f.list();
            for(int i = 0; i < files.length;i++) // Lets rip this from SBoT as its the easiest way to make sure we emulate it as closely as possible
            {
    Any help is much appreciated.
     
  7. Unread #4 - Jun 12, 2007 at 9:43 AM
  8. Talib123
    Referrals:
    0

    Talib123 Guest

    Autocaster for sts

    can someone post a script or a link for an auto caster for camelot teleport?? Thx

    btw have to work with sts
    Thx
     
< Selling Range Pure Names! No Numbers!! | Buying 6 Mil! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site