Files @ r6107:d013f802c577
Branch filter:

Location: cpp/openttd-patchpack/source/bin/scripts/on_dedicated.scr.example

tron
(svn r8843) -Fix

-Fix: Off-by-one error in accessing a buffer (if you start at the second byte you have to subtract one from the size)
Also avoid an unnecessary buffer copy and strlcpy() abuse
NOTE: 0.5 candidate
1
2
3
4
echo "Setting dedicated network server settings..."
# empty the server password
server_pw = "*"
server_name = "My example dedicated gameserver"