Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Fixing Yami's Launcher Edits :3


Exvayate
 Share

Recommended Posts

It was just this morning when I found out that Yami's Launcher didn't load the launch.jpg image file after successfully updating to the latest client version.
Yami's version of Robin's updater can be found here:[http://www.touchofdeathforums.com/smf/index.php/topic,69267.0.html](http://www.touchofdeathforums.com/smf/index.php/topic,69267.0.html)

This can be easily fixed with a little bit of source editting! :D

1) Open Autoupdater.vbp in VB6 and under frmMain search for this code:```
Private Sub lblConnect_Click()
    If UpToDate = 0 Then
        RunUpdates
    Else
        Shell "Client.exe"
        DestroyUpdater
    End If
End Sub
```
2) Replace that code with this! :```
Private Sub lblConnect_Click()
Dim Filename As String

    ' Load a GUI image, if it does not exist.. Exit out of the program.
    Filename = App.Path & "\Data Files\graphics\gui\updater\launch.jpg"

    If UpToDate = 0 Then
        RunUpdates
        UpToDate = 1
        FileExist (Filename)
        Me.Picture = LoadPicture(Filename)

    Else

        Shell "Client.exe"
        DestroyUpdater
    End If
End Sub
```
Hopefully this helps! :]
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...