Jump to content

progamerz

Scripter II
  • Posts

    3453
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    100%

Everything posted by progamerz

  1. Good job, and for the next time u export the jar don't export the OSBot.jar with it cause it will make it 3MB+ while it can be 50KB or less.
  2. Yup or it will add " " between the accounts i am on windows idk if it would be the same for windows or mac
  3. Nice release good idea. EDIT: tested it out and only has a problem with output of working accounts is that it will make them all go to the same line.
  4. if (BANK_AREA.contains(myPlayer())){ Entity bankbooth = objects.closest(BANK_BOOTH_ID); if(bank.isOpen()){ bank.depositAll(); } if (bankbooth != null){ if(bankbooth.isVisible()){ bankbooth.interact("Bank"); sleep(random(700,800)); } } Now there is no need for Entity bankbooth = objects.closest(BANK_BOOTH_ID); Instead you can simply use the Bank(Api) to open by using: getBank().open(); And the second thing is that the logic is wrong instead you can do: if (BANK_AREA.contains(myPlayer())){ if(bank.isOpen()){ // If bank is opened deposit all bank.depositAll(); } else { // If bank is not opened open it getBank().open(); new ConditionalSleep(5000) { // Conditional Sleep 5000ms untill bank is open. @[member=Override] public boolean condition() throws InterruptedException { return getBank().isOpen(); } }.sleep(); }
  5. Bug: It is doing javelins instead of normal shortbows.
  6. progamerz

    price check

    Price check on training 40 woodcut, 30 smithing, 20 fletching, 35 fishing and 15 herblore from fresh acc with p2p.
  7. Gdk plugin doesn't work This is the logger: [INFO][01/01 10:53:13 AM]: Started script : Perfect Fighter [INFO][Bot #1][01/01 10:53:15 AM]: Loading GUI, low resources = true walk-setting = 1 mac mode = false! [INFO][Bot #1][01/01 10:53:15 AM]: Item definitions loaded: 20799 [INFO][Bot #1][01/01 10:54:12 AM]: Dragon bones [INFO][Bot #1][01/01 10:54:12 AM]: Green dragonhide [INFO][Bot #1][01/01 10:54:12 AM]: Grimy irit leaf [INFO][Bot #1][01/01 10:54:12 AM]: Grimy avantoe [INFO][Bot #1][01/01 10:54:12 AM]: Grimy ranarr weed [INFO][Bot #1][01/01 10:54:12 AM]: Grimy kwuarm [INFO][Bot #1][01/01 10:54:12 AM]: Grimy lantadyme [INFO][Bot #1][01/01 10:54:12 AM]: Grimy dwarf weed [INFO][Bot #1][01/01 10:54:12 AM]: Nature rune [INFO][Bot #1][01/01 10:54:12 AM]: Law rune [INFO][Bot #1][01/01 10:54:12 AM]: Looting rare drop table items ! [INFO][Bot #1][01/01 10:54:12 AM]: "ss_loot_value" changed to "1" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_price_target" changed to "2500" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_world_hop" changed to "1" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_world_hop_count" changed to "2" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_fight_index" changed to "0" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_deathwalk_mode" changed to "1" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_resupply_tile_x" changed to "3093" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_resupply_tile_y" changed to "3492" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_resupply_tile_z" changed to "0" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_dw_equip_slot_0" changed to "Rune_full_helm" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_dw_equip_slot_2" changed to "Amulet_of_glory(1)" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_dw_equip_slot_3" changed to "Dragon_scimitar" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_dw_equip_slot_4" changed to "Red_d'hide_body" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_dw_equip_slot_5" changed to "Anti-dragon_shield" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_dw_equip_slot_6" changed to "Red_d'hide_chaps" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_stop_at_death" changed to "1" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_hop_at_death" changed to "0" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_fight_tile_x" changed to "2982" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_fight_tile_y" changed to "3617" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_fight_tile_z" changed to "0" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_wait_loot" changed to "1" [INFO][Bot #1][01/01 10:54:12 AM]: "bank_mode" changed to "1" [INFO][Bot #1][01/01 10:54:12 AM]: "bank_condition" changed to "No_food_left" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_looting_bag" changed to "0" [INFO][Bot #1][01/01 10:54:12 AM]: Travel choice: (0) from (Walk) [INFO][Bot #1][01/01 10:54:12 AM]: "ss_travel_method" changed to "0" [INFO][Bot #1][01/01 10:54:12 AM]: "ss_alert_pk_attack" changed to "1" [INFO][Bot #1][01/01 10:54:12 AM]: Amulet detected [Amulet of glory(1)], saving... [INFO][Bot #1][01/01 10:54:12 AM]: "ss_my_amulet" changed to "Amulet_of_glory(1)" [INFO][Bot #1][01/01 10:54:12 AM]: Yay! [INFO][Bot #1][01/01 10:54:12 AM]: Banks added: [41] [INFO][Bot #1][01/01 10:54:12 AM]: Floors added: [12] [INFO][Bot #1][01/01 10:54:12 AM]: Scenery added: [2] [INFO][Bot #1][01/01 10:54:12 AM]: Entrances added: [43] [INFO][Bot #1][01/01 10:54:12 AM]: Carpet rides added: [4] [INFO][Bot #1][01/01 10:54:12 AM]: Ships added: [5] [INFO][Bot #1][01/01 10:54:13 AM]: Agility shortcuts added: [10] [INFO][Bot #1][01/01 10:54:13 AM]: Fairy teleport added: [38] [INFO][Bot #1][01/01 10:54:13 AM]: Teleport items added: [36] [INFO][Bot #1][01/01 10:54:13 AM]: Teleport spells added: [12] [INFO][Bot #1][01/01 10:54:13 AM]: Stronghold added [INFO][Bot #1][01/01 10:54:13 AM]: NPC teleports added: [1] [INFO][Bot #1][01/01 10:54:13 AM]: WOOOO VARROCK UPSTAIRS ENABLED, DEADMAN MODE FTW!! [INFO][Bot #1][01/01 10:54:13 AM]: Added al-kharid gate (free) [INFO][Bot #1][01/01 10:54:13 AM]: Added 11500 nodes to graph in [948ms]. [INFO][Bot #1][01/01 10:54:13 AM]: "ss_gdk_mode" changed to "1" [INFO][Bot #1][01/01 10:54:13 AM]: "did_teleport_bank" changed to "1" [INFO][Bot #1][01/01 10:54:13 AM]: "aa_ge_shortcut" changed to "1" [INFO][Bot #1][01/01 10:54:13 AM]: "ss_fz_nearby_npcs" changed to "1" [INFO][Bot #1][01/01 10:54:13 AM]: "ss_clear_loot" changed to "1" [INFO][Bot #1][01/01 10:54:13 AM]: "prayer_flick_mode" changed to "1" [INFO][Bot #1][01/01 10:54:13 AM]: "setup_ready" changed to "1" [INFO][Bot #1][01/01 10:54:14 AM]: "ss_hop_trigger" changed to "0" [INFO][Bot #1][01/01 10:54:14 AM]: "ss_hop_trigger" changed to "0" [INFO][Bot #1][01/01 10:54:15 AM]: "ss_hop_trigger" changed to "0" [INFO][Bot #1][01/01 10:54:16 AM]: "ss_hop_trigger" changed to "0" [INFO][Bot #1][01/01 10:54:16 AM]: "ss_hop_trigger" changed to "0" [INFO][Bot #1][01/01 10:54:17 AM]: "ss_hop_trigger" changed to "0" [INFO][Bot #1][01/01 10:54:17 AM]: "ss_hop_trigger" changed to "0" [INFO][Bot #1][01/01 10:54:18 AM]: "ss_hop_trigger" changed to "0" [INFO][Bot #1][01/01 10:54:19 AM]: "ss_hop_trigger" changed to "0" [INFO][Bot #1][01/01 10:54:19 AM]: "ss_hop_trigger" changed to "0"
  8. Sometimes it bugs out trying to enable run just spam click the run orb: Logger: [DEBUG][12/30 01:42:45 AM]: Loading script id : 886 [DEBUG][12/30 01:42:47 AM]: Loaded script! [DEBUG][12/30 01:42:47 AM]: Launching script... [INFO][Bot #1][12/30 01:42:47 AM]: Loaded 5 built-in random solvers! [INFO][Bot #1][12/30 01:42:47 AM]: ====================================================================== [INFO][Bot #1][12/30 01:42:47 AM]: Welcome to [APA Sand Crabs] by [Apaec]. You are currently running Version [2.0]. [INFO][Bot #1][12/30 01:42:47 AM]: ====================================================================== [INFO][12/30 01:42:47 AM]: Started script : APA Sand Crabs [INFO][Bot #1][12/30 01:43:00 AM]: APA Sand Crabs - Registered Random Movement event: Camera move [INFO][Bot #1][12/30 01:43:00 AM]: APA Sand Crabs - Registered Random Movement event: Mouse move [INFO][Bot #1][12/30 01:43:00 AM]: APA Sand Crabs [Tab 1] Sipping: Combat potion(4) [INFO][Bot #1][12/30 01:43:01 AM]: APA Sand Crabs [Tab 1] Sipping: Combat potion(4) [INFO][Bot #1][12/30 01:43:24 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:25 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:26 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:26 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:27 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:28 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:28 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:29 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:31 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:32 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:33 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:33 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:34 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:34 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:35 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:36 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:37 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:38 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:39 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:40 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:40 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:41 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:42 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:42 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:42 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:43 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:44 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:45 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:47 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:47 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:48 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:49 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:49 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:51 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:51 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:52 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:52 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:53 AM]: APA Sand Crabs [Tab 1] Enabling run [INFO][Bot #1][12/30 01:43:53 AM]: APA Sand Crabs [Tab 1] Enabling run
  9. Easy solution would be recounting the bones in inventory and storing it to a int on every loop.
  10. Enjoy doing your first script!
  11. Oh i didn't know u didn't have it in onPaint() anywayz good job
  12. Oh should have been formatTime(runTime) Sorry was my bad or something.
  13. I didn't find a suggestion template, but what is my suggestions is that after running from pker it would maybe switch worlds? Thank you
  14. Add this method: public final String formatTime(final long ms){ long s = ms / 1000, m = s / 60, h = m / 60; s %= 60; m %= 60; h %= 24; return String.format("%02d:%02d:%02d", h, m, s); } Taken from the OP. now in place of startTime, put formatTime(startTime) And it should work well.
  15. stop(boolean to logout) Example: stop(true) To logout and stop the script API: http://osbot.org/api/org/osbot/rs07/script/Script.html#stop--
  16. i checked it and i am not sure if it contains all the spawns, maybe there could be a hidden one lol
  17. Skeletons Scorpions True....
  18. I am thinking of making a goldfarm which would auto get reqs then do f2p method then auto get bond and etc, that is why i am asking about f2p
  19. Powermine These are always crowded
  20. What is a good location for iron ore in F2P?
×
×
  • Create New...