Leaderboard
Popular Content
Showing content with the highest reputation on 05/30/14 in all areas
-
You can have injection without reflection. You can have reflection without injection. Neither one depend on each other, you can also use both. Reflection: 'reflects' the value of fields, or better said inspects. It's a resource intens system and has its limitations for bots however you can perfectly fine use it to create one, OSBot used it in its early days. It is useful to inspect the state of a program and is more accessible for programmers to use and understand than injection. Injection: 'injects' code, for example getter methods to return value of fields. This behaves as normal code but is done on bytecode level. Getting a field value with injection through an injected getter is faster than with reflection. But it's not limited to injecting getters, one can inject other logic, for example event dispatchers, which makes it a very strong tool.10 points
-
Well I thought today I would release some of my private collection of different snippets to hopefully help new writers learn a little bit, and to maybe see a rise in quality of scripts throughout this forum. For my fourth release, I'm going to share something I spent hours on, I put way more work into this one class than I probably should of, though it was a great learning experience, and am glad I chose to do this. I cannot say this will work flawless, but rather give you a solid base for someone interested in creating their own banking methods. This class gives you full functionality of banking, allowing the writer to changes anything they don't like about banking. I have done my best to recreate every method in the OSBot Banking.class, while also expanding adding other methods I thought would be useful. In my personal tests, I was able to bank 41.6% faster than using the orignal built in functions (Rounded Amounts: OSBot best time: 12s, My best time: 7s), so even though being very rough at the moment, it's still a major improvement from what we have at the moment. I must thank/credit: @TheScrub for his orignal banking API, as I used some of his methods. @Archon for his snippet on bank scrolling. @Nezz for his awesomeness helping me handle bank tab configs correctly, and helping review the class. You guys are awesome! Disclaimer: Please note that this API maybe partially functional, it by no means anywhere near perfect, I posted this in hopes of you guys going out and making your edits/revisions to the class to help diversify our scripts functionality! Please don't come to me asking why this doesn't work perfect, that up to you, I simply gave you a solid base to work from. How does is work? Well pretty much instead of using "client.getBank()", at the top of our banking class we will create a new Banking object like: private Banking banking = new Banking(bot, client); And after instantiating the Banking object, we can use it like: banking.withdraw("Lobster", 12); So pretty much exactly like the old API, yet we just call the methods through own Banking class instead of OSBots. Finally, where the magic happens: (Added JDoc information tables to public methods to help you guys understand what is going on a little easier) Questions/Comments?: If you see anything I messed up on, or should be improved, please let me know, but be respectful about it, we have too make keyboard warriors thinking their hot shit, yet do nothing but bash others and never give any useful resources. But please remember this class file is almost 1k lines long, most of which I typed, so there may be mistakes, so if you find one/more, let me know and I'll fix it! Even if you have a question, free to ask me, just please refrain from asking me blatant obvious questions, or ones you did little to no research on before asking, I'm not here to spoon feed you, though I am willing to help someone is trying. I really hope you guys enjoy this, and let me know what you think!4 points
-
4 points
-
3 points
-
i feel like this apology is a show for the mods. You are SO disrespectful man, and disrespect is the one thing i cant tolerate. You seem like a completely different person now? You barely talked to me like i was a human lmao you said stuff like "shutup fag do my fucking service idc shutup" "stop fucking talking and do my service" and i could keep going on, its just unbelieavable how much you changed up now. You made me negotiate with other people so much to find you gold, and then got mad when i tried talking to you about posting to buy the gold yourself and find a person yourself. and also got mad when it was hard to find a seller. that WASNT my job. My only job was to do your service, your only job was to pay. you paid late, i made slow progress on your account while i was awaiting payment. I still made a shitload of progress, and your account could be finished in about a week. It was alot of work, you only appreciate it now that i got fed up with your attitude All of what i said above is irrelevant lol. the fact is your a scammer offsite, i wasted my life for your service only to be treated like crap, and i dont feel like continuing your service. Nobody on osbot wanted to deal with you, and now i dont either. youre probly just gonna charge back the gold you bought or something -__-3 points
-
Well I thought today I would release some of my private collection of different classes/snippets hopefully help new writers learn a little bit, and to maybe see a rise in quality of scripts throughout this forum. For my fifth release is another great learning experience I undertook last month, creating a mouse movement algorithm using a bézier curve algorithm I created with the help of Google, a tutorial on here, and @Merccy & @Swizzbeat helping me understand how the mouse interacts with the canvas, how to send my own events to the canvas. The reason I'm releasing this is because of the rise in bans as of recent, and I feel mouse movement plays a significant role in bans, though some people doubt this. I have to admit I didn't always think this was true either, and like some that still don't believe, I thought of profiling mouse movements as completely impossible due too the extensive resources that it would take to profile each player, though I will post some quotes from respected members of RS Hacking community that completely changed my thoughts about this. (Posting in text to avoid subliminal advertisement) #1 #2 #3 Those excerpts from above are some of the better material I have found regarding bans, but there is much much more on the topic, just a matter of digging deep enough to find it! Though a mouse change alone won't completely remove the chances of a ban, it gives you a better chance of going undetected. Now lets get started! What does this actually do? Well simply make your mouse completely different, using a bézier curve algorithm I created using a framework Swizzbeat and Merccy supplied me with. The final result, should look somewhat like this: Though this could be highly improved upon, it is a huge improvement to the default, and there are also other mouse controllers such as the SRL Mouse and WindMouse which are available on Google, just may require some porting over. How does is work? Well when creating this instead of starting by looking through RS examples, I instead went and study the math behind bézier curves, to find out they were quite simple to grasp. Then after seeing a idea for a mouse controller posted that I thought would be suited perfect for my use, I decided to replicate it. This is the basic guideline I followed when creating this. Finally, how the hell do I use this?: Well even though I took out most of the work, it still takes some on your side, just mostly copy/pasting, thought I recommend that you edit this mouse algorithm because the more similar patterns the more chances of you being detected. Well this tutorial will partially coincide with @Merccy's tutorial on Creating your own Mouse Controller, though I have made edits and extended some other areas he did not. First off we need to create a interface which we can use later to create new mouse algorithms easily and making changing them a snap. In Merccy's tutorial he creates a MouseController class which handles moveMouse and moveMouseTo methods, though this is also where we assign our new MouseController as well. We are adding this class becasue it seems that Merccy didn't mention it, though we need a class that can send our new mouse events to the canvas to have it move the mouse. Now we Object hold this new mouse we created, so for this I created ModMouse, which basically reflects and sets our mouse controller to replace the original. This is similar to Merccy's though we also set our MouseEvent as well. Finally we have everything we need to set use our own mouse algorithm, but we need a Mouse algorithm to use it! I named this NotoriousMouse purely to change the name other a Mouse controller sent by Swizz beat, which I then ripped all the internals out and rewrote using the new found knowledge I learned while studying bézier curves! This may not be the best, but it's a big step up! So we have all these files ready to go, and you should have something looking like this: For the hardest part of all is implementing it, please pay attention as this may be difficult for some to understand. @Override public void onStart() { new ModMouse(this); } Done. If you manage to follow all the directions and copy/pasted everything just right you should have a whole new mouse in your script! You now are on the road to having a more diverse mouse controller, though please be warned this is only for OSBot1, I have already tried implementing this into OSBot2 but the mouse methods are now declared as final and are no longer able to be overridden (If there's another way please let me know). I really hope you enjoyed the read, and I hope it helps all of you! I would post my sources and references but I withheld from doing so in fear of ban due to accidentally advertising, though I'm sure could be found with someone interested in the subject. Questions/Comments?: If you see anything I messed up on, or should be improved, please let me know, but be respectful about it, we have too many keyboard warriors thinking their hot shit, yet do nothing but bash others and never give any useful resources. Even if you have a question, free to ask me, just please refrain from asking me blatant obvious questions, or ones you did little to no research on before asking, I'm not here to spoon feed you, though I am willing to help someone is trying.2 points
-
2 points
-
2 points
-
2 points
-
Well I thought today I would release some of my private collection of different snippets to hopefully help new writers learn a little bit, and to maybe see a rise in quality of scripts throughout this forum. The first release is my Painter class, which I originally got from a open source framework last year. I really liked what the writer did, so I then went and revised to work with OSBot, and to my what I thought was most optimal. I usually use this class in my personal scripts, becasue I just like knowing how my script is doing, I don't need a crazy ass paint to tell me that, just need the information clear and easy to read, and I know a lot of programmers feel the same way. Original author: Coma - 08/22/13 Revision author: NotoriousPP - 02/13/14 What does this class actually do? Well simply put, a class that will create a display a clean, easy to read paint, with multiple functions making the writers life a little bit easier. How does is work? In the example below, I will show the source for a paint, then what that paint will look like in your script. ** Timer class with a getElapsed() method is needed to use this! ** Finally, where the magic happens: The source code to the Painter class! (Added JDoc information tables to help you guys understand what is going on a little easier) Questions/Comments?: If you see anything I messed up on, or should be improved, please let me know, but be respectful about it, we have too make keyboard warriors thinking their hot shit, yet do nothing but bash others and never give any useful resources. Even if you have a question, free to ask me, just please refrain from asking me blatant obvious questions, or ones you did little to no research on before asking, I'm not here to spoon feed you, though I am willing to help someone is trying.1 point
-
Dear community, In these two release you will find the following fixes that apply to both versions: The equipment system has undergone further changes. The system will no longer require to open the interface tab for all slots except ring and arrow. Furthermore the system now forces the cache to be updated for ring and arrow slots if information about those slots is required by opening the tab. If in any case the tab can not be opened, for example you are in the bank, the client will notify the user with a log warning which tells them to contact the script writer and ask them to update their script to avoid situations where they check their arrow or ring slot with an open interface (like banking). The world hopper has been fixed to account for the new worlds / world layout. One important notice towards script developers is that the equipment methods to equip items will now return their boolean based on whether the interaction with the item was successful or not and no longer force the client to check whether the item is actually equipped. In practice this won't make much difference, except that if the client is required to double check whether rings or arrows were actually equipped if the interaction went successful it requires to open the tab which a human wouldn't. The download for OSBot 2.1.9 can be found here: http://osbot.org/osbot2_beta/OSBot-packed-2.1.9.jar The download for OSBot 1.8.13 can be found here: http://osbot.org/get/index.php Sincerely, Maxi1 point
-
Very, very interesting read. Thank you for this.1 point
-
1 point
-
1 point
-
Well I thought today I would release some of my private collection of different snippets to hopefully help new writers learn a little bit, and to maybe see a rise in quality of scripts throughout this forum. My second release is my inventory monitor, which will keep track of items in your inventory changes. This came from the same framework as the Painter class, though this needed major changes in order to work for OSBot correctly, and along the help of a few people I got this running. This will create a item cache will you can then use to see when a item is removed from inventory, or when on has been added, and how many of them were updated. This is extremely usefull for keeping track of loot, or even in some cases use it to help keep track of your scripts progress. Original author: Coma - 06/29/13 Revision author: NotoriousPP - 02/12/14 What does this class actually do? Keep track of crap in your inventory. How does is work? In the example below, I will show a sample code, and the output. **MUST USE ITEM IDs, NOT THEIR NAME!** Finally, where the magic happens: The source code to the InventoryMonitor class! Questions/Comments?: If you see anything I messed up on, or should be improved, please let me know, but be respectful about it, we have too many keyboard warriors thinking their hot shit, yet do nothing but bash others and never give any useful resources. Even if you have a question, free to ask me, just please refrain from asking me blatant obvious questions, or ones you did little to no research on before asking, I'm not here to spoon feed you, though I am willing to help someone is trying.1 point
-
Anyone that is experienced with goldfarming and is willing to help add me on skype: snelle_mike6@hotmail.com1 point
-
This has been fixed, when alek and I were moving things we forgot to add the post count +. Sorry for any delays.1 point
-
1 point
-
1 point
-
@Mackadizzle has 1 month to complete the service for soulwarzftw. If not completed by this time, a refund will need to be given.1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
I really find it hard to believe that all this evidence is just a coincidence and its not you man. I had no intentions of not completing your service, you know that. otherwise i wouldnt have wasted the last like 9 days of my life, no lifing on your account. But you're just the worst customer ive ever had, you're so disrespectful and im not gonna continue working on your account. And every contact (even reputable contacts on osbot) refused to sell you gp due to finding out about the offsite scams, thinking theyd get chargedback1 point
-
make a free account to see if you IP is flagged. If not, take breaks when botting more frequently then give yourself an avatar.1 point
-
The code I posted returns the same exact String and is more efficient. You're calling the #name() method twice as well as creating additional String objects while mine only uses only a single StringBuilder. Strings are immutable, which means any operation on them creates an entirely new String instance (leaving the other to be garbage collected).1 point
-
by what he done for the community, not based on how he acts 24/7. He helped me a lot in the beginning and now just changed for the worse. He couldn't move on past his differences or he'd still be a super mod. @Smart based on his community skills and attitude 24/7 always a pleasure to work with. @Gilgad a good guy, and a friend. Can't wait until he returns1 point
-
So after being in the trading market for a few months I noticed a big problem that gold sellers are constantly afraid of. Charge Backs!!! Now there are many ways to prevent this, but in most cases the gold seller will ask the buyer to send them a irl ID confirming that they have access to the PayPal and that is in fact not hacked. Unfortunately a lot of people are afraid of Identity theft and refuse to give their ID out to anyone. So heres an Idea I came up with, I doubt it will ever actually be used but its an idea. Rather than having each individual gold mercher/seller have their customers verify their paypal for the first time. If OSbot had a paypal verification system, as long as they use the same e-mail linked to their osbot account to make payment you know its already been verified that they are the rightful owner of the paypal. Then you can check their feedbacks to see if they are charging back or not. I feel people would be much more comfortable sending their licences to an admin on OSbot to verify their paypal than someone like me. Once again this is just a thought, but I feel like it will eliminate chargebacks for the most part, and make it very easy for people to know if it's actually their paypal or not.1 point
-
1 point
-
1 point