mining

Share your guides, how-tos, FAQs, and so forth. This is not for support -- post questions in General Discussion.
kradiaspola
Posts: 14

mining

Post#1 » March 10th, 2018, 1:31 pm

please someone can get me a smeltar ore UOS script? which takes out a box, melts, and places in another container.
thanks

Matiu
Posts: 11

Re: mining

Post#2 » April 21st, 2018, 11:02 am

I think this works been a long time since i used it :D
ya need one container for ore one for ingots a forge and it uses a organizer called 'ingots' (highlighted red be low so you can change it if you want ) pm me if it dont work ill try to sort it !

if not @findobject 'forge'
promptalias 'forge'
endif
if not @findobject 'ore'
promptalias 'ore'
endif
if not @findobject 'ingots'
promptalias 'ingots'
endif
if not listexists 'orecolour'
createlist 'orecolour'
pushlist 'orecolour' '2219'
pushlist 'orecolour' '2207'
pushlist 'orecolour' '2425'
pushlist 'orecolour' '2213'
pushlist 'orecolour' '2418'
pushlist 'orecolour' '2413'
endif
useobject 'ore'
pause 600
useobject 'ingots'
pause 600
//Valorite
for 0 to 'orecolour'
while @findtype 0x19b9 'orecolour[]' 'ore'
if @counttype 0x19b9 'orecolour[]' 'backpack' == 0
@movetype 0x19b9 'ore' 'backpack' (0 0 0) 'orecolour[]' 1
pause 1000
endif
@usetype 0x19b9 'orecolour[]' 'backpack'
waitfortarget 5000
target! 'forge'
pause 1000
if @counttype 0x19b8 'orecolour[]' 'backpack' > 0
@movetype 0x19b8 'backpack' 'ore' (0 0 0) 'orecolour[]'
pause 1000
endif
if @counttype 0x1bf2 'any' 'backpack' > 500
@organizer 'ingots'
while @organizing
endwhile
pause 1000
endif
endwhile
if @counttype 0x19b9 'orecolour[]' 'backpack' == 1
@usetype 0x19b9 'orecolour[]' 'backpack'
waitfortarget 5000
@target! 'forge'
endif
if @counttype 0x19b8 'orecolour[]' 'ore' > 0
while @findtype 0x19b8 'orecolour[]' 'ore'
if @counttype 0x19b8 'orecolour[]' 'backpack' == 0
@movetype 0x19b8 'ore' 'backpack' (0 0 0) 'orecolour[]' 1
pause 1000
endif
@usetype 0x19b8 'orecolour[]' 'backpack'
waitfortarget 2000
@target! 'forge'
pause 1000
if @counttype 0x1bf2 'any' 'backpack' > 500
@organizer 'ingots'
while @organizing
endwhile
pause 1000
endif
if @counttype 0x19b7 'orecolour[]' 'backpack' > 0
@movetype 0x19b7 'backpack' 'ore' (0 0 0) 'orecolour[]'
pause 1000
endif
endwhile
endif
if @counttype 0x19b8 'orecolour[]' 'backpack' == 1
@usetype 0x19b8 'orecolour[]' 'backpack'
waitfortarget 2000
@target! 'forge'
endif
if @counttype 0x19ba 'orecolour[]' 'ore' > 0
while @findtype 0x19ba 'orecolour[]' 'ore'
if @counttype 0x19ba 'orecolour[]' 'backpack' == 0
@movetype 0x19ba 'ore' 'backpack' (0 0 0) 'orecolour[]' 1
pause 1000
endif
@usetype 0x19ba 'orecolour[]' 'backpack'
waitfortarget 2000
@target! 'forge'
pause 1000
if @counttype 0x1bf2 'any' 'backpack' > 100
@organizer 'ingots'
while @organizing
endwhile
pause 1000
endif
if @counttype 0x19b7 'orecolour[]' 'backpack' > 0
@movetype 0x19b7 'backpack' 'ore' (0 0 0) 'orecolour[]'
pause 1000
endif
endwhile
endif
if @counttype 0x19ba 'orecolour[]' 'backpack' == 1
@usetype 0x19ba 'orecolour[]' 'backpack'
waitfortarget 2000
@target! 'forge'
endif
if counttype 0x19b7 'orecolour[]' 'ore' > 6
while counttype 0x19b7 'orecolour[]' 'ore' > 6
if counttype 0x19b7 'orecolour[]' 'backpack' == 0
movetype 0x19b7 'ore' 'backpack' (0 0 0) 'orecolour[]' 6
pause 1000
elseif counttype 0x19b7 'orecolour[]' 'backpack' == 5
movetype 0x19b7 'ore' 'backpack' (0 0 0) 'orecolour[]' 1
pause 1000
elseif counttype 0x19b7 'orecolour[]' 'backpack' == 4
movetype 0x19b7 'ore' 'backpack' (0 0 0) 'orecolour[]' 2
pause 1000
elseif counttype 0x19b7 'orecolour[]' 'backpack' == 3
movetype 0x19b7 'ore' 'backpack' (0 0 0) 'orecolour[]' 3
pause 1000
elseif counttype 0x19b7 'orecolour[]' 'backpack' == 2
movetype 0x19b7 'ore' 'backpack' (0 0 0) 'orecolour[]' 4
pause 1000
elseif counttype 0x19b7 'orecolour[]' 'backpack' == 1
movetype 0x19b7 'ore' 'backpack' (0 0 0) 'orecolour[]' 5
pause 1000
endif
usetype 0x19b7 'orecolour[]' 'backpack'
waitfortarget 2000
target! 'forge'
pause 1200
if counttype 0x1bf2 'any' 'backpack' > 500
organizer 'ingots'
while organizing
endwhile
pause 1000
endif
endwhile
endif
if counttype 0x19b7 'orecolour[]' 'backpack' == 6
usetype 0x19b7 'orecolour[]' 'backpack'
waitfortarget 2000
target! 'forge'
elseif movetype 0x19b7 'backpack' 'ore' (0 0 0) 'orecolour[]'
pause 1000
endif
endfor
kentares and kradiaspola like this.
Top

kradiaspola
Posts: 14

Re: mining

Post#3 » April 23rd, 2018, 9:36 pm

I tested it, and that's exactly what I wanted ... thank you very much.
:)

Matiu
Posts: 11

Re: mining

Post#4 » April 27th, 2018, 12:49 pm

No prob Glad i could help !

Return to “Cartographer and Scribe”

Who is online

Users browsing this forum: No registered users and 3 guests