Jump to content

Aeterna

Trade With Caution
  • Posts

    478
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    85.7%

Posts posted by Aeterna

  1. isPoisoned()

     

    isUnderAttack() is currently true if you get hit with poison and technically you're not under attack, you're just not 'safe'.

     

    Result of using this (and not being able to determine it without using an alternate method):

     

    Found a really bad bug! If you are poisoned, the bot runs away, then comes back to the fishing location until you get another hit from the poison, then it runs back to the bank and keeps repeating this. SUPER bot like! 

     

     

    I have no problem using the alternate method, but I think that poison detection would be nice as well for bots who want to add anti-poison support.

  2. Some problems may arise with that though; there are cases where they will be facing and not dying to you

    It doesn't really find facing (as far as one person facing north, one south, looking at each other) from what I've experienced, just interacting.

  3. I have made a thread on this before, and it was said to have been fixed, but it's not.

     

    Basically, when there are two NPCs on a tile and you try to interact with one of them, nothing will happen. It works fine if the closest NPC is on its own tile or if one moves.

    NPC fishingSpotNPC = closestNPC(2722);
     
    if (fishingSpotNPC != null) {
    fishingSpotNPC.interact("Use-rod");
    }
  4. A lot of users are experiecing problems loading my script, although it's no different than any other.. It works fine for me and a group of friends and members, but it won't run for a majority of the people.

    http://osbot.org/forum/topic/2145-aeternas-aio-fisher/page-9

     

    Output from a user who ran via console:

    //***************************************************************************\\
       OSBot Bot
       Copyright (C) OSBot.org
       Running Windows 7 on a(n) amd64 architecture
       Java version is 1.7.0_05
    \\***************************************************************************//
    
    [INFO ][05/18/13 10:22:06 AM]: Connecting to remote server...
    [INFO ][05/18/13 10:22:06 AM]: Connected to remote server!
    [INFO ][05/18/13 10:22:08 AM]: Latest released hooked for client revision : 15
    [INFO ][05/18/13 10:22:08 AM]: Loading scripts...
    Exception in thread "Thread-5" java.lang.NoClassDefFoundError: sun/misc/Hashing
            at org.osbot.lPt7.<init>(io:27)
            at org.osbot.lPt7.<init>(io:569)
            at org.osbot.script.engine.GroovyScriptLoader.<clinit>(po:148)
            at org.osbot.B.run(ak:271)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: sun.misc.Hashing
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 5 more
    [INFO ][05/18/13 10:22:30 AM]: Must be signed in to open a bot!
    [INFO ][05/18/13 10:22:37 AM]: Now logged in!
    Exception in thread "Thread-8" java.lang.NoClassDefFoundError: sun/misc/Hashing
            at org.osbot.lPt7.<init>(io:27)
            at org.osbot.lPt7.<init>(io:569)
            at org.osbot.mA.<init>(nk:240)
            at org.osbot.pA.<init>(ko:231)
            at org.osbot.pA.F(ko:0)
            at org.osbot.lPT8.run(ak:40)
            at java.lang.Thread.run(Unknown Source)
×
×
  • Create New...