[Info]Monitor Server

Results 1 to 2 of 2
  1. #1
    (oO (||||) (||||) Oo) jM2.me is offline
    MemberRank
    Aug 2009 Join Date
    USA (Fuck Yeah)Location
    2,527Posts

    [Info]Monitor Server

    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
    Code:
    6	0	127.0.0.1	19001		[PUBLIC IP]	[PUBLIC PORT]
    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.
    MAS <-> MS <-> Agent/Map/Distribute
    It is defined in serverlist.txt as following
    Code:
    7	0	127.0.0.1	20001		0.0.0.0		0
    Note. It doesn't require public ip because it acts like a client for MAS and local server for agent/map/distribute

    Now we start MAS Server with parameter 1. I created bat file for easy start.
    Code:
    start MonitoringServer.exe 1
    And then we start MS server with parameter 2. Again my bat file
    start MonitoringServer.exe 2
    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.

    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.

    Code:
    enum eOPERPOWER
    {
    	eOperPower_Master = 0,
    	eOperPower_Monitor,
    	eOperPower_Patroller,
    	eOperPower_Auditor,
    	eOperPower_Eventer,
    	eOperPower_QA,	
    	eOperPower_Max,
    };
    Now start Server tool and enjoy. The rest is for you to fix and figure out.

    [/FEED]

    20120330 1545 42 - YouTube
    Last edited by jM2.me; 31-03-12 at 12:50 AM.


  2. #2
    Valued Member elcapo is offline
    MemberRank
    Sep 2004 Join Date
    hereLocation
    111Posts

    Re: [Info]Monitor Server

    Really nice! :)



Advertisement