SRL Archive - OSR Combat/Fighting Scripts

[OSR][RuneLite] The Lazy Killer


Br0d3r1ck

2022-04-21 20:44:31





STANDOUT FEATURES

Ability to operate in virtually any location + with any NPC thanks to RuneLite detection
Advanced humanoid gameplay for increased resistance against bot fingerprinting
Easily modifiable user settings to allow for new locations + NPCs
Efficient script management for reduced CPU usage
Extremely intelligent failsafe system for extended script-run stability
Built on the actively developed & maintained SRL-F include
The Lazy Killer uses 100% colour interaction



MORE FEATURES

Customisable food eating procedure
Switches world if it detects attacking another players NPC
Unique custom AFK break system
Logs out when no more food is detected (Can disable food eating)
Humanlike nature for increased antiban
Incorporates use of RuneLite's built in skills tab
Saves a screenshot when leveling up



TESTED LOCATION + NPC

Lumbridge Swamp + (Giant Frogs)
Lumbridge + (Cows)
Hill Giant Area + (Hill Giants + Zombies) <—- 'Mouse_Teleport = True' for Zombies



SCRIPT REQUIREMENTS

Latest version of Simba
Lastest version of RuneLite
Up-to-date copy of SRL-F
[ATTACH=CONFIG]28889[/ATTACH] <— Place in your Scripts folder (Normally C:\Simba\Scripts)
[ATTACH=CONFIG]28890[/ATTACH] <— Unzip in your .runelite folder and then backup and replace the pre-existing settings.properties file and Plugin folder with the new ones (Normally C:\Users\YourUser\.runelite)
Once unzipped, restart RuneLite, go to Multicolor Highlights settings, and make sure 'NPCs to highlight with Color 1' is set to your desired NPC. (Do not include the first word ie 'Attack' or the '(Level-x)') (Do not change the colour! Only the NPC text!)



SCRIPT SETUP RECOMMENDATIONS


Screen layout (click screenshot to expand)
Red box is your Simba client with script loaded
Yellow box is your RuneLite client with expanded skills tracker tab, the screen fully zoomed out + your compass settings setup in the script
OPTIONAL: Green box is your Simba output
Pink box is your AFK window
Light blue box is an example of the recommened AFK_Bounds box
Black box is your needed chatbox settings



In-game settings (click screenshot to expand)


Login screen world switcher setup - Left is F2P / Right is P2P (click screenshot to expand)

All food items already in your inventory


Standing in your desired NPC area when starting the script

Setup & modify any required user settings within the script + Multicolor Highlights NPC text before starting


ADDITIONAL INFO

I have tested this script with a multitude of overnight sessions, and am quite happy with the overall stability. This script has only been tested to run in F2P locations, but all members spots + NPCs should work with the correct user settings in the script + Multicolor Highlights NPC text.

If you find any bugs, have any questions, or just want to say thanks with some nice progress reports, please post them here! :)


PROGRESS REPORTS



KeepBotting

2022-04-21 21:12:19

That's a sick proggy, gonna have to take a look at that one.

Br0d3r1ck

2022-04-21 21:16:24

From: KeepBotting
~


Thanks KB! Keen to hear what you think.

kingarabian

2022-04-21 21:58:45

Nice script! Sick proggie.

Br0d3r1ck

2022-04-22 19:29:55

From: kingarabian
~


Thanks kingarabian! How'd your botting end up going?

Gruntzer

2022-04-22 22:50:57

Amazing script, thank you for your contribution

Br0d3r1ck

2022-04-25 03:29:53

From: Gruntzer
~


Thanks Gruntzer!

kingarabian

2022-04-26 05:09:21

From: Br0d3r1ck
Thanks kingarabian! How'd your botting end up going?


Great idea with the plugin. Unfortunately the script failed to attack any monsters despite them being highlighted in yellow as instructed. The mouse keeps zigzagging across the mainscreen not clicking anything.

Also it's going to be better to use RemoteInput.

Br0d3r1ck

2022-04-26 06:16:10

From: kingarabian
Great idea with the plugin. Unfortunately the script failed to attack any monsters despite them being highlighted in yellow as instructed. The mouse keeps zigzagging across the mainscreen not clicking anything.

Also it's going to be better to use RemoteInput.


Did you put the correct NPC up text in the script? If you sent through your output debug it'd be a really easy fix I'm sure!
Edit: could also be filter size, as its set for cow size… But from what you sent it sounds more like NPC up text

I'll have a look to see if adding RemoteInput is feasible in future scripts, as for me, I have a dedicated laptop for scripting, so it's not really an issue. Do you know if the script needs modification, or is it as simple as calling an include?

Gf Fagex

2022-05-24 12:25:29

I have been trying to get this script running but it keeps dragging the screen around and not clicking any npc's I changed the npc up text in the script and followed all instructions :/

