SRL Archive - RS3 Script Requests

Need EXTREMELY Simple Script Made. Please :)


IronikMagik

2012-01-29 23:12:32

Correct my title: extremely simple if you know what youre doing. i on the other hand have no idea. All i ask of you scripters is a simple eater. Yes an eater. most of the ones in combat fail me, but i need a script that can eat rock tails whenever its hp falls to a certain point. It needs to be precise, because the hp on my acct is extremely low. (lvl 10) and its that way for a reason. If anyone is wondering why i dont get get it up and why i need an eater…its because i need to play on one account and lootshare to this acct but this acct needs to be able to eat while i play. please and thanks ahead of time :)

IronikMagik

2012-01-29 23:13:32

btw, sorry im a newfag, but it doesnt mean i wont continue to grow into the community, errybody gotta start somewhere. yah feel me?

Griff

2012-01-29 23:15:43

Use the edit button, try not to double post ;)

And what you are asking for is in fact extremely easy. Try learning to do it yourself. All you need is to learn the very basics of scripting, (you can check the tutorial in my signature for that, or anything else in the beginner's section), you can use an SRL include function to checkhp, and then just a simple DTM to click the food :)

doublex8

2012-01-29 23:17:06

just out of curiosity what are you accomplishing with a lvl 10 account, sounds like you already ruined it if it's a skiller?

Griff

2012-01-29 23:19:14

From: doublex8
just out of curiosity what are you accomplishing with a lvl 10 account, sounds like you already ruined it if it's a skiller?


I think he means the HP level is 10 :p

IronikMagik

2012-01-29 23:34:00

From: Griff
I think he means the HP level is 10 :p


this^ and my goal is someeeday a 99 summon cb lvl 15 beast. and tbh i cba to make a script. you say it is easy but i have no idea where to begin or anything. thats why i requested it. if you would make it for me, then also teach me how to code a bit by teamviewer or a youtube video or something i would greatly appreciate it. but as of now. i will not attempt a script when i have 0 knowledge of anything simba

doublex8

2012-01-29 23:39:46

From: IronikMagik
this^ and my goal is someeeday a 99 summon cb lvl 15 beast. and tbh i cba to make a script. you say it is easy but i have no idea where to begin or anything. thats why i requested it. if you would make it for me, then also teach me how to code a bit by teamviewer or a youtube video or something i would greatly appreciate it. but as of now. i will not attempt a script when i have 0 knowledge of anything simba


There is a tut with a youtube video on it :)

I've always wanted to make a skiller with 99 summoning, prayer and magic trained without raising hp. Might try doing it after I max out my main.

IronikMagik

2012-01-29 23:44:49

lol couldnt you just make it for me please? tbh if i wanted to learn how to do it myself i would request help on how to do it.

NexPB

2012-01-30 08:09:35

Yes this is easy but why eat rocktails when you are only 10 hp? tuna would be enhoug lol.

momotron

2012-01-30 08:35:01

Rocktails keeps his hp @ 260 lps

Slatopaz

2012-01-30 13:35:23

I will try to make the script using Griffs signature, but I just know a bit of more scripting than you :)

IronikMagik

2012-01-30 15:19:17

thanks to anyone attempting to make this for me :)

Nebula

2012-01-30 15:22:44

If anyone wants to write this for him, here's the basic outline.

Repeat
If (HPPercent <60) then
begin
inc(food);
FindDTM(rocktail);
Mouse();
until(Food=28)

putonajonny

2012-01-30 15:28:43

does it need to do anything else, like attack? if not all you need it to do is check for if the HPPercent is less than 50 then check for whether there ExistsItem in inventory space 1, if so click it, elsecheck inventory space 2.

i don't think I could spell it out better than that, look into "for-to-do" statements statements

grats

2012-01-30 15:29:37

you can also just search the uptext for "Eat" and click it, either way


From: putonajonny
does it need to do anything else, like attack? if not all you need it to do is check for if the HPPercent is less than 50 then check for whether there ExistsItem in inventory space 1, if so click it, elsecheck inventory space 2.

i don't think I could spell it out better than that, look into "for-to-do" statements statements


no it basically just eats if it gets attacked.. his higher level account is going to be killing monsters and then the lower level will be collecting charms that drop for summoning

IronikMagik

2012-01-30 16:40:31

From: grats
you can also just search the uptext for "Eat" and click it, either way




no it basically just eats if it gets attacked.. his higher level account is going to be killing monsters and then the lower level will be collecting charms that drop for summoning


this is correct.

IronikMagik

2012-01-30 21:36:46

anyone have any luck yet?

dweg

2012-01-30 22:13:51

your eyes work faster than simba's ocr unfortunately. also, with 10 hp, DONT USE ROCKTAILS, use pies or strawberries for eating. there you go. hf.

IronikMagik

2012-01-31 17:07:36

lol why would i use pies or strawberries when its hp is so low? i need its hp at the highest it could be so it can survive while i play on another acct and lootshare charms to this one. did you read through the post at all?

IronikMagik

2012-02-02 19:54:52

anyone?

Fwd Motion

2012-02-02 20:37:14

I haven't tested this at all, but in theory it should work.

Just put this procedure like near the top of the script and everytime you want it to check the health put "CheckHealth;" in some random spots in other procedures and it will check it and eat for you.

Also, at the top of the script you may see something that says "const", if you do add this after "const"(if you don't see "const" just add this stuff at the top of the script and put "const" at the top of it):


EatAt = 100; //insert the hp percent that you want to eat at.
FirstInvSlot = 1; //First Inventory slot with with food in it?
DirectionToRun = 'N'; //Direction to run away if out of food - 'N' 'E' 'S' or 'W'


^^that is the stuff that you will need to edit for your personal preference, be sure to have your food in the last few inventory slots because it will start at the "FirstInvSlot" and eat going down.


vv Add this procedure somewhere towards the top of your script

Procedure CheckHealth; //Keep food in last few inventory slots
var
SlotNum:integer;

begin
if (HPPercent < EatAt) then
begin
Writeln('Health is at ' + inttostr(HPPercent) + '. Eating!');
if (SlotNum < 1) then
SlotNum := FirstInvSlot;
if (SlotNum < 28) then
begin
InvMouse(SlotNum,1);
SlotNum := SlotNum+1;
end;
if (SlotNum >= 28) then
begin
Writeln('Health is low and out of food! Running away!');
RunAway(DirectionToRun, True, 2, 5000);
ExitToLobby;
TerminateScript;
end;
end;
end;

I'm not sure how accurate this is, like I said, I didn't test it. But here's my attempt. let me know how it goes.

If you have trouble putting it into the script that you're using, just post the script and I will put it in for you.

Good Luck! (: