This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api | |
import org.tribot.script.sdk.MyPlayer | |
import org.tribot.script.sdk.query.Query | |
import java.security.MessageDigest | |
import kotlin.math.abs | |
import kotlin.math.cos | |
import kotlin.math.ln | |
import kotlin.math.sqrt | |
import kotlin.random.Random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api | |
import org.tribot.script.sdk.Waiting | |
import org.tribot.script.sdk.input.Keyboard | |
interface RandomMessageProvider { | |
fun getRandomMessage(): String | |
} | |
private val randomMessagePlayerProfile = PlayerBehaviorProfile( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api | |
import org.tribot.script.sdk.* | |
import org.tribot.script.sdk.antiban.Antiban | |
import org.tribot.script.sdk.input.Keyboard | |
import org.tribot.script.sdk.interfaces.Item | |
import org.tribot.script.sdk.query.GameObjectQuery | |
import org.tribot.script.sdk.query.Query | |
import org.tribot.script.sdk.query.WidgetItemQuery | |
import org.tribot.script.sdk.types.Widget |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api.framework.routine.api | |
import scripts.kotlin.api.DepositBoxAction | |
class DepositBoxManager(private val depositBoxAction: DepositBoxAction) { | |
private val logger = Logger("Deposit Box Manager") | |
fun depositAllItems(vararg items: Int): Boolean { | |
return depositAllItems(*items) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api.framework.routine.api.lizardman.shaman | |
import org.tribot.script.sdk.MyPlayer | |
import org.tribot.script.sdk.Skill | |
import org.tribot.script.sdk.query.Query | |
import org.tribot.script.sdk.util.TribotRandom | |
import scripts.kotlin.api.antiban.DistributionParameters | |
import scripts.kotlin.api.antiban.PlayerBehaviorProfile | |
import scripts.kotlin.api.framework.routine.api.Consumable | |
import scripts.kotlin.api.framework.routine.api.Logger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api.framework.routine.api.interfaces | |
import scripts.kotlin.api.framework.routine.api.Consumable | |
interface TribotConsumableManager : ConsumableManager { | |
val consumables: Array<Consumable> | |
override fun checkAll(): Consumable? { | |
for (c in consumables) { | |
if (consume(c)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api.framework.routine.api.interfaces | |
import scripts.kotlin.api.framework.routine.api.Consumable | |
import scripts.kotlin.api.framework.routine.api.Logger | |
interface ConsumableManager { | |
val logger: Logger | |
fun consume(consumable: Consumable): Boolean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api.antiban | |
import org.tribot.script.sdk.MyPlayer | |
import java.security.MessageDigest | |
import kotlin.math.abs | |
import kotlin.math.cos | |
import kotlin.math.ln | |
import kotlin.math.sqrt | |
import kotlin.random.Random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api.framework.routine.api.woodcutting | |
import org.tribot.script.sdk.MyPlayer | |
import org.tribot.script.sdk.painting.Painting | |
import org.tribot.script.sdk.tasks.BankTask | |
import org.tribot.script.sdk.types.WorldTile | |
import scripts.kotlin.api.DepositBoxManager | |
import scripts.kotlin.api.agents.woodcutting.AutomaticAxe | |
import scripts.kotlin.api.canReach | |
import scripts.kotlin.api.framework.routine.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scripts.kotlin.api.framework.routine.api.binary.tree | |
import org.tribot.script.sdk.Options | |
import org.tribot.script.sdk.antiban.Antiban | |
import scripts.kotlin.api.framework.routine.RoutineStatus | |
import scripts.kotlin.api.framework.routine.api.Logger | |
import kotlin.reflect.KMutableProperty0 | |
interface Node { | |
fun execute(): RoutineStatus |
OlderNewer