Jump to content

mylo

Members
  • Posts

    11
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by mylo

  1. mylo

    Perfect Thiever AIO

    [ERROR][06/02 11:08:09 PM]: Uncaught exception! java.lang.NullPointerException at b.a.b.NUL.c(lh:118) at b.a.b.a.aUX.C(ph:454) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) I get this error at ardy knights when using the new gui
  2. mylo

    Perfect Thiever AIO

    pickpocketing ardy knights banks after every pickpocket atm for some reason
  3. mylo

    Perfect Thiever AIO

    Just wondering will you ever add dodgy necklace support?
  4. mylo

    Fruity NMZ

    Could i get a trial please?
  5. mylo

    Fruity NMZ

    This supports 1 prayer rock cake right?
  6. Damn so there is no way to connect to irc then?
  7. package com.bot.worldscouter; import org.osbot.rs07.api.def.ItemDefinition; import org.osbot.rs07.api.model.Player; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.pircbotx.Configuration; import org.pircbotx.Configuration.Builder; import org.pircbotx.PircBotX; import org.pircbotx.exception.IrcException; import java.awt.*; import java.io.IOException; import java.util.*; import java.util.List; @ScriptManifest( name = "WorldScouter", author = "ShootMyFruit", version = 1.00, info = "", logo = "" ) public class WorldScouter extends Script { Configuration config = (new Builder()) .setName("MyExampleBot") .setAutoNickChange(true) .addAutoJoinChannel("#workworkwork") .buildForServer("irc.swiftirc.net"); PircBotX swiftBot = new PircBotX(config);; public void onStart() { log("hello"); try { swiftBot.startBot(); } catch (IOException var2) { log("a"); var2.printStackTrace(); } catch (IrcException var3) { log("b"); var3.printStackTrace(); } log("hello"); } public void onExit() { log("thank you for using the scouter"); swiftBot.close(); } public int onLoop() { java.util.List<Player> playersList = players.getAll(); java.util.List<String> capeList = new ArrayList(); List<String> capeCount = new ArrayList(); for(Player player : playersList){ int[] equipment = player.getDefinition().getAppearance(); if (equipment[1] - 512 > 0) { capeList.add(ItemDefinition.forId(equipment[1] - 512).getName()); } } Set<String> printed = new HashSet(); for(String s : capeList) { if (printed.add(s)) { capeCount.add(s + ": " + Collections.frequency(capeList, s)); } } this.log(worlds.getCurrentWorld() + " " + capeCount); return 1000; } public void onPaint(Graphics2D g) { } } This is my current code it runs all the os bot logic but never connects to the irc channel. And from reading the PircBotx docs it looks like it should connect with what I've written. Any ideas?
  8. This is how I've set it up let me know if I've done something wrong @Gary_Oak. and I get this error [ERROR][07/25 12:25:40 AM]: Failed to load local script : com/thoughtworks/xstream/converters/reflection/CGLIBEnhancedConverter$ReverseEngineeredCallbackFilter.class [ERROR][07/25 12:25:41 AM]: Failed to load local script : org/pircbotx/UserHostmask$1.class [ERROR][07/25 12:25:41 AM]: Failed to load local script : org/pircbotx/Channel$1.class [ERROR][07/25 12:25:41 AM]: Failed to load local script : org/pircbotx/MultiBotManager$BotFutureCallback.class
  9. Yeah my bad i worded it so bad I'm importing 2 libraries but the problem is osbot can't find the external library.
  10. Basically I wan't my bot to connect to IRC and send messages to the channel using this library https://github.com/TheLQ/pircbotx . The bot doesn't find the classes from the pircbotx library though so how would I go about fixink this?
×
×
  • Create New...