Bunnybun 181 Author Share Posted April 15, 2021 (edited) 4 hours ago, hitmarker1 said: are you still giving out trials for the automation tool? Automated trials are currently available here: https://sdn.dreambot.org/scripts?author=173327 Edited April 15, 2021 by Bunnybun Link to comment Share on other sites More sharing options...
mp5_gravy 1 Share Posted May 12, 2021 (edited) why are the config files .cfg and not just json lol just wondering edit: also it looks like the config files get saved to a random DBFolderCache/tmpDB<randomhash?>/DreamBot/Data/Bun/AutomationToolEarlyAccess Is that actually a random hash? If I want to run a config file on a different computer can I create that same folder with all my config files in it and run it from the quickstart cli with just the name? Can I enter a path in quick start? A little help please Edited May 12, 2021 by mp5_gravy Link to comment Share on other sites More sharing options...
Bunnybun 181 Author Share Posted May 12, 2021 2 hours ago, mp5_gravy said: why are the config files .cfg and not just json lol just wondering edit: also it looks like the config files get saved to a random DBFolderCache/tmpDB<randomhash?>/DreamBot/Data/Bun/AutomationToolEarlyAccess Is that actually a random hash? If I want to run a config file on a different computer can I create that same folder with all my config files in it and run it from the quickstart cli with just the name? Can I enter a path in quick start? A little help please They get saved there when Fresh Start is enabled in DreamBot settings. Most likely I will update all my scripts to save in the Scripts folder in the future, but for now you can move the config file to another folder and then specify a full path in QuickStart. config=../C:/Users/YourUser/DreamBot/config1 Something like this should work for example. Link to comment Share on other sites More sharing options...
mp5_gravy 1 Share Posted May 12, 2021 13 minutes ago, Bunnybun said: They get saved there when Fresh Start is enabled in DreamBot settings. Most likely I will update all my scripts to save in the Scripts folder in the future, but for now you can move the config file to another folder and then specify a full path in QuickStart. config=../C:/Users/YourUser/DreamBot/config1 Something like this should work for example. thank you! Link to comment Share on other sites More sharing options...
mp5_gravy 1 Share Posted May 13, 2021 (edited) Nothing happens when I press duplicate task, which would be extremely useful and save a ton of time, also there's no way to delete conditions, and it seems like you can't set the "or" flag on the last condition you have set, I have to go into the config myself to set it. Also there's a limit of conditions which I guess I can work around by just having separate tasks that can toggle the same flag? also when I try to run another script i get this error: Swing threading error: org.pushingpixels.substance.api.UiThreadingViolationException: Swing component creation must be done on the Event Dispatch Thread. Try wrapping your method in SwingUtilities#invokeLater. at org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities.testComponentCreationThreadingViolation(SubstanceCoreUtilities.java) at org.pushingpixels.substance.internal.ui.SubstanceRootPaneUI.createUI(SubstanceRootPaneUI.java) Edited May 13, 2021 by mp5_gravy Link to comment Share on other sites More sharing options...
Bunnybun 181 Author Share Posted May 13, 2021 9 minutes ago, mp5_gravy said: Nothing happens when I press duplicate task, which would be extremely useful and save a ton of time, also there's no way to delete conditions, and it seems like you can't set the "or" flag on the last condition you have set, I have to go into the config myself to set it. Also there's a limit of conditions which I guess I can work around by just having separate tasks that can toggle the same flag? also when I try to run another script i get this error: Swing threading error: org.pushingpixels.substance.api.UiThreadingViolationException: Swing component creation must be done on the Event Dispatch Thread. Try wrapping your method in SwingUtilities#invokeLater. at org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities.testComponentCreationThreadingViolation(SubstanceCoreUtilities.java) at org.pushingpixels.substance.internal.ui.SubstanceRootPaneUI.createUI(SubstanceRootPaneUI.java) You can delete conditions by selecting them and picking "Remove" at the top of the list. I don't think you need to set the Or flag on the last condition, that should automatically apply to the subsequent one. I can increase the condition limit if that's something you'd like. Not sure what you mean regarding that error. Which script are you trying to run? Link to comment Share on other sites More sharing options...
mp5_gravy 1 Share Posted May 13, 2021 2 minutes ago, Bunnybun said: You can delete conditions by selecting them and picking "Remove" at the top of the list. I don't think you need to set the Or flag on the last condition, that should automatically apply to the subsequent one. I can increase the condition limit if that's something you'd like. Not sure what you mean regarding that error. Which script are you trying to run? Nano Miner and what about duplicating tasks? Will you be adding that behavior? Link to comment Share on other sites More sharing options...
Bunnybun 181 Author Share Posted May 13, 2021 Just now, mp5_gravy said: Nano Miner and what about duplicating tasks? Will you be adding that behavior? Ok, not sure if that's something on my end or the script's end. And yes, I will when I get the chance, ideally I'd like to overhaul the entire tasks view to be node based. Link to comment Share on other sites More sharing options...
mp5_gravy 1 Share Posted May 13, 2021 "children": [ { "uid": "11bf5ce4-e09e-400c-abe5-ccff0a8bce6c", "name": "Does_not_own_mith_pickaxe", "type": "SetTag", "profile": "Required", "data": { "type": "TaskDataSetTag", "tagName": "does_not_own_mith_pickaxe", "toggled": true }, "startConditions": [ { "not": false, "or": false, "type": "HasTag", "data": { "type": "ConditionDataHasTag", "tagName": "can_use_mith_pickaxe" } }, { "not": false, "or": false, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Mithril pickaxe", "comparisonOperator": "EQUALS", "amount": 0 } } ], "stopConditions": [], "children": [ { "uid": "c77d5d0e-aaa4-4080-827d-af375950f385", "name": "Can_afford_mith_pickaxe", "type": "SetTag", "profile": "Required", "data": { "type": "TaskDataSetTag", "tagName": "can_afford_mith_pickaxe", "toggled": true }, "startConditions": [ { "not": false, "or": false, "type": "HasTag", "data": { "type": "ConditionDataHasTag", "tagName": "does_not_own_mith_pickaxe" } }, { "not": false, "or": true, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Uncut ruby", "comparisonOperator": "GREATER_THAN_OR_EQUALS", "amount": 1 } }, { "not": false, "or": true, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Uncut diamond", "comparisonOperator": "GREATER_THAN_OR_EQUALS", "amount": 1 } }, { "not": false, "or": true, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Uncut emerald", "comparisonOperator": "GREATER_THAN_OR_EQUALS", "amount": 1 } }, { "not": false, "or": true, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Uncut sapphire", "comparisonOperator": "GREATER_THAN_OR_EQUALS", "amount": 2 } } ] 2021-05-12 22:21:12 [INFO] Next task: Set Tag - Can_use_mith_pickaxe 2021-05-12 22:21:12 [INFO] Tagged: can_use_mith_pickaxe 2021-05-12 22:21:12 [INFO] cond eX@6b16fcd6 2021-05-12 22:21:12 [INFO] cond e3@4d726208 2021-05-12 22:21:12 [INFO] Tagged: does_not_own_mith_pickaxe 2021-05-12 22:21:12 [INFO] cond eX@49daeb43 2021-05-12 22:21:12 [INFO] cond e3@15f65ee2 2021-05-12 22:21:12 [INFO] Returning to the top of the task tree So something with the or conditions doesn't work, that's the config hierchy I'm using and in this case I have an emerald in my bank Link to comment Share on other sites More sharing options...
mp5_gravy 1 Share Posted May 13, 2021 Just now, mp5_gravy said: "children": [ { "uid": "11bf5ce4-e09e-400c-abe5-ccff0a8bce6c", "name": "Does_not_own_mith_pickaxe", "type": "SetTag", "profile": "Required", "data": { "type": "TaskDataSetTag", "tagName": "does_not_own_mith_pickaxe", "toggled": true }, "startConditions": [ { "not": false, "or": false, "type": "HasTag", "data": { "type": "ConditionDataHasTag", "tagName": "can_use_mith_pickaxe" } }, { "not": false, "or": false, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Mithril pickaxe", "comparisonOperator": "EQUALS", "amount": 0 } } ], "stopConditions": [], "children": [ { "uid": "c77d5d0e-aaa4-4080-827d-af375950f385", "name": "Can_afford_mith_pickaxe", "type": "SetTag", "profile": "Required", "data": { "type": "TaskDataSetTag", "tagName": "can_afford_mith_pickaxe", "toggled": true }, "startConditions": [ { "not": false, "or": false, "type": "HasTag", "data": { "type": "ConditionDataHasTag", "tagName": "does_not_own_mith_pickaxe" } }, { "not": false, "or": true, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Uncut ruby", "comparisonOperator": "GREATER_THAN_OR_EQUALS", "amount": 1 } }, { "not": false, "or": true, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Uncut diamond", "comparisonOperator": "GREATER_THAN_OR_EQUALS", "amount": 1 } }, { "not": false, "or": true, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Uncut emerald", "comparisonOperator": "GREATER_THAN_OR_EQUALS", "amount": 1 } }, { "not": false, "or": true, "type": "HasItem", "data": { "type": "ConditionDataHasItem", "scope": "OWNED", "itemName": "Uncut sapphire", "comparisonOperator": "GREATER_THAN_OR_EQUALS", "amount": 2 } } ] 2021-05-12 22:21:12 [INFO] Next task: Set Tag - Can_use_mith_pickaxe 2021-05-12 22:21:12 [INFO] Tagged: can_use_mith_pickaxe 2021-05-12 22:21:12 [INFO] cond eX@6b16fcd6 2021-05-12 22:21:12 [INFO] cond e3@4d726208 2021-05-12 22:21:12 [INFO] Tagged: does_not_own_mith_pickaxe 2021-05-12 22:21:12 [INFO] cond eX@49daeb43 2021-05-12 22:21:12 [INFO] cond e3@15f65ee2 2021-05-12 22:21:12 [INFO] Returning to the top of the task tree So something with the or conditions doesn't work, that's the config hierchy I'm using and in this case I have an emerald in my bank Also it does not seem to use my buy price filters, I "buyPriceFilters": [ { "match": "Mithril pickaxe", "matchMode": "Equals", "lookupMode": "DEFAULT", "modifierMode": "PLUS_PERCENT", "modifier": 25, "isDefault": false }, And the script is offering 15% less than the asking for price everytime, which happens to be the default sellPriceFilter, so i think you have some variables mixed up there Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now