Jump to content
  • 0

L2Off server with dynamic IP


L2Off server with dynamic IP  

4 members have voted

  1. 1. L2Off server with dynamic IP

    • use dyn dns
      1
    • another way
      2


Question

Posted

Hi,

 

Is it possible to host a L2Off server with a dynamic IP ? Because in the database you have to put your WAN IP which we will change for exemple every day.

 

I have a dyn dns, but the adresse is a string exemple : dyndns.mydyndns.com so would it work in the database ?

 

Thanks

12 answers to this question

Recommended Posts

  • 0
Posted

Test it and see.

 

 

I highly doubt it however - as i believe the IP is sent from auth as a DWORD not as a string.

I'm not sure.

 

Now that i think about it more - the field in the DB that hAuthD \ Official Auth Servers use are also INT if i remember.

So you'd both need to code support for string\char in auth and have client be able to interpret\receive a string and fetch an IP.

  • 0
Posted

Test it and see.

 

 

I highly doubt it however - as i believe the IP is sent from auth as a DWORD not as a string.

I'm not sure.

 

Now that i think about it more - the field in the DB that hAuthD \ Official Auth Servers use are also INT if i remember.

So you'd both need to code support for string\char in auth and have client be able to interpret\receive a string and fetch an IP.

Hi,

 

Is it possible to host a L2Off server with a dynamic IP ? Because in the database you have to put your WAN IP which we will change for exemple every day.

 

I have a dyn dns, but the adresse is a string exemple : dyndns.mydyndns.com so would it work in the database ?

 

Thanks

 

Yes it works just put you dyn dns in in IP column at lin2db and table dbo.server . Start l2auth or hauth and done.

  • 0
Posted

Thanks for the answer I will check the DB type but if I need to code where would it be ? in the BD ?

 

Xel are you sure it works for official C4 server ? if yes it's really nice

 

 

  • 0
Posted

Geuss i remember wrong - however if it's hostname and auth resolves it to an ip before sending to client

theres no issue either.

 

Does it work both with AuthD or hAuthD?

  • 0
Posted

Thanks for the answer I will check the DB type but if I need to code where would it be ? in the BD ?

 

Xel are you sure it works for official C4 server ? if yes it's really nice

 

 

I tested on c6 only.

  • 0
Posted

Geuss i remember wrong - however if it's hostname and auth resolves it to an ip before sending to client

theres no issue either.

 

Does it work both with AuthD or hAuthD?

yes

  • 0
Posted

I tested on c6 only. But should work if database permits  it because hauth it dose, c4 original auth dunno.

  • 0
Posted

Well withou having the files here at work - it's because hAuthD translates the hostname into a resolved IP before sending to client.

As the packet server-list - sends DWORD\4x BYTE\CHAR for the ip of each server.

 

So if you wish to do this - use hAuthD and your done :)

  • 0
Posted

Ok thanks a lot for the help ! and if you have time can you check the original auth ? :D because I am waiting on my server to be delivered :s

 

Ok trying into a virtual box because I can't wait lol !

  • 0
Posted

Well withou having the files here at work - it's because hAuthD translates the hostname into a resolved IP before sending to client.

As the packet server-list - sends DWORD\4x BYTE\CHAR for the ip of each server.

 

So if you wish to do this - use hAuthD and your done :)

true

  • 0
Posted

authD will fail, atleast most of them i think.

 

Due to the expectations in code to be able to respond to inet_addr() winsock functions.

atleast from my quick peak @ authd.

 

 

It's cool that hint wrote support for it tho - but it'd be interesting to know if you can exceed 15 chars on authd for a domain or not.

Since that will cripple you.

  • 0
Posted

Yes that's true it's a var char(15) lol

 

Anyway my server is up on my virtual machine but do you have a guide somewhere for L2walker on C4 server untouched because I have only a linux machine available so no way to launch the game and I want to try to connect client on my server

 

In the logs I have error like : read from pc_parameter.txt failed and that for a lot of file

 

and ObjectDB error too :)

 

Ok the error are gone just a few remaining about skills

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
Answer this question...

×   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

    • MoMoProxy Offers $850 for 1TB Plan. anyone interested in can view details as follow: https://momoproxy.com/residential-proxies
    • Yes there are many problems. Im trying to fix there slowly, cause i i put already a lot of work in this files. I think it will not be easy to move the project to other builds
    • You probably wanted to write l2jmobius. I would recommend that you change the build because it has a lot of problems with the movement of npcs and players. Even if you find bots you will have to correct the movement or the bots will get stuck, fly, teleport
    • Complete Server Pack + Source Files: C4 Scions Of Destiny: P656 Retail X1 L2OFF Server Pack + Source: Price: 100EUR --------------------------------------------------------------------------------------------------------------------------------------------- C4 Scions Of Destiny: P656 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 150EUR -------------------------------------------------------------------------------------------------------------------------------------------- C6 Interlude: P756 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 150EUR The same as C4 but in C6 Client  ----------------------------------------------------------------------------------------------------------------------------------------------   C6 Interlude: P746 L2Gold L2OFF Server Pack + Source: Price: 150EUR   https://imgur.com/a/pts-l2gold-interlude-p746-9kB3oA9#MbP2aJh -------------------------------------------------------------------------------------------------------------------------------------------------   C6 - Classic Interlude: P110 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 350EUR   https://imgur.com/a/pts-l2off-p110-classic-interlude-athena-x45-Z2kZxuv#YlZU9hF -------------------------------------------------------------------------------------------------------------------------------------------------   DISCORD - MMOPROMOOO TELEGRAM - MMOPROMO 
    • Wts adena scryde x50 Baium 12 Valakas 12 good price Top weapons +16
  • Topics

×
×
  • Create New...