logfile maker

habi

  • Sr. Member
  • Posts: 285
logfile maker
«  »Last edited
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^

  • Jr. Member
  • Don't dare to mess
  • Posts: 87

habi

  • Sr. Member
  • Posts: 285
Re: logfile maker
« Reply #2,  »Last edited
Update:

WIll automatically write the logs. ( at regular intervals )

Source
SQMain.cpp the function foo

MEGAMIND

  • Hero Member
  • Developer of Webnet Official
  • Posts: 787

Inferno

  • Jr. Member
  • Posts: 62
Re: logfile maker
« Reply #4,  »
Great work man.
Just the thing i was looking for.
Viva la VU
VFS Developer
VCCNR Administrator

Anish87

  • Newbie
  • Posts: 16
Re: logfile maker
« Reply #5,  »
Nice work! Amazing people like always, but can you make one for Linux as well?

habi

  • Sr. Member
  • Posts: 285
Re: logfile maker
« Reply #6,  »
fixed server crashing when more than 2000 print lines on console.
Quote from Anish87 on October 21st, 03:33 AM
Nice work! Amazing people like always, but can you make one for Linux as well?
mm. let us see