Jump to content

dc0qdguZU8R50JJu

Members
  • Posts

    14
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

dc0qdguZU8R50JJu's Achievements

Newbie

Newbie (1/10)

4

Reputation

  1. As an extension on this question, how can I interact with that chat-box interface at all; also relevant for conversations with NPCs.
  2. I'm trying to teleport using enchanted rings and necklaces from my inventory. Now, I can interact with the objects and then "Rub". However, I'm not sure how to go from there. How can I interact with the pop-up options in the text field (e.g. for Duelling ring 1) Al-Kharid, etc.).
  3. That's easy enough, thanks so much.
  4. I'm trying to read a clue step in order to know where to go and what to do. No clue (pun intended) how to read the value in code. Any suggestions?
  5. I'm lost on how this part of the API works. I'm trying to do something on the following triggers: - Mouse down; - Mouse movement (can be done with getMouse().getPosition(); maybe there's a better way?; - Mouse up; - Mouse click (?); might be the combination of mouse down and up; - Mouse drag (?); might be the combination of mouse down and mouse movement. Now, I have found the BotMouseListener and the checkMouseEvent which seems promising, but I have not a single clue how to implement it. A push in the right direction or some code snippets would be greatly appreciated!
  6. Hi all, I'm trying to log out my bot on certain criteria with the following line: getLogoutTab().logOut() This works fine. However, the OSBot Random Solver Auto Login kicks in and logs the account back in. How can I prevent this? Note: I would still like to be able to use the auto login on other occasions.
  7. This was so insanely helpful. Thank you. Also, I had not come across that tutorial yet, so thanks for that as well.
  8. Note: new to Java programming; not new to programming in general. So my scripts are getting longer and more complex, therefore I am trying to store logic in different files and different classes. I feel as if I have tried every possible way, but I am getting stuck on the following error: Blocked permission: ("java.lang.RuntimePermission" "accessClassInPackage.com.sun.activation.registries") I have made the following class "ExampleScript": import generic.*; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "author", info = "info", logo = "", name = "name", version = 0) public class ExampleScript extends Script { @Override public int onLoop() throws InterruptedException { Test testClass = new Test(); testClass.testFunction(); return random(100, 500); } } The generic package import (line 1) is a simple package I've created with therein a class called "Test" with the following code: package generic; import static com.sun.activation.registries.LogSupport.log; public class Test { public static void testFunction() { log("If this would just log without a error that'd be great..."); } } My file structure is as followed: > src > generic > Test.java ExampleScript.java Other notes of possible solutions I have tried: - Having both classes in the same package; gives the same Blocked Permission error; - Adding to my java.security the lines (see underneath); - Re-installing Java, rebooting the client, creating new projects; - Losing my mind :-). Please note: I am just trying to get logic into multiple files, maybe there's a way better way of doing this in Java; let me know! Thanks. Also, it is good to note that I can actually create an instance of Test, I can also log Test. However, once running the function within Test I get the error.
  9. Alright, awesome. Would have expected the anti-cheating team to be on this more. But great.
  10. Greetings, Note: I am new to OSBot and OSRS-botting; not new to scripting and programming. Are there any best practices available on how to mule? What types of accounts are used? Are you guys botting the mules or playing them manually? It just seems so obvious to me that if multiple workers (bots) trade 100k every hour or so to their mule that that mule will be banned in no-time. Any advice is much appreciated!
×
×
  • Create New...