Results 1 to 12 of 12

Thread: Dynamic DTM's Roadcolor

  1. #1
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default Dynamic DTM's Roadcolor

    meh I discovered the wonders of DDTM's thx to Fawki's TUT but one problem is I have to colorpick the road >.< I can use roadColor:=FindRoadColor before it then in color for on of the points I put roadColor but then it doesn't click one the road at all :S it clicks on like grass and trees etc.
    Sleeping...

  2. #2
    Join Date
    Apr 2007
    Location
    California
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You have to set it after you pick the roadcolor, in that part of the script. Meaning, you can't call it during LoadImages or whatever you may call it like you would with bitmaps and everything, in the very beginning of the script; but rather you have to call it right before you use it, in the procedure you are using it in. I usually free it in the end of the procedure too. That might be your problem.. Or maybe you're just not calling it at all lol? I dunno, if you post the part you're talking about i may be able to help you if what i said above doesn't help.

  3. #3
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    I can make a DTM that gets road color easy.(i hope)
    Tell me a town, and ill have it for you tomorrow.

  4. #4
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by rkroxpunk View Post
    meh I discovered the wonders of DDTM's thx to Fawki's TUT but one problem is I have to colorpick the road >.< I can use roadColor:=FindRoadColor before it then in color for on of the points I put roadColor but then it doesn't click one the road at all :S it clicks on like grass and trees etc.
    Try modifying your sub points a bit?

    FindRoadColor returns roadcolor like 100% accurate. (Doesn't work in Varrock's updated road though).

  5. #5
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    ummm well I ended up picking the road color and it worked 100% but findroadcolor never worked :s.....yohojo it's road south of fally and north of rim mine
    Sleeping...

  6. #6
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Really, whoa.. Walk through 1 Loading Screen?

    Code:
    program New;
    {.include SRL/SRL.Scar}
    
    begin
      SetUpSRL;
      FindWindowBySize(766, 504);
      ActivateClient;
      RoadColor:= 0;
      RoadColor:= FindRoadColor;
    
    end.
    RoadColor = 5987170

    Works great for me..

  7. #7
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    White, it doesn't wrok for Var rock.
    Hes trying to update his VEM =).
    =)

  8. #8
    Join Date
    Feb 2006
    Location
    L.A, USA
    Posts
    1,632
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Holy crap, ohh.



    Try Wizzups?.

  9. #9
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    White, it doesn't wrok for Var rock.
    Hes trying to update his VEM =).
    =)
    *incorrect answer buzzer noise* wrong i'm trying to write a totally different script that involves normal road color but with my DDTM's it doesn't seem to be working lemme try again

    EDIT: Ok it started working again for some unkown reason .....But does anyone know how I can autocolor the MM rock because otherwise I'm gonna have to use a colourpicker :O
    actually Yoho ur able to do that aren't u? maybe a DTM will work...just something so I don't have to pick the stupid color every time
    Sleeping...

  10. #10
    Join Date
    Apr 2007
    Location
    California
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    FindRockColor is essentially the same thing as FindRoadColor but for the grey colored rocks on the minimap, if that's what you mean

  11. #11
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    wuh? there's an actualy FindRockColor Function? lol I should read more thx.....btw apply for membs allready you'll get in no worries
    Sleeping...

  12. #12
    Join Date
    Apr 2007
    Location
    California
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lol no problem, and yeah i've been putting it off until i get my script working good or get a decent proggy Feel free to pm me if you have any more questions with DDTMs

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to make Dynamic DTM's with DIVI.
    By WT-Fakawi in forum OSR Advanced Scripting Tutorials
    Replies: 28
    Last Post: 10-15-2007, 02:29 PM
  2. Help with Roadcolor in RadiallWalk
    By IronTeapot in forum OSR Help
    Replies: 5
    Last Post: 10-26-2006, 02:27 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
  •