Jump to content

shaba123

Members
  • Posts

    105
  • Joined

  • Last visited

  • Feedback

    100%

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

shaba123's Achievements

Steel Poster

Steel Poster (4/10)

15

Reputation

  1. See title. Sometimes my script runs fine for ages then it just starts running slow, i don't mean laggy mean like taking ages between actions.
  2. The Callisto bots and revenant bots i see can instantly teleport and switch prayers, 1 tick removing armour to entangle pkers etc but I can seem to replicate that at all. Is osbot just not capable like poopbot? That's where I see all the Callisto / venabstis scripts that have anti PK.
  3. hey this looks great how would i execute the customwebwalk in my script?
  4. How can i execute the customwebwalk from my main class? import org.osbot.rs07.api.map.Position; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(name = "Skeleton", author = "Alek", version = 1.0, info = "", logo = "") public class Main extends Script { CustomWebWalk customWebWalk; @Override public void onStart() { //Code here will execute before the loop is started Position destination = new Position(3144, 3485, 0); // Replace with desired destination coordinates customWebWalk = new CustomWebWalk(destination); customWebWalk.exchangeContext(getBot()); customWebWalk.onStart(); } @Override public int onLoop() throws InterruptedException { if (customWebWalk != null) { execute(customWebWalk); } else { log("Web walk null"); } return 100; //The amount of time in milliseconds before the loop starts over } } Something like this? edit: i got it to execute but in asyncwalkevent class canperformaction is false. private boolean canPerformAction() { // Only allow the actions to start if the map destination is far enough away Position dest = getMap().getDestination(); if (dest == null) return false; int dist = getMap().distance(dest); return dist < 20 && dist > 7; } Im trying to walk to edgeville from grand exchange. Final edit: got it to work
  5. Cant find anything on the api. Would best way to do this is walk then check if my player is still in same position?
  6. I find walkEvent to be quite slow, don't know if im doing something wrong but everytime my character gets to the next position it waits a second before moving to the following position. Not ideal when running from pkers. I need to be able to break form the walk to eat and change prayers etc. I can do this with walkEvent just wondering if possible with walkPath.
  7. if (itemToPickUp.interact("Take")) { lootValue = lootValue + itemValues.get(itemToPickUp.getName()); Sleep.sleepUntil(() -> !itemToPickUp.exists() , 5000); log(lootValue); As you can see after i click take on the grounditem i add the value of the item to my lootvalue integer. The problem is if it clicks the item more than once it will add the value of the item twice. I cant check if the item is in my inventory to add the value because i am using a looting bag. I could add a longer sleep timer to make sure my player reaches the loot before clicking it again but someitmes my player is frozen. Any ideas guys? thanks edit: also another question while iv got you guys, i sleep until !item.exists but that doesnt correctly if there is multiple of the same item on the ground.
  8. Ah brill thank you I have never tried using state so i will get learning thank you Edit: Could you share an example please?
  9. if (api.bank !=null) { try { api.bank.open(); } catch (InterruptedException e) { throw new RuntimeException(e); } } else { api.walking.webWalk(Banks.LUMBRIDGE_UPPER); }
  10. You need to put more information in your main post man. What are the requrements needed to be able to complete all clues? How does it kill falador guards, will it equip my gear to kill them? Clue scroll drop rates from guards?
  11. I have created a gif for you of another problem with the script banking. This is banking tab : https://imgur.com/a/ejV3FE1 This is a gif of script : https://imgur.com/a/frAbEJL Also does script use clan wars portal to regen stats i havent managed to get that far yet
  12. Really? iv had this script 24 hours and had nothing but problems. Please see my previous posts over last 2 or 3 pages. Im also trying to do slayer.
  13. In green dragons mode it doesnt eat to make space to pick up bones, neither does it have the option too. edit: just watching my bot now, i have anti pk mode enabled, i got attacked by a pker and bot just carrys on fighthing dragons., edit2: Bot tried walking to dragons even though i have games neck as travel method. edit3: bot just got killed, it has now walked to port sarim for some reason and trying to board boat over and over even though i dont have money, edit4:gone to do slayer hellhounds in taverly dungeon, bot walking to dungeon cant jump over wall becuase im not 5 agility, should have a failsafe in place for things like this so it doesnt keep trying to hop a wall it cant. edit5: Went and got 5 agility to let the bot resume. It tried walking through dungeon but could get through agate that neeeds a key, bot should check if has key first before spamming to open door. edit6: pot just drinks potions before its even no where near the fight zone. edit7: went downstiars for a drink, came back and charactar was in lumbbridge, script was supposed to bank when out of food. Mabe could add a feature for bot to go back and pick up yourt stuff when it dies. Yeah im out of food and its not banking? Edit8: Took it to bank myself and banked my invent to see if it would regear and walk back to hellhounds. Error pops up saying i dont have lobsters and a dusty key when i do. So i stopped the script and started again and loaded the profile i saved. it withdrew all the items this time? suppose its decided they are there now. But now it doesnt close banking interface just sits there instead of walking to hellhounds. Im gonna have to go to my dr and get a script for xanax if i want to continue trying to use this. edit9: script just died again,. runs out of food then just stays ther doesnt bank.
×
×
  • Create New...