Questions regarding sending packets to L2JServer

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Posts: 1
Joined: Wed Jun 28, 2017 11:34 am

Questions regarding sending packets to L2JServer

Post by Quantum » Sun Jul 02, 2017 11:31 am

Hello :wave:

I'm trying to create a web interface that allows me to perform certain operations ingame such as directly adding items to a given player's inventory, or something like opening a dialog window for every player ingame by pressing a button in my web interface.

After looking inside the L2J source code I found that the class is responsible for handling packets which bode well for my little side project. However, it seems in order for a packet to get processed, the L2GamePacketHandler needs a L2GameClient which leads me to my questions:

- Is it possible for anything other than a L2GameClient to get it's packets handled by the L2JServer?
- If this is indeed possible, how would I implement this? (maybe post actual/pseudo code if it's not too much trouble)
- If this is not possible, would it then be possible to create a workaround?

My knowledge regarding the structuring of MMO's is limited which is why I've decided to make this thread, so forgive me if my questions sound stupid.


User avatar
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria

Re: Questions regarding sending packets to L2JServer

Post by UnAfraid » Mon Jul 03, 2017 1:03 pm


You might wanna check telnet implementation, or your own REST api within the server source if you like something more modern and secure for usage outside localhost (Because i wouldn't recommend exposing telnet to public internet)

Post Reply