UFO 19 Report post Posted January 15, 2017 (edited) Any questions or script requests add my Skype Parabot.UFO Credits to @cyanic for help with time running. Hey guys! I've meant to release this for some time, its been sitting haven't touched it. This isn't anything big, just an altar and bones script. It does pretty fast runs between the bank and altar. Maybe someone can get more use of it than me. I mainly made it for those hardcore players. For anyone who knows why the action of objects for sendAction() keeps changing & how to cope around it, send me a pm or on Skype. Thanks. The time ran for the paint was bugged, not sure if just for me, so i removed for the time being. You can view the github here Instructions: 1.Start at home 2. Enter any valid bone id(debugging inventory ids) 3. Make sure bone is visible in bank(Make sure bone is in first slot if inventory isn't full) 4. Start the script 5. Afk -UFO Edited February 23, 2017 by UFO Quote Share this post Link to post Share on other sites
Lord 353 Report post Posted January 16, 2017 Automatic messageThis topic has been moved from "Parabot > Development" to "Scripts > Parabot > Prayer". Please make sure you post this in the right section Quote Share this post Link to post Share on other sites
cyanic 59 Report post Posted January 16, 2017 10 hours ago, UFO said: Any questions or script requests add my Skype Parabot.UFO Hey guys! I've meant to release this for some time, its been sitting haven't touched it. This isn't anything big, just an altar and bones script. It does pretty fast runs between the bank and altar. Maybe someone can get more use of it than me. I mainly made it for those hardcore players. For anyone who knows why the action of objects for sendAction() keeps changing & how to cope around it, send me a pm or on Skype. Thanks. The time ran for the paint was bugged, not sure if just for me, so i removed for the time being. You can view the github here Instructions: 1.Start at home 2. Enter any valid bone id(debugging inventory ids) 3. Make sure bone is visible in bank(Make sure bone is in first slot if inventory isn't full) 4. Start the script 5. Afk -UFO Reveal hidden contents Gz on release ! Few things could add walking to alter && bank; Check if tile is on map or if player is in the bank/alter area Interacting with alter; Use "Item" for bones not menu.sendaction (: Quote Share this post Link to post Share on other sites
UFO 19 Report post Posted January 16, 2017 5 hours ago, cyanic said: Gz on release ! Few things could add walking to alter && bank; Check if tile is on map or if player is in the bank/alter area Interacting with alter; Use "Item" for bones not menu.sendaction (: Thank you for the feedback Cyanic! Walking to and from bank and waiting until tile close enough is located at: https://github.com/UFOSrReal/Parabot/blob/master/AltarRun/tasks/Banking.java#L39 https://github.com/UFOSrReal/Parabot/blob/master/AltarRun/tasks/RunToAltar.java#L36 https://github.com/UFOSrReal/Parabot/blob/master/AltarRun/tasks/BoneOnAltar.java#L22 & checking if altar is 4 tiles or closer Maybe i misunderstood what you meant. Also! I originally used Item.option. But almost all options wouldn't work for using the bone on altar, it selects the bone in inventory, and clicks altar but no success. Any ideas? Quote Share this post Link to post Share on other sites
Domantas1 50 Report post Posted January 16, 2017 2 hours ago, UFO said: Thank you for the feedback Cyanic! Walking to and from bank and waiting until tile close enough is located at: https://github.com/UFOSrReal/Parabot/blob/master/AltarRun/tasks/Banking.java#L39 https://github.com/UFOSrReal/Parabot/blob/master/AltarRun/tasks/RunToAltar.java#L36 https://github.com/UFOSrReal/Parabot/blob/master/AltarRun/tasks/BoneOnAltar.java#L22 & checking if altar is 4 tiles or closer Maybe i misunderstood what you meant. Also! I originally used Item.option. But almost all options wouldn't work for using the bone on altar, it selects the bone in inventory, and clicks altar but no success. Any ideas? Use item to select bone and then use Menu.sendAction to click the altar , this is what I use in my script. i.interact(Items.Option.USE); Menu.sendAction(62,1080449603,67,52); Quote Share this post Link to post Share on other sites
UFO 19 Report post Posted January 16, 2017 1 minute ago, Domantas1 said: Use item to select bone and then use Menu.sendAction to click the altar , this is what I use in my script. i.interact(Items.Option.USE); Menu.sendAction(62,1080449603,67,52); sendAction values change for the altar, thats why i put three. It switched between these three in the time period of testing. Any way to cope with that? https://github.com/UFOSrReal/Parabot/blob/master/AltarRun/tasks/BoneOnAltar.java#L42 Quote Share this post Link to post Share on other sites
Domantas1 50 Report post Posted January 16, 2017 1 hour ago, UFO said: sendAction values change for the altar, thats why i put three. It switched between these three in the time period of testing. Any way to cope with that? https://github.com/UFOSrReal/Parabot/blob/master/AltarRun/tasks/BoneOnAltar.java#L42 It should still work though? Quote Share this post Link to post Share on other sites
UFO 19 Report post Posted January 16, 2017 6 minutes ago, Domantas1 said: It should still work though? Doesn't, it clicks but not with "Use bone one". Just clicks the altar. Quote Share this post Link to post Share on other sites
UFO 19 Report post Posted January 20, 2017 Update 1.1 Fixed time running Thanks to @cyanic for time code! Quote Share this post Link to post Share on other sites
UFO 19 Report post Posted February 25, 2017 Any suggestions or questions about my script pm me on here or on slack! I will be updating all of my scripts to BDN over the next few days! Update 1.2 Added script to BDN here : http://bdn.parabot.org/scripts/script.php?s=1000149-UFOS-Altar-Run Enjoy, UFO Quote Share this post Link to post Share on other sites