Results 1 to 11 of 11

Thread: Few Questions.

  1. #1
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Few Questions.

    Ok, i have a few questions:

    1: How do i make the progress report come every 5-10 minutes?

    2: How would i use a DTM to kill a cow?

    3: How would i make it walk from lumby castle to cow pen?

    If you haven't noticed im making a cow killer that uses the same base as WT's Scheduler, only i'm trying to code it from scratch and then hopefully use it on my auto-ers . Any help at all is very much appreciated
    Help!

  2. #2
    Join Date
    Oct 2006
    Location
    England
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    1. Dunno
    2.Tool>Dtm Editor
    3. Erm..Colors, Symbols or Dtms

  3. #3
    Join Date
    Nov 2006
    Location
    Bel Air, Maryland, USA
    Posts
    207
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well, a progress report every 5 minutes would be something like

    var
    PlayerCurTime: Longint;

    if (playercurtime > 5 and playercurtime<6) then
    begin
    ProgressReport;
    end;

    i think, or you use the current players array name with the .worked ending(i havent tried)

    and maybe for walking, go to scar manual and lookup the roadwalk functions, you might need to use their lumby bridge bmp function/proc also(i think there is one).
    youll have to make a function for opening the gate.

    and i think deformed bitmaps, or findcolor is used to find the thing your trying to attack

  4. #4
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Arr0w i know about the DTM editor, what im wondering is would it be effecient?

  5. #5
    Join Date
    Oct 2006
    Location
    England
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yea i think using DTMs would be more accurate.

  6. #6
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Use MarkTime and TimeFromMark things for question number 1.
    I could show example, but right now I have no time.

  7. #7
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    Find Cows using....
    SCAR Code:
    function FindColoredAreaTolerance(var x,y: Integer; color, xs, ys, xe, ye: Integer; MinArea, Tolerance: Integer): Boolean -
    Works similar to FindColorTolerance but instead of finding just 1 colored pixel and storing the coordinates into x and y,
    it finds an area where the colored pixel was found and stores a random coordinate according to the entered MinArea value into x,y.
    MinArea is specified by the count of pixels you it has in an area. To find area in size 10X10 you would enter 100 as MinArea.

    Works!
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  8. #8
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow, WT i feel praised . Anyways thanks time to go check it out.

  9. #9
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    What's the point of a proggy every 5 minutes if the info is the same? Do it after every load:=load+1 or whatever.

    (unless your picking feathers or powermining dropping after every ore instead of mining a load and then dropping a load or something like that then ignore me)

  10. #10
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm making a cow killer for lumby that will walk back .

  11. #11
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Yea that's pretty much the same thing forever, with no good place for a proggy except every 5 minutes or 10 cows so ignore me.

    As Pentti said use MarkTime and TimefromMark. MarkTime upon login, and at the end of the proggy proc. Also call the proggy proc while switching users. Then just throw in, 'if timefrommark is more than 5 minutes then do proggy' when ever you're waiting from something. The more often you do that, the closer to 5 minutes it will be. It won't be exact, but who cares. Bramble you were close, but what if it goes from 4 to 7 without that if statement checking, then you'll never get one.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Few questions.
    By Dervish in forum OSR Help
    Replies: 6
    Last Post: 03-09-2009, 08:43 PM
  2. A few questions
    By RSMacroLegend in forum OSR Help
    Replies: 6
    Last Post: 11-29-2007, 03:23 AM
  3. several questions
    By lnknprkn in forum RuneScape News and General
    Replies: 0
    Last Post: 11-14-2007, 02:37 AM

Posting Permissions

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