Yoko
http://forum.yoko.com.ua/

looking for help regarding recall mining
http://forum.yoko.com.ua/viewtopic.php?f=3&t=18220
Page 1 of 1

Author:  Bomberchibbi [ 2018-03-04 18:19:45 ]
Post subject:  looking for help regarding recall mining

Hello all,

I hope that someone who can help me with my problem is still active here :). I have tried the mining script from the top scripts part of the forum (and pretty much every other one) but I am looking for a classic recall miner. The script I am talking about is this one:
http://forum.yoko.com.ua/viewtopic.php?f=15&t=15593

right now it ports you back to the same location and randomly walks to find a yet unmined spot. However I get stuck all the time and would prefer to recall to different locations in different runebooks. In order to achieve this I tried to do the following:

instead of using this part in a static manner:

Code:
var runemina    = 'runebook 9'

Code:
recall('recall '+runemina)


I tried to increase the number by one after each recall:

Code:
var runemina    = 'runebook'

Code:
var slotnumber    = 2

Code:
recall('recall '+runemina + ' ' + slotnumber)


however I can't get it to work, maybe someone here could help me to replace the part of the script where it starts walking with a recall function call that recalls to the next location.
Ideally the logic would be something like this:(pseudo code incomming)

if mining is finished
recall to next location by increasing the runeslot by 1
if resulting runeslot number is greater than 16 (last runeslot)
then use the next runebook and start with the first rune.
if runebook is last mining runebook and last location was the last slot in the final runebook
start over with the first slot of the first runebook

For a totally perfect script it would be great if the method for travelling used weren't recall charges but the teleport button on the respective site that only uses mana and not recall charges. I tried to make something remotely to what I described above but just couldn't manage to do it, so I am hoping for your help guys (trying for two weeks now and I am becoming desperate :) )

best regards

Bomber

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/