-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.hexagon
More file actions
63 lines (52 loc) · 2.4 KB
/
Copy pathconfig.hexagon
File metadata and controls
63 lines (52 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
telnet_port = 5000; /* telnet port number */
/* HTTP listener. When changing this port, also update HTTP_PORT in
mudlib/include/net/http.h so the LPC side (binaries.c routing)
agrees with what the driver actually binds. */
binary_port = ([ "*":8080 ]);
/* base directory (MUST be absolute) */
directory = "/opt/mud/hexagon/mudlib";
users = 40; /* max # of users */
editors = 40; /* max # of editor sessions */
ed_tmpfile = "./tmp/ed"; /* proto editor tmpfile */
swap_file = "./tmp/swap"; /* swap file */
swap_size = 8192; /* # sectors in swap file */
sector_size = 512; /* swap sector size */
swap_fragment = 32; /* fragment to swap out */
static_chunk = 262144; /* static memory chunk (256 KB) */
dynamic_chunk = 1048576; /* dynamic memory chunk (1 MB) */
dump_file = "./tmp/snapshot"; /* snapshot file */
dump_interval = 3600; /* snapshot interval in seconds */
/*
* dgd-extensions modules. The mudlib relies on the `sprintf` extension
* being loaded (the LPC sprintf in lib/core/efuns/strings/sprintf/ is
* disabled in favour of the C kfun); without it the auto-object will
* fail to compile.
*
* The path below is where `dgd/Dockerfile` stages the extension inside
* the container image; it is also the canonical production path. For
* a local stand-alone build, edit this in your local config.dgd to the
* absolute path of your dgd-extensions build directory.
*/
modules = ([
"/opt/mud/extensions/sprintf.1.5" : ""
]);
hotboot = ({ "../bin/dgd", /* hotboot binary */
"../bin/config.dgd", /* hotboot config file */
"./tmp/snapshot",
"./tmp/snapshot.old" });
/* highest level of typechecking */
typechecking = 2;
/* the next paths are relative to the previously defined 'directory' */
/* standard include file */
include_file = "/include/std.h";
/* directories to search */
include_dirs = ({ "/include" });
/* auto inherited object */
auto_object = "/lib/core/auto";
/* driver object */
driver_object = "/lib/core/driver";
/* name of create function */
create = "_auto_create";
array_size = 10000; /* max array size */
objects = 10000; /* max # of objects */
call_outs = 1000; /* max # of call_outs */