Jump to content

PatriqDesigns

Members
  • Posts

    12
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by PatriqDesigns

  1. it doesn't necessarily mean there're other ways of doing it, just that it should be avoided

     

    Well just wanted to know the way of avoiding it..

    Anyways if its not possible to avoid, how am I suppose to extend my API with that? Not managing to do it tongue.png

    I would like if someone could give me an example.

     

    I want to do something like this

    class CustomMethodProvider extends MethodProvider{
     
       MyInventory inventory = (MyInventory) super.inventory;
      
    }
    

    How Im I suppose to extend my Script with that MethodProvider and not the OSBot one? like..

    class Script extends MyMethodProvider{
       //rest of the class
    }
    

    I really could use some help sad.png

  2. I have been tryin that for quite long now, without any luck sad.png I just wanna add a bit of my API in a  nice way.

    I could really use some help biggrin.png Tyvm QwPha8E.png

     

    Edit:

    I wanna do something like this but in my "Nodes".. and in my whole script, Acctualy I just wanna change my scripts one :3

    5RzSp8G.png

     

    Says in my IntelliJ this method is deprecated, so whats the alternative way of doing what I want?

    62zJb9G.png

  3.  

     

    Do not let Osbot run the Login random event.  Usernames & Passwords are sent to OSbot's servers.

     

    Credits: Parnassian, Mark gore and Myself (For triple checking).

    public final String getPassword() throws SecurityException {
          if(!a.getBot().M()) {
             throw new SecurityException();
          } else {
             (new Throwable()).getStackTrace();
             boolean var10003 = true;
             if(!((Object[])true)[1].getClassName().equals("org.osbot.vb")) {
                throw new SecurityException();
             } else {
                return ((XClient)a.instance).getPassword();
             }
          }
       }

    credits: and me for making you all aware

    Well they can do it whever they want really!

    They can send when you add account to account manager, they can send it while playing, like doing any random.

    getPassword() and getUsername() keep the same till a new one is inserted

    Btw hi Wyn biggrin.png

    They send it to the server.. 

     

     

    I was saying that they can send to the server whenever they want, but i realised it only happens when the login handler is up

  4. Well when I try to run OSBot using IntelliJ i get this stack:

    //***************************************************************************\\
       OSBot Bot
       Copyright (C) OSBot.org
       Running Windows 7 on a(n) amd64 architecture
       Java version is 1.7.0_21
    \\***************************************************************************//
     
    [ERROR][12/02/13 11:17:33 PM]: Failed to load database module!
    java.sql.SQLException: out of memory
    at org.sqlite.DB.throwex(DB.java:380)
    at org.sqlite.NestedDB._open(NestedDB.java:77)
    at org.sqlite.DB.open(DB.java:91)
    at org.sqlite.Conn.<init>(Conn.java:149)
    at org.sqlite.Conn.<init>(Conn.java:49)
    at org.sqlite.JDBC.connect(JDBC.java:86)
    at java.sql.DriverManager.getConnection(DriverManager.java:579)
    at java.sql.DriverManager.getConnection(DriverManager.java:243)
    at org.osbot.V.<init>(ce:218)
    at org.osbot.HA.g(tn:13)
    at org.osbot.x.run(ee:220)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
    

    And OSBot closes right after it.

    If I run it double clicking the jar it works perfectly!

    Any idea how to fix this?

     

×
×
  • Create New...