Newbie Spellweaver
- Joined
- Nov 5, 2023
- Messages
- 13
- Reaction score
- 12
Please re-upload.
thanks!Information taken from original Post. Credits to Funkynicco
Hi, I've decided to release the ServerManager along with source that made for the official servers during working with and hosting flyff.
Brief information:
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.
Technical notes
- 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.
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;
Happy coding!
Download :
[Hidden content]
Thank youInformation taken from original Post. Credits to Funkynicco
Hi, I've decided to release the ServerManager along with source that made for the official servers during working with and hosting flyff.
Brief information:
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.
Technical notes
- 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.
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;
Happy coding!
Download :
[Hidden content]
this should help alot thanksInformation taken from original Post. Credits to Funkynicco
Hi, I've decided to release the ServerManager along with source that made for the official servers during working with and hosting flyff.
Brief information:
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.
Technical notes
- 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.
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;
Happy coding!
Download :
[Hidden content]
تhxالمعلومات مأخوذة من المنشور الأصلي. الشكر موصول إلى Funkynicco
مرحبًا، لقد قررت إصدار ServerManager مع المصدر الذي تم إنشاؤه للخوادم الرسمية أثناء العمل مع Flyff واستضافته.
معلومات مختصرة:
باختصار، فهو يتحكم في الخوادم ويعيد تشغيلها بالترتيب المناسب في حالة تعطلها.
تحتوي على واجهة أوامر عن بعد تمت إضافتها مؤخرًا لأغراض الاختبار على شبكة فرعية محلية (وبالتالي، فهي لا توفر الأمان لكونها متاحة بشكل مفتوح على الخادم، فهي تستخدم مصادقة اسم المستخدم/كلمة المرور الأساسية والحزم غير المشفرة).
كما يوفر نظام اتصال بين العمليات مع كل خادم، مما يسمح لـ ServerManager بالتحكم الكامل فيها. يمكنك على سبيل المثال تمكين أو تعطيل الخوادم والقنوات على AccountServer من داخل ServerManager live أثناء تشغيله. كما يتيح لك إضافة أوامر مخصصة في كل خادم flyff ثم تنفيذها من ServerManager (أو عميل عن بعد لمدير الخادم مع بعض التعديلات).
يتعين على كل خادم flyff الاتصال بـ ServerManager ومصادقة نفسه، ويفعلون ذلك عند بدء التشغيل باستخدام الوسائط المخصصة في معلمات بدء التشغيل.
يتم إخفاء جميع الخوادم باستثناء WorldServer أيضًا عند بدء التشغيل للحفاظ على سطح المكتب نظيفًا. والسبب وراء عدم إخفاء WorldServer هو أنني جعلته تطبيق وحدة تحكم بدلاً من نموذج فعلي. يمكنك إظهار وإخفاء كل خادم فردي أثناء تشغيله من ServerManager.
سيعرض ServerManager الحالة واستخدام الذاكرة مع وقت الذروة ووقت التشغيل.
المشاكل أو الأخطاء المعروفة:
هناك قضيتان فقط أعرفهما في الوقت الحالي.
الملاحظات الفنية
- إن الرسم البياني لاستخدام الذاكرة ليس صحيحًا تمامًا. لم أقم بفحصه بعد إنشائه.
- تظهر قائمة اختيار الخادم في بعض الأحيان وميضًا، وخاصةً عند تحريك الماوس فوقها. يمكن إصلاح ذلك من خلال استخدام العرض المؤقت المزدوج بشكل صحيح.
تم إنشاء مصدر ServerManager وRemoteManager باستخدام C#.
هناك تنفيذ يجب أن يوضع في كل خادم حتى يتمكن من العمل والتواصل مع ServerManager، وسأقدم فقط دليلاً قصيرًا حول كيفية تنفيذ ذلك.
أسئلة
إذا كان لديك أي أسئلة ذات صلة، قم بنشر رد حيث سأقرأ بشكل دوري عندما يكون لدي الوقت وأحاول بذل قصارى جهدي للإجابة.
التنزيلات
يحتوي التنزيل على الكود المصدر لـ ServerManager وRemoteManager وجزء التنفيذ لكل خادم flyff.
يحتوي التنزيل أيضًا على دليل حول كيفية تنفيذه في كل خادم فردي لأنه سيكون طويلاً جدًا لكتابته هنا.
إقرأ قبل التنزيل
تم إجراء إصلاح في اللحظة الأخيرة من شأنه منع ServerManager من التعطل عند بدء التشغيل أثناء تعطيل RemoteManagement.
كان لا يزال في بعض الأحيان يستطلع كود الإدارة عن بعد، والذي كان يستطلع المقبس (وهو فارغ).
افتح RemoteManagement.cs وابحث عن الدالة Update() .
في البداية أضف ما يلي.
Code:إذا لم يتم تمكين إدارة التكوين عن بعد العودة؛
برمجة سعيدة!
تحميل :
[المحتوى المخفي]
顺序控制并重新启动服务器,以防服务器崩溃
THJ信息摘自原始帖子。感谢 Funkynicco
嗨,我决定发布 ServerManager 以及在与和托管 flyff 合作期间为官方服务器制作的源代码。
简要信息:
简而言之,它以适当的顺序控制并重新启动服务器,以防服务器崩溃。
它有一个远程命令接口,由于在本地子网上进行测试而最近添加的(因此,它不提供在服务器上公开可用的安全性,它使用基本的用户名/密码身份验证和未加密的数据包)。
它还为每台服务器提供了一个进程间通信系统,这使得 ServerManager 可以完全控制它们。例如,您可以在 ServerManager 中启用或禁用 AccountServer 上的服务器和通道,因为它正在运行。它还允许您在每个 flyff 服务器中添加自定义命令,然后从 ServerManager(或服务器管理器的远程客户端,经过一些修改)执行它们。
每个 flyff 服务器都必须连接到 ServerManager 并对自己进行身份验证,它们在启动时使用启动参数中的自定义参数执行此操作。
除 WorldServer 之外的所有服务器在启动时也被隐藏,以保持桌面整洁。WorldServer 没有被隐藏的原因是我把它变成了一个控制台应用程序,而不是一个实际的表单。您可以在 ServerManager 中显示和隐藏每个单独的服务器。
ServerManager 将显示状态、内存使用情况以及峰值和运行时间。
已知问题或错误:
目前我只知道两个问题。
技术说明
- 内存使用情况图并不完全正确。创建后我没有研究过它。
- 服务器选择列表框偶尔会闪烁,尤其是当您将鼠标移到它们上时。这可以通过正确使用双缓冲渲染来修复。
ServerManager 和 RemoteManager 的源代码是使用 C# 制作的。
每个服务器都必须有一个实现,以便它们能够与 ServerManager 工作和通信,我只提供有关如何实现该实现的简短指南。
问题
如果您有任何相关问题,请发布回复,因为我会在有时间时仔细阅读并尽力回答。
下载
下载内容包含 ServerManager、RemoteManager 的源代码以及每个 flyff 服务器的实现部分。
下载内容还包含有关如何将其实施到每个单独服务器中的指南,因为在此处键入它太长了。
下载前阅读
已进行最后一刻的修复,以防止 ServerManager 在禁用 RemoteManagement 时启动时崩溃。
它偶尔仍在轮询远程管理代码,该代码正在轮询套接字(为 null)。
打开 RemoteManagement.cs 并找到函数 Update()。
在最开始添加以下内容。
[代码]如果 (!Configuration.EnableRemoteManagement)
返回;[/代码]
祝您编码愉快!
下载:
[隐藏内容]
Information taken from original Post. Credits to Funkynicco
Hi, I've decided to release the ServerManager along with source that made for the official servers during working with and hosting flyff.
Brief information:
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.
Technical notes
- 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.
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;
Happy coding!
Download :
[Hidden content]
Thanks for the releaseInformation taken from original Post. Credits to Funkynicco
Hi, I've decided to release the ServerManager along with source that made for the official servers during working with and hosting flyff.
Brief information:
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.
Technical notes
- 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.
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;
Happy coding!
Download :
[Hidden content]