Results 1 to 3 of 3
  1. #1
    john404's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    352
    Reputation
    69
    Thanks
    842
    My Mood
    Doh

    Auto Updater for your client! [VB]

    I made this in vb.net because I haven't seen one before... and this is good for those of you that have client for sale, or want to keep theirs private for friends... in this way you can apply an hwid, whatever you want


    + no one will get the updated client unless they have this tool.

    This isn't for the mods you guys usually use, its for clients!

    Code:
    Imports System.Net
    Imports System.Text
    Imports System.IO
    
    
    Public Class Form1
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    
           'Written by iolaka
            Dim location As String = Environ("AppData")
            Dim second As String = location & "\.minecraft\bin\"
            Dim web As New WebClient
            Dim iolaka= web.DownloadString("*******link/updater/version.dat")
    
            If iolaka > My.Settings.current Then
                My.Settings.current = iolaka
                Kill(second & "minecraft.jar")
                MsgBox("Update found... Downloading new version... Please wait...", MsgBoxStyle.Information, "Update")
                My.Computer.Network.DownloadFile("*******link/updater/minecraft.jar", second & "minecraft.jar")
                MsgBox("yourclient updated!", MsgBoxStyle.Information, "Update")
            Else
                MsgBox("There are no new updates. You have the latest version of yourclient.", MsgBoxStyle.Critical, "Update")
            End If
        End Sub
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
        End Sub
    End Class

    The way this works:

    Make a new ******* folder called update


    Inside add 2 new files:
    your minecraft jar
    a .dat file saying 1.0.0


    Now, 1.0.0 is the default version so...

    when you first run the program it will say No new update is available


    But if you change the 1.0.0 to 1.0.1 and upload a new jar to your ******* folder, it will update and aytomatically replace jars.


    Give credits if you use this, thanks.

  2. The Following User Says Thank You to john404 For This Useful Post:

    boombamboombam (11-23-2011)

  3. #2
    Jakob's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    4,721
    Reputation
    237
    Thanks
    510
    My Mood
    Psychedelic
    hmm, thats some pretty neat coding there.
    And pretty clean too.
    good job.
    RIP MINECRAFT SECTION!
    03.10.2010 - 26.09.2011

  4. #3
    xniiquee's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    2
    Thanks, I modifyed this to show a changelog too

Similar Threads

  1. [Patched] Cracked Minecraft [Auto Updater]
    By aeronyx in forum Minecraft Hacks & Cheats
    Replies: 440
    Last Post: 07-22-2013, 07:58 PM
  2. [Tutorial] Updating your client [Aiw2]
    By ♪~ ᕕ(ᐛ)ᕗ in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 83
    Last Post: 09-25-2011, 08:52 AM
  3. [Help] Auto-update for injector.
    By SteamAss in forum Visual Basic Programming
    Replies: 5
    Last Post: 04-27-2011, 01:17 PM
  4. Developing an Updater for your software
    By radnomguywfq3 in forum Game Development
    Replies: 8
    Last Post: 03-22-2011, 03:17 PM
  5. Your D3D8/9 SDK For D3D/Client Hooks!
    By WarPunk in forum C++/C Programming
    Replies: 2
    Last Post: 04-27-2008, 02:51 AM