Forum Replies Created
-
AuthorPosts
-
Only on one of them though, and neither list works 🙁
Even this one spits out nothing for me and it’s not renamed
https://www.garlandtools.org/db/#list/YPRmVwsA69Neither of these kick out anything for me, which is weird because like I said, I’ve used them before
https://www.garlandtools.org/db/#list/6IWJn33lRi
https://www.garlandtools.org/db/#list/sy0QJvARUSedit – more info –
Chrome Version 71.0.3578.98 (Official Build) (64-bit)
Tried restarting the entire computer to see if it’d change anything, no dice.
Incognito mode made no difference as wellThis is what I have copied on my clipboard, as evidence I’m not pasting wrong hah
var rJob = function(val){ return $(val).find("span.right img.job-icon").attr("src").replace("images/", "").replace(".png", ""); }; var rRecipe = function(val){ return $(val).children("td:eq(0)").children("a:eq(1)").children("span").text(); }; var rNeeded = function(val){ var txt = $(val).children("td:eq(1)").children("span").text(); var val = $(val).children("td:eq(1)").children("input").val(); return val > 0 ? val : txt; }; var rYields = function(val){ return $(val).attr("data-yields"); }; var rCount = function(val){ return Math.ceil(rNeeded(val)/rYields(val)); }; var chapter = function(tableId){ var reagents = $("tbody#"+tableId).children("tr.reagent").not(".success"); reagents.sort(function(a, b){ var lvlA = parseInt( $(a).attr("data-ilvl") ); var lvlB = parseInt( $(b).attr("data-ilvl") ); return (lvlA < lvlB) ? -1 : (lvlA > lvlB) ? 1 : 0; }); for(var i=0; i<reagents.length; i++){ var craftsLater = []; var from = -1; var to = -1 //console.log(reagents.get().map(rRecipe)); $(reagents.get().reverse()).each(function(index){ var itemId = $(this).attr("data-item-id"); var requires = $(this).attr("data-requires").split("&").map(function(value){ return value.split("x")[1]; }); var isCraftable = requires.reduce(function(isCraftable, requireId){ if(!isCraftable) return false; if(craftsLater.indexOf(requireId)>=0){ from = index; to = craftsLater.indexOf(requireId); return false; } return true; }, true); //console.log(rRecipe(this)+":"+(isCraftable?1:0)); if(!isCraftable) return false; craftsLater.push(itemId); }); if(from < 0 || to < 0) break; from = reagents.length-1 - from; to = reagents.length-1 - to; reagents.splice(to, 0, reagents.splice(from, 1)[0]); } var miqo = ""; reagents.each(function(){ miqo += "job("+rJob(this)+")\r\n"; miqo += "recipe("+rRecipe(this)+")\r\n"; miqo += "craft("+rCount(this)+")\r\n"; }); miqo += "//--Section crafts: "+reagents.get().reduce(function(allCount, val){ return allCount+rCount(val); },0)+"\r\n"; return miqo; }; var antiDuplicate = function(miqo){ var dupList = [ ["Kite Shield", 3], ["Goatskin Wristbands", 2], ["Hempen Breeches", 2], ["Copper Ring", 2], ["Lapis Lazuli", 2], ["Brass Ring", 2], ["Silver Ring", 2], ["Garnet", 2], ["Mythril Ring", 3], ["Horn Staff", 8], ["Electrum Ring", 2], ["Honey", 8], ["Horn Fishing Rod", 2], ["Ether", 8], ["Poisoning Potion", 2], ["Paralyzing Potion", 2], ["Blinding Potion", 2], ["Sleeping Potion", 2], ["Silencing Potion", 2], ["Elixir", 7], ["Obelisk", 2], ["Mailbreaker", 2], ["Rampager", 2], ["Boarskin Ring", 2], ["Pearl", 7], ["Astrolabe", 2], ["Rose Gold Earrings", 2], ["Sarnga", 2], ["Mortar", 22], ["Campfire", 2], ["Oasis Partition", 2], ["Manor Fireplace", 2], ["Wall Chronometer", 2], ["Cloche", 3], ["Smithing Bench", 2], ["Manor Harp", 2], ["Wall Lantern", 2], ["Holy Rainbow Hat", 2], ["Reading Glasses", 2], ["Archaeoskin Boots", 3], ["Gaganaskin Gloves", 2], ["Gazelleskin Ring", 4], ["Hedge Partition", 2], ["Wolfram Cuirass", 2], ["Wolfram Gauntlets", 2], ["Wolfram Sabatons", 2], ["Gold Ingot", 2], ["Serpentskin Gloves", 3], ["Orchestrion", 4], ["Camphor", 14], ["Cordial", 2], ["Survival Hat", 2], ["Survival Shirt", 3], ["Survival Halfslops", 2], ["Survival Boots", 2], ["Luminous Fiber", 2], ["Teahouse Bench", 2], ["Oden", 5], ["Near Eastern Antique", 2], ["Coerthan Souvenir", 2], ["Maelstrom Materiel", 2], ["Heartfelt Gift", 2], ["Orphanage Donation", 2], ["Gyr Abanian Souvenir", 2], ["Far Eastern Antique", 2], ["Gold Saucer Consolation Prize", 2], ["Resistance Materiel", 2], ["Sui-no-Sato Special", 2], ["Cloud Pearl", 2], ["Platinum Ingot", 2], ["Griffin Leather", 2], ]; dupList.forEach(function(row){ miqo = miqo.replace(new RegExp("recipe\\("+row[0]+"\\)", "g"), "recipe("+row[0]+", "+row[1]+")"); }); return miqo; }; var scenario = function(){ var miqo = ""; miqo += "//Pre-Requisite Crafting\r\n"; miqo += "solverPreset(recommended)\r\n"; miqo += "nqhq(balanced)\r\n"; miqo += "reclaimOff()\r\n\r\n"; miqo += chapter("PreRequisiteCrafting-section")+"\r\n"; miqo += "//Crafting List\r\n"; miqo += "solverPreset(recommended)\r\n"; miqo += "nqhq(balanced)\r\n"; miqo += "reclaimHQ(50)\r\n\r\n"; miqo += chapter("CraftingList-section")+"\r\n"; miqo += "//Repair\r\n"; miqo += "reclaimOff()\r\n"; miqo += "repair()\r\n"; miqo = antiDuplicate(miqo); //window.prompt("Copy to clipboard: Ctrl+C, Enter", miqo); return miqo; }; console.log(scenario());
Suddenly not seeming to work for me tonight.
Using a list I’ve used in the past, and Chrome , It just outputs nothing to craft//Craft solverPreset(recommended) nqhq(balanced) reclaimOff() //--Section crafts: 0 //Goal solverPreset(recommended) nqhq(balanced) reclaimHQ(50) //--Section crafts: 0 //Repair reclaimOff() repair()
And now after repeated attempts (making new lists / etc), I don’t even get the popup window to copy, just the output in the browser console 🙁
Edit – Using firefox all I could get is
//CraftsolverPreset(recommended)nqhq(balanced)reclaimOff()job(../files/icons/job/ALC)recipe(Natron)craft(4)job(../files/icons/job/GSM)recipe(Gold Ingot, 2)craft(4)job(../files/icons/job/ALC)recipe(Astral Oil)craft(1)job(../files/icons/job/BSM)recipe(High Steel Nugget)craft(9)job(../files/icons/job/GSM)recipe(Koppranickel Nugget)craft(2)job(../files/icons/job/BSM)recipe(High Steel Ingot)craft(9)job(../files/icons/job/ALC)recipe(Persimmon Tannin)craft(1)job(../files/icons/job/GSM)recipe(Azurite)craft(1)job(../files/icons/job/WVR)recipe(Worsted Yarn)craft(4)job(../files/icons/job/GSM)recipe(Palladium Nugget)craft(3)job(../files/icons/job/WVR)recipe(Twinthread)craft(10)job(../files/icons/job/ALC)recipe(Hawk's Eye Sand)craft(17)job(../files/icons/job/ALC)recipe(Veteran Tree Sap)craft(13)job(../files/icons/job/BSM)recipe(Nightsteel Ingot)craft(9)job(../files/icons/job/CRP)recipe(Black Willow Lumber)craft(7)job(../files/icons/job/GSM)recipe(Silvergrace Ingot)craft(2)job(../files/icons/job/LTW)recipe(Ground Sloth Leather)craft(12)job(../files/icons/job/WVR)recipe(True Linen)craft(10)//--Section crafts: 118//GoalsolverPreset(recommended)nqhq(balanced)reclaimHQ(50)job(../files/icons/job/BSM)recipe(Nightsteel Hatchet)craft(1)job(../files/icons/job/BSM)recipe(Nightsteel Pickaxe)craft(1)job(../files/icons/job/BSM)recipe(Nightsteel Scythe)craft(1)job(../files/icons/job/BSM)recipe(Nightsteel Sledgehammer)craft(1)job(../files/icons/job/CRP)recipe(Yamashi Kasa)craft(1)job(../files/icons/job/GSM)recipe(Silvergrace Earrings of Gathering)craft(1)job(../files/icons/job/LTW)recipe(Slothskin Armillae of Gathering)craft(1)job(../files/icons/job/LTW)recipe(Slothskin Necklace of Gathering)craft(1)job(../files/icons/job/LTW)recipe(Slothskin Ring of Gathering)craft(2)job(../files/icons/job/LTW)recipe(Yamashi Tekko)craft(1)job(../files/icons/job/LTW)recipe(Yamashi Zori)craft(1)job(../files/icons/job/WVR)recipe(Yamashi Dogi)craft(1)job(../files/icons/job/WVR)recipe(Yamashi Momohiki)craft(1)job(../files/icons/job/WVR)recipe(Yamashi Obi)craft(1)//--Section crafts: 15//RepairreclaimOff()repair()
- This reply was modified 5 years, 11 months ago by kontu.
Do you have Autostealth checked on the navigation page?
I ran Lyfox’s redscrip farming for about 22 hours this weekend no issue (amongst literally hundreds possibly thousands of hours before that). You can try deleting it and re-importing it as well.
Which version of Miqobot are you using?
EDIT — I just realized – have you unlocked flying in the zones where you are running into a wall? Most of the chapters need flying…
- This reply was modified 5 years, 11 months ago by kontu.
January 10, 2019 at 11:52 pm in reply to: Scenario Chapter randomization | Variables, If statements #10068You download the file, then in Miqobot click the “Share” button, then “Import” and import the file. Please make sure to read through the help forum as it has some really good info
There’s already a cluster scenario in the scenario index
https://miqobot.com/forum/forums/topic/index-scenarios/ -
AuthorPosts