Gf Fagex

2022-05-24 12:30:57

At the moment it will attack one NPC and then proceeds to give me this [12/30/1899 5:14:35]SCRIPT: Waiting until ColourFound is set to TRUE
[12/30/1899 5:14:35]SCRIPT: Checking if PlayerCheck() procedure needs to run

over and over

any thoughts?

8dark

2022-08-11 14:54:51

No user defined food found

Godric

2022-10-23 12:07:53

Compiling the script prompts the following message in the Output;
Variable "MouseSpeedUserRecord" not used at line 640, column 30 in file "C:\Simba\Scripts\The_Lazy_Killer_V1.simba"
Succesfully compiled in 657 milliseconds.

Her0nz

2022-11-07 16:46:00

Testing this script out. Setup isn't too bad. For attacking multiple types of monsters just putting "Attack" as the uptext works fine.

Will post a proggy when I can.

416solesupply

2022-11-08 18:45:35

From: Her0nz
Testing this script out. Setup isn't too bad. For attacking multiple types of monsters just putting "Attack" as the uptext works fine.

Will post a proggy when I can.




Testing it out. The script does not pick up that i have Trout as my food. The NPC is picked up no problem. When i select false for eat, the script runs fine. when i select eat trout the script fails to find food and logs me out. any help to fix the problem?

416solesupply

2022-11-08 18:54:11

did you ever find out what the solution was to this?

Her0nz

2022-11-10 16:31:06

From: 416solesupply
did you ever find out what the solution was to this?


I didn't make the script but I can check.

416solesupply

2022-11-11 15:28:19

Thanks,
basically have the food in the inventory, it doesnt register it and just logs me out.

416solesupply

2022-11-15 16:47:25

Here is the error i am getting. no defined food found.
[12/30/1899 16:46:10]SCRIPT: The Lazy Killer will start within a few moments
[12/30/1899 16:46:14]SCRIPT: RunTimer has commenced
[12/30/1899 16:46:14]SCRIPT: Checking if SetupBot() procedure needs to run
[12/30/1899 16:46:14]SCRIPT: Configuring run status
[12/30/1899 16:46:14]SCRIPT: Configuring compass angle and screen pitch
[12/30/1899 16:46:17]SCRIPT: SetupBot() procedure has finished
[12/30/1899 16:46:17]SCRIPT: Checking if Eating() procedure needs to run
[12/30/1899 16:46:17]SCRIPT: Checking if OpenInventory() procedure needs to run
[12/30/1899 16:46:17]SCRIPT: Checking if inventory is open
[12/30/1899 16:46:17]SCRIPT: Checking if FindTarget() procedure needs to run
[12/30/1899 16:46:18]SCRIPT: No user defined food found
[12/30/1899 16:46:20]SCRIPT: Attempting to logout the player
[12/30/1899 16:46:20]SCRIPT: Terminating The Lazy Killer
Succesfully executed in [00:00:14].

Gimpy666

2022-11-16 18:10:07

From: 416solesupply
Here is the error i am getting. no defined food found.
[12/30/1899 16:46:10]SCRIPT: The Lazy Killer will start within a few moments
[12/30/1899 16:46:14]SCRIPT: RunTimer has commenced
[12/30/1899 16:46:14]SCRIPT: Checking if SetupBot() procedure needs to run
[12/30/1899 16:46:14]SCRIPT: Configuring run status
[12/30/1899 16:46:14]SCRIPT: Configuring compass angle and screen pitch
[12/30/1899 16:46:17]SCRIPT: SetupBot() procedure has finished
[12/30/1899 16:46:17]SCRIPT: Checking if Eating() procedure needs to run
[12/30/1899 16:46:17]SCRIPT: Checking if OpenInventory() procedure needs to run
[12/30/1899 16:46:17]SCRIPT: Checking if inventory is open
[12/30/1899 16:46:17]SCRIPT: Checking if FindTarget() procedure needs to run
[12/30/1899 16:46:18]SCRIPT: No user defined food found
[12/30/1899 16:46:20]SCRIPT: Attempting to logout the player
[12/30/1899 16:46:20]SCRIPT: Terminating The Lazy Killer
Succesfully executed in [00:00:14].


What do you have in the script for the following lines?

42: {Do you want to eat food} // True to eat food // False to disable
43: EatingEnabled = (True);
44:
45: {What food are you eating} // Modify for the food that you wish to eat
46: UserFood = 'Shrimps';

416solesupply

2022-11-23 14:12:59

Eating food = True (When i select this option the bot turns off) I adjust thee 'Shrimp' to the food i have in my inventory which is salmon

Gimpy666

2022-11-23 19:23:19

From: 416solesupply
Eating food = True (When i select this option the bot turns off) I adjust thee 'Shrimp' to the food i have in my inventory which is salmon


