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

Thread: Caotom's Superheater - With Coalbag support

  1. #26
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    After searching around I only find a few references from people on a variety of scripts, this coupled with the fact that it works for some people and not for others leads me to believe that simba is not set up correctly.
    Please ensure you have the latest version of simba and all your plugins and extensions are correctly updated. Also ensure that your graphics settings are properly set up.
    Are you successfully using any other scripts?

    ~Caotom

  2. #27
    Join Date
    May 2012
    Location
    Pittsburgh
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5]
    I also got this error, i am 100 percent positive i have my simba installed correctly and that i have run 20+ other scripts since 991 release.

    [Edit: The Script From Both The Gui Form and the Script Form does not perform past a certain point:
    When the script logs in. It adjusts the camera angle to view West, then it checks my inventory for staff. It then goes to my skills page and right after it looks at the page it stops the script Opens SmartGraphics to line 96 and then stops. [Just trying to help out caotom.]
    Last edited by blowsmoke1; 08-12-2012 at 04:41 AM. Reason: More Detail.

  3. #28
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by blowsmoke1 View Post
    Simba Code:
    Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5]
    I also got this error, i am 100 percent positive i have my simba installed correctly and that i have run 20+ other scripts since 991 release.

    [Edit: The Script From Both The Gui Form and the Script Form does not perform past a certain point:
    When the script logs in. It adjusts the camera angle to view West, then it checks my inventory for staff. It then goes to my skills page and right after it looks at the page it stops the script Opens SmartGraphics to line 96 and then stops. [Just trying to help out caotom.]
    It is having an issue with drawing the proggy... Not 100% why.
    Try changing line 498 to
    Simba Code:
    SMART_DrawBitmap(True, Image, Point(MCX1, MCY1+50));
    if that doesn't work then try
    Simba Code:
    SMART_DrawBitmap(True, Image, Point(MCX1, MCY1));
    If that still doesn't work then delete the line altogether.

    ~Caotom

  4. #29
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    I deleted that line and I got the same error
    Simba Code:
    Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5]
    The background of the proggy did disappear though...

  5. #30
    Join Date
    Mar 2012
    Location
    I can only imagine.
    Posts
    111
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Runite Bar:

    |---------------------------------------------------------------------------------|
    You have been Running for a total of 51 Minutes and 21 Seconds
    You have managed to Heat 665 Bars
    You are Heating 777 Bars per hour!
    You are gaining -41181 Smithing exp per hour!
    You are gaining 41181 Magic exp per hour!
    Thankyou for using Caotoms SuperHeater
    |---------------------------------------------------------------------------------|

  6. #31
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    I deleted that line and I got the same error
    Simba Code:
    Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5]
    The background of the proggy did disappear though...
    Why on earth is this only happening to some people? It is somehow passing bad points to try and draw... If anyone knows why this is happening please let me know.

    ~Caotom

  7. #32
    Join Date
    Aug 2012
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    I was able to get past the script crashing issue by commenting out the Drawing section, But i am now getting a

    Script Shutting Down due to Failed to Bank.
    in Daemonheim.

    I completely replaced the Soulwars banking if else statement to make it look for the Freminik banker no matter what location is selected, and im still having issues with it not smelting the ore.

    It removes it from the bank (both iron and coal) but never smelts it. just re-deposits it.

    Any ideas?

  8. #33
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Im having the same issue. Commenting out the PaintSmart does solve the problem. This also fixes the issue for your Fisher Mr Caotom.
    Crit
    I want to make a working script. Lets hope i can be bothered anytime soon

  9. #34
    Join Date
    Sep 2010
    Posts
    51
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i get this problem randomly sometimes as well, i simply completely commented out the painted proggy and it works fine. to do this, find the paintsmart procedure and put a "{" before the word "procedure", then a "}" after the last "end;" in the procedure. then, go to the proggy procedure and comment out "paintsmart" by putting "//" before it.

    removed paintsmart:

    Simba Code:
    {procedure PaintSmart;
    var
      Line1, Line2, Line3, Line4, Line5, Line6, Line7: String;
      Image: Integer;
    begin
    *snip*
      Line1 := ('You have been Running for ' + TimeRunning);
      Line2 := ('You have managed to Heat ' + IntToStr(BarsMade) + ' Bars');
      Line3 := ('You are heating ' + IntToStr(((BarsMade) * 3600) / (GetTimeRunning / 1000)) + ' bars per hour!');
      Line4 := ('You are gaining ' + IntToStr(((GetXpBarTotal - StartExp) * 3600) / (GetTimeRunning / 1000) - (((BarsMade) * 3600) / (GetTimeRunning / 1000) * 53)) + ' Smithing exp per hour!');
      Line5 := ('You are gaining ' + IntToStr((((BarsMade) * 3600) / (GetTimeRunning / 1000)) * 53) + ' Magic exp per hour!');
      if LevelChecker >= 10 then
      begin
        CurrentSLevel := GetSkillLevel('Smithing');
        CurrentMLevel := GetSkillLevel('Magic');
        LevelChecker := 0;
      end else
        LevelChecker := LevelChecker + 1;
      Line6 := ('Smithing Level ' +IntToStr(CurrentSLevel)+ ' (+' +IntToStr(CurrentSLevel - SmithingLevel)+ ')');
      Line7 := ('Magic Level ' +IntToStr(CurrentMLevel)+ ' (+' +IntToStr(CurrentMLevel - MagicLevel)+ ')');
      SMART_DrawBitmap(True, Image, Point(4, 394));
      SMART_DrawText(10, 400, LoginChars, Line1, clWhite);
      SMART_DrawText(10, 450, LoginChars, Line2, clWhite);
      SMART_DrawText(10, 425, LoginChars, Line3, clWhite);
      SMART_DrawText(10, 475, LoginChars, Line4, clWhite);
      SMART_DrawText(10, 500, LoginChars, Line5, clWhite);
      SMART_DrawText(10, 365, SmallChars, Line6, clYellow);
      SMART_DrawText(10, 345, SmallChars, Line7, clYellow);
      FreeBitmap(Image);
    end;}

    then commented out proggy:

    Simba Code:
    procedure Proggy;
    begin
      ClearDebug;
      Writeln('|---------------------------------------------------------------------------------|');
      Writeln('        You have been Running for a total of ' + TimeRunning);
      Writeln('                  You have managed to Heat ' + IntToStr(BarsMade) + ' Bars');
      Writeln('                   You are Heating ' + IntToStr(((BarsMade) * 3600) / (GetTimeRunning / 1000)) + ' Bars per hour!');
      Writeln('             You are gaining ' + IntToStr(((GetXpBarTotal - StartExp) * 3600) / (GetTimeRunning / 1000) - (((BarsMade) * 3600) / (GetTimeRunning / 1000) * 53)) + ' Smithing exp per hour!');
      Writeln('              You are gaining ' + IntToStr((((BarsMade) * 3600) / (GetTimeRunning / 1000)) * 53) + ' Magic exp per hour!');
      Writeln('              Thankyou for using Caotoms SuperHeater :)');
      Writeln('|---------------------------------------------------------------------------------|');
      //PaintSmart;
    end;

  10. #35
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    I'm fairly sure i figured out the issue, my proggy on both my new scripts runs right down to the bottom of the screen, which is 50 pixels further down than the smart before the navigation bar update had. I'm fairly sure that somewhere insie the smart graphics include it is not properly updated to handle pixels in the 'new' 50 y pixels.
    Will update proggy not to go right down soon, for now follow the above fixes and delete the paintsmart procedure.
    (I'm 99% sure that it is 'line 5' and possibly 'line 4' that are causing the issue).

    ~Caotom

  11. #36
    Join Date
    Nov 2006
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for the fix guys, it solved the problem with the script stopping right away. However now it can't seem to find the daemonheim bank at start.

    |---------------------------------------------------------------------------------|
    You have been Running for a total of 29 Seconds
    You have managed to Heat 0 Bars
    You are Heating 0 Bars per hour!
    You are gaining 0 Smithing exp per hour!
    You are gaining 0 Magic exp per hour!
    Thankyou for using Caotoms SuperHeater
    |---------------------------------------------------------------------------------|
    Script Shutting Down due to Failed to Bank.

  12. #37
    Join Date
    Feb 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Keep getting this error:



    |---------------------------------------------------------------------------------|
    You have been Running for a total of 14 Seconds
    You have managed to Heat 0 Bars
    You are Heating 0 Bars per hour!
    You are gaining 0 Smithing exp per hour!
    You are gaining 0 Magic exp per hour!
    Thankyou for using Caotoms SuperHeater
    |---------------------------------------------------------------------------------|
    Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5]
    [Error] C:\Simba\Includes\SRL\SRL\Misc\SmartGraphics.Simba (25:3): Unknown identifier 'SmartSetDebug' at line 24
    Compiling failed.
    [Error] C:\Simba\Includes\SRL\SRL\Misc\SmartGraphics.Simba (25:3): Unknown identifier 'SmartSetDebug' at line 24
    Compiling failed.
    [Error] C:\Simba\Includes\SRL\SRL\Misc\SmartGraphics.Simba (25:3): Unknown identifier 'SmartSetDebug' at line 24
    Compiling failed.

  13. #38
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by rasek View Post
    Keep getting this error:



    |---------------------------------------------------------------------------------|
    You have been Running for a total of 14 Seconds
    You have managed to Heat 0 Bars
    You are Heating 0 Bars per hour!
    You are gaining 0 Smithing exp per hour!
    You are gaining 0 Magic exp per hour!
    Thankyou for using Caotoms SuperHeater
    |---------------------------------------------------------------------------------|
    Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5]
    [Error] C:\Simba\Includes\SRL\SRL\Misc\SmartGraphics.Simba (25:3): Unknown identifier 'SmartSetDebug' at line 24
    Compiling failed.
    [Error] C:\Simba\Includes\SRL\SRL\Misc\SmartGraphics.Simba (25:3): Unknown identifier 'SmartSetDebug' at line 24
    Compiling failed.
    [Error] C:\Simba\Includes\SRL\SRL\Misc\SmartGraphics.Simba (25:3): Unknown identifier 'SmartSetDebug' at line 24
    Compiling failed.
    Please read up.

    Will release an update to fix daemon sim banking soon.

    ~Caotom

  14. #39
    Join Date
    Nov 2006
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Caotom View Post
    Please read up.

    Will release an update to fix daemon sim banking soon.

    ~Caotom
    Thanks man, it's really appreciated

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

    Default

    Quote Originally Posted by the_mcroer View Post
    Thanks man, it's really appreciated
    Seconded

  16. #41
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Update 14/08/12
    - Fixed Daemonheim banking
    - Fixed DrawATPA paintsmart error
    - Added custom backup colour for Daemonheim Banking
    Let me know of any new bugs.

    ~Caotom

  17. #42
    Join Date
    Nov 2006
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hi again and thanks for the update,

    It does indeed find the bank, however it can't seem to enter bank pin, it says:
    WARNING: Character does not exist in font.

    I tried to set the bankpin myself and then activate the script again, it seemed to work fine: It withdraws coal, fills bag, withdraws 5 runite, and withdraws coal again. The problem comes when it selects Magic on the menu, it doesn't click on superheat, it just clicks back to the bag, and then banks again, with the bag still containing ores.

    Aside from that, it seemed to work very nice and the mouse had a natural movement, and moved fast which I like

  18. #43
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by the_mcroer View Post
    Hi again and thanks for the update,

    It does indeed find the bank, however it can't seem to enter bank pin, it says:
    WARNING: Character does not exist in font.

    I tried to set the bankpin myself and then activate the script again, it seemed to work fine: It withdraws coal, fills bag, withdraws 5 runite, and withdraws coal again. The problem comes when it selects Magic on the menu, it doesn't click on superheat, it just clicks back to the bag, and then banks again, with the bag still containing ores.

    Aside from that, it seemed to work very nice and the mouse had a natural movement, and moved fast which I like
    Are you sure that you are hiding all spells except for the nature rune ones? (as shown in OP).
    If you are then try colour picking the superheater spell colour (I dunno maybe it changed in the patch) and replacing the colour on line 699 and 709.

    Simba Code:
    if FindColorTolerance(x, y, {Your Colour Here} , 638, 224, 648, 236, 50) then

    ~Caotom

  19. #44
    Join Date
    Nov 2006
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Caotom View Post
    Are you sure that you are hiding all spells except for the nature rune ones? (as shown in OP).
    If you are then try colour picking the superheater spell colour (I dunno maybe it changed in the patch) and replacing the colour on line 699 and 709.

    Simba Code:
    if FindColorTolerance(x, y, {Your Colour Here} , 638, 224, 648, 236, 50) then

    ~Caotom
    I have the magic table set on utility spells only (which excludes high/low alchemy), as shown on the picture.

    I tried picking another superheater spell color, but the problem seems to remain, it still clicks on the bag right after it has clicked on the magic menu.

    When it clicks on the magic menu, it doesn't seem to look for any spell, like it doesnt go down to search for superheat on the menu. Instead the mouse clicks on the bag right after, so it kind of runs as a straight line back.

  20. #45
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by the_mcroer View Post
    I have the magic table set on utility spells only (which excludes high/low alchemy), as shown on the picture.

    I tried picking another superheater spell color, but the problem seems to remain, it still clicks on the bag right after it has clicked on the magic menu.

    When it clicks on the magic menu, it doesn't seem to look for any spell, like it doesnt go down to search for superheat on the menu. Instead the mouse clicks on the bag right after, so it kind of runs as a straight line back.
    It could be lag. Try adding a wait at line 709 so it looks like this
    Simba Code:
    GameTab(28);
    wait(RandomRange(400,600));
    if FindColorTolerance(x, y, 3269117, 638, 224, 648, 236, 50) then

    ~Caotom

  21. #46
    Join Date
    Nov 2006
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for fast response,

    I tried adding the wait line, but the problem persists

  22. #47
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by the_mcroer View Post
    Thanks for fast response,

    I tried adding the wait line, but the problem persists
    Try re-downloading, ironed out a few bugs. Hopefully it works for you, if you have trouble first try playing with the spell colour variable and see if that works.

    Update 14/08/12
    - BUG SPLAT!
    - Added Spell Colour variable that you can change if you have trouble

    ~Caotom

  23. #48
    Join Date
    Aug 2012
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    Thanks so much for the updates!

    It finally compiles and runs fine now except it will only smelt 1 bar per inventory, then back the 1 bar and ores and then repeat. Kind of really weird.

    Any ideas?

  24. #49
    Join Date
    Nov 2006
    Posts
    38
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by danth3g33k View Post
    Thanks so much for the updates!

    It finally compiles and runs fine now except it will only smelt 1 bar per inventory, then back the 1 bar and ores and then repeat. Kind of really weird.

    Any ideas?
    Yeah same here, it's working, except it's making only 1 bar, banking it and repeating the process.

  25. #50
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    With newest update the "DrawATPA" error should be fixed.
    If bugs persist post Debug.
    Crit
    I want to make a working script. Lets hope i can be bothered anytime soon

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)

Posting Permissions

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