Jump to content

Recommended Posts

Posted (edited)

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
  • 2 weeks later...
Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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

    • Even if I was reselling, as you claim, you got refunded down to the last penny. At least when I work with someone, I try to find a solution. Just because something didn’t work for you doesn’t mean it hasn’t worked for others. I’ve provided different kinds of services successfully, and I’ve even had several of your own clients come to me complaining about the mess you left behind, with unfinished code and ongoing issues.   Let’s be real. I supported you and always spoke positively about you until I realized that you only care about your wallet, not how your customers feel. That was disappointing. I don’t care much anymore, because some people change and some don’t. They stay comfortable being that way.   As for the family topic, I didn’t say anything bad or wrong. That was information I heard from a friend. And no, I won’t ban you. It’s not worth the energy to even open the admin panel. You can keep doing what you’re doing, but don’t claim you’re a good and clean person when you clearly don’t value other people’s time, money, or effort.   When you talk about being mature, your actions show the opposite. For once in your life, admit that you're still acting immature. Hopefully one day you'll understand how life really works and learn to move on. But until then, take responsibility and clean up the mess you've left behind.   TL;DR: I won’t be reading anything else, just grabbing popcorn and enjoying the show.
    • Gay whoever doesn't read it
    • Hey everyone, I’m reaching out for urgent support with my NPC stats—specifically Baium, who on my server seems to have gone full god mode. Apparently, I’m the "crazy dreamer" who believes Baium shouldn’t have over 4 million HP, 30k+ P. Atk, attack speed faster than a dagger, and more M. Atk than seven Antharas combined 😅. My server's developer (VILMIS) refuses to provide proper support, claiming I have no idea about the "real stats" and that I’m imagining things. I’ve tried modifying the values through the admin console, but nothing takes effect. I’m desperate—the server launches on 04/10, and I really want these stats to be closer to official NCSOFT values or at least something balanced and realistic. If anyone with experience can lend a hand or point me in the right direction, please reach out. I’d truly appreciate it 🙏    
    • Sure more parts from our discord conversation posted below. Please note that he blocked me while he is active on discord (he responded to a different discord account).   Could you please ban him @Atom?      
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock