Yoko

All sides of Injection
It is currently 2024-03-28 21:58:43

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2018-03-04 18:19:45 
Offline

Joined: 2018-03-04 18:00:03
Posts: 2
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited