• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

How I remove print

viking

Member
Joined
Aug 20, 2015
Messages
323
Reaction score
22
How I can remove print from players log in?

sCWE2N0.png
 
I tried this but it still shows the messages in the server window.

Did I do this right?
Code:
        //std::cout << name << " has logged in." << std::endl;
 
I tried this but it still shows the messages in the server window.

Did I do this right?
Code:
        //std::cout << name << " has logged in." << std::endl;
Then you simply did something wrong :)
Open your project edit the line as you did, (re)compile the server, copy the new .exe file and insert into your server folder, start it.
Alternative:
Few TFS Version offers a option in config.lua to disable logging on console.. (displayPlayersLogging)
 
Last edited:
Back
Top