Logfile still working in server script?Solved
Hey I have 2 questions on server script.
1. Is -nographics necessary for script to start server?
2. I added -logfie "log.txt" in server script but there is no such file in directory. Is it still working?
Thanks for reply.
In response to diaolingtyp ():
Hey I have 2 questions on server script.
1. Is -nographics necessary for script to start server...
Log may be located in logs folder (atlist it was on previous update), so try "logs/log.txt"
Not sure about nographics, but I think it might throw errors about missing shaders/textures etc, but needs testing
In response to 2CHEVSKII ():
Log may be located in logs folder (atlist it was on previous update), so try "logs/log.txt"
Not...
Just tested. Nothing different with before. Here is my script.


echo off
:start

cd rustds
RustDedicated.exe -batchmode -nographics -logfile "logs/log.txt" ^
+server.worldsize "1000" ^
+server.hostname "myserver" ^
+server.description "" ^
+server.headerimage "" ^
+server.port "28014" ^
+server.url "" ^
+server.maxplayers "150" ^
+server.identity "my_server_identity" ^
cd ../

goto start

You need to specify, for example, full path to the log file. Or, AFAIK you can do something like "./blah....", Test both
-logfile "D:\Servers\Rust\logs\log.txt"

or

-logfile "/path/to/your/server/logs/log.txt"

or 

-logfile "./logs/log.txt"

or the full path. This was changed with the recent Unity and Rust updates from how it worked before.

Running -nographics should not cause any issues, and is common use with most Unity game servers.
I just realized, I've given a misleading info in my first post - I meant running without -nographics might cause errors in console.
In response to Wulf ():
-logfile "D:\Servers\Rust\logs\log.txt"

or

-logfile "/path/to/your/server/logs...
Thanks!
In response to 2CHEVSKII ():
I just realized, I've given a misleading info in my first post - I meant running without -nographics...
Soga thx!
Locked automatically