Page 2 of 2 FirstFirst 12
Results 26 to 40 of 40

Thread: Shilo Gemtacular

  1. #26
    Join Date
    Feb 2012
    Location
    California
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Its because the prices from the GE arent being pulled down correctly. Their server was overloaded. In Version 1.2 im adding a failsafe for that. For now, change procedure GetPrices to:

    Code:
    procedure GetPrices;
    var
      url, strPrice : String;
      i:Integer;
      ids:Array of Integer;
    begin
      ids := [1625,1627,1629,1623,1621,1619,1617];
      for i:=0 to high(ids) do
      begin
        try
          url := 'http://glowbotting.x10.mx/GEPriceChecker.php?id='+IntToStr(ids[i]);
          strPrice := Trim(GetPage(url));
          strPrice := Replace(strPrice,'k','00');
          strPrice := Replace(strPrice,'.','');
          prices[i] := StrToInt(strPrice);
          Writeln(gemNames[i] + ': ' + IntToStr(prices[i]));
        except
          Writeln('GE prices were not recieved. The server is either down or busy');
          Exit;
        end;
      end;
    end;
    Mind you that the price calculations wont work if this is the case.
    Last edited by drfreshtacular; 02-25-2012 at 07:43 PM.

  2. #27
    Join Date
    Jan 2012
    Posts
    117
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    How come its not mineing that good it slow when finding the gem rocks

  3. #28
    Join Date
    Jan 2012
    Posts
    117
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Nvm i had to change mineing break to no instead of yes lol my bad good script =)

  4. #29
    Join Date
    Jun 2006
    Location
    N Wales
    Posts
    558
    Mentioned
    2 Post(s)
    Quoted
    56 Post(s)

    Default

    Quote Originally Posted by drfreshtacular View Post
    Its because the prices from the GE arent being pulled down correctly. Their server was overloaded. In Version 1.2 im adding a failsafe for that. For now, change procedure GetPrices to:

    Code:
    procedure GetPrices;
    var
      url, strPrice : String;
      i:Integer;
      ids:Array of Integer;
    begin
      ids := [1625,1627,1629,1623,1621,1619,1617];
      for i:=0 to high(ids) do
      begin
        try
          url := 'http://glowbotting.x10.mx/GEPriceChecker.php?id='+IntToStr(ids[i]);
          strPrice := Trim(GetPage(url));
          strPrice := Replace(strPrice,'k','00');
          strPrice := Replace(strPrice,'.','');
          prices[i] := StrToInt(strPrice);
          Writeln(gemNames[i] + ': ' + IntToStr(prices[i]));
        except
          Writeln('GE prices were not recieved. The server is either down or busy');
          Exit;
        end;
      end;
    end;
    Mind you that the price calculations wont work if this is the case.
    just incase you didn't know you can just use
    Code:
    GetGePrice(itemID);
    to find the ge price of something

  5. #30
    Join Date
    Feb 2012
    Location
    California
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh wow, didn't know that lol. Thanks

  6. #31
    Join Date
    Feb 2012
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    great bot had it running all night

    [6 Hours, 47 Minutes and 7 Seconds] Searching For Banker...
    [6 Hours, 47 Minutes and 16 Seconds] Walking to Gem Mine.
    [6 Hours, 47 Minutes and 42 Seconds] Walking to Bank
    [6 Hours, 48 Minutes and 11 Seconds] Searching For Banker...
    [6 Hours, 48 Minutes and 12 Seconds] Searching For Banker...
    [6 Hours, 48 Minutes and 13 Seconds] Searching For Banker...
    [6 Hours, 48 Minutes and 14 Seconds] Searching For Banker...

  7. #32
    Join Date
    May 2007
    Location
    Waterloo, Ontario, Canada
    Posts
    1,008
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Great script for a first script, keep up the good work Though, an anti-leech method should have been implemented here, seeing as you're using banking .



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

    Default

    woot mining exp and cash

    craft exp as well if you craft without fail

  9. #34
    Join Date
    Feb 2012
    Location
    California
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks guys Glad it's working out. Working on another script atm. Been a little busy with other things atm though. Loving the feedback

  10. #35
    Join Date
    Feb 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    | SHILO GEMTACULAR V1.2 REPORT | (4 Hours, 14 Minutes and 13 Seconds) |
    |---------------------------------------------------------------|
    | Mining XP: 73450
    | Mining XP/HR: 17335
    | Total Profit: 981392
    | Profit/HR: -49954
    |---------------------------------------------------------------|
    | OTHER INFO |
    |---------------------------------------------------------------|
    | Gem | Profit |
    |---------------------------------------------------------------|
    | opal 363 19965
    | jade 519 67470
    | red topaz 87 23664
    | sapphire 63 81459
    | emerald 24 55296
    | ruby 49 223538
    | diamond 25 510000
    |---------------------------------------------------------------|

    I noticed the profit per hour isn't working correctly but other than that great script.

  11. #36
    Join Date
    Feb 2012
    Posts
    438
    Mentioned
    1 Post(s)
    Quoted
    16 Post(s)

    Default

    Quite a nice first script, I love how the whole script you note what each function does and explain the use of it Quite funny. Your standards are a bit off at times, but I am not one to talk as I suck with them :P I would surely have added an antileach, as this is potent money making for sure.
    Great job!
    Anubis
    Ski-U-Mah

  12. #37
    Join Date
    Nov 2011
    Posts
    261
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Sounds interesting... Gratz on writing your first script....think you have a bright future here.

  13. #38
    Join Date
    Mar 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sometimes it doesn't bank the gems. it clicks on the bankers but doesn't deposit gems. other than that its great!

  14. #39
    Join Date
    Mar 2012
    Posts
    66
    Mentioned
    1 Post(s)
    Quoted
    1 Post(s)

    Default

    Could i use your script as a base for other scripts like fishing and woodcutting?

  15. #40
    Join Date
    May 2012
    Posts
    59
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Nice script, better than mine, I just used the gem miner I found on here and added banking, works perfect but it isn't really my code just flights altered to bank, so in the end it isn't really mine haha.
    Thanks for the script though will be sticking with the one I have since I cant see much off a difference between the two. I am interested in your next project however .

Page 2 of 2 FirstFirst 12

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
  •