Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

ServerManager with RemoteManager

Skilled Illusionist
Joined
Feb 3, 2007
Messages
321
Reaction score
67
Hi, I've decided to release my ServerManager along with source that I made for the official servers during working with and hosting flyff.
funkynicco - ServerManager with RemoteManager - RaGEZONE Forums


Brief information of what it is and what it does
In a nutshell, it controls and restarts servers in appropriate order in case they have crashed.
It has a remote command interface that was lately added due to testing purposes on a local subnet (as such, it does NOT provide security for being openly available on a server, it uses basic username/password authentication and unencrypted packets).
It also provides an inter-process communication system with each server, which allows ServerManager to have full control of them. You can for example enable or disable servers and channels on AccountServer from within ServerManager live as it runs. It also lets you add custom commands in each flyff server and then execute them from ServerManager (or Remote client for server manager with a few modifications).
Each flyff server has to connect to ServerManager and authenticate themself, they do this on startup with custom arguments in the startup parameters.
All servers but WorldServer are also hidden on startup to keep desktop clean. The reason why WorldServer is not hidden is because I had made it a console application instead of a actual form. You can show and hide each individual server as they run from ServerManager.
ServerManager will show status, memory usage with peak and run time.

Known issues or bugs
There are only two issues that I know of at the moment.
  • The memory usage graph is not entirely correct. I have not looked into it after creating it.
  • The server selecting listbox is occasionally flickering, especially when you move mouse over them. This can be fixed by correctly utilizing double buffered rendering.

Note
I have stopped developing on this and I am not going to fix bugs or improve on it, you have the source and the ability to work on it.
How you set up this application in terms of using the compiled binary should be pretty straightforward, you should be able to just open configuration file and figure out its settings.

Why am I releasing this?
Well, on reason is that I'm not developing for flyff anymore.
Another reason is that I like to see more custom programs being made, more open source than closed down binaries.

Technical notes
The source of ServerManager and RemoteManager are made using C#.
There is an implementation that has to go into each server in order for them to work and communicate with ServerManager, I will only provide a short guide on how to implement that.

Questions
If you have any related questions, post a reply as I will perodically read when I have time and try my best to answer.

Downloads
The download contains source code for ServerManager, RemoteManager and the implementation part for each flyff server.
The download also contains the guide on how to implement it into each individual server as it would be too long to type it here.

Read before downloading
A last minute fix has been made that will prevent ServerManager from crashing upon startup while RemoteManagement is disabled.
It was occasionally still polling the remote management code, which was polling the socket (which is null).
Open up RemoteManagement.cs and find function Update().
At the very beginning add the following.
Code:
if (!Configuration.EnableRemoteManagement)
	return;

Mirrors

Happy coding!
 
Last edited by a moderator:
It's a lemon thing
Joined
Dec 19, 2007
Messages
257
Reaction score
112
virus, avg detect generic.bdc0w06, i request delete before more people could be infected...
 
Skilled Illusionist
Joined
Feb 3, 2007
Messages
321
Reaction score
67
virus, avg detect generic.bdc0w06, i request delete before more people could be infected...

In a zip file? I don't think so. Will have a look and reupload if they are corrupted.
Besides, theres not a single binary in the zip, its simple text files and ico's.

There are false positives in virus scanners.

Edit: You must have a virus that infects it when you download it. I just tested on virustotal, and all passed.
 
Newbie Spellweaver
Joined
May 8, 2011
Messages
17
Reaction score
1
Thank you for the release, It works perfectly.
worki - ServerManager with RemoteManager - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Banned
Banned
Joined
Sep 18, 2011
Messages
112
Reaction score
63
If anyone wants something nice to add on this, this is a snippet I wrote up today for the server I work for.



It sends crash notifications, and takes in commands via SMS.
 
Skilled Illusionist
Joined
Feb 3, 2007
Messages
321
Reaction score
67
If anyone wants something nice to add on this, this is a snippet I wrote up today for the server I work for.



It sends crash notifications, and takes in commands via SMS.

Could also implement email notification using the
When a server crashes it sends the exception address to ServerManager.
ServerManager catches that exception address in void Service_ClientCrash(ServerType type, uint address)
That is in Main.cs on line 456 (or close to).
 
Newbie Spellweaver
Joined
Apr 26, 2020
Messages
17
Reaction score
1
funkynicco: Could you repost the download link please? TIA
 
Back
Top