Copy and paste exactly what you have in your script for those lines.

techy420

2022-11-24 01:15:42

Pretty much the same issue as most of the people above, It just randomly moves the mouse around and does nothing, Ive tried changing the filtersize from 0 to 50 with no change, Ive tried to change the up text to pretty much everything and nothing works? Am I selecting the window wrong? Is the script broken? What am I missing to set this up? The only thing I can think of is your selecting or resizing the game in a certain way???? Ive tried capturing the runelite as well as just the client And nothing works? I have everything installed and running correctly it just seems that this script is most likely broken. Or missing instructions on how to setup/use properly?

This seems like a really cool side project and would love to learn how to get it working properly with these cool new runelite plugins :)

416solesupply

2022-11-26 19:57:38

[12/30/1899 19:56:07]SCRIPT: The Lazy Killer will start within a few moments
[12/30/1899 19:56:12]SCRIPT: RunTimer has commenced
[12/30/1899 19:56:12]SCRIPT: Checking if SetupBot() procedure needs to run
[12/30/1899 19:56:12]SCRIPT: Configuring run status
[12/30/1899 19:56:13]SCRIPT: Configuring compass angle and screen pitch
[12/30/1899 19:56:15]SCRIPT: SetupBot() procedure has finished
[12/30/1899 19:56:15]SCRIPT: Checking if Eating() procedure needs to run
[12/30/1899 19:56:15]SCRIPT: Checking if OpenInventory() procedure needs to run
[12/30/1899 19:56:15]SCRIPT: Checking if inventory is open
[12/30/1899 19:56:15]SCRIPT: Checking if FindTarget() procedure needs to run
[12/30/1899 19:56:15]SCRIPT: No user defined food found
[12/30/1899 19:56:17]SCRIPT: Attempting to logout the player
[12/30/1899 19:56:17]SCRIPT: Terminating The Lazy Killer
Succesfully executed in [00:00:11].


{AFK TBox} // Must setup before use! - Set this as the dimensions for your afk window - where your mouse will move when AFKing
AFK_Bound1 = 1941;
AFK_Bound2 = 280;
AFK_Bound3 = 3555;
AFK_Bound4 = 1238;

{Zoom Level} // Set this as your desired zoom level - 0 is recommended (maximum out) - Must manually set zoom level in-game prior to starting script
Zoom_Level = (0);

{Compass angle} //Set this as your desired compass angle - East = 90, West = -90, North = 0, South = 180 - You want to be able to see the widest view of your desired NPCs
UserCompassAngle = (-90);

{Mouse settings} // Modify the below mouse settings to increase resistance against bot fingerprinting - Recommended (Speed 14-18) (Gravity 8-12) (Wind 3-7)
Your_Mouse_Speed = (17);
Your_Mouse_Gravity = (9);
Your_Mouse_Wind = (5);
Mouse_Teleport = False; // Teleport mouse to click on NPC - Can help with fast moving NPCs if it's failing too often

{Combat Timer Failsafe} // How long should it take to kill your desired NPC + a little bit more room to wiggle
Combat_Time = (25000);

{Up text} // Set this as your desired NPC to kill
Up_Text = 'Attack';

{Right click option} // set this as your desired right click menu option
// Right_Click = '';

{Do you want to eat food} // True to eat food // False to disable
EatingEnabled = (True);

{What food are you eating} // Modify for the food that you wish to eat
UserFood = 'Salmon';

{What percentage of health to eat at}
UserEatLevel = 25;

{What percentage of health to stop eating at}
UserStopEat = 40;

{Wait times} // Modify the below wait times to increase resistance against bot fingerprinting
{Short is 2-7 seconds}
ShortLow := 2342; // This is a min wait time in milliseconds
ShortHigh := 15285; // This is a max wait time in milliseconds

{Medium is 3-16 seconds}
MediumLow := 12453;
MediumHigh := 17753;

{Long is 12-45 seconds}
LongLow := 15573;
LongHigh := 44287;

{ExLong is 43-149 seconds}
ExLongLow := 43857;
ExLongHigh := 148393;

Czepa

2022-12-17 15:13:29

I followed the instructions to a T, same issues, i changed everything in the settings and still no bueno. its doing some very flicky bot flagging type behavior. (got frog random soon after the original run of it) the original setup procedure keeps repeating. when i get the chance tomorrow ill try to edit the script and see if i can get it to start attacking.

