SRL Archive - OSR Outdated / Broken Scripts

iFletcher


Hexless

2013-03-08 16:22:06

Features:
Supports All Logs!
Random Antiban!
Pest Control Bank so NO randoms!


ToDo:
Better colour finding (its kinda static atm)
Add More Bank Support
Basically IMPROVE the WHOLE SCRIPT



[ATTACH]19789[/ATTACH]
[ATTACH]19785[/ATTACH]

Peakay

2013-03-08 17:16:53

SMART is not working at all, it's just using the mouse as normal.

harloe

2013-03-08 17:27:27

From: Peakay
SMART is not working at all, it's just using the mouse as normal.


Didnt test. But look at line 9?

Hexless

2013-03-08 17:28:05

From: Peakay
SMART is not working at all, it's just using the mouse as normal.

have you removed the // before the smart at the top? if not remove them then run as admin and it should work
(i forgot to delete the // before posting as i was testing out parts of the script and didnt need smart to open)

Rand

2013-03-08 17:29:05

Tips for your script:

1. Change your banking method, use colours, not MMouse.
2. Use Wait(randomrange(*,*)), looks tidier, also I wouldn't use sleep(). (* being your values you want inbetween)
3. With your banking method, use P07_ChooseOptionMulti, waiting isn't necessary when opening your bank (perhaps it is if you lagg).
4. Never use your X, Y limits as 0. EG: MMouse(486, 43,0,0); change this to MMouse(486, 43,5,5); the 5's repesent how many pixels the mouse can move away from the point, if it's clicking the exact same pixels then it is extremely bot like.
5. If you want it to work with SMART, use a different method than SendKeys.
6. Your antiban happens too frequently, every inventory it does 1 antiban, change the case to:

Case Random(300) Of
1..5: P07_HoverSkill('Fletching',RandomRange(5000,6000));
5..10:begin
mmouse(365,31,10,10);
ClickMouse2(Mouse_Right);
end;
(I think that's how you state 1 to 5, haven't tried).
7. Remove ActivateClient if you want to use SMART.
8. Perhaps add a GUI/Form that loads on Start for users to be able to select Longbows/Shortbows instead of having to edit the code.
9. Perhaps at the end change your:

until(false);
to

until(NOT P07_LoggedIn);
when the persons account logs out it will stop the script, stops it from clicking on the main screen (either this or add your log in IF statement to the main loop).

Hope this help! Good luck with the script!

Hexless

2013-03-08 17:31:28

From: Rand
Tips for your script:

1. Change your banking method, use colours, not MMouse.
2. Use Wait(randomrange(*,*)), looks tidier, also I wouldn't use sleep(). (* being your values you want inbetween)
3. With your banking method, use P07_ChooseOptionMulti, waiting isn't necessary when opening your bank (perhaps it is if you lagg).
4. Never use your X, Y limits as 0. EG: MMouse(486, 43,0,0); change this to MMouse(486, 43,5,5); the 5's repesent how many pixels the mouse can move away from the point, if it's clicking the exact same pixels then it is extremely bot like.
5. If you want it to work with SMART, use a different method than SendKeys.
6. Your antiban happens too frequently, every inventory it does 1 antiban, change the case to:

Case Random(300) Of
1..5: P07_HoverSkill('Fletching',RandomRange(5000,6000));
5..10:begin
mmouse(365,31,10,10);
ClickMouse2(Mouse_Right);
end;
(I think that's how you state 1 to 5, haven't tried).
7. Remove ActivateClient if you want to use SMART.
8. Perhaps add a GUI/Form that loads on Start for users to be able to select Longbows/Shortbows instead of having to edit the code.
9. Perhaps at the end change your:

until(false);
to

until(NOT P07_LoggedIn);
when the persons account logs out it will stop the script, stops it from clicking on the main screen (either this or add your log in IF statement to the main loop.

Hope this help! Good luck with the script!


I know it isnt perfect but ty for the help but its kinda hard to get the colours correct in the PC bank as many npcs/objects are white-ish including the bank

Hexless

2013-03-08 17:33:03

From: Rand
Tips for your script:

1. Change your banking method, use colours, not MMouse.
2. Use Wait(randomrange(*,*)), looks tidier, also I wouldn't use sleep(). (* being your values you want inbetween)
3. With your banking method, use P07_ChooseOptionMulti, waiting isn't necessary when opening your bank (perhaps it is if you lagg).
4. Never use your X, Y limits as 0. EG: MMouse(486, 43,0,0); change this to MMouse(486, 43,5,5); the 5's repesent how many pixels the mouse can move away from the point, if it's clicking the exact same pixels then it is extremely bot like.
5. If you want it to work with SMART, use a different method than SendKeys.
6. Your antiban happens too frequently, every inventory it does 1 antiban, change the case to:

Case Random(300) Of
1..5: P07_HoverSkill('Fletching',RandomRange(5000,6000));
5..10:begin
mmouse(365,31,10,10);
ClickMouse2(Mouse_Right);
end;
(I think that's how you state 1 to 5, haven't tried).
7. Remove ActivateClient if you want to use SMART.
8. Perhaps add a GUI/Form that loads on Start for users to be able to select Longbows/Shortbows instead of having to edit the code.
9. Perhaps at the end change your:

until(false);
to

until(NOT P07_LoggedIn);
when the persons account logs out it will stop the script, stops it from clicking on the main screen (either this or add your log in IF statement to the main loop).

Hope this help! Good luck with the script!

sorry for double replying but how to i create a GUI ive seen a guide but i still dont really understand it :\?

Rand

2013-03-08 17:33:54

I'll give you 3 colours that work IF your character is facing south they are here:

bankcolour:= 5468283 //PEST CONTROL 1
bankcolour:= 4673371 //PEST CONTROL 2
bankcolour:= 5534076 //PEST CONTROL 3

I used them in my old scripts, I now use a different colour.

Rand

2013-03-08 17:36:27

From: Hexless
sorry for double replying but how to i create a GUI ive seen a guide but i still dont really understand it :\?


If you don't understand it I can make a GUI for you.

Hexless

2013-03-08 17:40:20

From: Rand
If you don't understand it I can make a GUI for you.


Really man? That would be soooooo epic if you would! :)
Once I've editted my script a little so its a bit more unbot like ill pm you it :)

rj

2013-03-08 17:53:33

From: Hexless
Really man? That would be soooooo epic if you would! :)
Once I've editted my script a little so its a bit more unbot like ill pm you it :)


Watch out if you mess up the slightest thing with Tforms simba will crash

Hexless

2013-03-08 18:04:31

From: rjj95
Watch out if you mess up the slightest thing with Tforms simba will crash

Oh okay

zyzz0r

2013-03-08 18:25:24

can it string?

Hexless

2013-03-09 01:22:10

From: zyzz0r
can it string?


not yet but it should be able to sooon

guifrz

2014-02-19 18:09:57

[ATTACH=CONFIG]22966[/ATTACH]

dunno what to do dude, help me