Author Topic: sl_logging 3  (Read 2525 times)

mRokita

  • Autococker
  • Posts: 598
sl_logging 3
« on: December 28, 2015, 04:34:21 AM »
Code: [Select]
// sl_logging
// ----------                                              
// bit 1, val | 1 : display STDLogging to console
// bit 2, val | 2 : log STDLogging to sl_logfile
// bit 3, val | 4 : send UDP packets to server defined IPs (DISABLED)
How to use sl_logging 3?
What does it really do?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: sl_logging 3
« Reply #1 on: December 31, 2015, 03:25:56 AM »
This would print to both the log file and the console.  You probably wouldn't want to do that.

mRokita

  • Autococker
  • Posts: 598
Re: sl_logging 3
« Reply #2 on: December 31, 2015, 10:09:50 AM »
This would print to both the log file and the console.  You probably wouldn't want to do that.
I think that I've missunderstood the help comment then. I mean " send UDP packets to server defined IPs (DISABLED)"

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: sl_logging 3
« Reply #3 on: December 31, 2015, 02:33:02 PM »
What you're referring to isn't sl_logging 3, it's the third bit of the value of sl_logging. So to turn it on, you'd use sl_logging 4 (or 5 for udp + console, 6 for udp + logfile, 7 for udp + console + logfile). But seeing as it says "DISABLED", I very much doubt it actually works.

mRokita

  • Autococker
  • Posts: 598
Re: sl_logging 3
« Reply #4 on: December 31, 2015, 06:18:22 PM »
Oh yeah, that 4 was weird thing, i know how it works ;)
Too bad that it doesnt work :/