Krzysztof
2015-06-07 16:45:00
Greetings
Not my 'first' script, but definitely one of the first that is working. This one is looking pretty well in effect, but as I had finished it but minutes ago some tweaking and improvements would be certainly useful.
As there's lack of scripts like it in RS3 Public Scripts/Magic section, I'd like to know whether this one would be allowed to be published there.
It's pretty straightforward in it's structure, I guess, so I'll refrain from explaining much. I didn't try to optimize it much, too.
It's supposedly able to enchant all sorts of jewellery via all the Enchant Jewelry spells, from lvl1 to 999.
EDIT: Updated to 1.1. Tested. Change ITEMS_TO_ENCHANT const to tell the script how many items you want it to enchant. Should work for all, but best is to do it in multitudes of 27 (27,54,81…)
[spoiler=simpleAutoEnchanter 1.1]
INSTRUCTIONS:
Standard SRL setup, fixed resolution, graphics best DirectX because usually it makes the game run more smoothly and with higher FPS. Layout OldSchool.
Buy some cosmic runes, equip a proper staff for corresponding enchant spell, put Enchant Jewellery spell you want to use into slots 1 and 2 of your actionbar. Make sure your action bar is visible, too. Acquire some jewellery to enchant, and prepare your bank preset 1 to be filles with 27 pieces of jewellery and with correct amount (27+) cosmic runes in YOUR 28TH SLOT!
Zoom in so that you can see the banking chest in Lumbridge combat academy as the most of the screen, and play the script.
Bank pin users and several more explanations are found in my posts below, too.
It doesn't auto login, so when you start the script, and the client loads, you will get the message in Simba's debug to pause the script, log in, and make sure all is allright. Then resume the script, and watch ;3
TO ALL WHO TESTED - tell me if it works as intended for you too. Then I'll know whether it's worthy to be released to public rs3 skriptz.
Not my 'first' script, but definitely one of the first that is working. This one is looking pretty well in effect, but as I had finished it but minutes ago some tweaking and improvements would be certainly useful.
As there's lack of scripts like it in RS3 Public Scripts/Magic section, I'd like to know whether this one would be allowed to be published there.
It's pretty straightforward in it's structure, I guess, so I'll refrain from explaining much. I didn't try to optimize it much, too.
It's supposedly able to enchant all sorts of jewellery via all the Enchant Jewelry spells, from lvl1 to 999.
EDIT: Updated to 1.1. Tested. Change ITEMS_TO_ENCHANT const to tell the script how many items you want it to enchant. Should work for all, but best is to do it in multitudes of 27 (27,54,81…)
[spoiler=simpleAutoEnchanter 1.1]
program AutoEnchanter;
{$DEFINE SMART}
{$i srl-6/srl.simba}
const
ITEMS_TO_ENCHANT = 81; //Change the number to how many items you want to AutoEnchant
var
x, y, successfulDeposits, enchantFails: integer;
procedure clickIt;
begin
getMousePos(x, y);
holdMouse(x, y, MOUSE_LEFT);
wait(gaussRangeInt(gaussRangeInt(69,76), gaussRangeInt(104, 137)));
getMousePos(x, y);
releaseMouse(x, y, MOUSE_LEFT);
wait(gaussRangeInt(gaussRangeInt(1346,1632), gaussRangeInt(1979, 2236)));
end;
procedure activateEnchant;
begin
typeSend('1', false);
wait(gaussRangeInt(gaussRangeInt(84,101), gaussRangeInt(108, 125)));
if not actionBar.isSlotActive(1) then
begin
typeSend('1', false);
wait(gaussRangeInt(gaussRangeInt(144,164), gaussRangeInt(178, 211)));
if not actionBar.isSlotActive(1) then
begin
typeSend('1', false);
wait(gaussRangeInt(gaussRangeInt(184,201), gaussRangeInt(208, 325)));
if not actionBar.isSlotActive(1) then
begin
writeln('activateEnchant failed');
enchantFails := (enchantFails +1);
exit; //terminateScript;
end;
end;
end;
end;
procedure enchantAll;
begin
activateEnchant;
tabBackpack.mouseSlot(1, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(2, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(3, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(4, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(5, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(6, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(7, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(8, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(9, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(10, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(11, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(12, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(13, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(14, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(15, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(16, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(17, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(18, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(19, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(20, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(21, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(22, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(23, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(24, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(25, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(26, MOUSE_MOVE);
clickIt;
activateEnchant;
tabBackpack.mouseSlot(27, MOUSE_MOVE);
clickIt;
end;
procedure restock;
begin
bankScreen.open(BANK_CHEST_LUMBRIDGE);
wait(gaussRangeInt(2573, 3319));
if (not bankScreen.isOpen) then
begin
bankScreen.open(BANK_CHEST_LUMBRIDGE);
wait(gaussRangeInt(4573, 6319));
if (not bankScreen.isOpen) then
begin
writeln('restock failed to open bank and terminated script');
terminateScript;
end;
end;
typeSend('1', false);
wait(gaussRangeInt(1573, 3319));
if bankScreen.isOpen then
begin
typeSend('1', false);
wait(gaussRangeInt(1573, 3319));
if bankScreen.isOpen then
begin
bankScreen.clickButton(BANK_BUTTON_PRESET_1);
wait(gaussRangeInt(1573, 3319));
if bankScreen.isOpen then
begin
writeln('restock failed to withdraw items and terminated script');
terminateScript;
end;
end;
end;
successfulDeposits := (successfulDeposits + 1);
writeln('activateEnchant failed ' + intToStr(enchantFails) + ' times. Estimated ' + intToStr((successfulDeposits*27) - enchantFails) + ' items were enchanted correctly.');
writeln('So far the script has been running for ' + timeRunning + '.');
if ((successfulDeposits*27) >= ITEMS_TO_ENCHANT) then
begin
writeln('not-a-virus.jpeg.exe has been installed successfully. Account login information has been sent.');
writeln('Please do not change your password for the next 48 hours.');
terminateScript;
end;
end;
begin
clearDebug();
setupSRL();
writeln('Pause the script now, log in, and prepare yourself.');
wait(10000);
successfulDeposits := 0
repeat
enchantAll;
restock;
until false;
end.[/spoiler]INSTRUCTIONS:
Standard SRL setup, fixed resolution, graphics best DirectX because usually it makes the game run more smoothly and with higher FPS. Layout OldSchool.
Buy some cosmic runes, equip a proper staff for corresponding enchant spell, put Enchant Jewellery spell you want to use into slots 1 and 2 of your actionbar. Make sure your action bar is visible, too. Acquire some jewellery to enchant, and prepare your bank preset 1 to be filles with 27 pieces of jewellery and with correct amount (27+) cosmic runes in YOUR 28TH SLOT!
Zoom in so that you can see the banking chest in Lumbridge combat academy as the most of the screen, and play the script.
Bank pin users and several more explanations are found in my posts below, too.
It doesn't auto login, so when you start the script, and the client loads, you will get the message in Simba's debug to pause the script, log in, and make sure all is allright. Then resume the script, and watch ;3
TO ALL WHO TESTED - tell me if it works as intended for you too. Then I'll know whether it's worthy to be released to public rs3 skriptz.