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

    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 冬天是享受优惠、省钱的好时机。 首次下单时使用促销码 SOCNET 即可获得 15% 折扣 ,适用于全场商品! 前往商店(网站) 前往商店(Telegram 机器人)
    • Winter is the time to save with benefits. Activate the promo code SOCNET on your first order and get a 15% discount on the entire assortment! Go to the store (website) Go to the store (Telegram bot)
  • 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