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

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


  • Posts

    • What is Fermata? Fermata is a modern, performant client compatible with Lineage 2’s official game client for Interlude, without using a game engine. It uses the original game client files (which we do not provide ourselves) to offer a modern way to play Lineage 2 Interlude without being tied to an FPS game engine from the early 2000s. A fermata (𝄐) is a musical notation symbol indicating that a note, chord, or rest should be held longer than its standard time value. Its exact duration is decided by the performer or conductor for expressive effect. It seems like a fitting name for a Lineage 2 client that aims to extend the game's lifespan. Why is Fermata? Fermata exists because the original Interlude client is outdated, buggy, and lacks modern features for quality of life, rendering, and performance. Fermata fixes all of these issues. Video demo Is Fermata Lineage 2 Interlude Remastered? No and yes. Fermata’s main goal is to recreate the original Lineage 2 Interlude client in a visually identical way. This is the default mode. We also aim to add remastered features which you can toggle on and off. Enabling Remastered mode adds features that the original Interlude client never had, such as Ray Tracing on supported GPUs, HDR, a more modern UI, and more. Is Fermata compatible with my L2j or L2 OFF server? Yes! Fermata has two different types of net code. By default, it uses the original Interlude net code packet format, which is the same as the one used by L2j and L2 OFF servers. We have also added several new optional packet formats, so if you want your users to use the Fermata client, you can adopt those packets through their structure into your server. We also offer a modern custom packet format which is way more efficient and can increase performance as well as security due to the nature of the new encryption. Are my customs compatible with Fermata? Absolutely! We want Fermata to be 100% compatible with everything in the old game client. Textures, animations, models, etc will all work with Fermata.  Can I use my custom Interface with Fermata? No, Fermata is incompatible with any other interface because we completely rewrote it from scratch. We do, however, provide a way to customize the interface in the form of an API we expose for you to hook up, a Visual Studio Code extension with IntelliSense support, and Lua scripts. We aim to work with the community to make the API as flexible as possible. We also support Add-Ons, which are Lua scripts that can be used to modify client behavior and let you add your own windows and features. Think of it like World of Warcraft’s Add-Ons. There will be a marketplace for Add-Ons on our website. Is Fermata free? Yes. Success for me is not measured in money but adoption. I think everyone deserves to play our little niche game in a way that doesn’t feel “old”. We might consider adding premium features for server owners only, for example anti-cheat, but the main client is free for everyone to use. As long as I have enough money to support the development of the project, I am happy. Why not Unity, Unreal Engine or Godot? Game engines come with tons of quality-of-life features, ease of use, and a huge community behind them. They do also, however, come with a lot of baggage and limitations. I want to fully control the game client so I can implement whatever I want, however I want, without having to worry about the game engine. How performant is Fermata? That's where you come in. I need this running on more machines so I can get a better idea of what to optimize. I get 200+ FPS on my 5090 and 120+ FPS on my M3 Ultra. I am always optimizing the game engine as I add features, so expect this to fluctuate. The engine is fully cross-platform, running on Windows (DX/Vulkan), macOS (Metal), and Linux (Vulkan). How do I download it? Join our Discord server for the download link: https://discord.gg/zkFRER2xGM How can I help? Join the Discord server. I will be uploading builds weekly, and you can test them out and give me feedback.
    • Tank clockwise kite/aggro combo is very impressive. Is it hardcoded strategy or is it emerging from some algorithmic system ?
    • 💕 I hope L2JMobius borrows this from you 
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..