Results 1 to 8 of 8

Thread: Creating a pick head finder, and gas finder

  1. #1
    Join Date
    Aug 2008
    Location
    Auckland
    Posts
    132
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Creating a pick head finder, and gas finder

    I was looking through the Srl 4 manual and found these two things that would be great for my new copper/tin power miner.
    function FindPick: Boolean;
    with this, do you need to add the colours of the pick
    EDIT::
    I just realised you couldn't becuase you would need to use a colour tolerance for every pick out there, so what is the solution?


    /////HELP NEEDED////////
    also the gas finder.
    function FindGas(gx, gy: Integer): Boolean;

    cheers guys. are the gx, gy the cords you need to put in. Or do you need colours as well. Im so confused :P
    ~Tom~

  2. #2
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Findgas(gx, gy: Integer) means it will return the x and y (if possible) of gas [i think]

    gx is x coordinate of gas
    gy is y coordinate of gas


    this include uses color spirals to find the gas, so you dont need to input colors

    and ive never used FindPick (i use my own method) so i dont know what its about

  3. #3
    Join Date
    Dec 2007
    Location
    Michigan, USA
    Posts
    280
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    tom, like i said in the pm, make a dtm, and set the tolleerance to 15, that way it will find a pick of any kind. And call a function to try and find this dtm in both the inventory or the equipment, ask me if you need any help with this.
    Kindof Inactive...

  4. #4
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Pick heads don't fall off anymore?
    ~Hermen

  5. #5
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    axe heads doesnt fall of...


    Use: FindPickheadcolors or something like that then use findpick: boolean;

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  6. #6
    Join Date
    Aug 2008
    Location
    Auckland
    Posts
    132
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Okey i get the gas, so all I have to do is enter Findgas(gx, gy: Integer)
    into my script, however when i was looking through the guild miner. He had some ultra complex procedure for the gax. Tons of code i cant read, but hmph ill try it. Might learn how to do dtm's seems i need to....
    ~Tom~

  7. #7
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    are you sure its up to date? it may be compensating for an old include

  8. #8
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Okay, according to description in Mining.scar, in FindGas(gx,gy: Integer), gx and gy are the coordinates of the rock you're trying to mine. It will return true if there is gas, or false if there isn't.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. buying pick handle + pick head * seperate.
    By Dark_Sniper in forum Mining and Smithing
    Replies: 10
    Last Post: 11-12-2007, 03:50 AM
  2. ow axe head finder!
    By macromacro123 in forum OSR Help
    Replies: 5
    Last Post: 08-23-2007, 09:09 PM
  3. Need An Axe Head Finder/Color
    By kooldude in forum OSR Help
    Replies: 2
    Last Post: 05-17-2007, 09:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •