Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/27/13 in all areas

  1. Let me start of with the fact that we will allow non script developers have their scripts on the repository if their script meets a certain standard. Chances are that we will ask you to become a script developer if the feedback on your script is good and if you have managed to keep your script updated. However, bare with us. Once a script is added to the repository, it's not hard to update for us. But adding it to the repository takes some time and involves more steps on our side than yours. We understand that some of you really want your script on the SDN, and we will try to make that possible, but please remember be nice about it and grant us time if all is going to slow for you. So here we go: Step 1. Go to http://bitbucket.org and create a private repository. Step 2. Structure your repository as follows: 'repo name' / 'script name' / src / files An example of this is as follows: Be careful and avoid spaces. Step 3. Upload your script to the git and then add the user ********* to your repository. It's our repository team for the scripts, called *******. The above censored items are censored because of security reasons. If we value your script good enough for the repo, we shall share this with you. Step 4. Contact an admin to add your repository as a submodule to our script repository. Also create a 180x180 image to use as a thumbnail in the store and on the script selector. Step 5. To add additional scripts, simply add a new directory as described in Step 2 and contact an admin to create to required sql tables for your script. Step 6. Notify an admin if you want your script to be updated. You have to push your latest version, and when you want, let us verify it and push it to the server.
    3 points
  2. Hello my dear fellow botters, With the stress of the last days to get the SDN up and rolling and setting people up with their SDN access, I have been sad about the fact we have not had the time to straighten out the last of those randoms to become a 100%. So today is the day that I will solely focus on randoms. So far from what I have been reading on the forums these randoms that are currently supported by OSBot do not work, or do not work correctly all the time: Frog Queen (outside cave) Maze Freaky Forester Surprise Exam Pinball Molly Ones that I will be writing today are: Evil Bob (edit: Written) But I can't do this on my own. I need your help today. I took the day off, so I'll be here most of the day, busting randoms and perfecting them. I need your accounts, stuck in randoms. So please message me in a private message today if you encounter any randoms! Status: Waiting for randoms Sincerely, Maxi
    3 points
  3. If that is the case (your staff is scamming), you might want to better choose your staff. There shouldn't be any reasons why staff cannot participate in the market as they should be some of the most trusted and reliable users on the website. Your staff are essentially the backbone of your site, and if you have a weak backbone, what will become of your project? I believe we should strongly reiterate that everyone can scam and proceeding in the market is at your own risk. That being said, why not allow staff to engage in the market? I'd much prefer a moderator as to someone brand new with no feedback telling me to go first and not use a MM.
    2 points
  4. What do you guys think?
    1 point
  5. Hey guys! I've noticed we get a ton of questions from new people in the live chat, regarding how to use the bot or how to use scripts. Could you please add an automatic personal message to a new member's inbox with links to the tutorial section? This will help avoid all these noobs bothering others in the live chat. It gets old pretty quickly when you answer a question and five minutes later there's someone asking the exact same thing..
    1 point
  6. I saw that Rare posted a thread before with logo he made so i thought i'd do the same. Made this a day after i joined OSbot.org Icon i made
    1 point
  7. I just feel the current one is hard to beat, it is simple, but it stands out.
    1 point
  8. We already have it.
    1 point
  9. Current one is very low quality and looks like it was made in about 10 seconds.
    1 point
  10. Hello, Being that the models for items that are elevated are broken(there heights are wrong), I have come up with a method to advert this pesky problem, it simply builds a Prism around were the model should be, and collides its corner vertices to derive it's midpoint, which in most cases, is were exactly the models center point is. Cool stuff. Example: And the src code: package rdpv2; import org.osbot.script.Script; import org.osbot.script.ScriptManifest; import org.osbot.script.rs2.utility.Utilities; import java.awt.*; @ScriptManifest( author = "Brainfree", version = 1.00, info = "Generates a point of elevation were a item on table should be, roughly", name = "Elevated Point Grabber" ) public class TableGrabbing extends Script { public Point[] getLid(int x, int y, int height, double compression) { Point A = getScreenPoint(x, y, 0, 0, height); if (A.x == -1) return null; Point B = getScreenPoint(x, y, 0, 1, height); if (B.x == -1) return null; Point C = getScreenPoint(x, y, 1, 1, height); if (C.x == -1) return null; Point D = getScreenPoint(x, y, 1, 0, height); if (D.x == -1) return null; Point c = getInterceptionPoint(A.x, A.y, C.x, C.y, B.x, B.y, D.x, D.y); Point Ac = getPointOnLineAtDistance(A.x, A.y, c.x, c.y, compression); Point Bc = getPointOnLineAtDistance(B.x, B.y, c.x, c.y, compression); Point Cc = getPointOnLineAtDistance(C.x, C.y, c.x, c.y, compression); Point Dc = getPointOnLineAtDistance(D.x, D.y, c.x, c.y, compression); return new Point[]{Ac, Bc, Cc, Dc}; } private Point getScreenPoint(int x, int y, int sx, int sy, int height) { return Utilities.getScreenCoordinates(bot, (x - client.getMapBaseX() + sx) << 7, (y - client.getMapBaseY() + sy) << 7, height); } public static Point getInterceptionPoint(double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4) { double dot = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4); if (dot == 0) new Point(-1, -1); double X = ((x3 - x4) * (x1 * y2 - y1 * x2) - (x1 - x2) * (x3 * y4 - y3 * x4)) / dot; double Y = ((y3 - y4) * (x1 * y2 - y1 * x2) - (y1 - y2) * (x3 * y4 - y3 * x4)) / dot; return new Point((int) X, (int) Y); } public static Point getPointOnLineAtDistance( double OriginX, double OriginY, double EndLocationX, double EndLocationY, double scale) { final double LegXLength = (EndLocationX - OriginX); final double LegYLength = (EndLocationY - OriginY); double HypotenuseLength = Math.sqrt(LegXLength * LegXLength + LegYLength * LegYLength); double InverseX = HypotenuseLength * scale * LegXLength / HypotenuseLength; double InverseY = (HypotenuseLength * scale * LegYLength) / HypotenuseLength; return new Point( (int) (InverseX + OriginX), (int) (InverseY + OriginY) ); } /** * * Builds a 3D prism around were the ground items model should be in cases * of were the model in a elevated height, and is client failed to interpret it. * * @param tileX The Position X for which the ground item is located. * @param tileY The Position Y for which the ground item is located. * @param heightMin The lower elevation height of the prism. * @param heightMax The upper elevation height of the prism. * @param compression 1.0 = Full Tile bounds length, .75 = 3/4 of the side bounds length * @return The midpoint of the prism. */ public Point getElevatedPoint(int tileX, int tileY, int heightMin, int heightMax, double compression) { Point[] bottom = getLid(tileX, tileX, heightMin, compression); if (bottom == null) return null; Point[] top = getLid(tileX, tileY, heightMax, compression); if (top == null) return null; return getInterceptionPoint( top[0].x, top[0].y, bottom[2].x, bottom[2].y, top[1].x, top[1].y, bottom[3].x, bottom[3].y ); } public int onLoop() { Point wereTheMidPointOfTheModelOfThisItemShouldBe = getElevatedPoint(3232, 3399, 80, 120, .75); return 45; } private void drawLid(Point[] lid, Graphics graphics) { for (int i = 0; i < 4; i++) { graphics.drawLine( lid[i].x, lid[i].y, lid[i == 3 ? 0 : i + 1].x, lid[i == 3 ? 0 : i + 1].y); } } public void drawBounds(int tileX, int tileY, int heightMin, int heightMax, double compression, Graphics g) { Point[] bottom = getLid(tileX, tileY, heightMin, compression); if (bottom == null) return; Point[] top = getLid(tileX, tileY, heightMax, compression); if (top == null) return; for (int i = 0; i < 4; i++) { g.drawLine(bottom[i].x, bottom[i].y, top[i].x, top[i].y); } drawLid(bottom, g); drawLid(top, g); Point center = getInterceptionPoint( top[0].x, top[0].y, bottom[2].x, bottom[2].y, top[1].x, top[1].y, bottom[3].x, bottom[3].y ); g.setColor(Color.red); g.drawString(".", center.x, center.y); } public void onPaint(Graphics graphics) { drawBounds(3232, 3399, 80, 120, .75, graphics); } } Hope you can find great use of it.
    1 point
  11. I pmed you info of an account stuck in the pillory random about a day ago. It's still in the random now.
    1 point
  12. will do bro, i posted on the 1.6 release emphasizing the fact that fellow scripters/botters need to fucking help you guys, for the good of the community. If i knew anything about writing scripts I would have done this a long time ago, but I dont... So please guys help the people who brought you this forum, and provide you with access to this awesome client some help! Let's kick some random ass today please!!! lol
    1 point
  13. Massive lagging and bot lags out after a few minutes saying cannot connect remote to server. zaps my cpu usage to 100 percent as well instantly
    1 point
  14. After closing a topic in your more lenient section without answering my question, I'll ask it here again: What rules are you more lenient on?
    1 point
  15. Here's your answer: Stop trying to find loopholes in the rules. You break them, and you'll be warned. Period.
    1 point
×
×
  • Create New...