Perchè su classic questa stringa non funziona nello script di mining sotto il pg? Come devo modificare per minare sotto al pg?
Utilizzavo questa macro:
Ciao Victor, io uso ben due macro per minare: la prima fa 2 click su piccone del cercatore e attiva l'abilità del piccone(osserva rocce) e mette i miniboots( con questa macro cammino avendo già il mirino uscito e cerco i minerali che mi interessano e poi una volta trovato clicco il tile); la seconda è molto semplice, 2click su piccone normale,wait for target e Target last
il targettileoffset effettivamente ha un bug che ho sistemato, ma che devo ancora inoltrare (l'ho notato proprio dopo la tua segnalazione), come macro per Assist posso darti questa:
P.S.: OVVIAMENTE questa funzionerà dopo il prossimo aggiornamento al client. NON subito. (ed è modificabile a piacere)
//those are the directions available
if not listexists 'directions'
createlist 'directions'
pushlist 'directions' 'north'
pushlist 'directions' 'northeast'
pushlist 'directions' 'east'
pushlist 'directions' 'southeast'
pushlist 'directions' 'south'
pushlist 'directions' 'southwest'
pushlist 'directions' 'west'
pushlist 'directions' 'northwest'
endif
//select the packhorse to place ores into
if not @findalias 'PackHorse'
promptalias 'PackHorse'
endif
//select the pickaxe to use for mining
if not @findalias 'Piccone'
promptalias 'Piccone'
endif
//if we are not dead we will do this
while not dead
//get a number from 0 to 7 and save it in alias 'rnd'
random 8
//use the pickaxe and target on your exact location
useobject 'Piccone'
waitfortarget 2000
targettileoffset 0 0 0
//4 sec pause
pause 4000
if counttype 0x19b9 'any' 'backpack' > 0
movetype 0x19b9 'backpack' 'PackHorse'
endif
//pause half of a second
pause 500
//RND is the result of random 8 as an alias, so we get a random direction and move toweard it
walk directions[rnd]
endwhile
sysmsg 'Sei morto!'
stop