Page 6 of 10 FirstFirst ... 45678 ... LastLast
Results 126 to 150 of 244

Thread: [SRL-6] Camel's Air Crafter

  1. #126
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    Quote Originally Posted by Camel View Post
    Go to your scripts folder, find a folder called Camel Air Crafter (or something along those lines) and delete the file called "settings"

    About the breaking, I don't actually know what you're talking about. It just makes up some interval of time, and logs off for the duration of it. Nothing special.
    For standards' sake, a breaking change occurred in a commit to SRL today. Settings order now matches draw order. So a slight update so that the consistency matches across the board in some scripts have to happen. Gimme a few and I'll figure it out for this script.

  2. #127
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    Quote Originally Posted by Kevin View Post
    For standards' sake, a breaking change occurred in a commit to SRL today. Settings order now matches draw order. So a slight update so that the consistency matches across the board in some scripts have to happen. Gimme a few and I'll figure it out for this script.
    Does this mean the new standard for breaking will enable users to basically have one on the field, and one on the bench waiting? if so awesome!

    also. v4.4 is working just fine! was just loading an out-dated script :P

  3. #128
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    It looks like @Camel; updated the terms for variables, but not what position they were saved/loaded from

    Lines 1183-1192 should be:
    Simba Code:
    World :=  strToInt(playerForm.players[i].settings[0]);
        players[currentPlayer].world := World;
        RunsToDo :=  strToInt(playerForm.players[i].settings[1]);
        Debug := strToBool(playerForm.players[i].settings[4]);
        TakeBreaks := strToBool(playerForm.players[i].settings[3]);
        Preset := strToBool(playerForm.players[i].settings[5]);
        Antiban := strToBool(playerForm.players[i].settings[6]);
        UseTele := strToBool(playerForm.players[i].settings[7]);
        if Preset then
          PresetNumber :=  strToInt(playerForm.players[i].settings[2]);

  4. #129
    Join Date
    Nov 2014
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    -- WARNING: TRSMinimap.toggleRun(): Procedure hasn't been coded yet!

    spams that a ton
    and it doesn't see if I got air runes my proggy says negative air runes and negative profit and negative runs and so on:P

  5. #130
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    Found an issue that I think I pointed out in previous versions:

    While banking, it sometimes mis-clicks inside of the bank booths on the mini-map causing it to try and move to an impossible location, causing it to stand there until it logs out

    possible fix: set a timer to re-start opening bank procedure if it fails for 10 seconds?

    about to go and try to write my first script right now based on this script :P

  6. #131
    Join Date
    Apr 2012
    Posts
    157
    Mentioned
    10 Post(s)
    Quoted
    57 Post(s)

    Default

    Quote Originally Posted by theholyone View Post
    Found an issue that I think I pointed out in previous versions:

    While banking, it sometimes mis-clicks inside of the bank booths on the mini-map causing it to try and move to an impossible location, causing it to stand there until it logs out

    possible fix: set a timer to re-start opening bank procedure if it fails for 10 seconds?

    about to go and try to write my first script right now based on this script :P
    This is how I solved that
    Code:
    if isInBank() then
        begin
          if (minimap.isFlagPresent()) or (minimap.isPlayerMoving()) then
            begin
              wait(50);
              if walkTimer.getTime() > 60000 then
              begin
                exit;
              end;
            end;
          exit;
        end;
    Around line 781. It can only ever stand for a minute maximum. A walk can take up to 45 seconds..so I figured it would be safe. It's stopped any crashing due to that error.

  7. #132
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    Quote Originally Posted by serajin View Post
    This is how I solved that
    Code:
    if isInBank() then
        begin
          if (minimap.isFlagPresent()) or (minimap.isPlayerMoving()) then
            begin
              wait(50);
              if walkTimer.getTime() > 60000 then
              begin
                exit;
              end;
            end;
          exit;
        end;
    Around line 781. It can only ever stand for a minute maximum. A walk can take up to 45 seconds..so I figured it would be safe. It's stopped any crashing due to that error.
    thanks for the quick fix!


    looks like my journey to my very own first script is going to be a long one :|

    edit: nvm! I get what that it does now :P
    Last edited by theholyone; 12-18-2014 at 04:06 AM.

  8. #133
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    trying to debug what's been d/cing me but i keep getting the warning trsminmap.togglerun issue like mentioned above, is there anyway to eliminate that line? tried editing out the print function from minimaps but doesn't do anything =p

    oh, nvm had to stop and re-start script.
    Last edited by theholyone; 12-20-2014 at 12:47 AM.

  9. #134
    Join Date
    Nov 2014
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    <simba>
    SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (21-12-14 at 10.51.41 AM).txt
    Error: "True" is an invalid integer at line 1144
    Execution failed.
    The following bitmaps were not freed: [Minimap Mask]
    File[C:\Simba\Includes\SRL-6/logs/SRL log (21-12-14 at 10.51.41 AM).txt] has not been freed in the script, freeing it now.
    </simba>

    What happened D:

  10. #135
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by MatthewDai98 View Post
    <simba>
    SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (21-12-14 at 10.51.41 AM).txt
    Error: "True" is an invalid integer at line 1144
    Execution failed.
    The following bitmaps were not freed: [Minimap Mask]
    File[C:\Simba\Includes\SRL-6/logs/SRL log (21-12-14 at 10.51.41 AM).txt] has not been freed in the script, freeing it now.
    </simba>

    What happened D:
    Camel is going to need to post an update for the forms. You can change line 1139 for now. I think this will do it:

    Simba Code:
    with players[i] do
      begin
        World :=  strToInt(playerForm.players[i].settings[0]);
        players[currentPlayer].world := World;
        RunsToDo :=  strToInt(playerForm.players[i].settings[1]);
        Debug := strToBool(playerForm.players[i].settings[2]);
        TakeBreaks := strToBool(playerForm.players[i].settings[3]);
        Antiban := strToBool(playerForm.players[i].settings[4]);
        UseTele := strToBool(playerForm.players[i].settings[5]);
        PresetNumber :=  strToInt(playerForm.players[i].settings[6]);
      end;

  11. #136
    Join Date
    Jun 2014
    Location
    Oklahoma
    Posts
    336
    Mentioned
    22 Post(s)
    Quoted
    231 Post(s)

    Default

    That's weird about the playerforms. I just tested every setting when I last updated it. I think it might be different for other people (or i'm just did it wrong).

    Alright, I think I have it this time. (bonsai's isn't working for me (which is alarming)).

    If this does not work for you, please go to your scripts folder, find the Camel Air Runes folder and delete the settings.txt. If it still does not work, could you take a screen shot of your playerform.

    Sorry about all this, I'm doing it the same way I've always done it...

  12. #137
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    Quote Originally Posted by Camel View Post
    That's weird about the playerforms. I just tested every setting when I last updated it. I think it might be different for other people (or i'm just did it wrong).

    Alright, I think I have it this time. (bonsai's isn't working for me (which is alarming)).

    If this does not work for you, please go to your scripts folder, find the Camel Air Runes folder and delete the settings.txt. If it still does not work, could you take a screen shot of your playerform.

    Sorry about all this, I'm doing it the same way I've always done it...

    What I basically did was manually edited the script per account I was on to fix this,

    so instead of using player forum i basically set World := 7 etc etc,

  13. #138
    Join Date
    Nov 2014
    Posts
    21
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    still not working;/

  14. #139
    Join Date
    Jun 2014
    Location
    Oklahoma
    Posts
    336
    Mentioned
    22 Post(s)
    Quoted
    231 Post(s)

    Default

    Quote Originally Posted by MatthewDai98 View Post
    still not working;/
    Quote Originally Posted by Camel View Post
    If this does not work for you, please go to your scripts folder, find the Camel Air Runes folder and delete the settings.txt. If it still does not work, could you take a screen shot of your playerform.
    Doing this should help me fix it. As it is working as intended for me, i need another reference.

  15. #140
    Join Date
    May 2013
    Posts
    60
    Mentioned
    0 Post(s)
    Quoted
    29 Post(s)

    Default

    make a working OSRS air crafter please

  16. #141
    Join Date
    Feb 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks, working all nice and smooth. 6 hours clocking in, sadly no progress pic. Averaging 9300 runes/h. One day i hope i'm able to write as beautiful scripts as yours

  17. #142
    Join Date
    Jun 2014
    Posts
    369
    Mentioned
    14 Post(s)
    Quoted
    217 Post(s)

    Default

    SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (27-12-14 at 04.38.07 PM).txt
    Error: "False" is an invalid integer at line 1144
    Execution failed.
    The following bitmaps were not freed: [Minimap Mask]
    File[C:\Simba\Includes\SRL-6/logs/SRL log (27-12-14 at 04.38.07 PM).txt] has not been freed in the script, freeing it now.

  18. #143
    Join Date
    Sep 2014
    Posts
    37
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Error: The bitmap[2] does not exist at line 142 This is what i get after couple hours running it

  19. #144
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    probably means you crashed

  20. #145
    Join Date
    Jul 2014
    Posts
    39
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    I keep getting this error, and I would really like to use this script. I'll do what I can if it means this error is fixed.

  21. #146
    Join Date
    Jun 2014
    Location
    Oklahoma
    Posts
    336
    Mentioned
    22 Post(s)
    Quoted
    231 Post(s)

    Default

    Quote Originally Posted by SOmesand View Post
    I keep getting this error, and I would really like to use this script. I'll do what I can if it means this error is fixed
    I'm going to need a bit more of a description than "this error" to help you.

  22. #147
    Join Date
    Jan 2012
    Posts
    246
    Mentioned
    3 Post(s)
    Quoted
    91 Post(s)

    Default

    @Camel @The Mayor @NKN

    ---- Found option "Bank" in "Bank Banker"
    -- TRSChooseOption.select() result = true
    gridBox: Invalid slot: 102
    gridBox: Invalid slot: 102
    Stopping script
    Out Of Ess
    Logging out
    I have essence in the first inventory slot of my bank, but I am getting this error. Do you think essence colors could of changed, which may be causing the script not to detect the 2700 essence I have in my bank? Just slightly confused, any advice or insight would be appreciated.

  23. #148
    Join Date
    Jun 2014
    Location
    Oklahoma
    Posts
    336
    Mentioned
    22 Post(s)
    Quoted
    231 Post(s)

    Default

    Quote Originally Posted by Theron View Post
    I have essence in the first inventory slot of my bank, but I am getting this error. Do you think essence colors could of changed, which may be causing the script not to detect the 2700 essence I have in my bank? Just slightly confused, any advice or insight would be appreciated.
    Use presets. They're better, faster, and I removed support for ess in bank anyways.

  24. #149
    Join Date
    Jan 2012
    Posts
    246
    Mentioned
    3 Post(s)
    Quoted
    91 Post(s)

    Default

    Quote Originally Posted by Camel View Post
    Use presets. They're better, faster, and I removed support for ess in bank anyways.
    I have both of my presets set to full inventories of essence, with 1 law rune and staff of fire equipped. Named 1/2 accordingly.

    Edit: I replaced starting at line 1139 with the code Bonsai posted above and it fixed all my issues. Thank you.

  25. #150
    Join Date
    Dec 2014
    Posts
    188
    Mentioned
    3 Post(s)
    Quoted
    100 Post(s)

    Default

    SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (17-01-15 at 02.30.47 PM).txt
    Error: "True" is an invalid integer at line 1144
    Execution failed.
    The following bitmaps were not freed: [Minimap Mask]
    File[C:\Simba\Includes\SRL-6/logs/SRL log (17-01-15 at 02.30.47 PM).txt] has not been freed in the script, freeing it now.

    Getting this, can you help me?

Page 6 of 10 FirstFirst ... 45678 ... 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
  •