SRL Archive - RS3 Outdated / Broken Scripts

TomTuff's High Alcher


TomTuff

2011-01-31 03:15:15

I decided that SRL needs a Hi-Alcher that works (last time I tried MSI's it didn't work for me).

Features:
• Antiban
o Hovers magic skill
o Rotates compass
o Mouses off screen
• Will fix your spell book for you if you have bad settings
• SMART
• SRL Stats
• Simple yet efficient code
• MultiPlayer

Setup:
Have nature runes in your inventory and a fire staff equipped (or have fire runes in your inventory, but that's a waste). In DeclarePlayers, Arrays[0] is the list of the slots containing items you want to alch. I recommend running this somewhere with a lot of people, like the G.E.
*PROTIP* Have the item you want to alch in slot 17, that way it doesn't have to move the mouse much/at all


Reports:
<! >-------------------------------------------------< !>
<! > TomTuff's Alcher < !>
<! >-------------------------------------------------< !>
<! > Time Running: 2 hr 10 min 9 sec
<! > Alchs: 2000
<! > Exp: 130000
<! >-------------------------------------------------< !>

<! >-------------------------------------------------< !>
<! > TomTuff's Alcher < !>
<! >-------------------------------------------------< !>
<! > Time Running: 2 hr 2 min 59 sec
<! > Alchs: 2275
<! > Exp: 147875
<! >-------------------------------------------------< !>

<! >-------------------------------------------------< !>
<! > TomTuff's Alcher < !>
<! >-------------------------------------------------< !>
<! > Time Running: 3 hr 9 sec
<! > Alchs: 3108
<! > Exp: 202020
<! >-------------------------------------------------< !>

i luffs yeww

2011-01-31 03:23:00


GetClientDimensions(w, h);
MMouse(w, h, w, h);

Won't work as you intend. It should be MMouse(0, 0, w, h);.

Didn't care to look at anything else much after that since my cd finished burning and I wanna get my laptop working, but one thing that I dunno if you tackled is the only reason why alchers don't always work (afaik), which is that different spells are available for f2p/p2p/some quests change some stuff, I think.

So yeah. You got that on your hands, too.

TomTuff

2011-01-31 03:30:48

From: i luffs yeww

GetClientDimensions(w, h);
MMouse(w, h, w, h);

Won't work as you intend. It should be MMouse(0, 0, w, h);.

Didn't care to look at anything else much after that since my cd finished burning and I wanna get my laptop working, but one thing that I dunno if you tackled is the only reason why alchers don't always work (afaik), which is that different spells are available for f2p/p2p/some quests change some stuff, I think.

So yeah. You got that on your hands, too.


MMouse(w, h, w, h) moves the mouse to the bottom right corner (Point(w, h)) + random w, random h. It's supposed to be like mousing off the screen for a few seconds.

As for the f2p/p2p aspect, afaik the f2p/p2p normal spell book is the same, and if the user is a member, i would hope they would be competent enough to be on the normal spell book when they're trying to alch.

And about quests adding more spells, I'm unaware of any that do… unless you were talking about the different spell books for p2p, which I already addressed above.

Xanith

2011-01-31 04:02:24

Here's a quick fix for f2p players. All you do is replace the Alch function on line #105 with this:

function Alch: Boolean;
var
x, y: Integer;
begin
if not(LoggedIn) or (GetCurrentTab <> tab_Magic) then
Exit;
if (GetColor(704, 350) <> 2082667) then
if not(FixSpellBook) then
Exit;
GetMousePos(x, y);
if PointInBox(Point(x, y), IntToBox(683, 341, 707, 358)) then
begin
Writeln('Mouse was in alch box, not moving');
if (Random(99) <= 3) then //4% chance to move mouse in any direction
MMouse(x - 1, y - 1, 2, 2);
ClickMouse2(True);
end else
MouseBox(683, 341, 707, 358, 1);
Result := WaitTab(tab_Inv, 2000);
end;

ALSO: The ideal spot for the item to be alched would be 16

josh81193

2011-01-31 11:02:59

From: Xanith

ALSO: The ideal spot for the item to be alched would be 16


Not if you're p2p

Xanith

2011-01-31 12:05:24

From: Xanith
Here's a quick fix for f2p players. All you do is replace the Alch function on line #105 with this:


ALSO: The ideal spot for the item to be alched would be 16


The message you have entered is too short. Please lengthen your message to at least 3 characters.

TomTuff

2011-02-02 21:47:28

Updated. Now works pretty sweet, I don't have any reports saved but check out SRL Stats for all the commits today I made while I was at school. The only thing breaking it now is randoms. I've included reflection, because their random event solvers generally work better. Its still single player only.


Edit:
<! >-------------------------------------------------< !>
<! > TomTuff's Alcher < !>
<! >-------------------------------------------------< !>
<! > Time Running: 2 hr 10 min 9 sec
<! > Alchs: 2000
<! > Exp: 130000
<! >-------------------------------------------------< !>

mikev

2011-02-03 03:10:27

hmm seems to not work on mine it logs in then logs back out

TomTuff

2011-02-03 03:59:13

From: mikev
hmm seems to not work on mine it logs in then logs back out


Are you free to play? If you are, make sure you set "Member" to false in declare players. Also make sure you define the slots you want to alch. If you did those things and are free to play, then perhaps the point and box given by Xanith are inaccurate. If you're pay to play and have your settings proper, I don't know why it isn't working.

TomTuff

2011-02-04 00:01:34

Updated
  • Multiplayer
  • Progress for multiplayer (Same report for single player)
  • Improved main loop
It works, see original post for 2-3 hour progress reports. The only reason those reports have stopped, by the way, is because i had time limits set.

Some usage would be nice.

936 minutes on SRL stats.
Breakdown:
926 from TomTuff
10 from Xanith

:(

josh81193

2011-02-04 11:59:28

From: TomTuff
926 from TomTuff
10 from Xanith

:(


lol'd

I'll try using it some today, I have 3.2k alchs to do until 90 mage. :D

EDIT: It only did one alch, and then logged off…

0UT2K1LL

2011-02-04 17:03:19

Ive set up everything correct and for some reason it keeps logging in then logging out after switching to the spell book. The account is a member.


Player is not Active…
All players not active!
<! >————————————————-< !>
<! > TomTuff's Alcher < !>
<! >————————————————-< !>
<! > Time Running: 15 sec
<! > Alchs: 0
<! > Exp: 0
<! >————————————————-< !>
Successfully executed.

TomTuff

2011-02-05 00:46:57

http://pastebin.com/raw.php?i=PmF2ars5

I used that for my last 700 alchs last night. I don't understand why it does not work for others.

chitin

2011-02-05 04:43:41

edit:nvm i got nothing -.-…… one alch and logs out…i stared at the code for like 1 hr and found nothing wrong 0.0……….try slowind down the script see if that gives you a clue to what the problem might be.

0UT2K1LL

2011-02-06 17:47:15

I used the the setup from your link Tom but after one alch it ignores that its in the magic tab and clicks inv tab where it remains. It has only been like 5 seconds and it spams this:

<! >-------------------------------------------------< !>
<! >-------------------------------------------------< !>
<! > TomTuff's Alcher < !>
<! >-------------------------------------------------< !>
<! > Time Running: 2 hr 14 min 15 sec
<! > Alchs: 1
<! > Exp: 65

YoHoJo

2011-02-06 20:45:55

Closed By Request.