blob: 2ba37b17ffcb5b1c7b96203e2327ef6defb9a0c2 (
plain) (
blame)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
--- utils/environment.h.orig Sat Feb 9 15:43:33 2002
+++ utils/environment.h Sat Feb 9 15:52:31 2002
@@ -16,9 +16,9 @@
#ifdef BN2_FULLVERSION
#define BUNGIE_NET_ADMINISTRATOR "nobody"
- #define METASERVER_ROOT_DIR "C:\\WINNT"
- #define MOTD_FILE_NAME "motd"
- #define UPGRADE_PORT "-1" // obsolete
+ #define METASERVER_ROOT_DIR "/usr/local/share/mythserver"
+ #define MOTD_FILE_NAME "motd"
+ #define UPGRADE_PORT "-1" // obsolete
#ifndef USERD_HOST
#warning USERD_HOST set to <insert your static ip here>
#define USERD_HOST "127.0.0.1" // <insert your static ip here>
@@ -27,29 +27,29 @@
#define USERD_ROOM_PORT "6323"
#define USERD_WEB_PORT "6322"
#define USERD_US_PORT "-1"
- #define DB_DIRECTORY "C:\\WINNT"
- #define ORDERS_DB_FILE_NAME "C:\\WINNT\\explorer.exe"
- #define USERS_DB_FILE_NAME "C:\\WINNT\\explorer.exe"
- #define UPDATE_FILE_NAME "C:\\WINNT\\explorer.exe"
- #define UPDATE_DIRECTORY "C:\\WINNT\\"
- #define LOG_DIRECTORY "C:\\WINNT\\"
+ #define DB_DIRECTORY "/usr/local/share/mythserver/db/"
+ #define ORDERS_DB_FILE_NAME "orders.dat"
+ #define USERS_DB_FILE_NAME "users.dat"
+ #define UPDATE_FILE_NAME "update.dat"
+ #define UPDATE_DIRECTORY "/usr/local/share/mythserver/update/"
+ #define LOG_DIRECTORY "/usr/local/share/mythserver/log/"
#define ROOMS_LIST_FILE "rooms.lst"
#define DEFAULT_APPLE_DOUBLE_DIRECTORY ".AppleDouble"
- #define RESOURCE_DIRECTORY "System Folder"
- #define PC_APP_NAME "Myth2.exe"
+ #define RESOURCE_DIRECTORY "System Folder"
+ #define PC_APP_NAME "Myth2.exe"
#define PC_NET_ONLY_APP_NAME "obsolete"
- #define PC_UPDATE_APP_NAME "obsolete.exe"
+ #define PC_UPDATE_APP_NAME "obsolete.exe"
#define PC_NET_ONLY_UPDATE_APP_NAME "obsolete"
- #define MAC_APP_NAME "obsolete"
+ #define MAC_APP_NAME "obsolete"
#define MAC_NET_ONLY_APP_NAME "obsolete"
- #define MAC_UPDATE_APP_NAME "obsolete"
+ #define MAC_UPDATE_APP_NAME "obsolete"
#define MAC_NET_ONLY_UPDATE_APP_NAME "obsolete"
#define PATCH_FILE_NAME "obsolete"
#define ADMIN_LOG_FILE_NAME "adminlog.txt"
#define UPDATE_SERVER_STATS_FILE_PATH "./"
#elif defined(BN2_DEMOVERSION)
#define BUNGIE_NET_ADMINISTRATOR "nobody"
- #define METASERVER_ROOT_DIR "C:\\WINNT"
+ #define METASERVER_ROOT_DIR "/usr/local/share/mythserver"
#define MOTD_FILE_NAME "motd"
#define UPGRADE_PORT "-1" // obsolete
#ifndef USERD_HOST
@@ -60,44 +60,44 @@
#define USERD_ROOM_PORT "6333"
#define USERD_WEB_PORT "6332"
#define USERD_US_PORT "6334"
- #define DB_DIRECTORY "C:\\WINNT"
- #define ORDERS_DB_FILE_NAME "C:\\WINNT\\explorer.exe"
- #define USERS_DB_FILE_NAME "C:\\WINNT\\explorer.exe"
- #define UPDATE_FILE_NAME "C:\\WINNT\\explorer.exe"
- #define UPDATE_DIRECTORY "C:\\WINNT\\"
- #define LOG_DIRECTORY "C:\\WINNT\\"
+ #define DB_DIRECTORY "/usr/local/share/mythserver/db"
+ #define ORDERS_DB_FILE_NAME "orders.dat"
+ #define USERS_DB_FILE_NAME "users.dat"
+ #define UPDATE_FILE_NAME "update.dat"
+ #define UPDATE_DIRECTORY "/usr/local/share/mythserver/update/"
+ #define LOG_DIRECTORY "/usr/local/share/mythserver/log/"
#define ROOMS_LIST_FILE "rooms.lst"
#define DEFAULT_APPLE_DOUBLE_DIRECTORY ".AppleDouble"
- #define RESOURCE_DIRECTORY "System Folder"
- #define PC_APP_NAME "Myth2.exe"
- #define PC_NET_ONLY_APP_NAME "obsolete"
- #define PC_UPDATE_APP_NAME "obsolete.exe"
- #define PC_NET_ONLY_UPDATE_APP_NAME "obsolete"
- #define MAC_APP_NAME "obsolete"
- #define MAC_NET_ONLY_APP_NAME "obsolete"
- #define MAC_UPDATE_APP_NAME "obsolete"
+ #define RESOURCE_DIRECTORY "System Folder"
+ #define PC_APP_NAME "Myth2.exe"
+ #define PC_NET_ONLY_APP_NAME "obsolete"
+ #define PC_UPDATE_APP_NAME "obsolete.exe"
+ #define PC_NET_ONLY_UPDATE_APP_NAME "obsolete"
+ #define MAC_APP_NAME "obsolete"
+ #define MAC_NET_ONLY_APP_NAME "obsolete"
+ #define MAC_UPDATE_APP_NAME "obsolete"
#define MAC_NET_ONLY_UPDATE_APP_NAME "obsolete"
- #define PATCH_FILE_NAME "obsolete"
- #define ADMIN_LOG_FILE_NAME "adminlog.txt"
+ #define PATCH_FILE_NAME "obsolete"
+ #define ADMIN_LOG_FILE_NAME "adminlog.txt"
#define UPDATE_SERVER_STATS_FILE_PATH "./"
#endif
#define get_bungie_net_administrator() BUNGIE_NET_ADMINISTRATOR
- #define get_metaserver_root_dir() METASERVER_ROOT_DIR
- #define get_motd_file_name() MOTD_FILE_NAME
- #define get_upgrade_port() UPGRADE_PORT
- #define get_userd_host() USERD_HOST
- #define get_userd_port() USERD_PORT
- #define get_userd_room_port() USERD_ROOM_PORT
- #define get_userd_web_port() USERD_WEB_PORT
- #define get_userd_us_port() USERD_US_PORT
- #define get_db_directory() DB_DIRECTORY
- #define get_orders_db_file_name() ORDERS_DB_FILE_NAME
- #define get_users_db_file_name() USERS_DB_FILE_NAME
- #define get_update_file_name() UPDATE_FILE_NAME
- #define get_update_directory() UPDATE_DIRECTORY
- #define get_log_directory() LOG_DIRECTORY
- #define get_rooms_list_file() ROOMS_LIST_FILE
+ #define get_metaserver_root_dir() METASERVER_ROOT_DIR
+ #define get_motd_file_name() MOTD_FILE_NAME
+ #define get_upgrade_port() UPGRADE_PORT
+ #define get_userd_host() USERD_HOST
+ #define get_userd_port() USERD_PORT
+ #define get_userd_room_port() USERD_ROOM_PORT
+ #define get_userd_web_port() USERD_WEB_PORT
+ #define get_userd_us_port() USERD_US_PORT
+ #define get_db_directory() DB_DIRECTORY
+ #define get_orders_db_file_name() ORDERS_DB_FILE_NAME
+ #define get_users_db_file_name() USERS_DB_FILE_NAME
+ #define get_update_file_name() UPDATE_FILE_NAME
+ #define get_update_directory() UPDATE_DIRECTORY
+ #define get_log_directory() LOG_DIRECTORY
+ #define get_rooms_list_file() ROOMS_LIST_FILE
#define get_default_apple_double_directory() DEFAULT_APPLE_DOUBLE_DIRECTORY
#define get_resource_directory() RESOURCE_DIRECTORY
#define get_pc_app_name() PC_APP_NAME
|