Jump to content

deus-x

Registered
  • Content count

    34
  • Joined

  • Last visited

  • Feedback

    100%

Community Reputation

19 Good

1 Follower

About deus-x

  • Rank
    New Botter

Recent Profile Visitors

1,072 profile views
  1. Introduction to Java

    OP in that thread is referring to the bytecode manipulation library ASM, not the language. It sounds like he's using the right tool for the job. Not exactly skiddie behavior.
  2. computer science degree

    https://www.reddit.com/r/cscareerquestions
  3. Welcome Screen if statement

    I think the issue might be that the login bot thread takes precedence over the script thread. In my experience, it seems like the login bot thread ends when the "Click here to play" button is clicked. I'm guessing that sometimes your script begins firing quickly enough to grab those interfaces and check them, and other times it doesn't. It's a gross solution, but if you have to detect the text at the welcome interface, I'm wondering if the only thing you can do is to spawn a separate thread (this won't be blocked by the login bot thread) to check if that interface text is there. If your script can change a bit, it seems more intelligent to do what Boston said and check for it at the bank screen itself. It's definitely possible to click the exit button on the bank pin interface and then logout from there. This is unrelated but worth mentioning: if (c.getText().contains("You do not have a Bank PIN. Please visit a bank if you would like one.")) { bankPinStatus = false; } else { bankPinStatus = true; } That can (preferably) be written like this: bankPinStatus = !c.getText().contains("You do not have a Bank PIN.")); When you find yourself assigning a boolean value based on a single condition in an if-else block, it's better to just assign the variable directly to the condition. It's needlessly verbose to write it the way you have. Additionally, String#contains will return true if a string contains the substring you've passed in -- there's no need to match the entire string!
  4. I am a horrible human being..

    How much are you realistically earning that makes this worth it for you? Great, you're making $20 more a month AND you're a huge autist! I guess at the very least this post serves as a reminder that buying a VPS from a RuneScape-related "company" is a stupid idea altogether. Even if you can stomach getting upcharged for a box that should cost $3, you never know when the fifteen-year-old running the thing will try to steal your shit.
  5. (Constructive) Critisicm please :)

    If you try to access a null object, you'll get a NullPointerException, that's true. But the API specifically returns an empty array, not null, when you call Objects.find (and the same thing happens with Npcs.find and probably a few other places), so there's no reason to check if the array is null.
  6. Bought a firescape for OSGP. Very fast, very professional, and cheaper than most services! Would definitely use again. Thank, Kevin!

  7. Client Starter Bug on Linux [Debian 7.0 x86 VPS]

    Experiencing the same problem on Ubuntu 15.10.
  8. Selling Gold IRL

    Go PK them and take their gold.
  9. Selling Gold IRL

    20M. Absolutely YUGE trade.
  10. Remote Desktop Host App

    Use TeamViewer. I know they have an iOS app and I'm fairly confident they'd have an Android one too. It's unlikely that the client listens for other processes, but I couldn't tell you for sure. What I can tell you is that some remote desktop clients probably only send mouse clicks rather than mouse movement, which could definitely factor in to your account getting flagged as a bot. I would try to keep the clicking to a minimum and only use TeamViewer to start / stop scripts. Logging out is probably fine too. Just don't do anything too involved ingame.
  11. Won't let me login to the client

    I'm pretty confident it's your username. I just made a new account with an apostrophe in it and it gave me an invalid username and password message also. I would shoot @Usa, @Todd, or @TRiLeZ a message.
  12. tribot forums

    It's not the old theme, but you can switch it. If you scroll to the bottom of the page and switch from the Dashboard theme to the Default theme I think it looks a lot better.
  13. Code formatting

    It seems like the site update broke formatting for existing posts with code tags. Take a look at this thread. It doesn't look like there's an issue with posts submitted after the update, but it looks pretty awful on existing posts (which make up a majority of our tutorials and snippets).
  14. I'm getting errors that stop my script

    Good job in identifying the exception you're getting, you're on the right track. The stack trace is pointing you towards line 66, which is this: nearestTree = trees[0];An ArrayIndexOutOfBounds exception means you're trying to access an element of an array that doesn't exist. If you were to print out your trees array, it'd be empty. Objects#findNearest will always return an array, even if it has a length of 0, so it's important to check if the array actually contains elements before trying to do things with them: trees = Objects.findNearest(25, TREE_ID); if(trees.length > 0) { nearestTree = trees[0];}
  15. Python3 Help Pl0x

    This isn't going to do what you want it to do. It'll just print the first value (in this case, y). If it was reordered to str(x) or str(y), it'd print x first. I would take a few days to look at Learn Python The Hard Way so that you can really digest how Python (and programming in general) works. If you want to have any success as a developer, you need to know how to read and understand code, not just blindly string together things you've seen in other places. In this case, it's pretty clear you don't know how most of what you're writing works. That works at a very basic level, but ultimately you'll be a lot better off if you take the time to really learn what you're doing. Verifying input is definitely important, but all I'm saying is that x = input("Enter a number: ")>> Enter a number: 5is logically equivalent to this:x = int(input("Enter a number: ")>> Enter a number: 5EDIT: In Python 2.7 anyway, might be different (and it looks like it is) for Python 3+.
×