McTschegsn Posted February 9, 2020 Posted February 9, 2020 Good morning, maybe a stupid question - sorry for that. I do not get the server description to work properly Running a dedicated server which is doing fine. When editing the file serversettings.lua there is a line called description which is -obviously ;)- for the server description. When entering a single line, it works fine. As soon as I add a line feed (tried several Strings like \r for example) the server won't load properly and the server settings are ignored completely as it is trying to use the standard port etc. What do I do wrong here? What string is used for a linefeed to work properly? I am editing with notepad++ Thank you guys for a quick heads up. In thrust we trust :thumbup: Falls jemand Montags Abends Lust hat mit uns zusammen zu fliegen und Spass zu haben (Anfänger sind auch herzlich willkommen) kann gerne auf unserer Website: https://www.jg-frankonia.de vorbeischauen oder sich direkt bei uns im Discord melden: https://discord.gg/vHEJf3c Eigene Server und viel Spass sind vorhanden :thumbup:
davidp57 Posted February 11, 2020 Posted February 11, 2020 In lua, the easiest way to enter formatted text (a.k.a. raw text) is by using double brackets. Example : local myLongString = [[This is a very long string with some weird characters \\ \ \\\ and a few carriage returns]] This will put the following text in myLongString : This is a very long string with some weird characters \\ \ \\\ and a few carriage returns Zip - VEAF :pilotfly: If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !
McTschegsn Posted February 12, 2020 Author Posted February 12, 2020 Will try that out. Thank you very much. In thrust we trust :thumbup: Falls jemand Montags Abends Lust hat mit uns zusammen zu fliegen und Spass zu haben (Anfänger sind auch herzlich willkommen) kann gerne auf unserer Website: https://www.jg-frankonia.de vorbeischauen oder sich direkt bei uns im Discord melden: https://discord.gg/vHEJf3c Eigene Server und viel Spass sind vorhanden :thumbup:
Recommended Posts