• Log in or sign up for an account here: https://www.sythe.org/login

Autocaster for sts

  • Thread starter Thread starter secksi i am
  • Start date Start date
S

secksi i am

Guest
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.
 
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.
 
can someone post a script or a link for an auto caster for camelot teleport?? Thx

btw have to work with sts
Thx
 
Runescape Gamblingrunescape gambling
Back
Top