So here is some info or more like hints for people interested in server monitor system.
Let's start with basics. Monitor Agent Server (MAS) is main monitor server, period, that's all you need to know. In serverlist.txt it should be deifned like following
There is also Monitor Server (MS). It is a client for MAS and is separate for each luna server. It connects to MAS and they both communicate.Code:6 0 127.0.0.1 19001 [PUBLIC IP] [PUBLIC PORT]
It is defined in serverlist.txt as followingMAS <-> MS <-> Agent/Map/Distribute
Note. It doesn't require public ip because it acts like a client for MAS and local server for agent/map/distributeCode:7 0 127.0.0.1 20001 0.0.0.0 0
Now we start MAS Server with parameter 1. I created bat file for easy start.
And then we start MS server with parameter 2. Again my bat fileCode:start MonitoringServer.exe 1
Now you may start agent, distribute and map servers. Or you can use a "Server Tool" to do so. Server tool can be compiled from sources and configuration files can be retrieved from luna2 server relase somewhere in release section.start MonitoringServer.exe 2
Now you need operator account. Opne luna_member database and edit following tables.
TB_OPERIP
Add your ip address in this table
TB_OPERATOR
Add or edit operators here. OperId is login/username and OperPwd is password. Oper power you can set to one of following.
Now start Server tool and enjoy. The rest is for you to fix and figure out.Code:enum eOPERPOWER { eOperPower_Master = 0, eOperPower_Monitor, eOperPower_Patroller, eOperPower_Auditor, eOperPower_Eventer, eOperPower_QA, eOperPower_Max, };
[/FEED]
20120330 1545 42 - YouTube



Reply With Quote![[Info]Monitor Server](http://ragezone.com/hyper728.png)

