Results 1 to 10 of 10

Thread: ehlp needed for my first script

  1. #1
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default ehlp needed for my first script

    Helo i need help for my script.
    I'm makin g a powerutter and now i'm really stuck.
    I always get this error:
    Failed when compiling
    Line 115: [Error] (18305:1): Identifier expected in script

    Plz if you want to help me can you plz ad dme at msn
    the-scar-noob@hotmail.com

    plz help me guys

    Thanks

  2. #2
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    giving the actual script might help..., you probably forgot a ; or a )

  3. #3
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    it's my chopping procedure

    procedure Chop;
    begin
    repeat
    if (FindColorSpiralTolerance(x,y,Treecolor1,MSX1,MSY1 ,MSX2,MSY2,10)) or
    (FindColorSpiralTolerance(x,y,Treecolor2,MSX1,MSY1 ,MSX2,MSY2,10)) or
    (FindColorSpiralTolerance(x,y,Treecolor3,MSX1,MSY1 ,MSX2,MSY2,10)) then
    MMouse(x,y,2,2)
    If(IsUpTextMulti('Cho','down','p do')) Then
    Mouse(x,y,5,5,True);
    Wait(2000+Random(1500));
    FindTheEnt;
    end;

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

    Default

    repeat needs until, see drigers tutorial.exe

  5. #5
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    btw i'm planning to add a random wait for ban

  6. #6
    Join Date
    Feb 2006
    Posts
    433
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You forgot teh until part of the repeat.

    Code:
    procedure Chop;
    begin
     repeat
      if(FindColorSpiralTolerance(x,y,Treecolor1,MSX1,MSY1 ,MSX2,MSY2,10)) or
        (FindColorSpiralTolerance(x,y,Treecolor2,MSX1,MSY1 ,MSX2,MSY2,10)) or
        (FindColorSpiralTolerance(x,y,Treecolor3,MSX1,MSY1 ,MSX2,MSY2,10)then
         MMouse(x,y,2,2);
          If(IsUpTextMulti('Cho','down','p do')) Then
            Mouse(x,y,5,5,True);
        Wait(2000+Random(1500));
      FindTheEnt;
     until(Insert condition here);
    end;
    There, all better.

    Edit: Lol beaten to again.

  7. #7
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks guys and i wanne add a random wait
    so when i make a const
    const
    TimeToWait= 5;// time to wait in secs
    what i've got to to then in the script?

  8. #8
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    nvm got it :d

  9. #9
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    ok now i've got another problem.
    When i've got a full inventory i command my script to drop the logs, but instead of that my mouse gets crazy and is hoovering around the end of the runescape screen, can someone help me plz

    Thanks

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

    Default

    Just post the entire script. No one has any idea what is wrong if we can't see what is wrong.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. help needed for script 55% done
    By sink998 in forum OSR Help
    Replies: 13
    Last Post: 10-09-2008, 04:38 PM
  2. Script Needed ! ! !
    By senteniel in forum RS3 Outdated / Broken Scripts
    Replies: 0
    Last Post: 07-03-2007, 01:47 AM
  3. Help needed with script!
    By ricardo016 in forum OSR Help
    Replies: 1
    Last Post: 05-31-2007, 05:35 PM
  4. Script Needed.
    By Street Life in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 05-11-2007, 12:21 AM
  5. i have few script that needed help to fix
    By david$ in forum OSR Help
    Replies: 2
    Last Post: 12-12-2006, 04:44 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
  •