SRL Archive - OSR Help

Droping items?


Khp

2013-08-31 02:42:23

I'm working on making a power fishing script for barbarian fishing and I really have no clue what I'm doing so I was looking at some other scripts to get an idea of what to do. I found a power miner that used DropAllExcept([0]); I tryed to change the 0 to make it save some items, but it still drops them all.

If anyone knows what I'm doing wrong please let me know.

YoHoJo

2013-08-31 03:13:32

This would help, and be a great learning experience:
http://www.youtube.com/watch?v=SlS4q9MiFX4

Make a DTM(s) of the fish and then find the DTM, right click, and drop them :)

Khp

2013-08-31 03:44:34

From: YoHoJo
This would help, and be a great learning experience:
http://www.youtube.com/watch?v=SlS4q9MiFX4

Make a DTM(s) of the fish and then find the DTM, right click, and drop them :)


Thanks!

Hoodz

2013-08-31 04:14:40

From: Khp
Thanks!


this is also pretty cool, what this does is its dropping the raw fishes almost all the time but sometimes it "missclick" on examine. if i was you i really should use this because its a really good antiban (in my opinion)

if finddtm(FishDTM, x, y, mix1, miy1, mix2, miy2) then
begin
Al_MissMouse(point(x, y), 5, 5);
sleep(50 + random(100));
case random(100) of
0..90:
begin
Al_FastClick(Mouse_right);
sleep(50 + random(100));
AL_ChooseOptionMulti(['Drop']);
sleep(430 + random(90));
exit;
end;
91..99:
begin
Al_fastclick(mouse_right);
sleep(50 + random(100));
Al_chooseoptionmulti(['Examine']);
sleep(200 + random(200));
exit;
end;
end;
end
if you want this to work for you, you also need the AL_functions from flight

good luck scripting!

Khp

2013-08-31 04:55:59

From: hoodz
this is also pretty cool, what this does is its dropping the raw fishes almost all the time but sometimes it "missclick" on examine. if i was you i really should use this because its a really good antiban (in my opinion)

if finddtm(FishDTM, x, y, mix1, miy1, mix2, miy2) then
begin
Al_MissMouse(point(x, y), 5, 5);
sleep(50 + random(100));
case random(100) of
0..90:
begin
Al_FastClick(Mouse_right);
sleep(50 + random(100));
AL_ChooseOptionMulti(['Drop']);
sleep(430 + random(90));
exit;
end;
91..99:
begin
Al_fastclick(mouse_right);
sleep(50 + random(100));
Al_chooseoptionmulti(['Examine']);
sleep(200 + random(200));
exit;
end;
end;
end
if you want this to work for you, you also need the AL_functions from flight

good luck scripting!


I got it kinda working. But it drops one fish and then the script ends. Also how would i set that up with 3 fish DTMS?

Hoodz

2013-08-31 05:09:46

From: Khp
I got it kinda working. But it drops one fish and then the script ends. Also how would i set that up with 3 fish DTMS?


If you pm your code ill change it for you

Khp

2013-08-31 21:46:42

From: hoodz
If you pm your code ill change it for you


I got it working today!!

Hoodz

2013-09-01 02:43:58

From: Khp
I got it working today!!


Nice! I also did some changes. I can send them in a few hours

Khp

2013-09-01 05:18:30

From: hoodz
Nice! I also did some changes. I can send them in a few hours


Awesome.