Jump to content

y2k

Members
  • Posts

    10
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

y2k's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. y2k

    Spells

    Thanks! One reason this is so hard. I put the .interaction() before the .get(parent).getChild(child). Okay thanks I'll put in a check if spell is castable and i think that should be a good fail safe for both so it doesnt get stuck. Thanks Alek Divinty and Botrepreneur. After this I'll stick to writing simpler scripts until i learn more.
  2. y2k

    Spells

    Correct. I don't exactly what I'm doing. I started with it walking to the digsite, worked well. just had some tabs and seeds in my inventory and tested if i get it to click on them, worked well. Then I wanted to practice interacting between inventory and objects outside of the inventory. then tried to use the seeds on herb patches. and steadily grew from there. But since I'm so close to finishing it I skipped ahead and asked for a bit of help. I'd like to learn about interacting with objects that are not in the data base. So the child is the number that comes after the c in the interface debug and the parent is the number after the P (I had P430 c2)? so how do I interact with the child if it is a spell? EDIT: I was wondering why the standard spells were in the api but ancients and lunars were nowhere to be found. I thought you could just add the extra spells to the class, but i probably know nothing about it lol
  3. y2k

    Spells

    So.... i have to kidnap fertile soil's child. Just kidding. Hahaha, I dont exactly know supposed to do with the child of a spell, but i did fix the problem i just set the mouse to move to the magic icon click it then move to the spot where fertile soil is and then interact with the herb patch. Im a super noob at scripting and it does everything on very very very basic level. Thanks though! The more i script the more confused I get, maybe its time to get some fresh air. EDIT: okay so it looks waay too bot-like. How would I interact with the spell? I got P430 and C7 for Im guessing parent and child. interact(java.lang.String... actions) Executes an @link org.osbot.rs07.event.InteractionEvent which attempts to interact with this Interactable with the specified actions (if any). Should i be using this?
  4. y2k

    Spells

    Hello All! I am new to scripting and just want to learn how to use OSbot for odd jobs(E.G. collecting explosive potions from the dig site). So my first script is a simple farming script. iIt can teleport to all five sites, it can collect the herbs and note them, plant herbs seeds, rake weeds and drops them if the bot is slow at planting the seeds and then logs out for set time. The problem I am currently facing is that I want it to be able to run unlimited times E.G. leave it for a week( around 500 seeds planted per week) and not have to check up on the bot. To do this i would need to use the Lunar spell "Fertile soil" but I can't find how to use lunar spells in the api (yes all the teleports are using inventory methods to teleport). Anyways thanks for reading, and hoping for some helpful responses.
×
×
  • Create New...