Results 1 to 9 of 9

Thread: Weird Error:

  1. #1
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Weird Error:

    For my script I am getting an error when walking with findsymbols. Im using it as a failsafes if my other walking functions dont work. neither walk to trees or walk to bank work, and I cannot fully understand why, I am 99% sure I am doing it right. Can anyone have a look? thanks.
    Code:
    ** Warning in GetSymbolColorIn: fish is not a valid name.**

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

    Default

    Not sure what the problem is, but you left your account information in it. I've changed the password, and PMed it to you.

  3. #3
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    maybe srl not up to date? I opened the file and compiled it, it worked fine for me. It said axe not found (I didn't make runescape the client, I just ran it) Try updating SRL, if that's not why then I don't know, because it works for me.

    EDIT: sorry, nevermind, I see what you're talking about in the debug box now. sorry I don't know what's wrong.

    EDIT2: maybe try 'fishing spot', the other choice instead of 'fish', I don't know if that'll work, but maybe worth a try.

    EDIT3: It didn't work, and I tried changing it to FindSymbolIn and reading over the functions and everything, I can't figure it out, sorry I wasn't much help at all, but in GetColorSymbolIn, I think it has something to do with this:

    SCAR Code:
    //FindDeformedBitmapToleranceIn(SymbolBitmap, x, y, xs, ys, xe, ye, 70, 0, True, acc);
        //if (acc > SymbolAccuracy) then
        //begin
          repeat
            c := c + 5;
            if (FindColorTolerance(x, y, Color, x, y, x + 15, y + 5, c)) then
            begin
              Result := GetColor(x, y);
              rx := x;
              ry := y;
            end;
          until (Result > 0) or (c > 70);
        end;
      //end else
        //srl_Warn('GetSymbolColorIn', Name + ' is not a valid name.', warn_AllVersions);

    I'm pretty sure it has to do with the lines I noted, maybe someone more experienced can tell you more precisely what's wrong.

  4. #4
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    @senrath yes thanks you very much

    @baked no my script works, cuts trees, and will bank then, but walking back and fourth is the problem, im up to date and everything.

  5. #5
    Join Date
    Nov 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ummm, if i remeber you have to load the bitmap or sumthing...
    Look in Symbol.scar i think it would be something like

    SCAR Code:
    LoadSymbolBitmapColor('fishing spot');

    or something like that, I'm not really sure, but maybe try that

  6. #6
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Viral View Post
    ummm, if i remeber you have to load the bitmap or sumthing...
    Look in Symbol.scar i think it would be something like

    SCAR Code:
    LoadSymbolBitmapColor('fishing spot');

    or something like that, I'm not really sure, but maybe try that
    ok thanks I'll try that, but does anyone know why my other walking procedures wont work?

  7. #7
    Join Date
    Nov 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    for you walking to bank procedure, your dtm is most likely done incorrectly, and why not, instead of trying to creat a bitmap, ect, use findwatercolor for walking to the tree's? I think that would be more reliable, as you can always see the water from the bank.

    haha, i suck at making dtms, but i guess i could try if youd like.

  8. #8
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Viral View Post
    for you walking to bank procedure, your dtm is most likely done incorrectly, and why not, instead of trying to creat a bitmap, ect, use findwatercolor for walking to the tree's? I think that would be more reliable, as you can always see the water from the bank.

    haha, i suck at making dtms, but i guess i could try if youd like.
    Yeah exactly I thought of doing the water clicking:P and my autocolorthis function is of the water bitmap so I thought it was the same. If you want make a dtm be my guest and I can try it and see if it works. Also, my compass is facing west when I do my dtm if your planning on making one.

    Edit: ughhh waterwalk aint working either:S

    SCAR Code:
    begin
        if not RadialWalk(dirtcol, 270, 340, 70, 5, 5)then
        MakeCompass('w');
        WriteLn('Couldnt Use Radial...Using WaterWalk');
        WaterWalk(270,330,60,15,2, 2, 2, 2);
        begin
          if not WaterWalk(270,330,60,15,2, 2, 2, 2)then
          WriteLn('Couldnt Use WaterWalk...Using Symbol');
          MakeCompass('w');
          LoadSymbolBitmapColor('fish');
          wait(200+random(154));
          FindSymbol(x,y,'fish');
          wait(500+random(600));
          mouse(x,y,2,2,true);
        end;

  9. #9
    Join Date
    Nov 2008
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    haha mhkay i made one, use this in a conjuction with finddtmrotated, and make x + 4 or something like that when clicking.

    n e ways heres the dtm,

    SCAR Code:
    BankDTM := DTMFromString('78DA639CC8CCC0D0C5C8800CFEFC6102D3305' +
        '1C6A944A8990B54D38D5F0D001E580963');
    it should work, i never tested it kuz im lazy

    if it doesnt work let me know, and ill try to help more :/

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. weird error
    By mormonman in forum OSR Help
    Replies: 4
    Last Post: 02-05-2009, 02:06 AM
  2. weird error
    By Awkwardsaw in forum OSR Help
    Replies: 6
    Last Post: 04-29-2008, 01:50 PM
  3. weird ; error
    By del_signo in forum OSR Help
    Replies: 3
    Last Post: 04-09-2007, 08:52 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
  •