summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-14 16:10:20 +0000
committerdarkvater <darkvater@openttd.org>2004-09-14 16:10:20 +0000
commitd48ce392b2569c3d856caf4f069b9bffbf0de9cc (patch)
tree6a9cad412cda5d812b392d390d583b0f6bcf7e39 /scripts
parent6d55489368c8f2324d0ff43d4caad60478902b58 (diff)
downloadopenttd-d48ce392b2569c3d856caf4f069b9bffbf0de9cc.tar.xz
(svn r248) -Feature: console script files "exec myscript.file"
-Feature: console logging (of debug messages with *developer = 2 and debug_level #) to text-files "script test.txt" -Feature: server and client are auto-executing "on_server.scr" and "on_client.scr" scripts
Diffstat (limited to 'scripts')
-rw-r--r--scripts/on_client.scr2
-rw-r--r--scripts/on_server.scr3
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/on_client.scr b/scripts/on_client.scr
new file mode 100644
index 000000000..8a24f40b7
--- /dev/null
+++ b/scripts/on_client.scr
@@ -0,0 +1,2 @@
+echo "Setting default network client settings..."
+*net_ready_ahead = 1 \ No newline at end of file
diff --git a/scripts/on_server.scr b/scripts/on_server.scr
new file mode 100644
index 000000000..930ee6e46
--- /dev/null
+++ b/scripts/on_server.scr
@@ -0,0 +1,3 @@
+echo "Setting default network server settings..."
+*net_sync_freq = 4
+*net_client_timeout = 300; \ No newline at end of file