Jump to content

dalukas

Members
  • Posts

    4
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

dalukas's Achievements

Newbie

Newbie (1/10)

1

Reputation

  1. Problems solved Thanks for all the help! (:
  2. Th is is my current code: package wineripper; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.api.Inventory; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.ui.Spells; import java.awt.*; @ScriptManifest(name = "Winegrabber", author = "Dalukas", version = 1.0, info = "", logo = "") public class Wineripper extends Script { public static final Spells.NormalSpells TELEKINETIC_GRAB = null; public String WINE_NAME = "Wine of zamorak"; @Override public void onStart() { // Code here will execute before the loop is started } @Override public void onExit() { // Code here will execute after the script ends } @Override public int onLoop() throws InterruptedException { Inventory inven = getInventory(); if (!inven.isFull()) { Entity wine = getObjects().closestThatContains(WINE_NAME); magic.castSpellOnEntity(TELEKINETIC_GRAB, wine); } return 100; } @Override public void onPaint(Graphics2D g) { // Paint } }
  3. I'm trying to make an easy Wine grabber but I can't get the telekinetic grab or whatever spell to work. Help would be greatly appreciated.
×
×
  • Create New...