[30/12/1899 4:06:09]SCRIPT: SetupBot() procedure has finished
[30/12/1899 4:06:09]SCRIPT: Checking if Eating() procedure needs to run
[30/12/1899 4:06:09]SCRIPT: Checking if FindTarget() procedure needs to run
[30/12/1899 4:06:09]SCRIPT: Checking if AFK() procedure needs to run
[30/12/1899 4:06:09]SCRIPT: Checking if SetupBot() procedure needs to run
[30/12/1899 4:06:09]SCRIPT: Checking if DeclarePlayers() procedure needs to run
[30/12/1899 4:06:09]SCRIPT: Configuring run status
[30/12/1899 4:06:09]SCRIPT: Configuring compass angle and screen pitch
[30/12/1899 4:06:10]SCRIPT: SetupBot() procedure has finished
[30/12/1899 4:06:10]SCRIPT: Checking if Eating() procedure needs to run
[30/12/1899 4:06:10]SCRIPT: Checking if FindTarget() procedure needs to run
[30/12/1899 4:06:10]SCRIPT: Checking if AFK() procedure needs to run
[30/12/1899 4:06:10]SCRIPT: Checking if SetupBot() procedure needs to run
[30/12/1899 4:06:10]SCRIPT: Checking if DeclarePlayers() procedure needs to run
[30/12/1899 4:06:10]SCRIPT: Configuring run status
[30/12/1899 4:06:10]SCRIPT: Configuring compass angle and screen pitch
[30/12/1899 4:06:12]SCRIPT: SetupBot() procedure has finished
[30/12/1899 4:06:12]SCRIPT: Checking if Eating() procedure needs to run
[30/12/1899 4:06:12]SCRIPT: Checking if FindTarget() procedure needs to run
[30/12/1899 4:06:12]SCRIPT: Checking if AFK() procedure needs to run
[30/12/1899 4:06:12]SCRIPT: Checking if SetupBot() procedure needs to run
[30/12/1899 4:06:12]SCRIPT: Checking if DeclarePlayers() procedure needs to run
[30/12/1899 4:06:12]SCRIPT: Configuring run status
[30/12/1899 4:06:12]SCRIPT: Configuring compass angle and screen pitch
[30/12/1899 4:06:14]SCRIPT: SetupBot() procedure has finished
[30/12/1899 4:06:14]SCRIPT: Checking if Eating() procedure needs to run
[30/12/1899 4:06:14]SCRIPT: Checking if FindTarget() procedure needs to run
[30/12/1899 4:06:14]SCRIPT: Checking if AFK() procedure needs to run
[30/12/1899 4:06:14]SCRIPT: Checking if SetupBot() procedure needs to run
[30/12/1899 4:06:14]SCRIPT: Checking if DeclarePlayers() procedure needs to run
[30/12/1899 4:06:14]SCRIPT: Configuring run status
[30/12/1899 4:06:14]SCRIPT: Configuring compass angle and screen pitch
[30/12/1899 4:06:15]SCRIPT: SetupBot() procedure has finished
[30/12/1899 4:06:15]SCRIPT: Checking if Eating() procedure needs to run
[30/12/1899 4:06:15]SCRIPT: Checking if FindTarget() procedure needs to run
[30/12/1899 4:06:15]SCRIPT: Checking if AFK() procedure needs to run
[30/12/1899 4:06:15]SCRIPT: Checking if SetupBot() procedure needs to run
[30/12/1899 4:06:15]SCRIPT: Checking if DeclarePlayers() procedure needs to run
[30/12/1899 4:06:15]SCRIPT: Configuring run status
[30/12/1899 4:06:15]SCRIPT: Configuring compass angle and screen pitch
[30/12/1899 4:06:17]SCRIPT: SetupBot() procedure has finished
[30/12/1899 4:06:17]SCRIPT: Checking if Eating() procedure needs to run
[30/12/1899 4:06:17]SCRIPT: Checking if FindTarget() procedure needs to run
[30/12/1899 4:06:17]SCRIPT: Checking if AFK() procedure needs to run
[30/12/1899 4:06:17]SCRIPT: Checking if SetupBot() procedure needs to run
[30/12/1899 4:06:17]SCRIPT: Checking if DeclarePlayers() procedure needs to run
[30/12/1899 4:06:17]SCRIPT: Configuring run status
[30/12/1899 4:06:17]SCRIPT: Configuring compass angle and screen pitch
[30/12/1899 4:06:19]SCRIPT: SetupBot() procedure has finished
[30/12/1899 4:06:19]SCRIPT: Checking if Eating() procedure needs to run
[30/12/1899 4:06:19]SCRIPT: Checking if FindTarget() procedure needs to run
[30/12/1899 4:06:19]SCRIPT: Checking if AFK() procedure needs to run
[30/12/1899 4:06:19]SCRIPT: Checking if SetupBot() procedure needs to run
[30/12/1899 4:06:19]SCRIPT: Checking if DeclarePlayers() procedure needs to run
[30/12/1899 4:06:19]SCRIPT: Configuring run status
[30/12/1899 4:06:19]SCRIPT: Configuring compass angle and screen pitch
Succesfully executed in [00:00:42].

AzrielStrife

2023-12-12 16:13:08

I'm having the same issue, was there a solution?