Tile - YDebug - Write To Log – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
*Adds '''text''' entry to '''game log''' file. | *Adds '''text''' entry to '''game log''' file. | ||
===Single player / Playtest (Editor)=== | ====Single player / Playtest (Editor)==== | ||
*All logs are automatically generated in Ylands installation directory '''...\Ylands_Data''' | *All logs are automatically generated in Ylands installation directory '''...\Ylands_Data''' | ||
**'''log_userscripts.txt''' - current userscript log | **'''log_userscripts.txt''' - current userscript log | ||
Line 9: | Line 9: | ||
**'''output_log_clean.txt''' - Ylands log | **'''output_log_clean.txt''' - Ylands log | ||
===Dedicated Servers (Multiplayer)=== | ====Dedicated Servers (Multiplayer)==== | ||
*Owners of the server and game author can download Script logs from the server by typing '''/getuserscripts''' command to chat | *Owners of the server and game author can download Script logs from the server by typing '''/getuserscripts''' command to chat | ||
*Logs are downloaded to your Ylands profile '''...\local\FilesFromSessionHost\''' | *Logs are downloaded to your Ylands profile '''...\local\FilesFromSessionHost\''' | ||
=Notes= | =Notes= |
Revision as of 16:41, 29 January 2021
- Adds text entry to game log file.
Single player / Playtest (Editor)
- All logs are automatically generated in Ylands installation directory ...\Ylands_Data
- log_userscripts.txt - current userscript log
- userscript.js - currently running userscript code
- output_log.txt - Unity log
- output_log_clean.txt - Ylands log
Dedicated Servers (Multiplayer)
- Owners of the server and game author can download Script logs from the server by typing /getuserscripts command to chat
- Logs are downloaded to your Ylands profile ...\local\FilesFromSessionHost\
Notes
- Steam User data: <SteamFolder>\userdata\<Your ID>\298610\
- Steam Ylands installation: <SteamFolder>\steamapps\common\Ylands\
- Each line written to the log will begin with #. The log also includes warnings and errors with ## and game start and game stop times with ###.
- Game log is kept only until next Ylands launch.