View Full Version : How to use SRL's Mining Skill Functions?
MacroHawk
05-16-2007, 02:15 AM
How do you use SRL's Mining Skill Functions? Like the "If finds gas then it will run away then come back" and the "Find and Attach pick". I seen them in the SRL manual, but could not understand how to use them?
~MacroHawk
Robbiej
05-16-2007, 02:00 PM
ehmz... include SRL/SRL.scar
MacroHawk
05-16-2007, 02:44 PM
I know how to do that. I mean like:
if(FindGas(x,y)) then
begin
//Script
end;
Like that. And how to use the Find Pick and Attach it if it comes off.
Markus
05-16-2007, 04:54 PM
Findgas automatically handles the gas by waiting till it's gone.
Just call FindGas(coordinates) and you should be fine.
The if stuff is if you want it in a progressreport or something:
if FindGas(x, y) then
gas := gas + 1;
Same for FindPick (looks for the pickaxehandle, but ue FindPickHeadColors first).
omgh4x0rz
05-16-2007, 06:19 PM
You need to include and set up SRL mining separately as well I believe. {.include SRL/Skill/mining.scar} and SetupSRLMining;
Check in the manual to make sure, since I've never made a mining script.
For some reason you don't have to include woodcutting separately though...never understood that.
WT-Fakawi
05-16-2007, 06:42 PM
You need to include and set up SRL mining separately as well I believe. {.include SRL/Skill/mining.scar} and SetupSRLMining;
Check in the manual to make sure, since I've never made a mining script.
For some reason you don't have to include woodcutting separately though...never understood that.
Correct. You can now use Wizzup's OreFinder FindObjOre and the FindPick antirandom. Dont forget to call findpickheadcolors once at startup to make the script determine what kind of pickhead you are using, and set EquipPick to true or false depending on wielding.
MacroHawk
05-16-2007, 11:43 PM
Thanks All :)
rkroxpunk
05-17-2007, 07:05 AM
well every single type of findobj I use moves the mouse straight to the compass which is really weird but whenever I use findcolorspiral its fine.....:confused:
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.