-
Posts
444 -
Joined
-
Last visited
-
Days Won
24
Notorious's Achievements
-
309jmk reacted to a post in a topic: DreamBot 3 Progress Update - 09/16/2016
-
bigsalad reacted to a post in a topic: DreamBot 3 Teaser
-
jacob reacted to a post in a topic: DreamBot 3 Progress Update - 09/16/2016
-
Defiled reacted to a post in a topic: DreamBot 3 Progress Update - 09/16/2016
-
yeeter01 reacted to a post in a topic: How to create API interfaces?
-
hi if i buy vip i have also proxy server ?
-
sr24 reacted to a post in a topic: How to create API interfaces?
-
sr24 reacted to a post in a topic: Understanding for loops
-
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.
-
Semper Fi reacted to a post in a topic: How to create API interfaces?
-
Articron reacted to a post in a topic: How to create API interfaces?
-
pootisspencer reacted to a post in a topic: How to create API interfaces?
-
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.
-
Notorious reacted to a post in a topic: Discord Chat
-
Notorious reacted to a post in a topic: Association with Banned Members
-
Notorious reacted to a post in a topic: Node Tutorial
-
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.
-
Notorious reacted to a post in a topic: Sorting algorithms
-
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.
-
Notorious reacted to a post in a topic: What happened to MrBananaMan?
-
Notorious reacted to a post in a topic: What happened to MrBananaMan?
-
দুঃখিত মাস্টার
-
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.
-
Client Loads Extremely Small on windows 10
Notorious replied to elitesocial's topic in Errors & Bugs
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/ -
No hablo inglés, por lo tanto, @Nuclear Nezz es la persona con quien hablar acerca de las pruebas.
-
Notorious reacted to a post in a topic: December Staff Feedback
-
Notorious reacted to a post in a topic: December Staff Feedback
-
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.
-
Notorious reacted to a post in a topic: DreamBot 3 Progress Update - 09/16/2016
-
Notorious reacted to a post in a topic: DreamBot 3 Progress Update - 09/16/2016
-
-
Nuclear Noto
-
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.