Results 1 to 9 of 9

Thread: Unknown Identifier Error...

  1. #1
    Join Date
    Jun 2007
    Posts
    106
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default Unknown Identifier Error...

    How do you drop all items in your inventory except for specific slots??

    Iv'e tried DropTo, DropExecpt, And Drop('String')

    I'm Running Scar 3.13 with SRL 4 Rev10


    Line 25: [Error] (12651:1): Unknown identifier 'DropTo' in script C:\Program Files\SCAR 3.13\Scripts\autominer.scar

    Line 25: [Error] (12652:1): Unknown identifier 'DropExcept' in script C:\Program Files\SCAR 3.13\Scripts\autominer.scar

    Line 25: [Error] (12651:1): Unknown identifier 'Drop' in script C:\Program Files\SCAR 3.13\Scripts\autominer.scar


  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Make a DTM of the object then
    SCAR Code:
    if(FindDTM(OreDTM, tx, ty, 550, 210, 730, 462)) then
    begin
      Mouse(tx,ty,5,5,False);
      ChooseOption('rop');
    end;


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    SCAR Code:
    procedure DropItem(i: Integer);
    By: Lorax
    Description: Drops item at given position (1-28)


    SCAR Code:
    for i := 1 to 28 do
      if (i <> 3) then //will not drop 3, change this to what you need
        DropItem(i);

    Hup Holland Hup!

  4. #4
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if you are making a tree chopper try DropAllLogs. but you need to include woodcutting.scar


  5. #5
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    I think mine is better nielsie If the item spot shifts or w/e, it will drop the wrong item[s].


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  6. #6
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Hy71194 View Post
    I think mine is better nielsie If the item spot shifts or w/e, it will drop the wrong item[s].
    yes i think the same :P


  7. #7
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Mine does exactly what anoobis asked.

    How do you drop all items in your inventory except for specific slots??
    Ofcourse yours is better when you want to drop certain items.
    Hup Holland Hup!

  8. #8
    Join Date
    Jun 2007
    Posts
    106
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    Thanks all of you, it's its good working order now =)

  9. #9
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    My personal favourite dropper is:
    SCAR Code:
    For i:= 1 to 28 do
    Begin
      MMouseItem(i);
      If(IsUpText('ogs')) Then
        DropItem(i);
    End
    but that's just me

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unknown Identifier Error
    By imLuck in forum OSR Help
    Replies: 0
    Last Post: 10-30-2008, 12:51 AM
  2. Unknown identifier error
    By 2pacfan in forum OSR Help
    Replies: 9
    Last Post: 04-23-2008, 11:09 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
  •