[Mod]Log Daemon [LogD]

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Cos de Gunoi -> Trash
Author Message7935

[Very Important Person]

Status: Offline
(since 25-01-2009 22:13)
Joined: 15 Nov 2006
Posts: 3391, Topics: 172
Location: Universul meu interior

Reputation: 440.7
Votes: 48

Post Posted: 11-04-2007, 06:53:36 | Translate post to: ... (Click for more languages)


LogD is a log event parsing engine. This is not unusual as there are quite a number of such programs available to let you monitor your server. LogD, however, is unique in the way it detects events on your server. The usual method of detecting events is to set up your server to send all logging information out to another computer over a log port network connection, In reality this is usually a loopback connection to the same computer. Typically there is an application that listens to the incoming log information and parses it looking for information such as kills and suicides and acting according to the rules of the program or the rules defined by the user.

How does it work
Using the power provided by the Metamod it is possible to write Metamod plugins that react to API calls on the server. LogD hooks the alert message API call and parses the string. Since Metamod is loaded between the server and the gamedll, Metamod plugins can communicate directly to the server. Therefore, there is no need to have the server forward to a log port, there is no need for a separate application to be started, and there is no need to give the program rcon access as it is capable of communicating directly with the server.

This can be a more satisfactory solution to the problem of reacting to events on the server. At the moment the DLL uses Admin Mod to take action, but this need not be the case for the future. Inspired programmers should feel free to grab the source and change it to their needs.

How does it take actions on my server without using rcon?
Provided with LogD is the source code and Windows compiled binaried for an Admin Mod plugin. When an event is detected the LogD DLL runs a command on the server that passes the information from the event to the Admin Mod plugin. The plugin acts as a dispatch centre for the information and can call other plugins or act on the information itself. This approach allows you to use the game events to trigger automated responses using all the functionality of Admin Mod. You can llama, slap, slay, kill, kick, ban for TK's and anything else you may want to perform in your script. It also allows you to creat your own script that uses the supplied data and integrate it into the LogD-Admin structure easily. Mod We felt this provided the greatest flexibility for the users.

How do i create or change an admin plugin?
The methods used to create a plugin for admin mod are covered superficially in the Admin Mod manual. Scripting in Admin Mod uses the Small scripting language which is based on the C language. If you do not have any previous programming experience (any modern language is useful.) or the patience to learn to program then do not attempt scripting. Admin Mod scripting will not be covered in this manual other than those features used and created by LogD. For help on scripting all the LogD coding team and many noted Admin Mod scripters are available in the Admin Mod Fourms.

Download:Aici (34.31 KB, 212 downloads, adaugat 29-11-2008) asigur ca greselile ortografice, ortoepice, de punctuatie, morfosintactice si folosirea inadecvata a unitatilor lexico-semantice imi apartin, mi le asum, dar la scoala sa stiti ca tot nu ma duc!

0 0
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Cos de Gunoi -> Trash  

The time now is 20-05-2019, 13:36:22
Copyright info

Based on phpBB ro/com


I forgot my password

This message appears only once, so
like us now until it's too late ! :D