Page 2 of 8 FirstFirst 1234 ... LastLast
Results 26 to 50 of 185

Thread: KARAMJA Reborn

  1. #26
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by King of the Nites View Post
    Code:
    3Garrett3's Fisherer 0.1 Progress Report
    *********************************************
    Ran for: 10 Hours, 34 Minutes and 51 Seconds
    Fished : 1019 Total Fish
    Fished : 1019 Lobsters
    Slept: 2 Times
    Slept for: 1 Hours, 58 Minutes and 39 Seconds
    Antiban used: 3711
    TPA Finder worked: 119 Times
    Reflection Finder worked: 9 Times
    *********************************************
    0: | False | 104 Fish | 4 Loads | 1 Levels | 9000 Experience|
    1: | False | 157 Fish | 6 Loads | 2 Levels | 14130 Experience|
    2: | False | 0 Fish | 0 Loads | 0 Levels | 0 Experience|
    3: | False | 131 Fish | 5 Loads | 2 Levels | 11790 Experience|
    4: | False | 27 Fish | 1 Loads | 1 Levels | 2430 Experience|
    5: | True | 391 Fish | 15 Loads | 4 Levels | 35190 Experience|
    6: | False | 209 Fish | 8 Loads | 3 Levels | 18810 Experience|
    I didn't really watch it run, but it obviously worked pretty well.
    Player 0: Wasn't in the beekeeper when i logged in. Player was just standing at the dock.
    Player 1: Was in the Evil Bob random
    Player 2: (See Player 0)... Weird.
    Player 3: (See Player 0)
    Player 4: It took a break right before this, so im guessing something messed up after logging in.
    Player 5: It was another gear check failure, but it happened after getting out of the Molly random.
    Player 6: (See Player 4) Same thing, after taking a break...

    So there has to be something wrong with the beekeeper random, and i guess gear checking after coming back from a random or a break is a little messed up. Over all amazing! Thanks a ton, im running it again!
    I'm guessing the gear check has something to do with lag, I'll have to add a little failsafe in there for it. I have a good todo list now I like it

    First posting the proggy

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  2. #27
    Join Date
    Jul 2007
    Location
    Ohio
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I guess I should have mentioned that my computer is SLOW. There is a good chance the lag caused the gear check to fail. Do you have any clue why it is finding the beekeeper random?

  3. #28
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by King of the Nites View Post
    I guess I should have mentioned that my computer is SLOW. There is a good chance the lag caused the gear check to fail. Do you have any clue why it is finding the beekeeper random?
    Something to do with random solving. Are you using ref or col antirandoms? You should report the bug in the respective thread. That's the only reasoning I can figure.

    Adding in a second check for the GearCheck is really simple.

    Replace SetupPlayer with this:

    Simba Code:
    Procedure SetupPlayer;
    Begin
      Wait(2000);
      MarkTime(BRTime); //Sets the time before breaking, used for knowing when to break
      SetAngle(true);
      R_MakeCompass('n');  //Set the initial conditions
      SetRun(True);
      StartLev := R_GetSkillLevel(Skill_Fishing); //Collect data for the player (used to reduce using Player values
      StartEx := R_GetSkillExperience(Skill_Fishing);
      If (StartLev < 1) Then StartLev := GetSkillLevel(Skill_Fishing);
      If (StartEx < 1) Then StartEx := GetXP(Skill_Fishing);
      Debug('StartLev : ' + ToStr(StartLev) + ' StartXP : ' + ToStr(StartEx));
      GameTab(Tab_Inv);
      LoadsDone := 0;
      If Not Decider Then Failure('Decider'); //If no fishOption can be determined then quit
      If Not GearCheck(ToFish) Then
      Begin
        Wait(RandomRange(150,300));
        If not GearCheck(ToFish) Then Failure('GearCheckSetup'); //If no gear then quit
      End;
      DoRandom;
      If Not LoggedIn Then Exit;
      ScriptSettings; //Determine the settings
    End;

    It's located around line 1420 for me, it will be lower for you because you have more players set up.

    Replace the main loop with this:

    Simba Code:
    Begin
      ScriptSetup;
      LoginPlayer;
      Wait(1500);
      Repeat
        SetupPlayer;
        Repeat
          If Not LoggedIn Then Break;
          Repeat
            DoRandom;
            If Not LoggedIn Then Break;
            If Not GearCheck(ToFish) Then
            Begin
              Wait(RandomRange(100,300));
              If Not GearCheck(ToFish) Then Failure('GearCheckMain');
            End;
            If Not Fishing Then Failure('FishingMain');
          Until (InvFull);
          If Not LoggedIn Then Break;
          R_MakeCompass(0);
          If Not Walk(ToStore) Then Failure('WalkToStore');
          If Not LoggedIn Then Break;
          If Not AfterFishes Then Failure('AfterFishing');
          If Not LoggedIn Then Break;
          If Not Walk(ToDock) Then Failure('WalkToDock');
          If Not LoggedIn Then Break;
          DataCollecter;
          Rester;
          Proggy;
        Until (Not LoggedIn);
        Players[CurrentPlayer].Active := False;
        If AllPlayersInactive Then
          TerminateScript;
        Debug('Player was logged out, next player');
        NextPlayer(False);
      Until (AllPlayersInactive)
    End.

    These fixes will be included in the next release, I am going to release the entire update when it is ready though, so this will function while you wait

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  4. #29
    Join Date
    Sep 2010
    Location
    Northern Kentuckeh
    Posts
    759
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    When I run this script, RS takes considerably more time to load than other scripts, like 10-15 minutes of load time. It also does not go through the lobby, right when it enters the username and password I am completely logged in. Is this supposed to happen?

    EDIT: also resets all my graphics settings as well.
    Last edited by doublex8; 01-05-2011 at 07:40 AM.

  5. #30
    Join Date
    Dec 2010
    Location
    Leuven
    Posts
    57
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by doublex8 View Post
    When I run this script, RS takes considerably more time to load than other scripts, like 10-15 minutes of load time. It also does not go through the lobby, right when it enters the username and password I am completely logged in. Is this supposed to happen?

    EDIT: also resets all my graphics settings as well.
    It's probably because the script uses the unsigned smart client by default, which is slower and more laggy than signed for many people (from what I've managed to read around here).

    If you want to change it, change
    Smart_Signed := False;
    to
    Smart_Signed := True;

  6. #31
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by Furyan View Post
    It's probably because the script uses the unsigned smart client by default, which is slower and more laggy than signed for many people (from what I've managed to read around here).

    If you want to change it, change

    to
    This^

    E: It loads unsigned client because Jagex cannot detect anything that goes on outside of the client. Using signed gives them access to basically whatever they want.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  7. #32
    Join Date
    Sep 2010
    Location
    Northern Kentuckeh
    Posts
    759
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    ahh I see. Thank you very much for the info

  8. #33
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    There's a lot of debates about the unsigjnged vs signed, and I'm too drunk to find the info right now, but youy can do a searcgh for the stuff by Moparisthebest (he's so fucking smart) and find out the threard.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  9. #34
    Join Date
    Jul 2007
    Location
    Ohio
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    3Garrett3's Fisherer 0.1 Progress Report
    *********************************************
    Ran for: 6 Hours, 32 Minutes and 4 Seconds
    Fished : 936 Total Fish
    Fished : 936 Lobsters
    *********************************************
    0: | False | 78 Fish | 3 Loads | 1 Levels | 7020 Experience|
    1: | False | 364 Fish | 14 Loads | 3 Levels | 29790 Experience|
    2: | False | 26 Fish | 1 Loads | 0 Levels | 0 Experience|
    3: | False | 104 Fish | 4 Loads | 1 Levels | 7020 Experience|
    4: | False | 208 Fish | 8 Loads | 1 Levels | 18720 Experience|
    5: | False | 26 Fish | 1 Loads | 0 Levels | 2340 Experience|
    6: | False | 130 Fish | 5 Loads | 2 Levels | 11160 Experience|

    [02:56:48] We were too far from the dock, getting closer
    [02:57:05] FindSpot activating, could not find spot with TPA
    [02:57:08] Fish Spot was found, but was not found on MS after attempts to relocate
    [02:57:08] Fishing Spot not found, player should be on dock however, please report this error.
    [02:57:08] Script failed at: FishingMain
    This was the only problem that killed all of my players. It happens when it left clicks on a fishing spot and the menu pops up with all the players names and stuff, it will look at the fishing spot option, but it will be a Net option and it wont click it. The menu then stays open and blocks the entire screen so the script cant find any spots.
    It was hard to explain, but if you need a screenshot or something just ask.

    Edit* Quick solution: Less crowded world. Haha
    Last edited by King of the Nites; 01-08-2011 at 03:03 AM.

  10. #35
    Join Date
    Jul 2010
    Posts
    1,115
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    possible to add only pickup fish and note them?

  11. #36
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by King of the Nites View Post
    3Garrett3's Fisherer 0.1 Progress Report
    *********************************************
    Ran for: 6 Hours, 32 Minutes and 4 Seconds
    Fished : 936 Total Fish
    Fished : 936 Lobsters
    *********************************************
    0: | False | 78 Fish | 3 Loads | 1 Levels | 7020 Experience|
    1: | False | 364 Fish | 14 Loads | 3 Levels | 29790 Experience|
    2: | False | 26 Fish | 1 Loads | 0 Levels | 0 Experience|
    3: | False | 104 Fish | 4 Loads | 1 Levels | 7020 Experience|
    4: | False | 208 Fish | 8 Loads | 1 Levels | 18720 Experience|
    5: | False | 26 Fish | 1 Loads | 0 Levels | 2340 Experience|
    6: | False | 130 Fish | 5 Loads | 2 Levels | 11160 Experience|



    This was the only problem that killed all of my players. It happens when it left clicks on a fishing spot and the menu pops up with all the players names and stuff, it will look at the fishing spot option, but it will be a Net option and it wont click it. The menu then stays open and blocks the entire screen so the script cant find any spots.
    It was hard to explain, but if you need a screenshot or something just ask.

    Edit* Quick solution: Less crowded world. Haha
    Yeah the secondary menu thing is hard to make it find. I made it move the mouse away from the menu if it doesn't find the text, but maybe it doesn't move far enough? The easiest solution is like you said, don't use in a crowded world.

    Quote Originally Posted by bolshak25 View Post
    possible to add only pickup fish and note them?
    I can, swords, lobsters and tuna?

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  12. #37
    Join Date
    Jul 2007
    Location
    Ohio
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    3Garrett3's Fisherer 0.1 Progress Report
    *********************************************
    Ran for: 14 Hours, 55 Minutes and 17 Seconds
    Fished : 2080 Total Fish
    Fished : 2080 Lobsters
    *********************************************
    0: | False | 0 Fish | 0 Loads | 0 Levels | 0 Experience|
    1: | False | 26 Fish | 1 Loads | 0 Levels | 1620 Experience|
    2: | False | 416 Fish | 16 Loads | 3 Levels | 36180 Experience|
    3: | True | 728 Fish | 28 Loads | 4 Levels | 64350 Experience|
    4: | False | 234 Fish | 9 Loads | 2 Levels | 20430 Experience|
    5: | False | 286 Fish | 11 Loads | 2 Levels | 23760 Experience|
    6: | False | 390 Fish | 15 Loads | 3 Levels | 35010 Experience|
    Uhhh what can i say? THANK YOU! Im sorry but I cant give any script details, i came back to find Simba was closed, luckily it saves the progress reports. Here is what I see after logging into RS.
    0: Just standing on the dock with a half full invy of lobbies.
    1: Same as ^
    2: Same as ^
    3: Leo random failed.
    4: Same as 0
    5: Mime random failed.
    6: Same as 0.

    Im guessing it was the same problem as last time for those 5 accounts. But thank you, it works amazing!

  13. #38
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by King of the Nites View Post
    Uhhh what can i say? THANK YOU! Im sorry but I cant give any script details, i came back to find Simba was closed, luckily it saves the progress reports. Here is what I see after logging into RS.
    0: Just standing on the dock with a half full invy of lobbies.
    1: Same as ^
    2: Same as ^
    3: Leo random failed.
    4: Same as 0
    5: Mime random failed.
    6: Same as 0.

    Im guessing it was the same problem as last time for those 5 accounts. But thank you, it works amazing!
    Welcome!

    I'll have to try and get some time to work out the kinks in the text finding.. Everything else seems to be doing well though?

    Edit:

    Made a couple small changes to the script to help fix the text finding thing. Also added the better TPA fish finder, and made it work with the newest Reflection rev.
    Last edited by 3Garrett3; 01-09-2011 at 06:05 PM.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  14. #39
    Join Date
    Jul 2010
    Posts
    1,115
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    yes 3garrett3 swords lobs and tuna. just whatever gets dropped. thatll help me make a bit of cash on the side

  15. #40
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Umm im trying to make one myself and i had a quick look though to see how you find stiles, cuz i always fail
    So do you use color(What im trying) or do you use
    Simba Code:
    Function GetNPCsAtX(t: TTile): TNPCArray; //Credit to JP I believe?
    If so, could i use it please and give you and JP credit please.

    Thanks
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

  16. #41
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by Troll Man View Post
    Umm im trying to make one myself and i had a quick look though to see how you find stiles, cuz i always fail
    So do you use color(What im trying) or do you use
    Simba Code:
    Function GetNPCsAtX(t: TTile): TNPCArray; //Credit to JP I believe?
    If so, could i use it please and give you and JP credit please.

    Thanks
    I use colour (seach for FindStilesTPA i believe) and it works very well. I also have a reflection finder as back up, but I didn't use tiles. I just searched for his ID. He's stationary so it is really easy to find him.

    Good luck!

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  17. #42
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I must of missed that, also what color because i cant seem to find a working color.

    Thanks
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

  18. #43
    Join Date
    Jul 2007
    Location
    Ohio
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    3Garrett3's Fisherer 0.1 Progress Report
    *********************************************
    Ran for: 10 Hours, 34 Minutes and 51 Seconds
    Fished : 1019 Total Fish
    Fished : 1019 Lobsters
    Slept: 2 Times
    Slept for: 1 Hours, 58 Minutes and 39 Seconds
    Antiban used: 3711
    TPA Finder worked: 119 Times
    Reflection Finder worked: 9 Times
    *********************************************
    0: | False | 104 Fish | 4 Loads | 1 Levels | 9000 Experience|
    1: | False | 157 Fish | 6 Loads | 2 Levels | 14130 Experience|
    2: | False | 0 Fish | 0 Loads | 0 Levels | 0 Experience|
    3: | False | 131 Fish | 5 Loads | 2 Levels | 11790 Experience|
    4: | False | 27 Fish | 1 Loads | 1 Levels | 2430 Experience|
    5: | True | 391 Fish | 15 Loads| 4 Levels | 35190 Experience|
    6: | False | 209 Fish | 8 Loads | 3 Levels | 18810 Experience|
    Same thing happened as last time, Simba was closed so im not sure about all the details of what happened.

    0:Standing at the dock, half full invy
    1: ^^
    2: ^^
    3: ^^
    4: Morduat
    5: At dock, empty invy
    6: Drill demon

    I keep a log of the levels of my bots and one thing i noticed was that how much your script says i leveled, didnt match with how much i checked. It almost seemed like a couple players off. ex. i noticed my account #4 leveled 5 levels, but the script only said it leveled 1 time. My accounts #5&6 did not level at all, but the script said otherwise.

    Im not sure what to make of this, but thats what i noticed.

    EDIT* Also, I had it set to not sleep, but the proggy said it slept. So I'm also a little confused on that.
    EDIT2** I restarted it and watched it. It would click on a fishing spot. A huge list of players/fishing spots/fish would pop up, it would move over to the fishing spot option, and even if cage was a choice, it wouldnt click it. it would just keep hovering over different players names.
    Last edited by King of the Nites; 01-14-2011 at 12:47 AM.

  19. #44
    Join Date
    Feb 2009
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I keep getting this;

    File[C:\Simba\Includes\SRL/logs/SRL log 14-01-11 2.txt] has not been freed in the script, freeing it now.

  20. #45
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by King of the Nites View Post
    Same thing happened as last time, Simba was closed so im not sure about all the details of what happened.

    0:Standing at the dock, half full invy
    1: ^^
    2: ^^
    3: ^^
    4: Morduat
    5: At dock, empty invy
    6: Drill demon

    I keep a log of the levels of my bots and one thing i noticed was that how much your script says i leveled, didnt match with how much i checked. It almost seemed like a couple players off. ex. i noticed my account #4 leveled 5 levels, but the script only said it leveled 1 time. My accounts #5&6 did not level at all, but the script said otherwise.

    Im not sure what to make of this, but thats what i noticed.

    EDIT* Also, I had it set to not sleep, but the proggy said it slept. So I'm also a little confused on that.
    EDIT2** I restarted it and watched it. It would click on a fishing spot. A huge list of players/fishing spots/fish would pop up, it would move over to the fishing spot option, and even if cage was a choice, it wouldnt click it. it would just keep hovering over different players names.
    The basic bug is the long list of text. I guess I could commit the mostly finished new version (.2 or .3 I actually don't remember) which has a little failsafe for this. Also, the line of code says "If Sleeping Then" and then starts sleeping. There can't really be a failsafe for this. I don't know what to tell you? It only increases the sleeped variable after it sleeps and only prints it in the proggy if sleeped is >0.

    Also, leveling works by getting the player's start level at the beginning of each log in, and checking each load to see if it has gone up, if so, inc by the difference. It should work, but I can take a look .

    Quote Originally Posted by B o l t o n View Post
    I keep getting this;

    File[C:\Simba\Includes\SRL/logs/SRL log 14-01-11 2.txt] has not been freed in the script, freeing it now.
    I need the lines above this in the script, because that line is not actually a bug.

    Edit:

    Quote Originally Posted by Troll Man View Post
    I must of missed that, also what color because i cant seem to find a working color.

    Thanks
    Simba Code:
    Function FindStilesTPA: Boolean;
    Var
      TPA: TPointArray;
      TDPA: T2DPointArray;
      I, CTS, H, X, Y, Tries: Integer;
    Begin
      If Not LoggedIn Then Exit;

      SetAngle(False); //This makes it a lot easier to find Stiles
      MakeCompass('n');

      cts := GetColorToleranceSpeed;
      ColorToleranceSpeed(2);
      SetColorspeed2Modifiers(0.09, 0.36);

      For Tries := 0 To 2 Do
      Begin

        FindColorsSpiralTolerance(MSCX, MSCY, TPA, 11185079, MSX1, MSY1, MSX2, MSY2, 16); //Looks for his shirt
        If Length(TPA) = 0 Then
          FindColorsSpiralTolerance(MSCX, MSCY, TPA, 11185079, MSX1, MSY1, MSX2, MSY2, 25);
        TDPA := TPAtoATPAEx(TPA, 30, 20);
        If Length(TDPA) = 0 Then Continue;

        SortATPASize(TDPA, True); //Sorts the biggest ATPA first
      //DebugATPABounds(TDPA);
        H := High(TDPA);
        For i := 0 To H Do
        Begin
          Wait(5);
          MiddleTPAEx(TDPA[i], x, y);
          MMouse(x + 5, y, 2, 2); //Mouse over to the middle of each ATPA
          If WaitUpText('tiles', 1000) Then
          Begin
            GetMousePos(x, y);
            Mouse(x, y, 0, 0, False); //If we find the uptext, click the exact mouse position
            If WaitOptionMulti(['Exchange', 'xcha', 'change', 'nge'], 900) Then
            Begin
              Result := True;
              ColorToleranceSpeed(cts);
              Flag;
              Exit;
            End;
          End;
        End;

      End; //End tries loop
      Result := False; //If it doesn't find Stiles it will make it to this point.
      ColorToleranceSpeed(cts);
    End;

    Function FindStiles: Boolean;
    Var
      Stiles: TNPC;
      StilesMS: TPoint;
    Begin
      If Not LoggedIn Then Exit;
      Debug('Finding Stiles');
      If Not GetClosestNPC(Stiles, 'Stiles') Then //Gets the closest NPC
        Stiles := GetNPC('Stiles'); //Else gets the only NPC (should do the same thing)
      If Not TileOnMS(Stiles.Tile, 0) Then
        WalkToTile(Stiles.Tile, 1, 0); //Walks to his tile if he's not on the MS
      If TileOnMS(Stiles.Tile, 0) Then
      Begin
        R_Flag;
        Debug('Finding MS coords');
        StilesMS := TileToMS(Stiles.Tile, 0); //Gets the MS coords
        Mouse(StilesMS.x, StilesMS.y, 2, 2, False); //Clicks Stiles
        If Not WaitOption('Exchange', 900) Then //If it doesn't find the option to exchange
        Begin
          If Not GetClosestNPC(Stiles, 'Stiles') Then //Try the entire thing all over again (allows for misclick)
            Stiles := GetNPC('Stiles');
          StilesMS := TileToMS(Stiles.Tile, 0);
          Mouse(StilesMS.x, StilesMS.y, 2, 2, False);
          Result := WaitOption('Exchange', 900);
          R_Flag;
          Exit;
        End Else //if Waitoption works the first time
        Begin
          R_Flag;
          Result := True;
          Exit;
        End;
      End; //If nothing works
      Result := False;
      Debug('Stiles wasn''t found');
    End;

    Line 1200 is the Stiles part, so you know.

    Ask if you need anything else
    Last edited by 3Garrett3; 01-14-2011 at 05:16 PM.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  21. #46
    Join Date
    Jun 2009
    Posts
    147
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hi, I'm getting this problem on the Ver.2:
    [Error] (352:28): Invalid number of parameters at line 351
    Compiling failed.
    which is this function and the line " NPCs := GetNPCs(FishSpot);" that messes it up. I'm not too sure what the problem is however:
    Simba Code:
    Function GetNPCsOnTile(Tile: TPoint): TNPCArray; //Not sure who gets credit for this. Maybe I made it?
    Var
      i, h, resCounter: Integer;
      NPCs: TNPCArray;
    Begin
      NPCs := GetNPCs(FishSpot);
      SetLength(Result, Length(NPCs));
      h := High(NPCs);
      For i := h Downto 0 Do
      Begin
        If (Not NPCs[i].Tile.X = Tile.X) Or (Not NPCs[i].Tile.Y = Tile.Y) Then
          Continue;
        Result[resCounter] := NPCs[i];
        Inc(resCounter);
      End;

      SetLength(Result, resCounter);
    End;
    Live simply so that others may simply live.

  22. #47
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by final_result View Post
    Hi, I'm getting this problem on the Ver.2:

    which is this function and the line " NPCs := GetNPCs(FishSpot);" that messes it up. I'm not too sure what the problem is however:
    Simba Code:
    Function GetNPCsOnTile(Tile: TPoint): TNPCArray; //Not sure who gets credit for this. Maybe I made it?
    Var
      i, h, resCounter: Integer;
      NPCs: TNPCArray;
    Begin
      NPCs := GetNPCs(FishSpot);
      SetLength(Result, Length(NPCs));
      h := High(NPCs);
      For i := h Downto 0 Do
      Begin
        If (Not NPCs[i].Tile.X = Tile.X) Or (Not NPCs[i].Tile.Y = Tile.Y) Then
          Continue;
        Result[resCounter] := NPCs[i];
        Inc(resCounter);
      End;

      SetLength(Result, resCounter);
    End;
    The very newest version is compatble with the new Reflection. You dont seem to have the new version because it works for eveyone else?

    E:

    I'm drunk but Oi meant the new reflection and my newest script version. Make sure you have both

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  23. #48
    Join Date
    Jun 2009
    Posts
    147
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by 3Garrett3 View Post
    The very newest version is compatble with the new Reflection. You dont seem to have the new version because it works for eveyone else?

    E:

    I'm drunk but Oi meant the new reflection and my newest script version. Make sure you have both
    Thanks, I've been lazy updating because I thought I had it automatically update, but I guess not :P. Works for me now, sorry for bothering you.
    Live simply so that others may simply live.

  24. #49
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by final_result View Post
    Thanks, I've been lazy updating because I thought I had it automatically update, but I guess not :P. Works for me now, sorry for bothering you.
    No problem, tell me how it goes!

    On another note, I am updating a few things, hopefully adding a bunch of big ol failsafes for the text finding, and then I'll make sure the sleeping thing is working, and likely add in picking up fish and noting, depending on if ground items is working, it could be problematic because I'd imagine there is a large line of text when you try to pick stuff up and SRL doesn't exactly like that. Also I'm working on adding stats, so hopefully this will be a large, sexy update!

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  25. #50
    Join Date
    Jul 2007
    Location
    Ohio
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    When will the update be coming? Because I cant find a world that is empty enough so that the script doesnt fail because of the huge chooseoption screen.

    Its weird because it
    1) clicks the fishing spot
    2) huge chooseoption screen comes up
    3) moves mouse to fishing option
    4) second choose option for fishing comes up
    5) even if it's the cage option it wont click...

    Thanks.

    EDIT* Also a way to get rid of choose option screen is to move the mouse very far away from the choose options. Anywhere on the right side near the inventory or minimap.

Page 2 of 8 FirstFirst 1234 ... LastLast

Thread Information

Users Browsing this Thread

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

Posting Permissions

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