That FN Ninja
Member
I'm running Windows XP SP2, Java 1.6.0_11, and KoLmafia v13.3.1.
Hi guys. I'm trying to write a ore farming script and am getting closer, but I have a few hang ups. I drew heavily from Nightmist's Barrel.ash for the creation of this script. It's located here.
Basically the script I have will get & equip mining gear and then proceed to click every wall in Itznotyerzitz Mine. Once all walls are gone it will "Find New Cavern", but then it stops.
There are two parts that are not working.
1)
This doesn't seem to be working. The script still tries to click on wall 48 and 39 and all the other #'s that don't correspond to actual walls.
2)
This does effectively change the counter back to 54, however once this happens the script stops mining. I've been trying to figure out how to keep the script mining. Any help would be awesome.
Also after I get this going properly I plan on trying to optimize it a bit. Right now it mines every wall taking 36 adventures in all!! Not extremely effective. I have a few ideas like only mine the top three rows and working with clusters of ore, but any optimization ideas would be very helpful as well!
Hi guys. I'm trying to write a ore farming script and am getting closer, but I have a few hang ups. I drew heavily from Nightmist's Barrel.ash for the creation of this script. It's located here.
Basically the script I have will get & equip mining gear and then proceed to click every wall in Itznotyerzitz Mine. Once all walls are gone it will "Find New Cavern", but then it stops.
There are two parts that are not working.
1)
Code:
if(Counter == 49 || Counter == 41 || Counter == 33 || Counter == 25 || Counter == 17)
{
wall(Counter);
Counter = Counter - 3;
}
This doesn't seem to be working. The script still tries to click on wall 48 and 39 and all the other #'s that don't correspond to actual walls.
2)
Code:
if(Counter == 8)
{
//Find New Cavern (reset mine)
visit_url("mining.php?mine=1&reset=1&pwd");
//Reset counter to 54
wall(Counter);
Counter = Counter + 46;
//for testing
print("Counter is currently set to " + counter + "!");
}
This does effectively change the counter back to 54, however once this happens the script stops mining. I've been trying to figure out how to keep the script mining. Any help would be awesome.
Also after I get this going properly I plan on trying to optimize it a bit. Right now it mines every wall taking 36 adventures in all!! Not extremely effective. I have a few ideas like only mine the top three rows and working with clusters of ore, but any optimization ideas would be very helpful as well!
Last edited: