SRL Archive - RS3 Outdated / Broken Scripts

A Fletcher that can use a Sacred Clay Knife


lysolman00

2009-04-02 17:28:00

This may be pretty simple, but I would like to have a fletching script, like Footballjds's, but with the ability to use a Sacred Clay Fletching Knife instead of a regular one. I don't know, could someone just modify his UltimateFletcher? I wish I could know how to do it…:(
I've put in alot of time/help for the Forums and now I'm asking for something little in return. Thank You so much!

I'm in the process of requesting permission from the author.

Harry

2009-04-02 17:30:48

You could probably change the DTM/Bitmap that he uses to the different knife. May I ask why you are trying to use this knife, vs a normal one? I don't do RS much..

lysolman00

2009-04-02 17:40:04

The Sacred Clay Fletchign knife doubles the fletching experience you get. So it's a big deal for me because I am trying to get 99 fletching (96 now) before my birthday in like 2 days.

By the way, I've been on this forum for 2 years and yet I don't know how to script, so I can't do this myself. I hope to learn scripting over the summer.

mormonman

2009-04-02 18:08:29

How many knives you got? I might just make a DTM for you… using football's script

Gavril

2009-04-02 18:19:15

You've been here for 2 years and don't know how to script? Ouch…

Smarter Child

2009-04-02 18:45:30

From: Gavril
You've been here for 2 years and don't know how to script? Ouch…


So? I don't see you scripting?
Except for that really noob feather thing…Plus, your totally off-topic, pm him if you wanna say things like that/
:(
–Try modding other fletching scripts.

Bitmaps are pretty easy to make you could just change the DTM to a bmp and tweak the function to your liking.

A lot of people, including me are teaching others basic scripting via msn, ask them or me to learn how to script, it's surprisingly easier than you probably think.

GL>:)

BKNYKavkaz

2009-04-02 18:48:15

Just give me a screenshot of the sacred knife. Ill mod the script for u. I wont credit myself though cause this is barely a mod.

lysolman00

2009-04-02 18:51:38

Mormonman. I have 5 Proto-Tools….which I just now turned into 5 Sacred Clay Fletching Knives. If you could add the option to use a Sacred Clay Fletching Knife, Mormonman…I would…Be the happiest guy in the world! And Gavril, I didn't learn how to script because I was too busy helping the community out in other ways, such as getting pictures of ALL the new randoms on the first 2 days they came out. :)
Thanks.

Ok, one sec I'll take a picture.

krisg05

2009-04-02 18:52:37

Dont forget though after so many uses it gos bk to clay then after so long breaks.
(After a certain number of uses, it will transform back into its base form.) it will kinda look botish if it just banks it at base form then withdraw a new one lol.

lysolman00

2009-04-02 19:05:42

Here is the picture of the knife. (5th item to the right on very top bank row)
Yeah I know that it breaks.
Wait a sec. Can the picture get any blurrier. Lol let me see if I save as something else.

Got it. It's here
http://img19.imageshack.us/img19/5483/bank182236.png

mormonman

2009-04-02 19:08:31

Is that a volatile one? does it matter, or is it the same with just a different name?

lysolman00

2009-04-02 19:21:29

I got this one from the Morphic tool, not the Volatile one (otherwise it would say volatile clay knife). This one that I have is the Sacred Clay Fletching Knife, not the volatile one where it chooses randomly. (sorta repeated myself there)
They do have different names.

Here is a picture of the name. http://img6.imageshack.us/img6/6509/090402182416.png

Gavril

2009-04-02 19:29:33

From: Smarter Child
So? I don't see you scripting?
Except for that really noob feather thing…

Yes, "Simple" as the name of the script implies. Though unlike many of the bulky scripts here, it does its job quickly and efficiently, and its quite stable.

Though, who said anything about released scripts? I can very easily code TPA's and (D)DTM's, aswell as writing good scripts from scratch. Sure, maybe I dont feel like releasing any scripts till Im done with them, thats my personal choice.

I can, however, script.

From: Smarter Child
Try modding other fletching scripts.

Why mod a script when you can build it from scratch. Sigh, leechers.

lysolman00

2009-04-02 19:38:18

Oh and by the way, if this might help, the knives are not stackable.

Smarter Child

2009-04-02 19:42:00

From: Gavril
Yes, "Simple" as the name of the script implies. Though unlike many of the bulky scripts here, it does its job quickly and efficiently, and its quite stable.

Though, who said anything about released scripts? I can very easily code TPA's and (D)DTM's, aswell as writing good scripts from scratch. Sure, maybe I dont feel like releasing any scripts till Im done with them, thats my personal choice.

I can, however, script.


Why mod a script when you can build it from scratch. Sigh, leechers.



If you imply im a leecher, please don't because you know nothing about me.

Why not edit a script, he just said he cannot script, editing is easier. Especially since he cannot write one from scratch.

Btw, do you think your special if you can write a TPA and use DDTMS?


-lmao…

Lol, your not even on-topic..to this thread, your basically spamming away.

Lance

2009-04-02 19:49:08


function nub: boolean;
begin
Result := You are a megga noob. ha ha ha ha.
end;

const
Smarter Child = Leet

begin
if(Smarter Child > Gavril) then
begin
gavril := nub;
end;
end.

'Smarter Child and me both own you, you fat noob'

krisg05

2009-04-02 19:53:16

AS i said to make this script look not bot like you will have to detect when it change to base form the change it bk to a Fletch knife then when crumbles which sometime it dos half way though a load withdraw a new one.also sometimes it will change to base form in middle of load so it kinda a whole bit more than editing little bits.

lysolman00

2009-04-02 20:06:22

ok. I mean I don't think it looks bottish because if you just take more out of your inventory, then that might show that you don't want to make the trip to recharge it or whatever and just want to conserve time. I'll really take anything as long as I can use the Sacred Clay Fletching Knife. :)
Yeah, I don't mind if it stops in between loads and turns to base. I need only 3 more levels till 99 fletching so yeah.

Smarter Child

2009-04-02 20:12:45

From: krisg05
AS i said to make this script look not bot like you will have to detect when it change to base form the change it bk to a Fletch knife then when crumbles which sometime it dos half way though a load withdraw a new one.also sometimes it will change to base form in middle of load so it kinda a whole bit more than editing little bits.


You could make a failsafe like, if not FindDTM(…. then searchbank for one or w\e.

Or a TPA/BMP to detect it all the time.

There are multiple ways.

krisg05

2009-04-02 20:19:32

Not very well up on Pascal but method i would use is x,y of item in inventory and color to detect if it had changed or gone plus properly most easiest way to do it.or bottom box text to see if it has transformed or gone to dust.then it can work what it has to do out next withdraw new or transform it.

Gavril

2009-04-02 20:35:36

From: Smarter Child
If you imply im a leecher, please don't because you know nothing about me.

Why not edit a script, he just said he cannot script, editing is easier. Especially since he cannot write one from scratch.



I don't know about you or care about you. Whether your a leecher or not, I could care less. You did however advise that he be a leecher, which suggests that you are likely a leecher.

From: Smarter Child
Btw, do you think your special if you can write a TPA and use DDTMS?

Not at all. I could teach a child to write TPAs and DDTMs, theres nothing special about it at all. It is, however, on track with the topic of this thread.


From: Smarter Child
Lol, your not even on-topic..to this thread, your basically spamming away.


Don't be so quick to judge what is and isn't spam, kido.

lysolman00

2009-04-03 17:05:28

Ok, I posted here in the first place because I don't know how to do it and I wanted for someone who is willing to spare some time to do this.

senrath

2009-04-03 17:32:48

Since it doesn't seem to have been answered yet, in footballjds' fletcher, replace the LoadDTMs procedure with this one:
procedure LoadDTMS(WhichDTM : string);
begin
case WhichDTM of
'knife' : KnifeDTM := DTMFromString('78DA633CC1C0C0E0C08002B2029D19E480342' +
'310FF0702C6F3408609AA9AB4CC04B81A1000ABD16340038C4824' +
'90BE02240C09A8390324EC08A83902249C8950E3855F0D0063E70' +
'DA5');
'log' : Log := DTMFromString(Logs);
'bow' : bows := DTMFromString(bow);
'inv' : begin
Log := DTMFromString(Logs);
KnifeDTM := DTMFromString('78DA633CC1C0C0E0C08002B2029D19E480342' +
'310FF0702C6F3408609AA9AB4CC04B81A1000ABD16340038C4824' +
'90BE02240C09A8390324EC08A83902249C8950E3855F0D0063E70' +
'DA5');
end;
end;
end;

I haven't tested it (and can't), so it might not work, but it should. Also, I'm not entirely sure what actions the script takes with the knife, so to be on the safe side you should only have one knife in your inventory and check on the script every now and then to replace the knife.

lysolman00

2009-04-03 19:03:15

It looks great Senrath. Works well, the only problem is that it has to click logs first and then the knife, because the knife is weird and if you just click it it will tell you your charge. So if you could be so kind can you change it so it clicks logs first and then the knife? Thanks.
+ Rep by the way. Thanks

Main

2009-04-03 19:13:29

really not worth it, trust me.
I almost got 4 99 fletchings from football's fletcher, your knife will go away soo fast.

fletch willows, sell the thing back to store.
if you don't know how to sell, i'll make a video of it.

senrath

2009-04-03 19:33:46

When you right click, the knife does have a "use" option, right? If so, replace the UseItemWithItem2 procedure with this:
function UseItemWithItem2(Item1, Item2 : integer; left : boolean) : boolean;
var
I : integer;
begin
Result := False;
I := 0;
if (CountDTM('Inv', 'bow', false, True) = 27) or
(CountDTM('Inv', 'log', false, True) = 0) then
begin
Doned := True;
EXIT;
end;
ClickItem(Item1, 7, 7, False, True);
while not(ChooseOption('se')) and not(I >=400) do
begin
wait(55 + random(23));
inc(I);
end;
if I >= 400 then EXIT;
I := 0;
wait(224 + random(242));
Result := ClickItem(Item2, 5, 5, True, False);
end;

Main

2009-04-03 19:45:25

but then you would need a procedure to take out a new clay knife, which isn't in football's script, unless you want to manually take it out.

senrath

2009-04-03 19:49:14

Yeah, I mentioned that in my first post.

migue

2009-04-03 20:05:19

The sacred clay knife only works for 500 logs, at least that is my knowledge…

senrath

2009-04-03 20:10:05

It actually varies, depending on the type of log, and your skill level.

bgxsaer

2009-04-03 20:19:14

Unless you are going to be using Magic Logs, there really is no use man. It takes about 20 minutes to get just 1 knife.

lysolman00

2009-04-03 20:29:24

Oh my gosh, It works great!!!! Thanks so much!!!! Next thing I'm going to try to ask someone to make it so it can withdraw new Sacred Clay Fletching Knives when they break. I DON'T need this ASAP, so this is just something extra I'm asking if it would be possible. But this new addition by itself is SUPER GREAT too.


Senrath, God Bless you, you should be a SRL Member. :)

You cannot believe how greatful I am. Once again, thank you.

Main

2009-04-03 20:41:06

how many knife do you have?

lysolman00

2009-04-03 20:59:25

I have like 20 Sacred Clay Fletching Knives (plus a ton of proto-tools that I can change into the knives if I want/ need to make more). Anyone want to attempt this and make my Birthday? I have a concept that the script can take out the knives until it finds no more, and then it will just withdraw the normal knife. How's that sound?

senrath

2009-04-03 21:20:58

Alright, here we go. First, replace the UseItemWithItem2 procedure again, using this:
function UseItemWithItem2(Item1, Item2 : integer; left : boolean) : boolean;
var
I : integer;
begin
Result := False;
I := 0;
if (CountDTM('Inv', 'bow', false, True) = 27) or
(CountDTM('Inv', 'log', false, True) = 0) then
begin
Doned := True;
EXIT;
end;
if (CountDTM('Inv', 'knife', false, True) = 0) then
WithdrawKnife;
ClickItem(Item1, 7, 7, False, True);
while not(ChooseOption('se')) and not(I >=400) do
begin
wait(55 + random(23));
inc(I);
end;
if I >= 400 then EXIT;
I := 0;
wait(224 + random(242));
Result := ClickItem(Item2, 5, 5, True, False);
end;

Then, right above that procedure, put the following line:
procedure WithdrawKnife; forward;

And finally, add this procedure in after the FletchThem procedure:
procedure WithdrawKnife;
begin
if OpenUpBank then
begin
DepositAll;
Withdraw(1,1,1);
if not WithdrawFromBank then TerminateScript;
end;
end;

Put your knives in the first bank slot. And I think it will continue to use regular knives if you have your regular knives in your second bank slot. Lemme know if it doesn't work.

lysolman00

2009-04-04 14:26:08

Senrath…..This works FLAWLESSLY *start having tears in my eyes*. Only problem (which you don't have to fix, but it does look a little detectable) is that when you right click on the Sacred Clay Fletching knife, it sort of like twitches 3 times in the exact same spots before it selects the Use Sacred clay fletching knife. Is there a way to fix that?
Other than that, your additions allowed me to have like 5 Sacred clay fletching knives in the first 5 bank slots and the regular knife in the 6th. When the Sacred clay fletching knives would all crumble it would use Regular knife from then on. Great Additions, 10/10. If it's possible, just that little fix and my problems are solved. Thanks so much for your dedication and help!!

Sorry for the late-ish reply. It was my B-Day yesterday so I stayed up really late and slept in today. :)

senrath

2009-04-04 15:47:04

No problem, glad I could help. And I'm not sure why it twitches.

lysolman00

2009-04-04 16:51:55

Alright, my request has been succesfully completed. Thanks guys.