Jump to content

aphexhdm

Trade With Caution
  • Posts

    51
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by aphexhdm

  1. Possibly your version of java isn't compatible with OSbot.

     

    Try downloading jdk 1.7_051 or whatever it's called it comes with jre7.

     

    I don't think jr8 works with OSbot as one of my friends had the same problem, when he re installed jre7 it worked :)

     

    --Aphexhdm

  2. Override is an annotation that means you are overriding a method from a superclass. It doesn't have any functional purposes, other than readability, so people reading your code knows the method is overriden from another class.

     

     

    Thanks Omoshu, but this is a rather technical version of what it does, so let me explain it much simpler:

    The @Override above a function simply means that OSBot will use this function instead of the default function that's defined in the Script class (the one our script is extending from). You can also call the default function by doing the super() function inside of the function you're overriding (well it's useless in this case, because the Script class functions are empty).

    Thanks! <3

×
×
  • Create New...