[FilterScript] tLogs (Logging system)
#1

Introduction

I was trying to do something new for myself and ended up with this simple idea. It did not take me over than 20 min.

Keep an eye on your players.

There may be a lot of logging filterscripts out there but I ensure you this is the simplest and worst one.

NOTE: I did not include OnRconLoggingAttempt logs as it should be your's anticheat job, not this filterscript's.

Example

Chat.log
Quote:

~~~~~~~ [ DATE : June 13 2017 ] ~~~~~~~
[16:37:17] Toroi(0): testing
[16:37:19] Toroi(0): ma naem e
[16:37:21] Toroi(0): jeff
[16:37:26] Toroi(0) issued command: /vehpos 1 .
[16:37:28] Toroi(0) issued command: /vehpos 2 .
[16:37:32] Toroi(0) issued command: /vehpos 3 .

Actions.log
Quote:

~~~~~~~ [ DATE : June 13 2017 ] ~~~~~~~
[16:29:27] Toroi(0) changed from state none to state spectating .
[16:29:28] Toroi(0) changed from state spectating to state spawned .
[16:29:28] Toroi(0) changed from state spawned to state on foot .
[16:29:30] Toroi(0) changed from state on foot to state dead or on class selection .
[16:29:34] Toroi(0) changed from state dead or on class selection to state spawned .
[16:29:34] Toroi(0) changed from state spawned to state on foot .

Combat.log
Quote:

~~~~~~~ [ DATE : June 13 2017 ] ~~~~~~~
[16:39:35] Toroi(0) died. Reason: 255 .
[16:39:35] Toroi(0) destroyed vehicle id (23) .

Connection.log
Quote:

~~~~~~~ [ DATE : June 13 2017 ] ~~~~~~~
[16:27:34] Toroi(0) logged in. IP: xxx.xxx.xxx.xxxx .
[16:28:26] Toroi(0) logged out. Reason: Quit .

Features

Quote:
  1. Overall
    • A file per Log (Combat.log, Actions.log..) to keep it clean
    • Separated by dates, if day changes, there will be a date separator for better log checking
    • HH:MM:SS timestamp on every log
  2. Combat Logs
    • Logs the damage issued from player to other players, the bodypart and the weapon used
    • Logs the damage issued from player to vehicles and the weapon used
    • Logs the damage taken by player and the reason
    • Logs deaths
  3. Actions Logs
    • Logs player change of state (drivig to on foot, spectating to driving)
    • Logs player's interior change
    • Logs player entering/exiting mod shop
    • Logs player's clicks on map and the coordinates
    • Logs players clicks on players through the scoreboard
  4. Chat Logs
    • Logs all messages
    • Logs all commands issued
  5. Connection Logs
    • Logs connections
    • Logs disconnections and the reason (kick, timeout, exit)
Known Issues/Bugs

Quote:

- I'm alive

How to use

Quote:

- Open the tLogs.pwn file and compile it in your filterscript folder.
- Add the following to the filterscript line in your server.cfg file
Код:
tLogs
- Start your server.

How to configure

Quote:

- Uncomment the line #define FILEPATH "/folder/" to use a custom folder inside the scriptfiles folder.

Download

https://github.com/Toroidesu/tLogs
Reply
#2

There! there was Espana version in the github, I liked you're translate to Espana language Toroi.

I'm not ensure this is the simplest way to log-on :P
Reply
#3


Fix please before releasing next time... Also missing fancy graphical titles. 2/10 wouldn't download.


Good job!
Reply
#4

Post it in none english section!
Reply
#5

8 of 10 experts rate this useful.
Now I can scientifically proof the existence of aliens in SA:MP.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)