logfile maker

Started by habi, Oct 19, 2020, 02:48 PM

Previous topic - Next topic

habi

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
logfile64.dll





Source code c++
SQFuncs.cpp

SHy^


habi

#2
Update:

WIll automatically write the logs. ( at regular intervals )

Source
SQMain.cpp the function foo

MEGAMIND

Quote from: habi on Oct 19, 2020, 05:00 PMUpdate:
logfile32.dll
logfile64.dll

WIll automatically write the logs. ( at regular intervals )
awsome oye

Inferno

Great work man.
Just the thing i was looking for.
Viva la VU
VFS Developer
VCCNR Administrator

Anish87

Nice work! Amazing people like always, but can you make one for Linux as well?

habi

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

Ridwan Rz

Seems the plugin doesn't work anymore. Code 126 ERROR.

PSL

My computer browser has been unable to open drive.google.com, can you fix this problem, I want to try this plug-in.

habi

Updated to mediafire

PSL

It is ready to download, but there are 126 errors when loading

habi

Updated to standalone dll ( removed dependency on vcruntime, msvcp etc )

PSL

Well done, now the log generation is perfect, thank you very much for making this plugin.