• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release] Nano Launcher / Open-Source / Last Update (25.01.2009)

Newbie Spellweaver
Joined
Jan 22, 2006
Messages
79
Reaction score
1
Re: [Dev] Nano Launcher

I am developing currently a MuOnline launcher.
Coding in Visual Basic .NET




Well I am just still developing so won't release it yet. The coding could take some while, since as I said I'm a beginner still...Just wanted to see some suggestions and anything else helpful.

P.S. Do not flame here anyone and no spamming. Remember that I am only a so called n00b in coding so this all thing can take a while. Keep your patience please!
You can check size Player.bmd
----> antihack Speed in Player.bmd
 
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
Re: [Dev] Nano Launcher

I don't need to check the size of player.bmd nor anything inside of it.

CheckSum is a key generated. If anything in the player.bmd is changed, even 1 byte, all the checksum will be different. :p

Oh and good morning! Going to continue the coding...
 
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
Re: [Dev] Nano Launcher

Finally...lol!
Check File CheckSum - Finished!!

Now need to only finish the buttons and translate the Mu Korea launcher pictures... :p
 
Retired Old Man
Loyal Member
Joined
Jun 9, 2008
Messages
761
Reaction score
706
Re: [Dev] Nano Launcher

make the images to unique ones.. im bored with the normal xD
 
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
Re: [Dev] Nano Launcher

I won't! When I will release it, I will include the .PSD's of the images. All the design you will be able to edit with ResourceHacker.
 
Retired Old Man
Loyal Member
Joined
Jun 9, 2008
Messages
761
Reaction score
706
Re: [Dev] Nano Launcher

I won't! When I will release it, I will include the .PSD's of the images. All the design you will be able to edit with ResourceHacker.

that sounds more like it :winky:
 
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
Re: [Dev] Nano Launcher

Okey...got a problem! If the images are inside the .exe they can't be viewed with an ResourceHacker or any other resource editor. Have no idea how to make them that they are visible not hidden in .exe. Probably I should need to make that all images are in separate folder and not linked inside of the exe.
 
iNewLegend , Leo123
Joined
Apr 26, 2006
Messages
296
Reaction score
81
Re: [Dev] Nano Launcher

my update method:
Code:
    Sub Updater()
        Dim UpdateTXT As String = My.Computer.FileSystem.ReadAllText(TempFiles & "\MuTemp\update.txt")
        Dim webpath As String = LocalSite & "GameStart\update.zip"
        Dim filename As String = TempFiles & "\MuTemp\update.zip"
        Dim t As Date = Date.Now 'time the download
        Dim Client As New Net.WebClient
        Dim s As IO.Stream = Client.OpenRead(webpath)
        Dim fs As New IO.FileStream(filename, IO.FileMode.Create)
        'setup progress, get Content-Length in bytes from ResponseHeaders
        Dim totalbytes As Integer = CInt(Client.ResponseHeaders(Net.HttpResponseHeader.ContentLength))
        ProgressBar1.Value = 0
        ProgressBar1.Maximum = totalbytes
        'read and write the bytes 
        Dim b As Byte
        Try
            b = s.ReadByte
            Do While b <> -1
                fs.WriteByte(b)
                b = s.ReadByte
                'progress(increase)
                ProgressBar1.Value += 1
                If ProgressBar1.Value Mod 1000 = 0 Then
                    Label6.Text = ProgressBar1.Value & " bytes downloaded of " & totalbytes
                    Application.DoEvents()
                End If
            Loop
        Catch ex As Exception
            'The end of the stream is reached.
        End Try
        'close streams
        s.Close()
        fs.Close()
        'progress end
        ProgressBar1.Value = 0
        ProgressBar1.Style = ProgressBarStyle.Marquee
        Label6.Text = "Finishing..."
        Dim zipper As New Zip.ZipClass
        zipper.UnZipThisFile(filename, AppDir)
        My.Computer.FileSystem.DeleteFile(filename)
        My.Computer.Registry.SetValue(ConfigRegFol, "Update", UpdateTXT)
        ProgressBar1.Value = ProgressBar1.Maximum
        ProgressBar1.Style = ProgressBarStyle.Blocks
        Label6.Text = "Updated completed."
    End Sub

