Leaderboard
Popular Content
Showing content with the highest reputation on 07/30/13 in all areas
-
This release features a patch to Freaky Forester and the Run Away From Combat handler. Freaky Forester was again misinterpreting the dialogue telling us which tailed Pheasant to kill. This should however no longer happen. Expect more releases soon, Maxi is back from France and we should be able to get back to work fully. Thanks, Sincerely, Laz and the OSBot Team.4 points
-
This is a mini tutorial on how to use actions to check if a door is open or closed based on a certain tile and action strings. This is useful for writing scripts which require you to pass through a door pathway. NOTE: Using this snippet you will NEVER need to update door IDs as you will be using strings. What are actions? actions are exactly what they sound like. Almost everything in RuneScape contains actions and we can abuse this to tell if certain players, objects, NPCs, etc contain certain menu options without having to even click on them. This will be useful for telling if a door is actually opened or closed! Step 1: Creating the action identifier First let's make a boolean called "checkDoorIsOpen" and inside this boolean we will be checking to see if an object is not null and it's action contains a certain string to verify that a door is actually closed or open. private boolean checkDoorIsOpen() { final RS2Object door = closestObjectForName(doorTile, "Door"); if(door != null) { for(String actions: door.getDefinition().getActions()) { if(actions.contains("Open")) { return true; } } } return false; } You might have noticed we used an area filter to filter out the unwanted doors, and yes, you can use the same two tiles for an area. Area Example private final Area doorArea = new Area(1111, 2222, 1111, 2222); Step 2: Now that we have our action identifier how do we use it? We use a simple if statement to determine weither the door is open or closed based on our identifier above if(checkDoorIsOpen()) { status = "Opening the door"; door.interact("Open"); } else if(!checkDoorIsOpen()) { //CODE HERE } As you can see in the statement above if our boolean checkDoorIsOpen returns true the door on that tile must contain an Open action meaning the door must be closed resulting in the bot opening the door. Now If the condition returns false it will ignore the door interaction code and run our normal code. The reason I prefer this method over just checking to see if the door is null based on ID is because JaGex changes the IDs all the time and there's a new update coming soon where IDs will be dynamic for everyone. Hopefully this will help out some of the newer people or teach others new ways of checking if something is there or not besides just checking to see if its null or not. This can be applied to many objects, not just doors.2 points
-
2 points
-
1 point
-
1 point
-
Why is random solvers local and not remote scripts? makes no sense to me as it would be 10x easier to edit the randoms as they change all the time.1 point
-
I became annoyed at typing sleep x + gRandom(y,z); so I wrote this so you can simply enter three values (you can change it to more) and it will randomize the sleep method furthermore. Not only that, instead of having to type out your sleep every time, you just type: Sleep(); Here's the code: private boolean dynamicBase; int s0 = 750; // Base value int s1 = 0; double s2 = 0; public void subSleep() throws InterruptedException { sleep(s0 + gRandom(s1, s2)); } public void sleep() throws InterruptedException { Random sleepRandom = new Random(); switch (random(1, 3)) { case 1: if (dynamicBase) { s0 = sleepRandom.nextInt(500); } s1 = sleepRandom.nextInt(1000); s2 = 250 + (1500 - 500) * sleepRandom.nextDouble(); subSleep(); case 2: if (dynamicBase) { s0 = sleepRandom.nextInt(100); } s1 = sleepRandom.nextInt(250); s2 = 500 + (800 - 200) * sleepRandom.nextDouble(); subSleep(); case 3: if (dynamicBase) { s0 = sleepRandom.nextInt(45); } s1 = sleepRandom.nextInt(250); s2 = 500 + (800 - 200) * sleepRandom.nextDouble(); subSleep(); } } Pretty much, your sleep is now: randomBase(optionally) + randomint(randomint + (randomint(randomint)) + (randomDouble(randomDouble))) Making your sleeps math-ambiguous.1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
Obviously you're trying to get some refund if you will get ''hacked by OSBOT''. If you can send us proof of your evidence of finding that "threat" ? Let one of us teamvieuw you, and do a new scan because you're accusing OSBot of things they haven't done. Think before you speak!1 point
-
I wouldnt recommend LoL, the community in this game is beyond your imagination, people wish cancer upon your mom etc. I quit after playing it for almost 3 years, not because of the game but because of the people playing it.1 point
-
1 point
-
I also think if we did have this, it would log what the person said in the chat and send a report to the mods. I think that way a global could handle it more strictly if needed.1 point
-
That was taken away because of sponsors abusing it. OT i support for certain people. but i can usually contact a mod and get them to kick or warn someone. so idk if its entirely needed.1 point
-
So I found and posted a guide about this before but I think it got deleted and I have some people asking about this so here it goes! You can write a mini "Terms of Service" of your own when negotiating on paypal. Basically, contacts can be by word of mouth, or written. By the wonder of the internet, you can do this via paypal. Steps: 1. do NOT let them send you money, deny it instantly. 2. REQUEST Money from them for "Service" Then Then 3. Paypal will ask you what the "Title" of your request will be. This is the title of the payment request they get in their email. To make this work you MUST make the Title: "TERMS OF SERVICE - READ BEFORE PAYMENT" 4. Put in the "Comments/Description" your own "Terms of Service" which should read: "By accepting the payment for $XXX.XX USD, you agree to the following terms of service: 1. You have received ALL services and goods in question, and the sale is FINAL. 2. There are NO refunds, returns, or chargebacks. 3. You will not create false paypal disputes regarding this transaction." 5. Instruct the person to READ the email, and screenshot that you've done so. 6. Do NOT give him the items before the trade, only after the payment has been made. Original Post http://www.gamers4life.com/forums/f20/paypal-charge-back-how-avoid-300309/1 point
-
1 point
-
1 point
-
You obviously must have used another program besides OSBot as this client does not hack people. It has thousands of users. Furthermore, what I would suggest is that you do a thorough scan of your computer with a couple of reliable anti-malware programs.1 point
-
Why OSBOT is Awesome: One of the few. if any, working free Bot Clients for old school. My Favourite Mod/Forum Mod Is: Smart. Very Smart I Prefer (Rap/Metal/Other):Alt Rock, Hip hop, RB,1 point
-
Why OSBOT is Awesome: Because you joined My Favourite Mod/Forum Mod Is: ely I Prefer (Rap/Metal/Other): Rap1 point
-
Why OSBOT is Awesome: Occazn is in it My Favourite Mod/Forum Mod Is: Occazn I Prefer (Rap/Metal/Other): Occazn1 point
-
Why OSBOT is Awesome: Best 07rs bot and forum is growing My Favourite Mod/Forum Mod Is: I'm still pretty new at here so dunno I Prefer (Rap/Metal/Other): House & techno1 point
-
Why OSBOT is Awesome: because it has the best botting community My Favourite Mod/Forum Mod Is: I don't even know any mods I Prefer (Rap/Metal/Other): other1 point
-
Part 3 up! Hello, Part 2 is up! I'm going to make some English OSBot programming tutorials. I'm not very experienced and will also learn in the process of making this videos. Currently making a woodcutting bot which will chop anywhere on anything. Suggestions for the next script? Leave a comment! Part 1 - Setting up Eclipse: Woodcutting script:1 point