Skip to content

codex #dreambot

//This bot is capable of doing Fishing wearing your worn items and equipping the items you choose to.
//The bot will also equip the bait you choose to use.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DreamBot.API;
using DreamBot.API.Objects;
using DreamBot.API.Objects.Items;
using DreamBot.API.Objects.Items.Equipment;
using DreamBot.API.Objects.Items.Equipment.Bait;

public class FishingBot : Bot
{
    public FishingBot()
    {
        //Set the name of the bot.
        Name = "FishingBot";
        //Set the bot's priority.
        Priority = BotPriority.Low;
        //Set the bot's status.
        Status = BotStatus.Idle;
        //Set the bot's current task.
        CurrentTask = Task.None;
        //Set the bot's current target.
        CurrentTarget = null;
        //Set the bot's current fishing spot.
        CurrentFishingSpot = null;
        //Set the bot's current bait.
        CurrentBait = null;
        //Set the bot's current fishing rod.
        CurrentFishingRod = null;
        //Set the bot's current fishing spot.
      //code 
    }
    public override void OnStart()
    {
        //Set the bot's status.
        Status = BotStatus.Idle;
        //Set the bot's current task.
        CurrentTask = Task.None;
        //Set the bot's current target.
        CurrentTarget = null;
        //Set the bot's current fishing spot.
        CurrentFishingSpot = null;
        //Set the bot's current bait.
        CurrentBait = null;
        //Set the bot's current fishing rod.
        CurrentFishingRod = null;
        //Set the bot's current fishing spot.
        CurrentFishingSpot = null;
        //Set the bot's current bait.
     //Continue, you're on the right track. 
    }
    public override void OnStop()
    {
       }
    public override void OnTick()
    {
       }
    public override void OnPulse()
    {}
    public override void OnLogin()
    {
    }

    public override void OnLogout()
    {
    }
    public override void OnDisconnect()
    {
    }
    public override void OnDeath()
    {
    }
    public override void OnObjectAction(GameObject obj, GameObjectAction action)
    {
    }
    public override void OnObjectClick(GameObject obj, GameObjectAction action)
    {
    }
    public override void OnObjectMessage(GameObject obj, string message)
    {
    }
    public override void OnObjectSpawn(GameObject obj)
    {
    }

Last update: November 18, 2023
Created: October 12, 2023