[FilterScript] tLogs (Logging system) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] tLogs (Logging system) (
/showthread.php?tid=635782)
tLogs (Logging system) -
Toroi - 13.06.2017
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:
- 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
- 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
- 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
- Chat Logs
- Logs all messages
- Logs all commands issued
- Connection Logs
- Logs connections
- Logs disconnections and the reason (kick, timeout, exit)
|
Known Issues/Bugs
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
- 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
Re: tLogs (Logging system) - justice96 - 13.06.2017
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
Re: tLogs (Logging system) -
Hansrutger - 14.06.2017
Fix please before releasing next time... Also missing fancy graphical titles. 2/10 wouldn't download.
Good job!
Re: tLogs (Logging system) -
Bernadeath - 14.06.2017
Post it in none english section!
Re: tLogs (Logging system) -
BigETI - 14.06.2017
8 of 10 experts rate this useful.
Now I can scientifically proof the existence of aliens in SA:MP.