Jump to content

Botre

Members
  • Posts

    5883
  • Joined

  • Last visited

  • Days Won

    18
  • Feedback

    100%

Everything posted by Botre

  1. You actually expected them to drop the whole continent in one update ?
  2. Cubase has a steeper learning curve imo though.
  3. Yesssss. Future-ish/Trap-ish/Grime-ish
  4. https://soundcloud.com/dreamstreamofficial/like-it-teaser/s-6XSCe Studios are fun
  5. Botre

    Eclipse

    You really gonna want to learn to use google. Or at least be more detailed about your issue when asking for help
  6. Botre

    Eclipse

    https://www.google.be/search?q=eclipse+workspace+not+showing+up
  7. Botre

    Eclipse

    http://pages.cs.wisc.edu/~cs302/labs/EclipseTutorial/Step_02.html
  8. Dat username tho :x
  9. Botre

    Script Writer

    SDN Scripter: 1. Write a script. 2. Make an upload request. 3. If accepted: you become SDN scripter. OSD 1. Be an SDN scripter. 2. Be super awesome. 3. Apply for OSD in the Script Developer section (private section, accessible for SDN scripters and OSD only). 4. If accepted: you become OSD. Good luck!
  10. Go outside, jump infront of a car and tell me whether you wanted to remain lying on the floor or sit down. Do it.
  11. (thread: http://osbot.org/forum/forum-181/announcement-21-new-sdn-scripter-guide/) Nothing major but it still states the following: Please note that the SDN runs on Java 7, not Java 8. Write your scripts accordingly. A statement that, because of recent fortunate event, isn't true anymore.
  12. fixed private State getState() { if (!inventory.isEmptyExcept("Small fishing net")) return State.DROP; else { Entity FS = npcs.closest("Fishing spot"); if (FS != null && !myPlayer.isAnimating() && !myPlayer.isMoving()) { return State.FISH; } return State.WAIT; }
  13. Crosswalks, use them or die.
  14. 2.99 is much too low for a one-time-fee GDK script.
  15. Put together from various tutorials and forum posts, etc... First piece of PHP I have ever written (I'm using tons of deprecated methods and am probably wrecking a dozen of conventions). If you have tips to improve it -> shoot ^^ <? // MySQL Username. $username = "**********"; // MySQL Pass. $password = "**********"; // MySQL database. $database = "**********"; // MySQL host. This is "localhost" or the IP specified by your hosting company. $host = "**********"; // Connect to the database. mysql_connect($host, $username, $password); //Select the database. @mysql_select_db($database) or die("Unable to establish a connection with the database."); // Get the name of the script from the URL and protect from injection. $script = htmlspecialchars($_GET["script"]); $script = stripslashes($script); $script = mysql_real_escape_string($script); // Get the name of the user from the URL and protect from injection. $user = htmlspecialchars($_GET["user"]); // Set user name to All if no user key was given. if (empty($user)) { $user = "all"; } else { $user = stripslashes($user); $user = mysql_real_escape_string($user); } $query = "SELECT * FROM $script WHERE username = '$user' LIMIT 1"; $result = mysql_query($query); $rows = mysql_num_rows($result); if ($rows == 1) { // Create the image. Header('Content-type: image/png'); Header('Cache-Control: no-store, no-cache, must-revalidate, post-check = 0, pre-check = 0'); Header('Expires: Thu, 19 Nov 1981 08:52:00 GMT'); Header('Pragma: no-cache'); $image = @imagecreatefrompng('./image.png') or die("Picture not found."); /* IMAGE TRANSPARENCY. */ $black = imagecolorallocate($image, 0, 0, 0); $white = imagecolorallocate($image, 255, 255, 255); // Remove all the black from the placeholder image. imagecolortransparent($image, $black); // Turn off alpha blending (to ensure alpha channel information // is preserved, rather than removed (blending with the rest of the // image in the form of black)). imagealphablending($image, false); // Turn on alpha channel information saving (to ensure the full range // of transparency is preserved). imagesavealpha($image, true); /* PREPARE FOR PRINTING. */ $font = './font.ttf'; $fontSize = 8; $xCoord = 15; $yCoord = 30; /* PRINT. */ imagettftext($image, $fontSize, 0, $xCoord, $yCoord, $white, $font, 'Script: ' . $script); while ($row = mysql_fetch_assoc($result)) { foreach ($row as $column => $value) { $yCoord += 30; $string = str_replace('_', ' ', ucwords($column)) . ': ' . $value; imagettftext($image, $fontSize, 0, $xCoord, $yCoord, $white, $font, $string); } } imagepng($image); imagedestroy($image); } else { echo ("Username not found."); } mysql_close(); ?>
  16. Has nothing to do with corp bug (confirmed by MMK).
×
×
  • Create New...