Jump to content

Search the Community

Showing results for tags 'java'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OSBot
    • News & Announcements
    • Community Discussion
    • Bot Manager
    • Support Section
    • Mirror Client VIP
    • Script Factory
  • Scripts
    • Official OSBot Scripts
    • Script Factory
    • Unofficial Scripts & Applications
    • Script Requests
  • Market
    • OSBot Official Voucher Shop
    • Currency
    • Accounts
    • Services
    • Other & Membership Codes
    • Disputes
  • Graphics
    • Graphics
  • Archive

Product Groups

  • Premium Scripts
    • Combat & Slayer
    • Money Making
    • Minigames
    • Others
    • Plugins
    • Agility
    • Mining & Smithing
    • Woodcutting & Firemaking
    • Fishing & Cooking
    • Fletching & Crafting
    • Farming & Herblore
    • Magic & Prayer
    • Hunter
    • Thieving
    • Construction
    • Runecrafting
  • Donations
  • OSBot Membership
  • Backup

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location:


Interests

  1. So I started looking into creating my own (basic) scripts for fun etc.. And yesterday I build my very first super basic woodcutting script Github and is was working "fine" (as good as can be expected from a basic first try) But after I woke up this morning and tried to add some stuff I keep getting an error when trying to build the artifact. I also get this error when creating new scripts or pulling an exising script from git. Ive looked into the "SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder"." error, but as far as I can tell this is something to do with Maven, which i'm not using.
  2. Hi! major noob here having trouble opening osbot i am running windows 8 (old laptop i have) i downloaded java and osbot but when i open i get an error message can i get some help and if i can get instructions on how to fix i have installed and uninstalled java like 5 times. i neve got the message from osbot that it was harmful to my device like i did with my desktop so i found that odd as well. and if this has been solved in another thread im sorry! learning how to navigate through here...
  3. note, before doing this close all java applications if running. 1. Download 4GB Patch from https://ntcore.com/?page_id=371 2. Open the file and go to javas folder and select java.exe 3. Patch. Done.
  4. Hey guys would you be intressted in me making a small custom break handler snippet? il have abit of time today+tommoro to try make something cool since i seen a decent amount of demand for it if you have suggestions on features it should have or just general how you would inmagine your perfect break handler let me know so i can try base it off that
  5. ❈ Solace Freelance ❈ Welcome, My name is Jordan, I am a 21 year old Australian who's been lurking on these forums way to long and decided he should provide his services publicly now. I currently study (2017) a dual Bachelor of Commerce, Accounting and Finance. In 2018 I will be executing an internal transfer to start studying a Bachelor of Networking and Cyber Security Systems which I feel is more my pace than accounting. Motivation, My current motivation for running this service is my workload after the internal transfer will be about doubled, I have more contact days and way more classes. Currently I have a little tucked away for a vehicle but i'm looking at saving some more up so my transport two and from uni is a little more comfortable than a 60 minute public transport ride each way. Qualifications, Like most of the scripting community I have no official qualifications, although I have 4-5 years of experience and practice in programming around botting and runescape related code. From my time working around RS communities I've learnt nearly everything I feel I can without taking the step to make my own client from scratch. I have released code in the past, albeit messy I am rather proud of most of it. Vouches and Feedback will be listed as appropriate. What am I offering? Basically any programming service i'm capable of producing, including but not limited too, Most Website Work (HTML/PHP/JAVASCRIPT). Work with databases in most practical languages (MySQL for java/php/ect, MongoDB but why) Any Java based application/code you could want. basically just hmu with anything you have in mind and i'll see if I can do it. Rate is minimum $20/H First hour rounded up to the full hour because I can't double book times but each following hour rounded off/down. If a constant rate isn't your thing we can negotiate a overall price for a project we both deem fair. Payment methods include PayPal/Skrill/07GP RSGP Rate -> $1 USD <-> 1.25m <- (1) Price to be negotiated upon contact Ordering and Contact, I am usually in the chatbox if i'm awake, although if you're unable to coax a response from me there other options include: Forum PM Skype isolatepb Discord Kyu_#0285 Before or during contact with me you will be required to post on the thread the phrase "Ordered" By commenting the aforementioned phrase on the thread you confirm you understand/acknowledge and fully accept to my Terms of Service found bellow. Terms of Service These terms of service are subject to change, if you have a service open and they change you will be notified. If your service requires anything specific you'll be required to provide it given I don't already have it. I reserve the right to deny any service request. I reserve the right to terminate any service at any point, in this case a reason will be supplied and refund given if appropriate. Payment plans consist of Up-front full payment, Middle man of my approval holding gold, or 50/50 start/finish split payment. You are not eligible for a refund unless I deem it so, in most cases I will deem so unless you explicitly waste my time or are rude. If you wish to terminate a service after a payment plan has been initiated you man incur a small fee, 10-25% of order fee for my time. I cannot be held accountable for any damages/loss you incur post service as i've done my best to fill the request to your word. Upon contacting me you will explain the project idea in as much detail as possible along with which price bracket you believe it fits in and where along that range. (in most cases unless unreasonable i'll agree). You are entitled to 1 year of full bug fixes and api updates as needed. Not excluding forces outside of the project that change stopping it from working. Prolly more stuff I forgot, been writing it for too long, lemme read over and edit it silly
  6. If this is in the wrong section I apologise; I just need aid loading OSBot - also if I have missed a useful thread feel free to head me in that direction I recently installed osbot.jar and the newest java but when I open OSBot nothing happens I have even opened with c:/programfilesx86/Java/jre1.8.0_151/bin/Javaw but nothing seems to work. I have even tried reinstalling both, please help
  7. Okay so after a few months lurking around, and the last month being more active, reading up on tutorials, Java in general, posting questions to learn more etc i've decided to start my own thread for my own Progress goal. Some bakground: I'm a 24 year old guy from Sweden, started gaming at like the age of 8 or 9, and since then my computer has always been my number 1 joy in life, it's kinda crazy how much i actually enjoy spending time on my computer lulz, anyways. I used to play alot of Poker, NLHE, made my way onto 2.5/5 stakes, climbed to 5/10 some times aswell on the swedish site SVS, made a decent profit, but eventually got kinda demotivated as poker is dying out as a whole, due to fish (term for bad players) not coming into the game with the same influx that it used to, aswell as not really being able to se myself as pokerplayer 5->10-15 years from now on, by other words, it was a nice way for me to earn money at the computer, while also improving my math skills, logical thinking and self reflection. But the emotional stress it caused, litterary made me punch a hole through my desk. After changed were made to the site, changed their shitty GUI to an even worse GUI that didn't allow HM, (program for data tracking, HUD of stats etc) i decided to call it quits, poker had been great but there was no real future for me. All in all it was a great year, with me spending the summer infront of the computer with my best friend, smoking weed the entire day, chasing fishes until 5am, passing out, waking up at 11am, W&B-> hit the gym-> join the tables -> repeat. So where to go from here: So since i've always loved to actually strive and work towards goals, my natural tendency was to search for something else, something which had a future, something which would have me develop skills that i would benefit from for the rest of my life, so many times have i thought to myself, "Shit i should've started doing that earlier", or "Shit i shouldn't have quit that". There's no redoing in life, What's done is done, therefore and i attribute that alot to poker, i really tend to try to envision everything super longterm, aswell as having a process oriented focus, rather than a results based, (Try having a results based thinking in poker, and you'll go mental within a couple of days lulz). I've tried youtube, i've tried poker, i've tried writing, i've tried webb developing, i've tried so many thing, but what have always been my foundation has been that i want to have a job that let's me work from anywhere in the world, aslong as there's internet connection, No boss supervision(I really despise the thought of me working for someone and me only earning x amount of % of what i produce, rather than me earning the full 100% of my production means) And that it allows me to make BANK irl. Therefore you'll probably see that all these kind of "Jobs" i decided to try out, actually follows this pattern. Anyways so after a semester of maths and physics course in my community college, i started to develop a love for simpifying my homework with equations and formulas by programming my calculator Ti-84 to do all the calculations, and just prompting the values. It was also super helpful due to the fact that it forced me to work with the equations, rather than just mindless numbercrunching and to understand how to reorganize the formulas to get the correct answer. And that's where i started to get into programming. So at the Mid of june (when the courses ended) i decided to try and develop real programming skills, rather than just programming formulas into my calculator. A few years ago while still in high school i took a course in C#, and i distinctly remember hating object orientation, angle brackets, Classes and all there was to it. But this time my mindset was diffrent, First of all i strongly belive there is no such thing as funny, or boring - Cause what is really something objectivly boring? or objectivly funny? There is nothing, right. It's all subjective feelings that we apply, and if somethings subjective that essentially means that WE get to choose how we feel about it and that is a crazily fucking powerful thing, Of course every task is going to have different feelings that is conditioned to it with neurons, but neuroplasticity makes it not being permanent, it's going to take time, but it's never permanent, and that's the key! Shit i've changed feelings about tasks so many times it's dumb, i've even come to love the constant rain in the swedish summer for it allows me to spend the time inside at my computer to learn more about programming. The second thing is that i felt that there were some actual areas where i could apply my programming (Rs07) while still learning and that really helped me to push through the mental barriers which i previously had while trying to learn Java(i've tried to learn it sooo many times, for a couple of days, and then just end up leaving it due to the high learning curve i felt it had, and the time it would take for me to actually learn it) So this time i've actually pushed through for what i belive to be was the(for now) hardest part, as i've got most of the fundamentals down, which was what i struggled with the most while trying to learn Java. At the time of writing this i've written about, 10-15 scripts that for the most part gets the job done, (1-2 that i feel are decent enough to actually publish for others to use someday, still using these as my personal money makers, and can pretty much run these without problems). I've read, 277 pages in Head first Java, and pretty much all of the tutorials in tutorial section, i've read countless script help post to se common problems, solutions, aswell as reading many of the posts in the Snippets section to try and se how others write their script, and solutions to problems that i face. So my current short term goals atm are: *Learn more about OOP - strictly speaking - Inheritance, and implementation of it to being able to make use of Object orientation more smoothly. Scheduled to spend Today -> 5th or 6th of August on it. *Learn more about State Logic - Sometimes i feel i have troubles formulating the correct , if and else statements to make for good code, and i think this is what @Alek meant when he told me it'd be a good steping stone. *Learn more about GUI - Haven't spend more than 5 minutes trying to learn it, so all my scripts are without a GUI, and while the scripts work, it'd be nice to have a GUI for some scripts, to mabye get xp/h etc without having to do manual calculations each time. * Figure out some more ways to bot gold - currently have a few, one with like 800k gp/h without much reqs, but require a shitton of gold, aswell as being pretty caped, but with pretty much 0 banrate, aswell as one with 350kgp/h without any reqs but semi high banrate... I can bot for like 5-6/h a day without bans, but any more than that and the bots gets taken out, which kinda sucks, aswell as not really super scaleable. My mid term goals are: * Learn all the foundations in Java, threads, exceptions, GUI's, Lambdas, Collections, Streams, anonymous classes etc etc. * Have a botfarm of atleast 5bots running 24/7 with atleast 500kgold/h. And yeh here i'll probably have 15 bots, that each run 8h/day, and rotate between them. * Make an AIO questing script, Release version of all F2P quests to Osbot for free - Mostly to learn good OO practices * Make a progressive Slayer Script for leveling accounts and semi decent money maker. My long term goals are: *Become alot more proefficent at Java *Build a new computer, or possibly even server, strictly for botting use. * Make a personal raid script - I remember the old dungeonering script, so should be doable with enough experience *Start selling gold So yeh i guess this was my introduction post, these goals are going to be edited, and added whenever i figure something new out that i'd want to learn, but atm im pretty tired, so these will have to do for now. So for now im going to be working on my OOP Skills, I'll post the links of the stuff that i use and probably a summary of what i've learnt from it, so in the case i have understood something wrong you guys can correct me. Also, I love feedback, it's pure gold to me, so whenever you se something which is wrong, or information that can be added to what i've written, ALWAYS feel free to correct me or add infomation that i've might've missed or not learnt correctly. PS. i munch Notropics like a motherfucker!! Jokes aside i've tried Piracetam, Noopept, Idra-21, Phenylpiracteam, Oxiracetam, Aniracetam, PRL-8-53, NSI-189, Adrafinil and much more, so if you're interested in that kind of stuff, feel free to ask about it, or post your experiences, as i find this stuff really fascinating, but Longecity can be a bit boring. Day 1 Progress: Day 2-3 Progress:
  8. Hey everyone! I did some light researching to reveal that there wasn't a way to be able to type in game without enabling all input. So to help myself get more familiar with java I wrote this little snippet to be able to type while all input is disabled! I am still currently working on disabling and enabling the JFrame for when the client is minimized or is not the focused window. I currently have the GetState() working but the onLoop does not work correctly. I am still tinkering with things as I am learning. I hope this is helpful to somebody! EDIT: fixed an error I didn't realize I didn't fix. Also now detects when the JFrame and client is not the main focus. It will turn off the JFrame while the client is in the background. InputOverride override = new InputOverride(ScriptInstance, alpha); in your onLoop add InputOverrideInstance.onLoop();
  9. An open source Oldschool Runescape account creator with proxy and anticaptcha support! below is a snippet of how to use it. The only requirement is to specify your api key from anti-captcha.com public static final String API_KEY = "INSERT_API_KEY_HERE"; public static final String WEBSITE_URL = "https://secure.runescape.com/m=account-creation/g=oldscape/create_account?trialactive=true"; public static final String WEBSITE_KEY = "6LccFA0TAAAAAHEwUJx_c1TfTBWMTAOIphwTtd1b"; public static void main(String[] args) throws InterruptedException, MalformedURLException { Scanner in = new Scanner(System.in); AccountCreator creator = new AccountCreator(); System.out.print("IP : "); String ip = in.next(); System.out.print("PORT : "); int port = in.nextInt(); System.out.print("DISPLAY NAME : "); String displayName = in.next(); System.out.print("EMAIL : "); String email = in.next(); System.out.print("PASSWORD : "); String password = in.next(); System.out.print("AGE : "); int age = in.nextInt(); in.close(); creator.getBalance(); creator.createAccount(ip, port, displayName, email, password, age); }
  10. Hello Osbot community, I am currently working on a script where you enter a mob name in an J-input dialog window, and select an item to eat from a dropdown(JComboBox) menu and the bot will kill the any nearby mobs with the name you entered and when your character drops below a certain hp mark your character will eat the food. At the current moment I have the script set up such that each of these 2 actions is accomplished in separate jframes/windows. Can anyone point me in the right direction on combining the windows into one? Any help would be much appreciated! i've included pictures of part of my code in these imgur links below (how the 2 windows are displayed when program is run) the createGUI method call creates the jcombobox in this image while Joptionpane is the input box
  11. I'm making a banking class along with my actual main class and I'm extending the GUI class as follows Banking extends WoodCutter Now, when I make an object of that class in my main as follows Banking bank = new Banking(); bank.banking(); I have a banking method in my Banking class However, I get these two errors when trying to make use of the bank method. I would be grateful for some help. Thanks! Edit: For further information I can get it to work if I just make the method inside the main, my point is I'm trying to figure out how to use classes but I'm not seeing what I am doing wrong.
  12. int temp = 0; int n = 4; temp = (n < 2 ? 1 : n * factorial(n-1)); // I don't understand this at all System.out.println(temp); This is what I think: Java checks if 4 < 2, and since it's not, it initiates the second expression in the ternary operator, and 'n' is multiplied by 'n-1'. So you get 4 x 3, and that value is assigned to 'temp'. So now, 'temp' holds 12. After that, Java checks if 'n' is less than 2, and since 3 is less than 2, 'temp' gets multiplied by 2, so you get 12 times 2 which is 24. Thanks, Noidlox
  13. I have a external embedded derby database. I have a table called Account with fields. I am trying to take a string from a text field, and hash it using sha-256 or bcrypt and then add it to the password(CHAR 128) field in my database. I then wan't to verify it when people log in. How would i do this? I know sql and jdbc but not the password stuff. So how can I go about getting a string from a textfield and hash it and add it to the database I have and verifying the password is right when a user tries to log in in java?
  14. So I have an hbox, that shows images. The only problem I need a button to be displayed over the images. Anyone have an idea to do this? Since I use a hbox pane to display the images, I can't just set the background to the image.. e.g below)
  15. Qubit

    JavaFx UX

    Currently working on a school project that is going okay. We were given assigned groups, which is always an L. Anyway the person in our group who said he was good with HCI/UX/UI is utterly trash. I am decent with it myself but I have been working with all the backend of the application. Since he's trash at his role, I want to outsource it. Looking for favorably a fxml layout of the scene below. If not a mock up would be alright, be it that component images be provided. The project is supposed to be modeled around the scheme from this website https://www.ttbonline.gov/colasonline/publicSearchColasBasic.do . But it's ugly as fuck so do what you want with colors and shit. While doing a mockup be noted, that a menu bar and account /name will be added to all scenes. I just want a mockup with a color scheme or some nice display, so I can have something to go off of when coding and redesigning the UI.
  16. http://www.javaworld.com/article/2077424/learn-java/does-java-pass-by-reference-or-pass-by-value.html http://jonskeet.uk/java/passing.html After reading through these two articles I believe I have corrected my misunderstanding of passing object references to methods. Objects are passed to methods by value only. What I'm confused about is why this picture shows the reference from the method pointing to the same object. From what both articles said the reference and object are copies of the originals, not just the reference. Am I missing something here?
  17. I want to get the messages from players in the chatbox and it works only when one message from one player was sent, but as soon as another player talks, i get this error: [ERROR][bot #1][05/28 10:59:29 PM]: Error in script executor! java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.osbot.rs07.api.Chatbox.getMessages(ae:106) at testtalk.main.onLoop(main.java:61) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(um:22) at java.lang.Thread.run(Unknown Source) this is the code I use: chatbox.getMessages(MessageType.PLAYER) I tried to insert them in a list with addall() but it doesn't work I got same error Or is there any other ways to get the messages
  18. Varies Goat Killer ~ Version 1.0 Developed by Varies Further Development has moved to the SDN section, you may purchase for ~ 2.00 Dollars
  19. Hey OSBot community! I made this thread to let everyone know what i'm creating. I want to do leveling services on runescape 2007. So I decided so make my services better, I would make an application for it. These services will be payed with rs07 gp. The application will allow users to see the price of their request along with having many options to send emails and such. I will be writing this in Java. I was going to write this in c#, but I have a better knowledge of Java so I figured why not just use it. Estimated Time Till Completion: 4 months. (I am going to take as much time as I need for this.) Please Note: You will provide all items I need for the service. Features this will have: You will be able to provide an email or skype username, and you will be able to select a option that will automatically send an email once you reach certain levels without having the application open! Example: 10, 20, 30 strength. Please Note: The email or skype username provided will remain anonymous. You will recieve an email/skype message once I achieve the level payed for. Still thinking about all the marketing, I don't need to worry about that as of now however. You will be given an estimated time period till the service is completed. There will be a progress bar indicating the progress till the service is completed. I will be making a function that will grab the level and exp from the highscores, also indicating how far till the next level. If there is a problem completing your service on my end, I will refund you 80%. That's all I have right now, I will be updating this whenever something comes to my mind. If you have any suggestions, please let me know! Thanks Images:
  20. ✔TODAY'S PRICE: $1.90! DELIVERY COMPLETE WITHIN 10 MINUTES OF ORDER! ▼▼My workers - They can PM & trade you on my behalf▼▼ 309JMK Why choose me? ✔Best Prices! ✔Instant Service! ✔Top communication! ✔2k+ Total Feedback! Price Selling ★ ★ ★ ★ ★ ★ ★★★★★★$1.90|M★★★★★★ ★ ★ ★ ★ ★ ★ Terms of Service You will go first or else we use a Middle Man (your fee). You may or may not need to provide additional verifications. ▼▼Contact▼▼ LIVE:NEUROLOGICAL5 Email: NGSContact2@gmail.com Click on one of the images below to add me and completely avoid all imposters. ╔▼▼▼▼▼▼▼╗ ►►►►►◄◄◄◄◄ ╚▲▲▲▲▲▲╝ Added my Skype? How much are you buying?: Will you leave feedback after?
  21. Im working on a wbsite project , and ive rreached to a point where i need to register the users, and send them an email with activation link, then when they press it, they are activated...AND can now login ...... i can do all this with normal functions/php java and so on... but i want to do it with classes so i always can reuse them....SO if anyone knows about classes and can make me a class or classes that can connect to db, and another class to register and login users , also maybe a class to validate the info in the form( or maybe this can be done in the same user class) whatever that is easy for u... i just need everything to be functional and in classes. if this is something for u, send me a message and we will continue from there, thanks
  22. Made my first script, exported the jar to osbot script folder, opened the osbot client, getting some errors.
  23. Im new to scripting and i made my first script, the point is to make my character continuosly cast crumble undead from the spellbook (without a staff) on the nearest skeleton (i will add Ghosts later). The bot is opening the magic tab, then doing nothing. I have no idea what might cause this issue. import org.osbot.rs07.api.ui.Spells; import org.osbot.rs07.api.ui.Tab; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "Dema", info = "Fast magic and hitpoints exp", name = "Crumble Undead", version = 0.13, logo = "") public class main extends Script { @Override public void onStart() { log("Get money, Fuck bitches"); } private enum State { KILL, WAIT }; private State getState() { NPC skeleton = npcs.closest("Skeleton"); if (skeleton != null) return State.KILL; return State.WAIT; } @Override public int onLoop() throws InterruptedException { switch(getState()){ case KILL: NPC skeleton = npcs.closest("Skeleton"); if (skeleton.isVisible() && getTabs().getOpen().equals(magic)){ getMagic().castSpellOnEntity(Spells.NormalSpells.CRUMBLE_UNDEAD, skeleton); } else sleep(random(100,250)); getTabs().open(Tab.MAGIC); break; case WAIT: sleep(random(500,700)); break; } return random(150, 350); onLoop(); } @Override public void onExit() { log("Thanks for running my CRUMBLAH!"); } @Override public void onPaint(Graphics2D g) { } }
  24. Hello fokes, i all want to warn you! 7 days ago i started with osbot, 5 days ago i was permantly banned, I used the scripts rock crabs, cow killer and range guild! BE WARNED! WASTED MY MONEYT ON THIS BOT!!!!!!!!!!!
  25. Also selling the rsn "steroids" pm me if your interested in that. 1. Pictures of the account stats 07 stats. rs3 stats 2. Pictures of the login details 3. Pictures of the total wealth (if there is any) few items on old school d scim/dds/granite plate etc. 4. Pictures of the quests completed old school Has monkeymadness done and waterfall. rs3 5. The price you will be starting bids at 1m 07gp. 6. The A/W (Auto-win) for your account TBD* 7. The methods of payment you are accepting 07 gp 8. Your trading conditions Middleman will be used, im a trusted/old member on another site and have sold multiple accounts and been there since 2009 and never had an issue buying from me you will always keep what you buy. 9. Account status 10. Original/previous owners AND Original Email Addres I am original owner and have original email is mine.
×
×
  • Create New...