Jump to content
Frequently Asked Questions
  • Still not working? Try downloading and running JarFix
  • Try asking for help in the chatbox
  • Notorious

    • Posts

    • Joined

    • Last visited

    • Days Won


    Notorious last won the day on September 22 2016

    Notorious had the most liked content!

    1 Follower

    About Notorious

    Profile Information

    • Gender
      Not Telling

    Recent Profile Visitors

    8501 profile views

    Notorious's Achievements

    1. hi if i buy vip i have also proxy server ?


      1. lily


        No. You need your own proxy server

    2. Without getting too complicated, by declaring a variable with a field type, you instantiate the of type data the variable can hold. As per your example, let's assume i is a String. This would cause a syntax error, as the for loop is expecting a Number type. So by declaring i as a int, you have told the compiler that the value being held inside of the i variable is of integer type. Otherwise, if you don't declare what type it is, the compiler has no way of knowing what type of data that variable is allowed to hold. Hope this clarifies things a bit; also if I didn't explain it well enough, or if you have more questions feel free to ask.
    3. So creating an API is actually pretty easy, I'll do a quick example below to hopefully show you the process. There are a few ways to can go about this, but personally, I like using interfaces for structure, then implementing them for different use-cases. So, for example, we have a library project, where we are making our API. Inside we want to create an interface. package com.project.api; public interface IExample { // This is the method we will be implementing. int getValue(); } After creating our interface, let's make an impl package in the same location as the interface, and inside the new impl package, create an implementation of the Example class like so. package com.project.api.impl; import com.project.api.IExample; public class ExampleImpl implements IExample { @Override public int getValue() { return 1337; } } After you have created your implementation, you can now package your project as a JAR file, and add it as a dependency in another project. To call this API from a new project, ensure you have added it as a dependency, then use it like so. package com.different.project; import com.project.api.IExample; import com.project.api.impl.ExampleImpl; public class TestAPI { //Here we reference our interface, as our implementation is of the same type. private IExample example; public TestAPI() { //Here we set our reference to our Example implementation this.example = new ExampleImpl(); } @Override pubic String toString() { return String.format("Example implementation value: %d", this.example.getValue()); } } Now once we have referenced our new API, you can now access functions within the interface, and they will behave based on the implementation provided. So for example, we printed our toString in the TestAPI class above, we should have: "Example implementation value: 1337" print out, as our ExampleImpl class returns that value for the overridden function. I hope this helps answer a few questions you were having. Also, this code is untested and was written in the browser, so there could be syntax/logic errors, though the idea remains the same either way.
    4. I'll tell @Pandemic about this, since I have no way of correcting the mistake myself. I'll have him respond here once he gets back.
    5. So did a quick look through to check, and from what I see in the jar included in the tar, is that it uses a applet. Their main class: public class Battery extends GfxApplet implements Runnable { Their implementation of Applet. public abstract class GfxApplet extends Applet implements Runnable { Hope that helps a bit! Also if you are using Intellij, and cannot figure out how to create the run configuration, most of the time you should be able to right click within the main file, and select Run from the menu options.
    6. দুঃখিত মাস্টার
    7. Debido al liderazgo fascista de @Nuclear Nezz, no estoy autorizado a hablar mi lengua nativa para asuntos oficiales. De modo que debo residir en mi sótano ligeramente iluminado y obtener mis raciones semanales de comida cuando lo ofrezcan.
    8. I found a post from Reddit that may help. *DISCLAIMER* I HAVE NOT TRIED THIS Link to original post: https://www.reddit.com/r/Surface/comments/3rgn4h/sp4_scaling_problems/
    9. No hablo inglés, por lo tanto, @Nuclear Nezz es la persona con quien hablar acerca de las pruebas.
    10. Yea I have started to notice that myself. When I started adding icons, I was using 4k, with incorrect DPI settings; which made the client really small in comparison of my screen. So at the time I thought they looked "normal", but switching back to 1080p I have noticed that they are actually really big. So I will change them here soon.
    11. Honestly this is the kind of stuff I wish I had back when I started botting, before Google became my friend. But thanks for the contribution, this is written really well, and basically put into terms the whole idea of bitwise ops.
    12. Notorious


      Hello and welcome to DreamBot! Our current API is structured OOP, and not static. So instead of directly accessing the instance of the object, you must pass references. A quick example (may not be exact): script.getMap().getFlag(x, y); But for our upcoming version 3.0.0 as it currently stands plans, we plan to move to a static based API as the structure of the client has changed significantly. Meaning it will look or less like this to achieve the same result as above: Map.getFlag(x, y); We're still currently developing v3, but are getting close to beta. The current version (v2.x.x) will maintained for some time after release, so don't fear diving into our API now and getting to know it a bit better.
    • Create New...

    Important Information
