Jump to content

Looking For A Making-Launcher Guide


TokiaBurke

Recommended Posts

if you you are just trying to create your own launcher (simply launch the game to connect to ur server without editing the l2ini or hosts. go download visual studio or visual basic, go to youtube and type in wow launcher vb tutorial and see how they are done. its really simple. to start your l2 client you have to run the l2.bin or l2.exe. you can use a shell command with parameters like shell l2.exe IP=127.0.0.1 to start your client wit the desired ip binding (in this case local server)

 

just go ahead and try it out ;)

 

if you want to have an update function try first to keep it as simple as possible allowing your updater do automatically download files if a versionnumber was changed (for example a value in a textfile) if the value on ur local machine is different than on ur servers update folder, download patch.zip and unzip overwriting all older data

 

another and better solution is to compare every clientfile to your existing source clientcopy (your updatesource) by handling a full check on existing files. to do so you can use for example hash values. so an existing hash value on ur server is compared to a generated hash value of the current file ur updater is trying to find out whether to keep or to replace it.

 

- if you need a simple launcher you can go with the very first step.

- if you want a complex updater (quite complicated) dont bother urself there are plenty good shared sources you can google for (dont buy any updaters from other people since they are using exactly those shared files with a simple change in design, nothing more)

Edited by Finn
Link to comment
Share on other sites

  • 2 weeks later...

Dear Finn,

I tried to add my server IP but still not work.

I tried "path\\to\\l2.exe ip=xxx.xxx.xxx.xxx port=10000".

Could you please show me an example?

Is there anyway to know the args for l2.exe's input?

Thanks,

Toki

Link to comment
Share on other sites

You are really my big help.

Thank a lot.

But i tried that and nothing happened.

I even build to "debug/bin/ launcher.exe" and throw launcher into same folder with l2.bin/l2.exe  and change my  LAN IP for  my own server(test server).

But still like that.

I'm sorry. I'm to new to  lineage customization.

Did i miss something.

Could you please show me?


Public Class frmMain
    Dim SERVER_IP As String = "10.0.0.1"
    Dim IP_FILE As String = "connect.ini"

    Private Sub frmMain_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        'make form invisible
        Me.Visible = False

        'get ip from file, if it exists
        If File.Exists(IP_FILE) Then
            Using fileReader As StreamReader = New StreamReader(IP_FILE)
                SERVER_IP = Integer.Parse(fileReader.ReadLine)
            End Using
        End If

        'execute l2.bin
        Try
            Shell("L2.bin IP=" + SERVER_IP, vbNormalFocus)
        Catch ex As Exception
            MsgBox("L2.bin not found! Try checking your files.", MsgBoxStyle.Critical, "L2")
        End Try

        'close L2
        End
    End Sub
End Class
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you. BREAK UP A RELATIONSHIP The perfect service to break up a relationship you don’t think legitimate. Your lover has gone with someone else Don’t hesitate to break them up as this ritual and prayer is very powerful and will Psychic Readings | Astrology | Love Spells | Black Magic spells | Witchcraft Spells | Spell Caster | Voodoo spells | Marriage spells | Divorce spells | Attraction spells | Bring back lost lover spells REUNITE WITH AN EX LOVER IN 72 HOURS If your lover is gone, don’t be desperate anymore! You are a few clicks away from a prompt resolution of your problem: We will our spiritual powers to bring him/her back Let us show you our method with zero chances of rejection. Don’t waste your precious time; get your lover back NOW! MAKE HIM/HER LOVE ME Don’t wait for the deluge and make him or her love you now. This service will create a great alchemy between this person and you. In just a few weeks, you can make the person you dream of falling in love with you. We recommend you to combine this service with a Marriage ritual if you want this person to commit you.
    • When I was in a similar situation, I found that using a VPS was a great option for affordable hosting. It's not completely free, but it's usually much cheaper than dedicated servers and provides enough resources for testing purposes.
    • 24 Hours for NEW WORLD 5000x https://x5000.l2focus.com/    JOIN BEST PVP COMUNITY DISCORD FOR INFORMATIONS: https://discord.com/invite/L2Focus
    • New Webite and Update have been released: https://somikpatch.com/Updates   All upcoming updates and infromation will be posted on the website.
    • I''m looking for client and any server files.  
  • Topics

×
×
  • Create New...