Hi guys, vc-mp server already makes logfile named server_log.txt. But in some cases, like closing server via x button it is reported that log files are not written.
So this plugin will write 'whatever is on screen' to 'logfile.txt'
Platform: Windows Language: Squirrel
Just call the function 'export' followed by paranthesis. eg. export() and you can see a new logfile in your folder.
Each time you call the function, the logfiles are fresh written.
Downloads
logfile32.dll (https://www.mediafire.com/file/l387gnotp46b5fy/logfile32.dll/file)
logfile64.dll (https://www.mediafire.com/file/6vwtnuymmua9spw/logfile64.dll/file)
(https://i.imgur.com/th5ayIi.jpg)
(https://i.imgur.com/mmnkA00.png)
Source code c++
SQFuncs.cpp (https://github.com/habi498/logfile-maker/blob/main/SQFuncs.cpp)
Update:
WIll automatically write the logs. ( at regular intervals )
Source
SQMain.cpp (https://github.com/habi498/logfile-maker/blob/main/SQMain.cpp) the function foo
Quote from: habi on Oct 19, 2020, 05:00 PMUpdate:
logfile32.dll (https://drive.google.com/file/d/1HG1rvED4G2__Ao8eY2dRXTiCFmGPYOhW/view?usp=sharing)
logfile64.dll (https://drive.google.com/file/d/1ns1WHhi23mxIcn9c_9kjngbj8jveCY2o/view?usp=sharing)
WIll automatically write the logs. ( at regular intervals )
awsome oye
Great work man.
Just the thing i was looking for.
Nice work! Amazing people like always, but can you make one for Linux as well?
fixed server crashing when more than 2000 print lines on console.
Quote from: Anish87 on Oct 21, 2020, 02:33 AMNice work! Amazing people like always, but can you make one for Linux as well?
mm. let us see
Seems the plugin doesn't work anymore. Code 126 ERROR.
My computer browser has been unable to open drive.google.com, can you fix this problem, I want to try this plug-in.
Updated to mediafire
It is ready to download, but there are 126 errors when loading
Updated to standalone dll ( removed dependency on vcruntime, msvcp etc )
Well done, now the log generation is perfect, thank you very much for making this plugin.