Java Flyff Server

Client starts. Connects to the server.

Server sends the greeting packet to the client.

Client disconnects and login screen appears.

Server gets to know that the client was disconnected.

That's all
 
you can use either DFlyFF, Rhisis or OSA as a guide on how get them working.

Like stated earlier, the client sends the greeting to the server which then sends one back. The packet is easy to create.

It shouldn't disconnect but normally it will if its on the same machine. After you login it sends the information back to the server with user name, password, accesslevel and then the server decides if the login credentials are correct, if not it sends a login error back with an error id, there are quite a few so make sure you study them.

Anyway, after all that, and you login successfully it sends the world list with the clusters and channels. after that, the character server takes over and handles all the character stuff.

Be warned however, that the char server is vital to the player being logged in. If the char server crashes, it automatically disconnects the player.

Take a look at the login for DFlyFF or OSA if C# is more your style. either one will help you in creating a java server. matter of fact, go with the c# version because its a little similar to java somewhat.

good luck and I look forward to seeing a java server.
 
Back