Jump to content

roguehippo

Members
  • Posts

    157
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by roguehippo

  1. i made my own function to select arceuus reanimation spells based off of a given Spell object. it seems to be working well.
  2. hello, whenever i try to use webwalking and give it an area or position to walk to it just crashes instantly. the area is not null and its even visible when im logged in but it just crashes. here is the code: if(!myPlayer().isMoving()) { log("walking to portal"); walking.webWalk(portalFront); mySleep(50,150); } here is the error report: [ERROR][Bot #1][08/28 05:13:53 PM]: Error in bot executor! java.lang.NoClassDefFoundError: Could not initialize class org.osbot.Prn at org.osbot.rs07.event.WebWalkEvent.<init>(wg:262) at org.osbot.rs07.api.Walking.webWalk(qf:280) at main.walk(main.java:736) at main.onLoop(main.java:119) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(jj:122) at java.lang.Thread.run(Thread.java:745) anyone know what could be going wrong?
  3. the log doesnt output anything related to the casting of the spell unfortunately. is there an easy way to find specific widgets for the spell i need to select? do you think the arceuss spellbook will ever work?
  4. Hello, i am trying to use the arceuss spell book and when i try to summon an ensouled head it never clicks on the spell. i have the spell selected and it tries to click the right spell but i think it is failing due to the option that it needs to interact with is called "Reanimate" instead of "Cast", where it was never expected a spell would use anything other than "Cast". has anyone tried using the arceuss spellbook before? maybe its just a problem with my code but its weird because it finds the right spell so its not a reference problem. here is the code of trying to use the spell: if(magic.canCast(spell)) { if(!magic.isSpellSelected()) { log("attempting to cast spell"); magic.castSpell(spell); mySleep(10,50); } else if(magic.getSelectedSpellName().equals(spell)) { log("spell we want is selected");//delete this eventually item.interact("Reanimate"); mySleep(10,50); } } spell is: spell = Spells.ArceuusSpells.REANIMATE_TROLL; item is: Item = inventory.getItem("Ensouled troll head"); all help is welcome
  5. ahhh i see , that pesky list. thank you for helping and also giving great suggestions! so helpful as always
  6. Hello, so im trying to make a filter that goes through all the npcs and find the one that is within 1 square of me and has a certain name. i think i got most of it right except when i go to use the list that the filter gives me, it says that it is full of "Objects" and not "NPC"s . even though i made the for npc objects. here is the filter object that i made: myFilter = new Filter<NPC>() { public boolean match(NPC obj) { return (myArea.contains(obj) && obj.getName() == "Npc name"); } }; here is where i implement it: List npcs = getNpcs().filter(myFilter); for(NPC n : npcs) { code.... } it says that "Type mismatch: cannot convert from element type Object to NPC" . sorry i dont understand filters too much i thought <NPC> would work, if anyone could help it would be appreciated
  7. i didnt really put too much time into it, maybe some feedback of how it is bad would let me fix it.
  8. i dunno i havent really bought in enough quantity to check but probably a great amount for needing 0 reqs I can actually add some paint to show baskets filled / hr and reupload
  9. Hello everyone, I am thinking about applying for scripter status and decided to show the community what i can do. Here is a script i quickly made to fill baskets! works by any banker npc just have the empty baskets and whatever object you want to fill them with in the bank. includes: easy to use gui all fruit / vegetable options let me know if any bugs are found, thanks! ( I updated with gui of time spent and baskets made) the baskets made / hr will be around 1600 and can profit from like 150k - 300k depending on prices BasketFiller.jar
  10. thanks so much, that cleared up all my problems!
  11. Hello all, I am trying to incorporate alching into a script but I can not seem to get it. I am currently using the getMagic().castSpellOnEntity(Spells.NormalSpells.HIGH_LEVEL_ALCHEMY, item); method. the "item" is gotten through the inventory like so: Item item = getInventory().getItem("item to alch"); but it says that Item cannot be used as an Entity (even though i looked into the api and it seems like Item extends the Entity class so I thought i would be able to turn an inventory into a useable entity.) can anyone guide me in the right direction? should i not use "CastSpellOnEntity" ? thanks
  12. Hello, just wanted to let you know that when using it at the khazard port, after it buys an inventory and banks, it tried to webwalk back to the "Trader Crewmember" but the walking event fails. ERROR][Bot #1][02/27 03:44:26 PM]: Error in bot executor! java.lang.NoClassDefFoundError: Could not initialize class org.osbot.COn at org.osbot.rs07.event.WebWalkEvent.<init>(pf:135) at org.osbot.rs07.api.Walking.webWalk(bp:41) at Main.Main.onLoop(b:579) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(uf:106) at java.lang.Thread.run(Thread.java:745) [INFO][Bot #1][02/27 03:44:41 PM]: Terminating script AIO Shop Buyer... [INFO][Bot #1][02/27 03:44:41 PM]: Script AIO Shop Buyer has exited! here is the log where the walking event failed. thanks for the awesome free script though, works amazingly besides this one thing i found.
  13. came here to say it crashes at khazard have to restart client because it just freezes
  14. thanks, sorry i guess i looked over the fact that i can just check if they are the item i want if i have a list of all items. i feel like this would be exactly what i need but since i am still a bit unfamiliar with streams and how they work i would probably not be able to utilize it correctly. thank you for the constant help with almost all of my posts frostbug you are awesome
  15. Hello, i just wanted to know if it was possible for something to return all the spots in the inventory that contain an item with a certain name in list form. ex:if i had 10 vials in my inventory and i asked for the list for "vial", it would return the 10 corresponding inventory spots.
  16. Great script, thanks for making one! just wanted to let you know that it tries to hop to the 500+ level world even if i dont have the levels.
  17. Hello I was just wondering how i would implement a filter to get the closest npc of a certain type but to make sure it is not ~2 squares away from the npc so that im not crashing someone else's spot as that would look quite botty.
  18. thank you i didnt know this. solved my problem
  19. Hello, i was just wondering how i would initialize a Store variable. after i trade him do i just do 'Store storename = new Store();"? how do i get it to use the correct one
  20. sorry for the late reply but thanks so much! this will definitely come in handy. i saw that but i dont really know how to add like a function like that into my script
  21. roguehippo

    Explv's Walker

    just wanted to comment here saying thanks for the recent map update! i love what you've done with the visuals and gui. keep up the awesome work!
  22. I was just wondering what would be the easiest way to 1. Check if i am autocasting a spell or what i am autocasting. and 2. how to select a spell to autocast. I couldnt really find any premade functions that dealt with the Combat tab in the magic interface.
  23. X_X i knew it was something stupid. thanks guys ;_; its been a while..
×
×
  • Create New...