Everything posted by d0zza
- Night's Script Giveaway!
-
Closest attackable npc
So I'm trying to make a combat script. If another player is in combat with the closest monster to me how do I make my script attack the next closest monster? I've tried making a function to do this: public NPC closestAttackable() { List<NPC> npcs = getNpcs().getAll(); for (i = 0; i < npcs.size(); i++) { if (!npcs.get(i).isUnderAttack() && myPlayer().getArea(7).contains(npcs.get(i))) { return npcs.get(i); } } return null; } but this seems to always return null, any advice?
-
Pest Control Island Coordinates?
This works really well, thanks man
-
Pest Control Island Coordinates?
Does anyone know all of the possible coordinates for the pest control islands? Or is there a site that tells us this info?
-
[Free] dAttack Potions
Yo I know WiseHerblore is (hopefully) about to be released onto the SDN but I thought I'd share this attack potion maker I made in the mean time for anyone wanting to train herblore. It will make attack potions once your bank runs out of guam leafs/vials of water as long as you have eye of newts and unf guam potions in the bank.
-
dTeleporter
My bad, fixed it and reuploaded
-
dTeleporter
Yo guys, made this teleporter today when I noticed there were none on the SDN. Start it anywhere with the correct runes/staff equipped. Will log out when out of runes. Supported locations: Varrock Lumbridge Falador House Camelot Ardougne dTeleporter.jar
-
Area array help
contains doesn't work for an array of areas. Thanks! This works perfectly.
-
Area array help
Yo so I've got an array of areas that I need to check if my player is in but I'm having a little trouble with the syntax, how can I check if my player is in any one of these areas at once?
-
WebWalking doesn't work?
Oh sorry, you're right I should've been more clear. What I meant was that there are times when webwalking doesn't work for any script I try, including ones I've made myself or ones on the SDN, so I'm assuming it's a problem with OSBot. I'm not sure, it might be fixed by restarting the client, I'll have to test it next time but if it's persistent then next time it occurs I'll definitely take a screenshot of the logger and share it
-
WebWalking doesn't work?
Hey guys I'm just wondering why webwalking causes null exceptions every now and then
-
dFire Runecrafter
This is a fire runecrafter I made to get RC to 44 on my accounts. the ONLY method it uses is the ring of dueling method. Start at castle wars with an even amount of charges on your ring of dueling. Will withdraw talisman/tiara and equip tiara if necessary. Haven't tested with talisman but it should work. Download: http://www.filedropper.com/dfirerunecrafter
- How to end a script?
-
Inventory listener?
Yo is there a way to check if the inventory has just gained a new item? I'm making a type of looter and want the script to wait till a new item is received in the inventory before it clicks to loot again.