rogue poser
02-15-2007, 05:13 AM
hey, im trying 2 figure out WHAT I DID WRONG on this, this is my first script and im attempting an auto alcher..... it says
"Line 174: [Hint] (193:43): Variable 'NEWLINE' never used in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar
Successfully executed"
so it says it worked but errrm...... WTF it wont do what im telling it to, all i want it to do is find a friking color and click it, so i set the alch colors to just some generic colors on the runescape page, just to try to get it to click them
im very tired i will be checking up in the morning, some1 please tell me what im doing wrong (probably like 10 things at once)
program AutoAlcher;//ROGUE POSER'S first script, an auto alcher
//////////////////////////////////////////////////////
//PPPPPP/////OOOO/////SSSSSS////EE///////EE//RRRRRRRR//
//PP///PP//OO////OO//SS////SSS//EE///////EE//RR////////
//PPPPPP///OO////OO/SS//////////EE///////EE//RRRRR/////
//PP//PP///OO////OO/SS///SSSSS//EE///////EE//RR////////
//PP///PP//OO////OO//SS/////SS///EE/////EE///RR////////
//PP////PP///OOOO//////SSSSS///////EEEEE/////RRRRRRRR//
///////////////////////////////////////////////////////
{.include SRL\SRL.SCAR}
Const
AlchColor1 = 65535 ; //for AlchColors 1 and 2 put the color
AlchColor2 = 16777215 ; //of the item you wish to alch
ItemAlchd = 'Item name here'; //name of item being alched.CAPITALIZE APPROPRIATELY
BankerColor1 = 0000000;
BankerColor2 = 0000000;
Procedure Report;
begin
writeln('+-+-+-+-+-+-+-+-+-+-+-+-+-+-')
writeln('Rogue Posers Auto Alcher V.001 lol')
writeln('Worked for '+ TimeRunning);
writeln('+-+-+-+-+-+-+-+-+-+-+-+-+-+-')
end;
Procedure Alch;
begin
if(FindColor(x,y,AlchColor1,0,0,600,600)) then
begin
Writeln('Found Item ... Now Alching');
Wait(300+random(150));
MoveMouseSmooth(x,y+random(2));
HoldMouse(x,y,true);
Wait(100+random(75));
ReleaseMouse(x,y,true);
end else
Writeln('Did not find Item, proceding to color 2');
begin
if(FindColor(x,y,AlchColor2,0,0,600,600)) then
MoveMouseSmooth(x,y+random(2));
HoldMouse(x,y,true);
Wait(90+random(85));
ReleaseMouse(x,y,true);
end;
end;
begin
end.
i just want to know what all im doing wrong, can some1 whos good at this help me?
"Line 174: [Hint] (193:43): Variable 'NEWLINE' never used in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar
Successfully executed"
so it says it worked but errrm...... WTF it wont do what im telling it to, all i want it to do is find a friking color and click it, so i set the alch colors to just some generic colors on the runescape page, just to try to get it to click them
im very tired i will be checking up in the morning, some1 please tell me what im doing wrong (probably like 10 things at once)
program AutoAlcher;//ROGUE POSER'S first script, an auto alcher
//////////////////////////////////////////////////////
//PPPPPP/////OOOO/////SSSSSS////EE///////EE//RRRRRRRR//
//PP///PP//OO////OO//SS////SSS//EE///////EE//RR////////
//PPPPPP///OO////OO/SS//////////EE///////EE//RRRRR/////
//PP//PP///OO////OO/SS///SSSSS//EE///////EE//RR////////
//PP///PP//OO////OO//SS/////SS///EE/////EE///RR////////
//PP////PP///OOOO//////SSSSS///////EEEEE/////RRRRRRRR//
///////////////////////////////////////////////////////
{.include SRL\SRL.SCAR}
Const
AlchColor1 = 65535 ; //for AlchColors 1 and 2 put the color
AlchColor2 = 16777215 ; //of the item you wish to alch
ItemAlchd = 'Item name here'; //name of item being alched.CAPITALIZE APPROPRIATELY
BankerColor1 = 0000000;
BankerColor2 = 0000000;
Procedure Report;
begin
writeln('+-+-+-+-+-+-+-+-+-+-+-+-+-+-')
writeln('Rogue Posers Auto Alcher V.001 lol')
writeln('Worked for '+ TimeRunning);
writeln('+-+-+-+-+-+-+-+-+-+-+-+-+-+-')
end;
Procedure Alch;
begin
if(FindColor(x,y,AlchColor1,0,0,600,600)) then
begin
Writeln('Found Item ... Now Alching');
Wait(300+random(150));
MoveMouseSmooth(x,y+random(2));
HoldMouse(x,y,true);
Wait(100+random(75));
ReleaseMouse(x,y,true);
end else
Writeln('Did not find Item, proceding to color 2');
begin
if(FindColor(x,y,AlchColor2,0,0,600,600)) then
MoveMouseSmooth(x,y+random(2));
HoldMouse(x,y,true);
Wait(90+random(85));
ReleaseMouse(x,y,true);
end;
end;
begin
end.
i just want to know what all im doing wrong, can some1 whos good at this help me?