Results 1 to 8 of 8

Thread: Need help fiixing Pwnaz0r's Powerminer gas finding

  1. #1
    Join Date
    Oct 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need help fiixing Pwnaz0r's Powerminer gas finding

    I have downloaded a script written by Pwnaz0r. Very good script works really nice, except that doesn't handle gas like it is supposed to. So here is the part of the script responsible for it, so if anyone knows what we could tweak to make it work post(by the way he doesn't take any credit for the handle gas procedure).
    Code:
    procedure HandleGas;
    begin
      MouseSpeed:= 12;
      Mouse(MMCX, MMCY, 3, 3, true);
      FFlag(0);
      Inc(GasesHandled);
      Inc(Players[CurrentPlayer].integers[1]);
      Loc('Waiting out for Gas');
      ReportVars[2]:= 1;
      SendSRLReport;
      FTWait(40);
      Loc('Working');
    end;

  2. #2
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    when you have a problem with a script. post it in the topic of the script . so that the owner of the script can see there's something wrong.

    the problem is probably that it doesn't look on the right place for a gas. because with that piece of code you posted. is nothing wrong. but as i said. post it in the topic from Pwnaz0r

  3. #3
    Join Date
    Oct 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    been posted many times on his thread he doesn't show any interest in fixing it, and i am thinking the problem is that it clicks once near the rock which doesn't help because you don't stop mining, so is there a way to make it click multiple times?

  4. #4
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The piece of code you posted isnt the part that looks for the gas. its the part that runs away. If thats the problem... youll have to be more specific.
    ~ Metagen

  5. #5
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Have a look at what calls the HandleGas;

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  6. #6
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Danteliciouz View Post
    been posted many times on his thread he doesn't show any interest in fixing it, and i am thinking the problem is that it clicks once near the rock which doesn't help because you don't stop mining, so is there a way to make it click multiple times?
    it doesn't click near the rock.
    SCAR Code:
    Mouse(MMCX, MMCY, 3, 3, true);
    click on the minimap.
    maby the problem is that the script doesn't have a (good) follow rock* procedure? i haven't seen his script so i don't know if he have one

    *when it clicks and he walk to the rock. the findgas keep looking on the place were it had clicked. but you've walked. so the rock isn't on that place anymore.

  7. #7
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nice catch 0.0
    ~ Metagen

  8. #8
    Join Date
    Aug 2007
    Location
    England
    Posts
    734
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What this code does, is on finding gas it clicks the center of the map, stopping you mining. Im guessing the problem is with finding gas, as of which you need to check that it is called regularly during the mining procedure and taht the right x and y are used...
    The truth finally came out...


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 09-23-2008, 03:37 AM
  2. help with pwnaz0r's power cutter
    By Xanek in forum OSR Help
    Replies: 5
    Last Post: 12-06-2007, 04:11 AM
  3. Help with Pwnaz0r's PowerChopper
    By Wise Fries in forum OSR Help
    Replies: 6
    Last Post: 09-16-2007, 01:47 PM
  4. Replies: 10
    Last Post: 01-30-2007, 09:34 AM

Posting Permissions

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