Results 1 to 11 of 11

Thread: DudesMagicAlcher

  1. #1
    Join Date
    Jan 2012
    Posts
    319
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Smile DudesMagicAlcher

    ]Hey everyone.


    MOST UP TO DATE VERSION IS KEPT HERE!!


    Made an alcher to share. Hope everyone enjoys it. The low alch does not work currently, but I will be adding that soon. Its my first script I am releasing so give me your feedback.

    Here's a proggy that I made

    ////////DUDES_MAGIC_ALCHER\\\\\\\\
    TIME RAN: 16 Minutes and 50 Seconds
    XP GAIN: 20215
    XP/H: 72040.3411655698
    Casting High Levelled Alchemy

    ---Set Up---

    Place Nature Runes in any slot but 2nd or 3rd
    Put the Item you want to alch in third slot
    Declare players and press play
    Last edited by [D]ude; 04-18-2012 at 03:21 AM.
    -My Scripts-
    Dude'sFighters
    Dude'sBonfires
    Donations help with scripting Paypal!

  2. #2
    Join Date
    Jan 2012
    Posts
    319
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Reserved for proggies and does anyone know how you get a download link for your script?
    -My Scripts-
    Dude'sFighters
    Dude'sBonfires
    Donations help with scripting Paypal!

  3. #3
    Join Date
    Sep 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by dude1994 View Post
    Reserved for proggies and does anyone know how you get a download link for your script?
    You have to add an attachment. Edit your first post and switch it to advanced settings. This will change the ui to the way you have it when you do a regular post. Click on the paperclip then upload the script.

  4. #4
    Join Date
    Jan 2012
    Posts
    319
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thanks man! It works lolz
    -My Scripts-
    Dude'sFighters
    Dude'sBonfires
    Donations help with scripting Paypal!

  5. #5
    Join Date
    Sep 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by dude1994 View Post
    Thanks man! It works lolz
    Haha no problem. Figured out myself the other day

  6. #6
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    Looks good, but I have some suggestions :P


    Simba Code:
    procedure antiban();
    begin
      FindNormalRandoms;
      case random(200) of
        1: MakeCompass(RandomRange(100,180));
        2: PickUpMouse;
        3: RandomAngle(True);
        4: HoverSkill(skill_Magic,false);
      end;
    end;

    Work on your standards with this one. Remember that a case starts at 0(zero) and not at 1

    Simba Code:
    procedure Antiban;
    begin
      FindNormalRandoms;
        case Random(200) of
          0: MakeCompass(RandomRange(100, 180));
          1: PickUpMouse;
          2: RandomAngle(True);
          3: HoverSkill(skill_Magic, False);
        end;
    end;

    Also, for your alching pattern
    Simba Code:
    MMouse(647, 230, 7, 7);
    Wait(1150 + Random(35));

    This means the random amount of wait time is extremely low, 35/1150*100%=3% is random. Which means that 97% is the exact same time every time. It also means that you move the mouse every time you click which is something that I personally don't do when I'm alching. I've actually never really alched legimately in my life, but when I did, I did a couple alchs without moving and mainly used mousekeys. I would play around with this and make a case with different waiting times like this:

    [ Part of one of the test scripts I've made: ]
    Simba Code:
    procedure Alching;
    {===============================================================================
    This part handles the alching
    ===============================================================================}

    var
      X, Y, CurrentAlchs: Integer;

    begin
      Talking;
      CurrentAlchs:=0
      if not(GameTab(tab_Magic)) then
        begin
          WriteLn('Current tab is not the magic tab, switching!');
          FTab(28);
        end;
      Mousebox(608, 289, 631, 312, 2);  // The exact box around High-Alchemy
      GetMousePos(X, Y);
      Wait(25 + Random(50));
      repeat
        begin
          Talking;
          Mouse(X, Y, 0, 0, 1);
          case Random(10) of
            0: Wait(700 + Random(200));
            1: Wait(600 + Random(300));
            2: Wait(500 + Random(400));
            3: Wait(400 + Random(500));
            4: Wait(300 + Random(600));
            5: Wait(700 + Random(100));
            6: Wait(600 + Random(200));
            7: Wait(500 + Random(300));
            8: Wait(400 + Random(400));
            9: Wait(1000 + Random(500));
          end;
          Mouse(X, Y, 0, 0, 1);
          Inc(CurrentAlchs);
          Inc(Alch);
          case Random(10) of
            0: Wait(700 + Random(200));
            1: Wait(600 + Random(300));
            2: Wait(500 + Random(400));
            3: Wait(400 + Random(500));
            4: Wait(300 + Random(600));
            5: Wait(700 + Random(100));
            6: Wait(600 + Random(200));
            7: Wait(500 + Random(300));
            8: Wait(400 + Random(400));
            9: Wait(1000 + Random(500));
          end;
        end;
      until(CurrentAlchs>=RandomRange(10, 50)) or not(LoggedIn);   // Every 10-50 alchs it moves the mouse a bit
    end;

    Other then that it looks well made for a first script

    Script source code available here: Github

  7. #7
    Join Date
    Jan 2012
    Posts
    319
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Alright. I'll look into it and change it in a while. Thanks. Also I'm going to add a low alch option sometime when I get around to it too, but I'm really busy with school currently and can't take twenty minutes out of my day right now, haha.

    *edit* changed and updated or w/e
    Last edited by [D]ude; 04-11-2012 at 06:12 PM.
    -My Scripts-
    Dude'sFighters
    Dude'sBonfires
    Donations help with scripting Paypal!

  8. #8
    Join Date
    Jan 2012
    Posts
    319
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    No other comments?
    -My Scripts-
    Dude'sFighters
    Dude'sBonfires
    Donations help with scripting Paypal!

  9. #9
    Join Date
    Feb 2012
    Posts
    212
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Looks pretty good to me. The main thing I always see is that you needa put your antiban procedure in your mainloop, it's no use just declaring it. Maybe call upon it whilst your waiting for it to alch, I'd put it somewhere in that case statement.

    Other than that good work. Maybe a failsafe to check if your alching would be a good feature... like this

    Simba Code:
    procedure ProgressReport(var startXP: integer);
    var gain: integer;
    begin
      if gain = GetXPBarTotal- startXP then
      begin
        Logout;
        Writeln('No experience was being gained')
        TerminateScript;
      end;
      gain := GetXPBarTotal- startXP;
      {$IFDEF DEBUG}
      {$ENDIF}

      writeln('////////DUDES_MAGIC_ALCHER\\\\\\\\');
      writeln('TIME RAN: ' + TimeRunning);
      writeln('XP GAIN: ' + IntToStr(gain));
      writeln('XP/H: ' + floatToStr(3600000 * 1.0 / GetTimeRunning * gain));
    end;

    Pee.ess it wasn't 97% it would be the same time it was (1/35 * 100)% which is just below 3% roughly the exact same time. But yeah it was still not very much randomized :P
    Previously known as sockz
    - Dwarven Stout buyer (F2P MONEYMAKER) http://villavu.com/forum/showthread....45#post1001045
    - G-Altar script, tons of failsafes. (Flawless for me) http://villavu.com/forum/showthread.php?t=79454

  10. #10
    Join Date
    Jan 2012
    Posts
    319
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Okay. I'll try adding a failsafe. I took the antiban off because it would move the mouse when it checked for randoms, and then it would mess up. I'm working on adding dtms for the script, so maybe it won't do that then.

    Yeah I looked into the random thing and changed it a while ago. I don't think you have the new one. Now its like randomize God haha. Jking, maybe its not that great, but still a ton better. I've gained around 1m magic xp with my script so far.
    -My Scripts-
    Dude'sFighters
    Dude'sBonfires
    Donations help with scripting Paypal!

  11. #11
    Join Date
    Jan 2012
    Posts
    319
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    For the most up to date version with the most options please go to---Dude'sHigh/LowAlcher
    -My Scripts-
    Dude'sFighters
    Dude'sBonfires
    Donations help with scripting Paypal!

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
  •