Jump to content

Recommended Posts

Posted

I understood it the first time :D

 

And we don't have any IF or SWITCH or whatever for connection state, we have it separated as you think :D

Posted

https://github.com/namlehong/ertheia/blob/master/gameserver/src/main/java/l2s/gameserver/network/l2/GamePacketHandler.java

 

Thats first link i found on google i based by research on

case CONNECTED:

case AUTHED:

case IN_GAME:

  • 1 month later...
Posted

I wouldn't use MMOCore, its single-thread which means no async support.

Its made for the L2 protocol which means it have some strict standard defined (Each packet will have short for size of the packet, followed by one byte for opcode)

 

I would suggest using netty it supports almost any network protocol, its easy to work with, well documented, supports asynchronous i/o

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.



×
×
  • Create New...