Jump to content
  • 0

L2Off "architecture"


Question

Posted

Hi guys,

 

im curious about how the server side part actually works and have a few questions if anybody can help:

 

- Does l2off even use any udp packets or just tcp?

- Whats the life-cycle of a player like: user clicks login on client, it connects to auth through tcp, and if authenticated also connects to game server through tcp? how does that work?

 

Thanks!

 

 

3 answers to this question

Recommended Posts

  • 0
Posted

An L2 server is made up of a few different parts.

 

- CacheD:   Functions as an intermediary between L2Server and the MSSQL database.

- AuthD:      Authentication server which authenticated client logins. AuthD has been "replaced" by a third party (non-NCSoft) application called hAuthD.

- L2Server: The actual game server.

- L2NPC:    The NPC server responsible for processing NPC >< player interaction.

 

As far as i know all communication for L2 is done purely using TCP sockets. If i had to GUESS why it would be that TCP was easier to work with for something like L2 because it's not exactly "real time".

 

Here is a teriffic article on the subject: http://gafferongames.com/networking-for-game-programmers/udp-vs-tcp/

 

The lifecycle for login goes something like this:

- Player types credentials into input boxes on the screen.

- Client generates a packet with those credentials and sends them to the auth server.

- Auth server validates them, then replies with a list of available game servers.

- Client makes a request for the selected game server.

- Auth sends back the connection info for the game server.

- Client then makes a direct connection to the game server.

 

For more detailed information check out this project:

https://code.google.com/p/l2packets/

Guest
This topic is now closed to further replies.


  • Posts

    • 🤖 Old Telegram bots with 2024 year old ⭐️ Good for search optimization TG ⭐️ Bots without subscribers ⭐️ Bots clean, no bans, blocking and complaints 💵 Price list: From 3 bots - 3$ for 1pc. From 20 bots - 2.5$ for 1pc. From 60 bots - 2.3$ for 1pc. From 100 bots - 2.2$ for 1pc. From 400 bots - 1.9$ for 1pc. 📌 To contact Us - t.me/smmtg6
    • ⚡️ Fast SEO optimization in Telegram for your channel/chat/bot. TOP OF SEARCH TG🔝 ✨ Effective solution for your business or blog. 🔥 Fast results within few days. ➡️ Contact us on Telegram for more details - t.me/smmtg6
    • 🤖⭐️ TELEGRAM PREMIUM BOT START: 1201ID - Ukraine 🇺🇦 + MIX | 7 Days Premium 🤖 - 3.4$ per 1000 1198 ID - Israel 🇮🇱 + Uzbekistan 🇺🇿 | Mix Days Premium 🤖 - 3.5$ per 1000 574 ID - Uzbekistan 🇺🇿 + Russia 🇷🇺 20% | 30-90 Days Premium 🤖 - 3.8$ per 1000 1210 ID - Ukraine 🇺🇦 + MIX | 7-30 Days Premium 🤖 | 4$ per 1000 1203 ID - Uzbekistan 🇺🇿 + MIX | 20-30 Days Premium 🤖 | 4$ per 1000 1195 ID - USA 🇺🇸 + Ukraine🇺🇦 + Canada 🇨🇦 | 15 Days Premium🤖 | 4.3$ per 1000 1213 ID - Uzbekistan 🇺🇿 + USA 🇺🇸 + Canada 🇨🇦 | 30 Days Premium 🤖 | 4.4$ per 1000 1202 ID - Uzbekistan 🇺🇿 + MIX | 30 Days Premium 🤖 | 4.4$ per 1000 752 ID - USA 🇺🇸 + China 🇨🇳 + Canada 🇨🇦 | 30 Days Premium 🤖 | 5.4$ per 1000 756 ID - Uzbekistan 🇺🇿 + Israel 🇮🇱 + Austria 🇦🇹 | 14-30 Days Premium 🤖 | &nbsp;5.6$ per 1000 758 ID - Canada 🇨🇦 + USA 🇺🇸 + Turkey 🇹🇷 | &nbsp;30 Days Premium 🤖 | 5.6$ per 1000 755 ID - Turkey 🇹🇷 + Egypt 🇪🇬 | 30-90 Days Premium 🤖 | 6$ per 1000 374 ID - Russia 🇷🇺 + USA 🇺🇸 + Canada 🇨🇦 | Mix Days Premium 🤖 | 6.8$ per 1000 741 ID - Ukraine 🇺🇦 + USA 🇺🇸 + Canada 🇨🇦 | 15-30 Days Premium 🤖 | 6.8$ per 1000 575 ID - USA 🇺🇸 + Russia 🇷🇺 + Canada 🇨🇦 | Mix Days Premium 🤖 | 7.2$ per 1000 372 ID - USA 🇺🇸 + Canada 🇨🇦 + Russia 🇷🇺 + EU 🇪🇺 | Mix Days Premium | 7.5$ per 1000 1204 ID - Ukraine 🇺🇦 + MIX | 60-90 Days Premium | 7.6$ per 1000
    • Make Maxcheaters Great Again? i suppose lmao    
  • Topics

×
×
  • Create New...