SA-MP Forums

Go Back   SA-MP Forums > SA-MP > General

Reply
 
Thread Tools Display Modes
Old 22/01/2018, 03:42 PM   #1
mongi
Big Clucker
 
Join Date: Jun 2015
Location: Earth
Posts: 110
Reputation: 11
Default ChatLogSaver - No more "I Lost my logs"!

Most of players either forget to get a back-up copy for the chatlog or doesn't care about it but hold on, What if you need that file later? I always had this problem till today, I thought about writting a small script (Program) to do it for me, And I wanted to share it, Maybe somebody will need it, Who knows.

So, This script/Program would save your chatlog file right after you quit the game, The log would be saved in a custome path (Which you would select, For sure.)

The version 0.2 (Which is the last version) have a config file which include the SA-MP Documents folder and a folder to save the chatlogs in, By default it would be in a folder named "SavedLogs" in SA-MP Documents folder.
The config file will have the first line as SAMP Folder (Documents) and the second line have to be the path where to save the logs.
Empty lines won't be counted.

Format:
Code:
[SAMP PATH]
[LOG PATH]
You should edit that manually as it doesn't require anythign special.

Logs format:
Code:
[Year]_[Month]_[Day]_[Hour]_[Minute]_[Second].txt
I would organize the files by Server IP in a folder whenever I'm not lazy to do so.
For Questions/Bug reports either drop a PM or a reply.

The program is open-source, You're free to edit the script and use it as long as you keep the credits (Author name).
Github Link: https://github.com/M0ngi/ChatLogSaver-SAMP
__________________
______________________________________________

Offering programming/scripting services. PM for more info.

______________________________________________
[Tool]Server Control Panel
[Tool]Server Control Panel Version 2
[Tool]ChatLog Saver
mongi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Lost connection to server. Reconnecting" every 30 seconds. naitsirC Client Support 2 15/11/2016 06:08 PM
"The server is restarting" and "Lost connection to the server" Corruptful Client Support 9 29/07/2013 06:57 AM
Run time error 19: "File or function is not found" - With logs! Fractional Server Support 6 29/12/2012 05:01 AM
5 Dialog errors - Input line too long, undefined symbol "t","is" and "only" Deal-or-die Scripting Help 6 01/05/2012 01:08 PM
"Lost connection to the server...Game mode restarting..." OVER & OVER! :( Kotic Client Support 3 03/05/2009 03:45 PM


All times are GMT. The time now is 11:43 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.