Leaderboard
Popular Content
Showing content with the highest reputation on 03/10/14 in all areas
-
10 points
-
Well i'd say because you actually believed him when he said he nominated you for admin. Therefore you are one of the easiest people to troll. Am i trolling you now about him trolling you, or did he actually nominate you for admin. #CMsquad8 points
-
5 points
-
6. Gravedigging Gravedigging, posting in an old thread, is not tolerated without proper reason. A post is considered as gravedigging when the last reply is atleast two weeks old. Hello Maldesto , It has came to my attention that solononforever has warned you on numerous occasions to not break on the forums . we've noticed that you have now broken this rule two additional times. This will be the last warning you will receive, and the next time we catch you doing this the consequences will be far more severe. If you have any questions just post here and we will respond as soon as possible.5 points
-
I think you're mistaken if you think that a lot of the best programmers care that much about ranks or e-peen. I do agree that there are a lot of the ones in the middle or the younger ones that will care. Working towards a rank just seems outrageously stupid. How about working for the advancement of the world instead?4 points
-
So basically this suggestion has nothing to due with reality, but you just want another rank for yourself.4 points
-
Or, just add some sort of "scholar" rank like other sites have for geniuses who don't make scripts #harrywhore4scholar4 points
-
4 points
-
What the fuck did you just fucking say about me, you little bitch? I’ll have you know I graduated top of my class in the Navy Seals, and I’ve been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in guerilla warfare and I’m the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USA and your IP is being traced right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You’re fucking dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that’s just with my bare hands. Not only am I extensively trained in unarmed combat, but I have access to the entire arsenal of the United States Marine Corps and I will use it to its full extent to wipe your miserable ass off the face of the continent, you little shit. If only you could have known what unholy retribution your little “clever” comment was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn’t, you didn’t, and now you’re paying the price, you goddamn idiot. I will shit fury all over you and you will drown in it. You’re fucking dead, kiddo.4 points
-
3 points
-
This isn't a programming site, nor a "knowledge" contest. This is an old school bot, where you get rewarded by a group + color for your script writing.3 points
-
3 points
-
3 points
-
3 points
-
Using Multiple Classes Complete Guide! Tutorial Written By: @NotoriousPP Introduction: It has been brought to my attention that some script writers do not know how to use multiple class files inside of their project, and in this tutorial I will try to cover everything I can, to help you have a better understanding how this is done correctly. I will be working on an example project for this tutorial, just follow along using your own project, doesn’t matter which type of project, as long as you understand what’s going on. This project will be modeled in a State based framework, as I see this most often used throughout the forum. Another question you may have, why should you use multiple classes, what are the benefits, is there an upside? Speaking from an Organizational aspect, yes! Splitting up classes makes it easier for the writer and to whoever is working on the script, instead of having to search through a wall of text; you can simply find the class in your Project Folder. Things you’ll need: A Computer or Laptop. A IDE (For this tutorial I will be using Itellij) Latest Version of OSBot. A Brain (Might help) Getting your project setup: Create new project, and add OSBot as a library. Your project should now look something like this: Create packages inside of your src folder, this well help better organize your script! After doing this it should look similar to this: The Real Work Begins (Kinda): So now that we have packages in our src, we need to fill them up! So first lets create a Script class inside of our Core package. (Notice the Class name “ExampleScript”, this is following correct Conventions. An incorrect way of naming classes would be “examplescript”, “exampleScript”, “EXAMPLE_SCRIPT”, etc. If you would like to learn more about Conventions, you can go here: Code Conventions for the Java Programming Language) Alright so now we have a basic Skeleton setup, though it does nothing just yet. Well, lets change that! Since for this tutorial we are writing a State based script, first we need to create State Objects! To do this we need to create an Enum, which basically is “a special data type that enables for a variable to be a set of predefined constants.” (docs.oracle.com). I personally like to have a package that stores all my data needed for a script, so I’m going to create a new package “data”. After we have created the package, create a new Enum inside of the “data” package. (If you don’t know how to create an Enum right away, just create a new class file for right now, and I’ll show you what to do next!) (If you were one of the people who did not know how to create an Enum, simply create a new Class, and then replace “class” with “enum”, and your set!) For this Enum were are only really using the name, and not storing any real data here, so all we need to do is add the different States we want in our script! For this example, I will be using Attack, Eat, Loot, Drop, and Bank. REMEMBER! To follow correct Conventions we are going to name the states using all CAPITAL letters. Optional: Adding a toString() method can be used to make your “state” or “status” more presentable, and not YELLING AT YOU when displaying. The method essentially grabs whatever “state” being used, and modifies it to your liking. In the example below, it creates a final String “s”, then replaces all underscores (Not used in example) with a space; the next like I return the String “s”, though I grab the first Char of the string and add it to a substring for the rest of the string and add a toLowercase(), making ATTACK, to Attack. This is especially helpful when using States as a status; this method can be applied to all types of Enums! (Cool trick if you’re a Windows Intellij user! You can type all your states without having to type with caps lock, or holding shift; just type your states, select them, and press “ctrl + shift + u”, and it will capitalize all selected, or turn it to lowercase if already capital) So we have our States, now what do I do? Well we need to get a getState() method ready our Script class. If you don’t already know, this is the method we use to determine which action or “state” should be executed. Then in the onLoop we have a Switch statement that determines which action should be executed. So what do we do now? The some people here make the mistake of continuing using this class for their tasks, actions, and data; just everything really. This is exactly what this tutorials main focus is on; how we can use multiple classes to help organize our project. You Script class should now look something similar to this. So now we get to create our first separate class! You may ask, well how will I be able to use myPlayer(), client.getInventory(), if I’m not inside of the Script class. Well one word really “Constructors”. We are going to need to create a constructor that takes a Script variable which we can use throughout the script, in this case “sI” (Swizzbeat are you happy now? I didn’t use sA this time ) which refers to Script Instance; but first we need to create a new class inside of our “tasks” package (folder), and in the example I will be creating an Attack() class. In this class we create a public Constructor that accepts a Script variables “sI” as discussed before! So now you should have a class that looks like this. Well you’re almost done implementing your first separate class (If this is your first time that is)! In the Attack() class we can now use “sI” for all of the calls we need, so instead of typing myPlayer() like in the Script class, it would be sI.myPlayer() in your extended class. So for example you can do something along the line of this: (Please don’t use this snippit below for real, it’s just a funny example, I don’t want a PM saying this didn’t work…) Alright so I got a separate class, but how the hell do I use this shit? You might be asking. Well in your Script class, since you extended Script, by using “this” is other words a Script variable, so that’s what we will be using to call our class! So in the onLoop, we can now add the new separated class, simply by adding “new Attack(this);”. Yup it was that easy! So it should look similar to what I have below. Just import the class (Most IDEs do it automatically), and call the class using “new Class(this)”: Well if you don’t understand how this all works by now, read through it once more, it will make sense eventually! To add more classes to our project, just use the same logic we used in creating our Attack() class(Or hell you can just copy/paste, and edit a little). The other packages in our “src”, can be used for numerous of different classes, just it’s up to you to fill them, just use them to keep organized! Conculsion: Well if you followed along, and got it working correctly! Congratulations! Separating classes help you so much down the road when working with large project, teammates, and or co-workers! No one wants to read a wall of text, it’s much easier to navigate through folders and get the file you need (Like how an office files paper work, Duh…). I really hope you guys all enjoy reading this, and it helps a few people out with their scripts! If you have any suggestions, and or comments, please leave them below, and I’m more than gladly answer them! Also let me know about any errors that you find! I'm not a expert, just trying to help! Sources used: http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html http://docs.oracle.com/javase/tutorial/java/javaOO/constructors.html http://www.oracle.com/technetwork/java/codeconv-138413.html2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
It's the market. There are all kinds of things being sold in ''other'' which is being ''advertised'' too. OSBot does not need to be all about money why not freedom of trading for atleast?2 points
-
its my 21st birthday on the 18th of march, and this is my paypal address > Blackrouge@live.com.au just two random facts i thought id share with you guys .2 points
-
I don't feel the need to change this. I'm still developing my scripting and general software development skills. I feel that SDN scripter simply shows that hey, I know what I'm doing but I have alot to improve on and also, this is a botting site, not a software/scripting development forum so I don't feel the need. However I agree with Swizz, HarryWhore4Scholar2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
CMSquad? Sounds to me like two nooby red noobs are mimicking the #Global#Squirtle#SuperSquad's old methods of unison.2 points
-
2 points
-
Isn't that a bit overkill? Also, throw in #isAnimating since #isUnderAttack is a bit unreliable for me while you're at it.2 points
-
2 points
-
2 points
-
In one corner weighing at an undisclosed amount we have...MALDESTOOOO And in the other corner we have, weighing in at "Fat", we have VEERRIIIFIIIED Maldesto goes in for a right hook! It lands! Verified tries "Rebuttal" it misses! Maldesto comes in with a swift kick to the groin and VERIFIED IS DOOOOWNNNNN GG, will be collecting donations for this lovely story as written by Nezz of OSBot.2 points
-
We could always put a limit on the use of them as well (can be polled given this one doesn't go through). On a different forum I post on, it doesn't allow any alt characters, and you can only use 3 non-letter characters in a row, so the most used title is usually ### Title Name ### or ___ Title Name ___ just to try & stand out. It's basic, doesn't happen too often, and doesn't make the forums look really sloppy.2 points
-
2 points
-
2 points
-
This has always been a goal of mine, and I've done a little bit of work on things related to it (such as my Jad helper), but I think it's time to actual begin production. I'm making this thread as a log of my progress and to keep everyone updated with how I am progressing. Don't expect anything to fancy or extravagant as it's mainly just going to be text with what I accomplished that day and the occasional picture. Hopefully I can finish, achieve flawlessness, and have the first fully functional fight caves script for Old School Runescape Day 1 - Begun construction. Completed the framework and have a pretty good idea on how I am going to deal with the waves, trap select enemies, use the "italy rock" to its full effectiveness, etc. Day 17 Sorry I haven't updated this, beginning to reconsider making the script at all. Will post soon with more info.1 point
-
1 point
-
1 point
-
Why should it be allowed? The owners who pay their good money to advertise here should be the only ones be able to do what they want. OSBot makes a bit more to provide for the client, thats why their the servers advertise here. Selling gold for a different server thats not being advertised is like an indirect advertisement that isn't paid for. (can piss some of the owners of the servers off)1 point
-
1 point
-
1 point
-
So now all people have to do is spam "wc level" and the person botting is continually going to say the exact same thing again and again.1 point