70s_dollar
03-24-2009, 02:26 AM
Items for Gold
by 70s_dollar
STATUS = ONLINE
Hello, I'm 70s_dollar and I made this script for fun, and just to add an alternative to some of the more complex High alching scripts out there. This is one is quite simple, an Alching procedure, and a Proggie.
What does it do?
High Alchs any noted item in the 13th slot of your Inv/Low Alchs any noted item in the 8th slot of your Inv.
How do I set it up?
//Place the alching item in the 13th inv slot for high alc, 8th for low alch//
//Setup Lines 42-43, and 48-70//
//Ensure you have enough runes or a staff and enough runes//
//Press Start//
//Post Proggie!//
Best Proggies
Best goes to awkwardsaw, way to go!
|_\Items for Gold/_| by 70s Dollar
Thanks for using
-----------------------
Alched 500 out of 500 times!
0 Alchs to do
32500 Magic Exp gained
So, this is Items for Gold
////////////////////////////////////////////////////////
// //
// //////// //////// //////// /// /// //////// //
// // // // // // // // //
// // // ///// // // //////// //
// // // // // // // //
// //////// // //////// // // //////// //
// //
// //////// //////// ////// //
// // // // // // //
// ///// // // ////// //
// // // // // // //
// // //////// // // //
// //
// ///////// ////////// // ///////// //
// // // // // // // //
// // // // // // // //
// // ////// // // // // // //
// // // // // // // // //
// //////// ////////// ////////// ////////// //
// //
////////////////////////////////////////////////////////
//Items for Gold by 70s_dollar, steal it and I kill you!//
//Place the alching item in the 13th inv slot for high alc, 8th for low alch//
//Start on the magic tab//
//Setup Lines 42-43, and 48-70//
//Ensure you have enough runes or a staff and enough runes//
//Press Start//
//Post Proggie!//
program Alcher;
{.include SRL/SRL/Misc/Smart.scar}
{.Include SRL\SRL.SCAR}
var
alched: integer;
//SETUP//
const
AlchNumber = 3; //How many much of the item do you want to alch?
Alchtype = 'high'; //High for high alc, low for low alc
procedure DeclarePlayers;
begin
HowManyPlayers := 1; {How many players?}
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0; {What player do whish to use?}
Players[0].Name := ''; //username
Players[0].Pass := ''; //password
Players[0].Nick := ''; //3-4 letters of name
Players[0].Active := True;
{Players[1].Name := ''; //username
Players[1].Pass := ''; //password
Players[1].Nick := ''; //3-4 letters of name
Players[1].Active := False;
Players[2].Name := ''; //username
Players[2].Pass := ''; //password
Players[2].Nick := ''; //3-4 letters of name
Players[2].Active := False;
Players[3].Name := ''; //username
Players[3].Pass := ''; //password
Players[3].Nick := ''; //3-4 letters of name
Players[3].Active := False; }
end;
procedure Alch(High: string);
var
sx, sy, ix, iy, s2x, s2y, i2x, i2y: integer;
begin
sx := 574;
sy := 354;
ix := 579;
iy := 338;
if (AlchType = Lowercase('low'))then
begin
s2x := 717;
s2y := 252;
i2x := 705;
i2y := 265;
if(not(GameTab(7))) then
GameTab(7);
Wait(500+Random(100));
Mouse(s2x, s2y, 5, 5, True);
Wait(600+Random(500));
Mouse(i2x, i2y, 4, 5, True);
Inc(Alched);
end else
if(not(GameTab(7))) then
GameTab(7);
Wait(500+Random(100));
Mouse(sx, sy, 5, 5, True);
Wait(1300+Random(500));
Mouse(ix, iy, 4, 5, True);
Inc(Alched);
end;
procedure Proggy;
begin
ClearDebug;
Writeln('|_\Items for Gold/_| by 70s Dollar');
Writeln('Thanks for using ;)');
Writeln('-----------------------');
Writeln('Alched '+IntToStr(Alched)+' out of '+IntToStr(AlchNumber)+' times using'+AlchType+' alchemy');
Writeln(IntToStr(AlchNumber-Alched)+ ' Alchs to do :)');
Writeln(IntToStr(Alched*65)+ ' Magic Exp gained');
Disguise('YouTube - Randy Pausch Last Lecture: Achieving Your Childhood Dreams - Mozilla Firefox'); //Longest thing I know of
end;
Procedure SetupSmart;
Begin
Writeln('Loading SMART');
SmartSetupEx(23, false, true, false);
wait(3000);
SetTargetDC(SmartGetDC);
repeat
wait(100);
until(SmartGetColor(253, 233)<>1118604);
Cleardebug;
Writeln('SMART loaded');
end;
procedure MainLoop;
begin
If(not(loggedin)) then loginplayer;
repeat
Alch(AlchType);
Proggy;
until(Alched >= AlchNumber) or (AllPlayersInactive) or (not(loggedin));
if (AllPlayersInactive) then
begin
Logout;
Cleardebug;
Writeln('All players are inactive');
wait(500+random(500));
Writeln('Thank you for using Transporter');
TerminateScript;
end else
begin
Nextplayer(False);
If(not(loggedin)) then
Begin
Writeln('No players are logged in');
TerminateScript;
end;
end;
end;
Procedure SetupScript;
Begin
Cleardebug;
SetupSRL;
Cleardebug;
SetupSmart;
DeclarePlayers;
If (not(loggedin)) then loginplayer;
makecompass('n');
SetAngle(True);
Setrun(true);
end;
begin
Setupscript;
Repeat
Mainloop;
Until(AllPlayersInactive);
end.
end
Just on an end note, I want to give a big hand out to 99_, who helped me through the proggy, helped to fix up my mouse movements and clicks, and helped out through the Low alch and High alch swtiching, thanks. and also, post proggies and bugs please!
Version 2.0
Multiplayer
Optional Smart
Soon to come with SRL Stats and Form!
70s_dollar
by 70s_dollar
STATUS = ONLINE
Hello, I'm 70s_dollar and I made this script for fun, and just to add an alternative to some of the more complex High alching scripts out there. This is one is quite simple, an Alching procedure, and a Proggie.
What does it do?
High Alchs any noted item in the 13th slot of your Inv/Low Alchs any noted item in the 8th slot of your Inv.
How do I set it up?
//Place the alching item in the 13th inv slot for high alc, 8th for low alch//
//Setup Lines 42-43, and 48-70//
//Ensure you have enough runes or a staff and enough runes//
//Press Start//
//Post Proggie!//
Best Proggies
Best goes to awkwardsaw, way to go!
|_\Items for Gold/_| by 70s Dollar
Thanks for using
-----------------------
Alched 500 out of 500 times!
0 Alchs to do
32500 Magic Exp gained
So, this is Items for Gold
////////////////////////////////////////////////////////
// //
// //////// //////// //////// /// /// //////// //
// // // // // // // // //
// // // ///// // // //////// //
// // // // // // // //
// //////// // //////// // // //////// //
// //
// //////// //////// ////// //
// // // // // // //
// ///// // // ////// //
// // // // // // //
// // //////// // // //
// //
// ///////// ////////// // ///////// //
// // // // // // // //
// // // // // // // //
// // ////// // // // // // //
// // // // // // // // //
// //////// ////////// ////////// ////////// //
// //
////////////////////////////////////////////////////////
//Items for Gold by 70s_dollar, steal it and I kill you!//
//Place the alching item in the 13th inv slot for high alc, 8th for low alch//
//Start on the magic tab//
//Setup Lines 42-43, and 48-70//
//Ensure you have enough runes or a staff and enough runes//
//Press Start//
//Post Proggie!//
program Alcher;
{.include SRL/SRL/Misc/Smart.scar}
{.Include SRL\SRL.SCAR}
var
alched: integer;
//SETUP//
const
AlchNumber = 3; //How many much of the item do you want to alch?
Alchtype = 'high'; //High for high alc, low for low alc
procedure DeclarePlayers;
begin
HowManyPlayers := 1; {How many players?}
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0; {What player do whish to use?}
Players[0].Name := ''; //username
Players[0].Pass := ''; //password
Players[0].Nick := ''; //3-4 letters of name
Players[0].Active := True;
{Players[1].Name := ''; //username
Players[1].Pass := ''; //password
Players[1].Nick := ''; //3-4 letters of name
Players[1].Active := False;
Players[2].Name := ''; //username
Players[2].Pass := ''; //password
Players[2].Nick := ''; //3-4 letters of name
Players[2].Active := False;
Players[3].Name := ''; //username
Players[3].Pass := ''; //password
Players[3].Nick := ''; //3-4 letters of name
Players[3].Active := False; }
end;
procedure Alch(High: string);
var
sx, sy, ix, iy, s2x, s2y, i2x, i2y: integer;
begin
sx := 574;
sy := 354;
ix := 579;
iy := 338;
if (AlchType = Lowercase('low'))then
begin
s2x := 717;
s2y := 252;
i2x := 705;
i2y := 265;
if(not(GameTab(7))) then
GameTab(7);
Wait(500+Random(100));
Mouse(s2x, s2y, 5, 5, True);
Wait(600+Random(500));
Mouse(i2x, i2y, 4, 5, True);
Inc(Alched);
end else
if(not(GameTab(7))) then
GameTab(7);
Wait(500+Random(100));
Mouse(sx, sy, 5, 5, True);
Wait(1300+Random(500));
Mouse(ix, iy, 4, 5, True);
Inc(Alched);
end;
procedure Proggy;
begin
ClearDebug;
Writeln('|_\Items for Gold/_| by 70s Dollar');
Writeln('Thanks for using ;)');
Writeln('-----------------------');
Writeln('Alched '+IntToStr(Alched)+' out of '+IntToStr(AlchNumber)+' times using'+AlchType+' alchemy');
Writeln(IntToStr(AlchNumber-Alched)+ ' Alchs to do :)');
Writeln(IntToStr(Alched*65)+ ' Magic Exp gained');
Disguise('YouTube - Randy Pausch Last Lecture: Achieving Your Childhood Dreams - Mozilla Firefox'); //Longest thing I know of
end;
Procedure SetupSmart;
Begin
Writeln('Loading SMART');
SmartSetupEx(23, false, true, false);
wait(3000);
SetTargetDC(SmartGetDC);
repeat
wait(100);
until(SmartGetColor(253, 233)<>1118604);
Cleardebug;
Writeln('SMART loaded');
end;
procedure MainLoop;
begin
If(not(loggedin)) then loginplayer;
repeat
Alch(AlchType);
Proggy;
until(Alched >= AlchNumber) or (AllPlayersInactive) or (not(loggedin));
if (AllPlayersInactive) then
begin
Logout;
Cleardebug;
Writeln('All players are inactive');
wait(500+random(500));
Writeln('Thank you for using Transporter');
TerminateScript;
end else
begin
Nextplayer(False);
If(not(loggedin)) then
Begin
Writeln('No players are logged in');
TerminateScript;
end;
end;
end;
Procedure SetupScript;
Begin
Cleardebug;
SetupSRL;
Cleardebug;
SetupSmart;
DeclarePlayers;
If (not(loggedin)) then loginplayer;
makecompass('n');
SetAngle(True);
Setrun(true);
end;
begin
Setupscript;
Repeat
Mainloop;
Until(AllPlayersInactive);
end.
end
Just on an end note, I want to give a big hand out to 99_, who helped me through the proggy, helped to fix up my mouse movements and clicks, and helped out through the Low alch and High alch swtiching, thanks. and also, post proggies and bugs please!
Version 2.0
Multiplayer
Optional Smart
Soon to come with SRL Stats and Form!
70s_dollar