i'm not pro at VB.net but that what i have ;D
 
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
Re: [Dev] Nano Launcher

Time for the first version! Main post updated!

Hmm, guys how do you think - should I make the launcher Open Source developement, so that anyone who has new functions could post here the source with something new and I will add the credits at the main post and update the launcher?!
 
Newbie Spellweaver
Joined
Sep 2, 2007
Messages
23
Reaction score
0
Re: [Dev] Nano Launcher v1

Good Job!
Just some suggestions to improve this work :)
1. I saw that launcher takes some time to start... Try to use the method Application.DoEvents() to remove this lag and also exploit Win32 Forms Event. My launcher ran better when i moved autoupdate function from Form_Load to Form_Shown.

2. Instead of hex-editing your launcher, try to pack itself and add to the project a dynamic library to modify ur config, and then export them with a shared class.

Good Luck and keep up the project :)
 
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
Okey! The Launcher is now Open Source! Do anything what you wan't, just keep the credits for it.....please!

I will now go and have fun, since my head is blowing from the coding and guessing how and what and where...lol
 
Experienced Elementalist
Joined
May 18, 2005
Messages
293
Reaction score
6
Re: [Dev] Nano Launcher v1 / Open-Source

Open source is the way forward

Just look at Linux ;)
 
Newbie Spellweaver
Joined
Nov 8, 2005
Messages
84
Reaction score
0
Re: [Dev] Nano Launcher v1 / Open-Source

i made a little skin for your launcher -.- maybe you can try to compile using it so we see how it looks ^^

its a png with the background and the progbar for the update i should work on the rest of the buttons but maybe later.. ^^

credits to Haze who share his psd resources ^^ thanks buddy
 

Attachments

You must be registered for see attachments list
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
Re: [Dev] Nano Launcher v1 / Open-Source

Great job, but it doesn't fit in. I mean think about the sizes of the web browsers, progress bars and where texts are located and how big they are when they are changed, they all need their own space in the launcher. The designs should be in the same size of the Mu Korea launcher or atleast give enough space for everything.

Here is the location of all the components and the size of them:
nanoman - [Release] Nano Launcher / Open-Source / Last Update (25.01.2009) - RaGEZONE Forums
 
Custom Title Activated
Loyal Member
Joined
Sep 10, 2006
Messages
5,265
Reaction score
47
Re: [Dev] Nano Launcher v1 / Open-Source

you need to fix:
Connect button still works in the process of updating.
Main can't be accessed after closed (need to wait like 3-5 sec then edit)

Suggestion:
make the launcher hide after we press the connect button,
and make it exit after client closed and edited :)
i didn't see option that can disable main editing.
 
Newbie Spellweaver
Joined
Nov 8, 2005
Messages
84
Reaction score
0
Re: [Dev] Nano Launcher v1 / Open-Source

Thanks nano!, when I come back from work I will adjust my skin to fit :D
 
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
Re: [Dev] Nano Launcher v1 / Open-Source

you need to fix:
Connect button still works in the process of updating.
Main can't be accessed after closed (need to wait like 3-5 sec then edit)

Suggestion:
make the launcher hide after we press the connect button,
and make it exit after client closed and edited :)
i didn't see option that can disable main editing.

Thanky! :)

1. Fixed!
2. I think I fixed it now, added new BackgroundWorker.
3. Okey, made an options for that in server side.
4. Added! :p

Now everything is server sided I think. If you wan't something else server sided please tell me! :)


Main post updated!
 
Newbie Spellweaver
Joined
Aug 22, 2007
Messages
34
Reaction score
0
re: [Dev] Nano Launcher / Open-Source / Last Update (13.09.2008)



sir the rar there only webfils but no launcher
 
4ever Alone = my religion
Joined
Jul 2, 2006
Messages
387
Reaction score
125
re: [Dev] Nano Launcher / Open-Source / Last Update (13.09.2008)

I'm very sorry, I forgot to add it!


Main post edited!
 
Back
Top