Results 1 to 8 of 8

Thread: two level up functions

  1. #1
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default two level up functions

    these will check if you got a level and tell you what level you have gotten. ie. mining,smithing etc.
    i could easily have it so it can say "Advanced (mining smithing etc) to Level (what level it is)"

    SCAR Code:
    function WhichLevel:string;
    Var TheLevel:string;
    begin
      if FindColor(x, y, 8388608, 14, 372, 495, 389) then
      begin
        TheLevel := GetTextAtEx(x + 4, y - 1, 0, NPCChars, false, false, 0, 2, 8388608, 60, false, tr_AllChars)
        Result := Trim(Between('ced a','evel',TheLevel))
      end;
    end;


    Function Level:boolean;
    begin
      Result:=FindColor(x, y, 8388608, 14, 372, 495, 389)
      if (result) then
      begin
        WriteLn('******** Advanced A '+WhichLevel+' Level ********');
        WriteFileString(TheFile, '******** Advanced A '+WhichLevel+' Level ********'
        + Chr(13))
        clicktocontinue;
        wait(2000)
        clicktocontinue;
        //levels:=levels+1;
      end;
    end;

  2. #2
    Join Date
    Feb 2006
    Location
    Aussie
    Posts
    937
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    isn't there already somethign like this in SRL? i would be surprised.

  3. #3
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i haven't found one. not that i really looked

  4. #4
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    lol jagex you posted same thing for me.

  5. #5
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    I dont think this is in SRL, but it is very useful.

  6. #6
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I guess it could be good for progress reports...any other ideas though?
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  7. #7
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by XcanadamanX View Post
    these will check if you got a level and tell you what level you have gotten. ie. mining,smithing etc.
    i could easily have it so it can say "Advanced (mining smithing etc) to Level (what level it is)"

    SCAR Code:
    function WhichLevel:string;
    Var TheLevel:string;
    begin
      if FindColor(x, y, 8388608, 14, 372, 495, 389) then
      begin
        TheLevel := GetTextAtEx(x + 4, y - 1, 0, NPCChars, false, false, 0, 2, 8388608, 60, false, tr_AllChars)
        Result := Trim(Between('ced a','evel',TheLevel))
      end;
    end;


    Function Level:boolean;
    begin
      Result:=FindColor(x, y, 8388608, 14, 372, 495, 389)
      if (result) then
      begin
        WriteLn('******** Advanced A '+WhichLevel+' Level ********');
        WriteFileString(TheFile, '******** Advanced A '+WhichLevel+' Level ********'
        + Chr(13))
        //levels:=levels+1;
      end;
    end;
    Where does this one actually find the color? In the 'click here to continue' box? If so, add a clicktocontinue in the find level. Otherwise it might find it twice. And if this one find it in the chatbox, its kinda impossible to make. Because if you have chats off it would always find the same level.
    Verrekte Koekwous

  8. #8
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it uses the click to continue box thing. i just forgot to put clicktocontinue in this one

    I guess it could be good for progress reports...any other ideas though?
    some skills like smithing stop when you get a level. so this can tell you when to start again. its simple but i figured someone might use it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. JADDummy! will level you from any level to 8 :p
    By JAD in forum RS3 Outdated / Broken Scripts
    Replies: 23
    Last Post: 01-28-2008, 02:51 AM
  2. omg level 3s
    By Lord michie in forum RuneScape News and General
    Replies: 18
    Last Post: 12-15-2007, 10:05 PM
  3. Level 126.5 possible?
    By Hey321 in forum News and General
    Replies: 9
    Last Post: 03-03-2007, 12:59 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
  •