Spydah
Donator
I've tried a few but none of them seem to work at the end..
Can someone help me or show me how to properly set this up?
Can someone help me or show me how to properly set this up?
; Set the working directory to the SA-MP directory...
sampdir:=A_MyDocuments . "\GTA San Andreas User Files\SAMP\"
SetWorkingDir, %sampdir%
; If we're working in the wrong directory (ie you can't find the
; SA-MP config file) then return an error and exit.
IfNotExist, sa-mp.cfg
MsgBox, Error: Could not find SA-MP directory. Expected location: %sampdir%
IfNotExist, sa-mp.cfg
return
Loop {
; Wait until GTA:SA is launched by SA-MP.
WinWait GTA:SA:MP
; Generate the filename based on the time SA-MP is launched.
filename:="chatlog-" . A_YYYY . A_MM . A_DD . "-" . A_Hour . A_Min . A_Sec
; Now wait for it to close before continuing.
WinWaitClose GTA:SA:MP
; Copy the chatlog to the separate directory with the filename we generated earlier.
FileCopy, chatlog.txt, chatlogarchiver\%filename%.txt
; Check that the file was actually copied, and return the location if it worked. If not,
; return a generic error because I can't be bothered to code in methods of working out
; what went wrong.
IfExist, chatlogarchiver\%filename%.txt
MsgBox, Chatlog saved as %sampdir%\chatlogarchiver\%filename%.txt.
IfNotExist, chatlogarchiver\%filename%.txt
MsgBox, There was an error and your chatlog was NOT archived.
}
return
lsrp+ always stops working.. It freezes everytimeLee said:>download lsrp+
>chatlog archiver
>enable
I run this as Administrator plus I manually created the folder inside the desired one but I keeps saying the message. "There was an error and your chatlog could NOT be archived."Connection said:I personally use this one. It creates a folder called 'chatlogarchiver' in your 'GTA San Andreas User Files' folder. All you have to do is launch it before launching GTA:SA.
Spydah said:lsrp+ always stops working.. It freezes everytimeLee said:>download lsrp+
>chatlog archiver
>enable
I think yes, Don't use it but don't know which files I should delete, lel.Lee said:Spydah said:lsrp+ always stops working.. It freezes everytimeLee said:>download lsrp+
>chatlog archiver
>enable
do u have an enb installed
Spydah said:I think yes, Don't use it but don't know which files I should delete, lel.Lee said:Spydah said:lsrp+ always stops working.. It freezes everytimeLee said:>download lsrp+
>chatlog archiver
>enable
do u have an enb installed
Cool but where should I add that, don't really understand it gheheTommyB said:I'd suggest using an edit I made to the chatlog archiver AHK script. When I started using it a few years ago, I noticed that it created a new .txt file per game session. My edit only creates a new .txt file per day, which should help keep your folder quite clean.
https://pastebin.com/vnimgCyS