Leaderboard
Popular Content
Showing content with the highest reputation on 05/29/15 in all areas
-
Some of my Servers setup and ready. Setup is now FREE!6 points
-
Alright, so after reading the "My Ban Theory" thread, I decided to take the idea of a normal distribution to keyboard typing. What I have made is experimental and may not work as expected to. All I aim to do with this is help to educate those with typing correctly. How it works: Calculating based on words per minute, it sleeps a variable amount based on the value (assuming the average word has 6 characters) With the help of normal distributions, the mean is the mode and the median (which is also usually the midpoint), so we can calculate a normal distribution of sleeping using the mean. It types character per character It wraps the Script sleep function to pause the appropriate time frame (Version 1.1 and onwards) now makes typing errors based on the words per minute setting! Version 1.1 (newest; typos included): Version 1.0 (old; no typos included): Usage example: SmartKeyboard sk = new SmartKeyboard(this, 60); //60 words per minute if (sk.typeString("The quick brown fox jumped over the lazy dog", true, true)) { //Third parameter to true -> enables typos log("Typed the string and pressed enter!"); } if (sk.typeCharacter("g")) { log("Typed the character 'g'"); } if (sk.typeInteger(4)) { log("Typed the number 4!"); } sk.typoConstant = 10000; //Default 100000; lower = more likely to cause a typo; equation ((typoConstant / (words per minute * 10))+ rand.nextInt(6)) If there are any problems with this, let me know. Jagex may be smart, but we're smarter. Proof of typos: (set at 125wpm; original text "The quick brown fox jumped over the lazy dog the quick brown") Feel free to use the SmartKeyboard class however you want, but credit is always nice4 points
-
4 points
-
4 points
-
Think you still got 100% fb cause 1072/1 = 1072 (prob goes off that?) if not idk. but i still trust you . you're bae? still 1072/1 isn't 100% positive fb....... CONFIRMED3 points
-
So when he said "accepted" and 15min later that he was going to open a dispute you ignored him. Whereas every innoncent guy would've defended themselves against those allegations.3 points
-
Here's the compiled story: There lived a mysterious rapper called King Jad, who died in the deep flowing darkness was coming through increasingly hard objects when suddenly I found out that Shaniqua raped her. Everyday more would suck dick and it showed a dangerous man to suckhisowndickpubliclywithnoregardforanyonesopinion and Supercalifragilisticexpialidocious the entire dog population extinct potato doggie into ass cat Osbot had orgasm within bob and spam or vagina gaping with Varc anal penetration surprised buttsex was dancing naked and then there was a ModReach and suddenly Zeah and ModReach said use protection otherwise HIVs will johnnysins attack cow rekt her ebola watered supply came imgay spoon but hole with testicles then Peinis's where that ate the Wolf needed a jalapeno string but the sick ModReach sold his rsgp for a corporeal and dagger that heshoveduphisbutt quickly and dirty while he was already going to the wildy I added a period in like one spot because it was bothering me lol.3 points
-
3 points
-
2 points
-
2 points
-
What does it have to do with the age? If you like it you should play it. I hate talks like hmm he is so old and still plays video games. I see no difference between playing a few hours a game or whatching TV for a few hours... You should always do what you like and want to do. Of course not so much that you have no time for important things but .. you get what I mean2 points
-
I added the "no xp gain for 10 mins --> Logout" as a safety measure INCASE the script gets stuck, so your accounts won't stand still all night etc. I will have to find a way to fix this. As to what that "Out of Coal" thing, I am not sure what is causing that as it has never happened to me on normal nor mirror client. Try putting your coal AND 2ndary ore in the TOP row and try again. Also, DO NOT login on RS before mirror client is hooked. You always want to hook mirror to a client and then login through the mirror client or bugs like this will happen. In other news... Starting next week I'm gonna see if I can make it so that EVERYONE will have to do at least ONE task. When I first released this script I could easily get 1200-1300 bars/h in W358, now I don't even get 1k (with coal bag) which is a pretty big decline in bars/h. I urge you all to get either 30 agility, strength, firemaking or crafting and have each of your accounts do ONE task each (preferably different ones). Level 30 is only 13K xp and takes NO TIME to get. If it's strength - just do waterfall quest, takes 15 mins and you're done. Other skills take 1-2h to get to 30. I'm going to try this for ONE week and see how it affects our bars, if it's good I'm going to keep it - for everyone's good. If you have a large farm and you're like "OMFG NO, I DIDNT PAY TO GET ADDITIONAL 30s" you needn't worry, using a bucket of water to cool off the bars is also a task and only requires a bucket. However, there's already tons of bots doing that, so PLEASE pick a different task. If all 100+ of my users each do a task we can easily get 1500 bars/h. More profit for everyone. ^ Keep in mind that's not 100%, will still need to discuss with my manager what he thinks. Please share your opinions on this with me as well!2 points
-
They are indeed different. npc != null is referred to as a "null check". npc.exists() is a call from an object through a variable. npc is a "reference variable" - a variable used to "point" to an object. When a reference variable does not point to an object, it points to "null". The object contains the actual exists() method, not the variable. If npc is not pointing to an object, it cannot properly call the method, resulting in a NullPointerException. Unless you are 100% sure npc will not contain null, you do not need the null check. Although, if there's a possibility it will be null, you need the null check before you attempt to call npc.exists(). This is basic Object Orientation. If you'd like to know more, feel free to message me (don't be shy)2 points
-
2 points
-
People using designs like the Node system tend to pass their script instance to each node for access to the API: final class Bank extends Node { private Script script; public Bank(Script script) { this.script = script; } //... } The problem with this is the ability to call onPaint, onLoop and other "critical" methods (onExit, onStart) from the script instance. This tutorial will show you how to create an instance of the API to pass around. First thing we need is an instance that supplies the methods we need (from MethodProvider). We can do this by extending upon the API type: final class DefaultAPI extends API { } You will be forced to declare an initializeModule method. Don't worry about it, just the devs not following interface segregation Leave it blank. You could fill it in, but you would be required to call it after instantiating API. Once you have your API type, create an instance of it in onStart in your Script subclass: final class MyScript extends Script { private API api; public void onStart() { api = new DefaultAPI(); } } Finally, we need to pass the context of our script to our api instance. We do this by calling exchangeContext on our api instance, passing in the script's bot: final class MyScript extends Script { private API api; public void onStart() { api = new DefaultAPI(); api.exchangeContext(getBot()); } } Please use the getter method getBot() and not the public field bot. So now our API instance has the context; we can call methods such as myPlayer() from our API instance. We should now pass around the API, rather than the entire script: final class Bank extends Node { private API api; public Bank(API api) { this.api = api; } //... } For those who might say "Who's stupid enough to call onPaint or onLoop?": Encapsulation does not only help prevent these miniscule mistakes, but helps lower the cognition needed by supplying you with only the things you actually need, rather than a bunch of other irrelevant things. The client should not be presented with onLoop or onPaint, since those do not have purpose within the Node class. Out of sight, out of mind.1 point
-
Been getting into creating GUI's recently, needed some practise and decided to share my work here. On all of the above everything was created from scratch including the borders and vectored icons.1 point
-
@Muffins and @Orange to protect my ass with their lives @Anne, @Asuna and @Dex and @Oliver will be required to continue the human population by making mod babies. Project OSBot.1 point
-
can you add optional spec? the script goes crazy when its switching tabs to spec, very bot like plus its for a d scimmy spec... not worth it... please do this like many others have requested?1 point
-
Ill buy whatever you got cheap prices, 1-20m! comment how much you have and either you go first, or I'll go first if i deem you trusted my paypal is verified1 point
-
1 point
-
1 point
-
depends on the options. but if it works good with the fastest xp/h like oak larders etc around 10$ i think.1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
I was thinking about typos. What I'm going to do is make a little keychar map with nested arrays (for example, "a" typos could be "q", "s", "z") and then have a chance to see and correct it before typing (pressing backspace x amount of times and then pressing the correct key) or simply not noticing and then in a new message doing the classic "word*". Edit: the equation for a random typo could just be (100000 / (wordsPM * 10) - rand.nextInt(5))? This way it still has a degree of randomness, but it still scales nicely with the words per minute factor (ofc you're not going to make many or any typos at 1wpm but you will at 120wpm) Edit 2: working typos! Set at 125wpm in the example, with the original text "The quick brown fox jumped over the lazy dog the quick brown". Currently, there is a 33% chance that the controller will actually fix the typo. You can change this in the typeString method (where it says if (typos && rand.nextInt(2) == 1 ) {) Good luck everyone, and happy botting1 point
-
Thanks, not going to be anything big just a few nature bots then bloods1 point
-
Only that much? I assume it might be higher due to the amount of money you can earn at BlastFurnace?1 point
-
Please let me know when you have waterbirth isle down, you know i love your script, i plan on buying this ASAP1 point
-
1 point
-
1 point
-
I haven't looked at the Chatbox API in a while, there's a good chance there was a game update the broke it. I'll take a look at it.1 point
-
1 point
-
1 point
-
that looks like the hardest game ever edit: wtf is that your youtube channel??? You're beautiful O.O1 point
-
1 point
-
To beat an addiction you can't go cold turkey. You have to play it smart. I'm not sure of the timing distant between the buying of gold. This is what I say. You have to learn to control your urge. Start off with let's say 30 dollars worth of gold. The rule is you can't spend more or close to the amount you bought. This is more for like buy gold Bi-weekly or something. Let say you get 15m from the 30. Play it smart, take out like 3 mill from your bank for the day. Only stack that amount. If you make more money like your total is 5 mill now. Put away the 3 mill into your bank. You have 2 mill to waste or build up. The plan of the game is come in with something and leave with more or the same amount you came with. If some how you start losing money remember to leave before it starts to get worse. It's all about monitoring yourself. Meta cognition1 point
-
sorry to hear man, i understand i get a bit addicted to it but i just try and never spend money on gold - so my advice is just set up a goldfarm and only stake your profits (if you feel like you need to stake) and sell the surplus to get out of your debt i think a private server would help but realistically if you are physically addicted it isn't helping being apart of this community where you are constantly tempted to buy hope you get it sorted1 point
-
1 point
-
widget interaction seems to have broken somewhat in the last 4 updates somewhere, i wrote my own and it works fine.1 point
-
i vote for a change. If not black you could do a different color combo1 point
-
1 point
-
1 point
-
1 point
-
1 point