Tile - YDebug - Write To Log – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ")
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\'''

Revision as of 20:11, 31 January 2021

Ylands Tile - Write to log.png

  • 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.