[TOOL] BUpdate - v 1.1.2 - Windows only!

Discussion in 'Bukkit Tools' started by Magestickown, Sep 19, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Magestickown

    [TOOL] BUpdate v 1.1.2
    Hello!

    I wanted to run a Bukkit server on my computer.
    Unfortunately, Windows does not natively support WGET, CURL etc, so I can no longer automatically update my server.
    This will do it for you.

    Download: http://uppit.com/odgyi2lc7txi/BUpdate.zip


    Changelog:
    • 1.0 - Sept. 19th 2011
      • Initial release
    • 1.1 - Sept. 20th 2011
      • Added 'File in use' check on load
      • 1.1.2 - Sept. 20th 2011
      • Added 'File in use' check on update
    I wrote a quick script in VB.NET to either:

    • Update to the latest recommended build
    • Update to the latest stable build (dev builds etc..)
    Virus scan:

    Screenshots:

    Pre download:
    [​IMG]

    Download:
    [​IMG]

    Post download:
    [​IMG]

    If your script for starting your bukkit server does not use the name craftbukkit-0.0.1-SNAPSHOT.jar, and you do not know how, read these spoilers
    Java 6 users (open)
    @ECHO OFF
    title servername
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE


    Java 7 users (open)
    @ECHO OFF
    title servername
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE


    You may need to change the version of Java this script uses! Simply change "jre6" or "jre7" to your version.
    Example: "%programfiles%\java\jreYOURJAVAVERSIONNUMBER\bin\java.exe"

    Usage:
    (PRO-TIP: YOUR CRAFTBUKKIT JAR <MUST> BE NAMED "craftbukkit-0.0.1-SNAPSHOT.jar")
    1. Place "BUpdate.exe" in the root folder of your server eg: "C:\path\to\mybukkitserver"
    2. Stop your Bukkit server
    3. Open BUpdate.exe
    4. Click one of the update buttons
    5. Wait several seconds, depends on your download speed.
    6. ???
    7. UPDATED!
    Issue with the tool? Post an error report!:
    • Issue I am experiencing
    • Version #
    • Error log if applicable
    Self issue solver:

    • Does it update?
      • Did you have an internet connection the time you attempted to update?
        • Connect to an internet source!
      • Did you allow the program to have internet access?
        • Make a firewall rule for the program via Windows Firewall in the control panel
      • Are you behind a firewall?
        • Temporarily disable it
      • Do you have anti-virus protection?
        • Temporarily disable it
      • Does the progress bar move / kb counter change?
        • Slowly? ..
          • Upgrade to Wal-Mart internet
          • Are you behind a proxy?
            • Disable your proxy temporarily
        • Stop at a certain point?
          • IDEK.
      • Is there two CraftBukkit jars?:
        • You need to update your server launch script! Look above "Usage"!
    Feel free to suggest anything, criticize etc. It's a pretty basic project, don't hate :(
     
  2. Offline

    antony96

    Sorry, how does the app recognize the latest build? Is there a repository that lets you download always the latest Dev build?
     
  3. Offline

    Magestickown

  4. Offline

    antony96

    Oh yeah I also use ci.bukkit.org to make my app work...
    Thanks anyway...

    P.S.: If you want you can check my work here!
     
Thread Status:
Not open for further replies.

Share This Page