Easy Posted August 4, 2017 Share Posted August 4, 2017 (edited) The .zip file attached to this thread contains all of the java source files needed to compile this script. Just unzip, and drag the "CockKiller" folder into a pre-existing project src folder and you should be good to compile/run. Features: - Webwalking - Flawless combat handling - Easy to use paint - Experience counter/calculator display Screenshot: If you'd like the script to attack a different npc at a different location, just modify your "KillHandler" class by changing the "npcArea" and "npcName" variables. //Below is our predefined npc Area. The script will walk to this area if your character isn't already in it. private final Area npcArea= new Area(new Position[]{new Position(3186, 3295, 0), new Position(3187, 3296, 0), new Position(3187, 3297, 0), new Position(3186, 3298, 0), new Position(3186, 3299, 0), new Position(3186, 3300, 0), new Position(3184, 3301, 0), new Position(3183, 3303, 0), new Position(3182, 3303, 0), new Position(3181, 3304, 0), new Position(3180, 3304, 0), new Position(3179, 3303, 0), new Position(3179, 3304, 0), new Position(3179, 3308, 0), new Position(3173, 3308, 0), new Position(3173, 3303, 0), new Position(3171, 3302, 0), new Position(3170, 3301, 0), new Position(3170, 3300, 0), new Position(3169, 3299, 0), new Position(3170, 3298, 0), new Position(3170, 3296, 0), new Position(3170, 3295, 0), new Position(3169, 3293, 0), new Position(3169, 3292, 0), new Position(3169, 3291, 0), new Position(3170, 3290, 0), new Position(3171, 3289, 0), new Position(3174, 3289, 0), new Position(3175, 3287, 0), new Position(3176, 3287, 0), new Position(3177, 3288, 0), new Position(3184, 3289, 0), new Position(3184, 3290, 0), new Position(3186, 3291, 0)}); //Below is our predefined target npc name. The script will search for an npc with our target npc name. private final String npcName = "Chicken"; private final int maxNpcDistance = 7; Online Preview of Source: https://gist.github.com/anonymous/200b90618f94b9ef4f9181754b78164f CockKiller.zip Edited October 2, 2017 by Easy 4 Quote Link to comment Share on other sites More sharing options...
DyQuest Posted August 4, 2017 Share Posted August 4, 2017 Neato Quote Link to comment Share on other sites More sharing options...
botting123 Posted September 21, 2017 Share Posted September 21, 2017 (edited) Edit: Okay I got it to work I think the issue was that I was trying to edit it before I extracted it to a location. However now I have copied the contents (CockKiller) into OSBOT > Scripts and it doesn't appear in the client. In fact my whole scripts folder is empty even though I have 4 free scripts downloaded from the client that show up in the client. Ideas? Tried to edit it to work with zombies across the river in varrock sewers but when I go to save it I get "KillHandler.java This file is set to read-only, try again with a different name." Also can't find "coop" anywhere in the file. Any ideas? Edited September 21, 2017 by botting123 Quote Link to comment Share on other sites More sharing options...
Easy Posted October 2, 2017 Author Share Posted October 2, 2017 (edited) On 9/21/2017 at 2:14 PM, botting123 said: Tried to edit it to work with zombies across the river in varrock sewers but when I go to save it I get "KillHandler.java This file is set to read-only, try again with a different name." Also can't find "coop" anywhere in the file. 3 That read-only issue is operating system related: http://www.dummies.com/computers/operating-systems/windows-xp-vista/how-to-change-the-read-only-attribute-on-files-and-folders/ And, sorry for the "coop" confusion, that was a mistake on my part. The variable's name is actually "npcArea", not coop. I've edited the thread, good luck! Edited October 13, 2017 by Easy Quote Link to comment Share on other sites More sharing options...