Page 2 of 3 FirstFirst 123 LastLast
Results 26 to 50 of 54

Thread: [F-Include] Chicken Slayer, Featherer, Prayer, and Cooker

  1. #26
    Join Date
    Mar 2016
    Location
    Isle de Muerta
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    Quote Originally Posted by jacoby6000 View Post
    Yeah, the cooking phase definitely needs work. About it getting stuck in the house though... I think 1.1 has a fix for that. If it fails to attack chickens some number of times, it'll figure out that it needs to open the door. But I could be mistaken and I forgot to include that.
    Also i forgot to mention that sometimes he runs out of chicken pen and it stuck there near the river in the corner with the house and chicken pen fence ant it keeps trying to attack chickens over the fence but its not able to attack them and it keeps standing just like that

    P.S. Also i forgot to mention that it doesn't start for me, so i run other script first, when other script loads up smart client, then i stop this script and just then i can run your script successfully. This is the error that i get when i try to run your script the normal way:
    [10:42:38:907] [Reflection] [Status] Using world 35.
    [10:42:39:021] [Reflection] [Fatal] Failed to spawn SMART client.
    [10:42:39:030] [Reflection] [Status] All cached references free'd from memory
    Successfully executed.

    Also few times got this error and script quits:
    Error: Access violation at line 144
    Execution failed.
    The following bitmaps were not freed: [0]

    And yes, i think you forgot to add that function that it opens doors if cant reach chickens
    Last edited by kyyskis; 04-28-2016 at 08:29 AM.

  2. #27
    Join Date
    May 2015
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Ooo the F-include, I like it so far.

  3. #28
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by NickWord View Post
    Ooo the F-include, I like it so far.
    posts on rs3 and osrs threads? Youve got your jr membs, now stop.

  4. #29
    Join Date
    May 2015
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    posts on rs3 and osrs threads? Youve got your jr membs, now stop.
    Botting OSRS with osbuddy and RS3 with SMART to get into NXT. However post count was somewhat of importance to me when posting.

  5. #30
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Code:
    Exception in Script: Unable to find file 'Reflection/Reflection.simba' used from 'C:\Simba\Includes\finclude\finclude.simba'
    Could i get some assistance with this please.

    Thanks
    Current Rank Supreme Master First Class

  6. #31
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    Quote Originally Posted by Note View Post
    Code:
    Exception in Script: Unable to find file 'Reflection/Reflection.simba' used from 'C:\Simba\Includes\finclude\finclude.simba'
    Could i get some assistance with this please.

    Thanks
    You need to install the F include.

    <------------------>



  7. #32
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Quote Originally Posted by AFools View Post
    You need to install the F include.
    I have installed the include provided however upon checking the folder there was no reflection.simba in it.
    Current Rank Supreme Master First Class

  8. #33
    Join Date
    Dec 2013
    Location
    Sweden
    Posts
    269
    Mentioned
    17 Post(s)
    Quoted
    161 Post(s)

    Default

    Quote Originally Posted by Note View Post
    I have installed the include provided however upon checking the folder there was no reflection.simba in it.
    Have you installed the reflection include?
    "Once you begin to think, you can't stop."

    Life > 0

  9. #34
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Quote Originally Posted by kristi View Post
    Have you installed the reflection include?
    Yes i have sir,(i'm running the AIO WOODCUTTER and it works fine) however now im getting a new error
    Code:
    Error: Duplicate declaration "Mouse_MOVE" at line 2
    Current Rank Supreme Master First Class

  10. #35
    Join Date
    Nov 2011
    Location
    Finland
    Posts
    49
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Whats that Mouse_move = 3; error is !
    Hardcore deadman mode seasonal player!

  11. #36
    Join Date
    Jun 2016
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    I have the same error
    "
    Error: Duplicate declaration "Mouse_MOVE" at line 2
    Compiling failed.

    "

  12. #37
    Join Date
    Nov 2011
    Location
    Norway
    Posts
    203
    Mentioned
    4 Post(s)
    Quoted
    100 Post(s)

    Default

    I am not even sure what Mouse_Move = 3 does, but after removing it the script seems to compile. I don't play OSRS anymore so I can't test this myself.

  13. #38
    Join Date
    Mar 2013
    Posts
    1,010
    Mentioned
    35 Post(s)
    Quoted
    620 Post(s)

    Default

    Quote Originally Posted by Aufi View Post
    I am not even sure what Mouse_Move = 3 does, but after removing it the script seems to compile. I don't play OSRS anymore so I can't test this myself.
    Mouse_Left = 1, Mouse_Right = 2, Mouse_Move = 3 (So it's just so it's easier for people to remember/easier for people to learn). Both Mouse_Left and Mouse_Right are included in simba but Mouse_Move isn't so it needs to be included within the include and Mouse_Move has been added to reflection and f-include hasn't been updated to reflect this so it gets a dupicate deceation error (You cannot have two global vars with the same name).
    #slack4admin2016
    <slacky> I will build a wall
    <slacky> I will ban reflection and OGL hooking until we know what the hell is going on

  14. #39
    Join Date
    Oct 2016
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Harrier View Post
    Mouse_Left = 1, Mouse_Right = 2, Mouse_Move = 3 (So it's just so it's easier for people to remember/easier for people to learn). Both Mouse_Left and Mouse_Right are included in simba but Mouse_Move isn't so it needs to be included within the include and Mouse_Move has been added to reflection and f-include hasn't been updated to reflect this so it gets a dupicate deceation error (You cannot have two global vars with the same name).
    Thanks you helped me to get it working.

  15. #40
    Join Date
    Aug 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Hey guys,

    Came back to the business after a long while, I guess I am a newbie again. Didn't really get, how should I edit the script so it would run. I get the same error "Error: Duplicate declaration "Mouse_MOVE" at line 2
    Compiling failed.".

    Could someone help me with it? I read the last comments, but it wasn't to helpful, still couldn't understand.

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

    Default

    Quote Originally Posted by Tomazino View Post
    Hey guys,

    Came back to the business after a long while, I guess I am a newbie again. Didn't really get, how should I edit the script so it would run. I get the same error "Error: Duplicate declaration "Mouse_MOVE" at line 2
    Compiling failed.".

    Could someone help me with it? I read the last comments, but it wasn't to helpful, still couldn't understand.
    Find the line mentioned in the post that is four above yours, delete it.
    Sleeping...

  17. #42
    Join Date
    Nov 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Quoted
    31 Post(s)

    Default

    I haven't been able to get the script to pick up feathers, even with feather specified in the loot strings. Otherwise, the script attacks chickens.

  18. #43
    Join Date
    Apr 2017
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Does this still work? I can't seem to get it to even log me in.

    I have made all necessary modifications to get it to compile.

  19. #44
    Join Date
    Oct 2010
    Location
    Brasil PR Ponta Grossa
    Posts
    96
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    How fix this "Error: Duplicate declaration "Mouse_MOVE" at line 2?

  20. #45
    Join Date
    Jun 2017
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i ran into a problem
    i'm a noob at scripting and when i downloaded it i filled in my information and so on

    but i keep getting this ''Error: Plugin(prosocks32) has not been found''

    i don't know what is causing this error been looking at it for a couple of hours and i don't know it anymore.
    someone help me if possible

  21. #46
    Join Date
    Oct 2010
    Location
    Brasil PR Ponta Grossa
    Posts
    96
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    victor, so maybe a dll from plugins folder on simba directory is missing. But the script is outdated and the var mouse_move is outdated, idk how to repair lets wait for a experiencied member help.

  22. #47
    Join Date
    Oct 2010
    Location
    Brasil PR Ponta Grossa
    Posts
    96
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    The problem is a second script named of Interact* that apears when I run the script:

    const
    Mouse_MOVE = 3;

    procedure quickMouse(P: TPoint; ClickType: Integer);
    begin
    Reflect.Mouse.Move(P, 0, 0);
    Wait(RandomRange(20, 30));
    Reflect.Mouse.Click(ClickType);
    end;

    function interact(B: TBox; UpText, Option: String; clickType: Integer): boolean;
    begin
    If (Not locPlayer.isLoggedIn)or(Failed) then
    Exit;

    Reflect.Mouse.Move(B);

    If Reflect.Text.IsUpText(UpText, 50+Random(25))then
    begin
    If clickType = MOUSE_MOVE then
    Exit(True);

    Reflect.Mouse.Move(getMousePnt, 0, 0, clickType);
    If (clickType = mouse_Right)and(Reflect.Text.ChooseOption(Option, 200+Random(100)))then
    Exit(True) else
    If (clickType = mouse_Left)then
    Exit(True);

    end else
    begin
    If Reflect.Text.IsUpText('Walk here') or (clickType = MOUSE_MOVE) then
    Exit(False);
    Debug('Looked for "' + UpText + '" in "' + Reflect.Text.GetUpText + '" -> Trying to right click..', False);
    Reflect.Mouse.Move(getMousePnt, 0, 0, Mouse_Right);
    Result := Reflect.Text.ChooseOption(Option, 200+Random(100));
    end;
    end;

    function interact(P: TPoint; UpText, Option: String; clickType: Integer): boolean; overload;
    begin
    If (Not locPlayer.isLoggedIn)or(Failed) then
    Exit;

    Reflect.Mouse.Move(P, 0, 0);

    If Reflect.Text.IsUpText(UpText, 50+Random(25))then
    begin
    If clickType = MOUSE_MOVE then
    Exit(True);

    Reflect.Mouse.Move(getMousePnt, 0, 0, clickType);
    If (clickType = mouse_Right)and(Reflect.Text.ChooseOption(Option, 200+Random(100)))then
    Exit(True) else
    If (clickType = mouse_Left)then
    Exit(True);

    end else
    begin
    If Reflect.Text.IsUpText('Walk here')then
    Exit;
    Debug('Looked for "' + UpText + '" in "' + Reflect.Text.GetUpText + '" -> Trying to right click..', False);
    Reflect.Mouse.Move(getMousePnt, 0, 0, Mouse_Right);
    Result := Reflect.Text.ChooseOption(Option, 200+Random(100));
    end;
    end;

    function interactTileOnce(Tile: TPoint; UpText, Option: String; Volume, clickType: Integer; XOffSet: Integer = 0; YOffset: Integer = 0; ZOffset: Integer = 0; WalkHandle: Boolean = True): boolean;
    var
    P: TPoint;
    begin
    If (Not locPlayer.isLoggedIn)or(Failed)or(Not TReflectionMap.TileOnMM(Tile))then
    Exit;

    If (Not TileOnMS(Tile))and(WalkHandle)then
    begin
    Debug('Tile not on MS -> Walking..', False);
    locPlayer.WalkToTileMM(Tile);
    Wait(250+Random(200));
    waitDistance(Tile, 1);
    WaitWalking;
    Exit;
    end;

    P := TReflectionTiles.TileToMS(Tile, XOffset, YOffset, ZOffSet);
    Reflect.Math.GaussBox(P.X, P.Y, P.X - Volume, P.Y - Volume, P.X + Volume, P.Y + Volume);
    If interact(P, UpText, Option, clickType)then
    begin
    Exit(True);
    afterClick;
    end;
    end;

    function interactTile(Tile: TPoint; UpText, Option: String; Volume, clickType: Integer; XOffset: Integer = 0; YOffset: Integer = 0; ZOffset: Integer = 0): boolean;
    var
    P: TPoint;
    C: Integer;
    begin
    If (Not locPlayer.isLoggedIn)or(Failed)or(Not TReflectionMap.TileOnMM(Tile))then
    Exit;

    repeat
    If interactTileOnce(Tile, UpText, Option, Volume, clickType, XOffset, YOffset, ZOffset)then
    Exit(True)
    else
    If C > 1 then
    randomCompass;
    Inc(C);
    until(C > 10);
    end;

    function InteractInvSlot(Slot: Integer; Option: String): boolean;
    var
    Item: TReflectInvItem;
    begin
    Item._InvSlot := Slot;
    Tab(GameTab_Inventory);
    if Interact(Item.GetPoint, Option, Option, mouse_Left)then
    Exit(True);
    end;

    function interactInv(IDs: TIntegerArray; Option: String): boolean;
    var
    Inv: TReflectInvItemArray;
    I: Integer;
    begin
    If (Not locPlayer.isLoggedIn)or(Failed)then
    Exit;

    Inv.GetAll;
    For I:=0 to High(Inv)do
    If InIntArray(IDs, Inv[I].GetID)then
    begin
    Debug('Correct ID found', False);
    Tab(GameTab_Inventory);
    if Interact(Inv[I].GetPoint, Option, Option, mouse_Left)then
    Exit(True);
    end;
    end;

    function interactInv(Names: TStringArray; Option: String): boolean; overload;
    var
    Inv: TReflectInvItemArray;
    I: Integer;
    begin
    If (Not locPlayer.isLoggedIn)or(Failed)then
    Exit;

    Inv.GetAll;
    For I:=0 to High(Inv)do
    If IsStrInArr(Inv[I].GetName, False, Names)then
    begin
    Debug('Correct name found', False);
    If Not Tab(Gametab_Inventory)then
    Exit;
    if Interact(Inv[I].GetPoint, Option, Option, mouse_Left)then
    Exit(True);
    end;
    end;

    function findBank(BankBooths: TPointArray; UpText, Option: String): boolean;
    var
    Booths: TPointArray;
    CT: TReflectTimer;
    timeOut: Integer;
    begin
    If (Not locPlayer.isLoggedIn)or(Failed) then
    Exit;

    If Reflect.Bank.isOpen then
    Exit(True);

    Booths := BankBooths;
    SortTPAFrom(Booths, locPlayer.GetTile);

    if interactTile(Booths[0], UpText, Option, 8, mouse_Left, 0, 0, 20+Random(30))then
    begin
    Debug('interact -> Bank Booth', False);
    CT.start;
    timeOut := 8000+Random(4000);
    repeat
    Wait(300+Random(200));
    Result := (Reflect.Bank.IsOpen)or(Reflect.Bank.IsPinOpen);
    until(Result)or(CT.Elapsedtime > timeOut);

    If (CT.Elapsedtime > timeOut) then
    Exit;

    locPlayer.EnterPin;
    CT.start;
    repeat
    Wait(175+Random(80));
    until(Reflect.Bank.IsOpen)or(CT.Elapsedtime > timeOut);
    end else
    randomCompass;
    end;

    How can I repair it?

  23. #48
    Join Date
    Jun 2017
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    i keep getting

    Error: File "Reflection/Reflection.simba" not found at line 12
    Compiling failed.

  24. #49
    Join Date
    Feb 2012
    Location
    Norway
    Posts
    995
    Mentioned
    145 Post(s)
    Quoted
    596 Post(s)

    Default

    Quote Originally Posted by MacPooPum View Post
    i keep getting

    Error: File "Reflection/Reflection.simba" not found at line 12
    Compiling failed.
    This script is outdated.
    !No priv. messages please

  25. #50
    Join Date
    Aug 2018
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    I am getting:

    "
    const

    procedure quickMouse(P: TPoint; ClickType: Integer)

    begin
    Reflect.Mouse.Move(P, 0, 0);
    Wait(RandomRange(20, 30));
    Reflect.Mouse.Click(ClickType);
    end;
    "

    Error: Found unexpected token "procedure", expected "Identifier" at line 3
    Compiling failed.

    Any help with this would be appreciated, thanks!

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •