forked from agata-wod/wod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpol.cfg
308 lines (248 loc) · 7.71 KB
/
pol.cfg
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
#############################################################################
## Basic Configuration
#############################################################################
#
# Port and encryption settings now handled in UOCLIENT.CFG
#
#
# UoDataFileRoot: where the UO client files are located.
# Used by UOConvert.exe to find map, multi, tiledata, statics, etc. files.
#
UoDataFileRoot=C:\Games\RPG\Ultima Online Classic
#
# Used to tell POL where to look for the server data.
# Defaults to 'data' from where pol.exe is started.
#
WorldDataPath=data/
#
# Used to tell POL where to look for the realm data that was made by uoconvert.
# Defaults to 'realm/' from where pol.exe is started.
#
RealmDataPath=realm/
#
# RetainCleartextPasswords: If you select this, the server will save plain passwords
# in the accounts.txt file. If you set it to 0, all will be erased. You can get them back
# by changing this back to 1 and successfully logging into the account (for each account)
#
RetainCleartextPasswords=1
MaxTileID=0xffff
#############################################################################
## Logon and Logoff
#############################################################################
#
# MinCmdlevelToLogin: Only characters with this command level or higher
# log in. (ex: 0=player,5=admin)
#
MinCmdlevelToLogin=0
#
# MinCmdLvlToIgnoreInactivity: Sets the minimum command level a character can have to be excluded
# from timing out due to inactivity. Default is 0 (No one times out)
#
MinCmdLvlToIgnoreInactivity=1
#
# InactivityWarningTimeout: Time in minutes until the user gets a "you are
# about to be disconnected" message
#
InactivityWarningTimeout=500
#
# InactivityDisconnectTimeout: Idle Time in minutes before the user is
# disconnected.
#
InactivityDisconnectTimeout=600
#
# MaximumClients: Sets the total number of clients allowed to connect at
# one time.
MaximumClients=500
#
# CharacterSlots: Sets the maximum number of characters per account.
# Default is 5. Some clients support 6.
#
CharacterSlots=7
#
# MaximumClientsBypassCmdLevel: Sets the character command level that bypasses the
# MaximumClients limiter
#
MaximumClientsBypassCmdLevel=1
#############################################################################
## System Profiling and Performance
#############################################################################
#
# LogLevel:
#
LogLevel=11
#
# DebugLevel:
#
DebugLevel=6
#
# WatchRPM: display the RPM counter to console every minute
#
WatchRPM=1
#
# WatchSysLoad: display the Sysload counter to console every minute
#
WatchSysLoad=1
#
# LogSysLoad: log sysload to pol.log every minute
#
LogSysLoad=1
#
# LogScriptCycles: Write profiling information on scripts to pol.log on exit
#
LogScriptCycles=1
#
# RunawayScriptThreshold: a script executing this many instructions without
# sleeping will be reported as a runaway script
#
RunawayScriptThreshold=20000
#
# ReportRunToCompletionScripts: Print "run to completion" scripts that are running
#
ReportRunToCompletionScripts=0
#
# ReportCriticalScripts: Print "critical" scripts that are running
#
ReportCriticalScripts=0
#
# MaxCallDepth: Maximum function call depth for scripts
#
MaxCallDepth=100
#############################################################################
## Debugging
#############################################################################
#
# DebugPort: TCP/IP port to listen for debugger connections
#
DebugPort=5001
#
# DebugPassword: Password for debugging
# If none is specified, no password is required.
DebugPassword=debugme
#
# DebugLocalOnly: Only allow access from localhost
#
DebugLocalOnly=1
#
# CacheInteractiveScripts: if 0, always load interactive scripts from disk
# Useful for script development
#
CacheInteractiveScripts=1
#
# EnableAssertions: For Linux build only, enable core assertions
#
EnableAssertions=1
#
# AssertionFailureAction
# abort/continue/shutdown/shutdown-nosave
# abort: (like old behavior) aborts immediately, without saving data.
# continue: allows execution to continue.
# shutdown: attempts graceful shutdown
# shutdown-nosave: attempts graceful shutdown, without saving data.
#
AssertionFailureAction=continue
#
# DumpStackOnAssertionFailure: will cause a stack backtrace to be generated when any assertion fails.
#
DumpStackOnAssertionFailure=1
#
# EnableDebugLog: Enable the script debug log (formerly known as pol.lg2)
#
EnableDebugLog=1
#
# MiniDumpType: type of crash dump created. values: small, variable, or large.
# Case sensative. Recommended is variable.
#
MiniDumpType=variable
#
# DisplayUnknownPackets: If a packet is unknown, it will be reported to the console.
#
DisplayUnknownPackets=1
#
# Verbose: Reports all incoming packets.
#
Verbose=0
#
# ShowSpeechColors: If enabled, reports the speech colors clients are using when they talk.
#
ShowSpeechColors=0
#############################################################################
## Integrated Web Server
#############################################################################
#
# WebServer: in multithread mode only, run the internal web server
# This may be a security risk. It's susceptible to DoS attacks.
# If someone knows a little about TCP/IP, they could cause you
# trouble if it's enabled.
#
WebServer=1
#
# WebServerPort: What TCP/IP port to listen for web requests
#
WebServerPort=5003
#
# WebServerLocalOnly: Only allow access from localhost
#
WebServerLocalOnly=0
#
# WebServerDebug: Print trace information about http requests
#
WebServerDebug=1
#
# WebServerPassword: username/password required for access to the web server.
# If not specified, no password is required.
# WebServerPassword=username:password
#
WebServerPassword=
#############################################################################
## System Load and Save
#############################################################################
#
# CheckIntegrity: check for duplicate objects on startup
#
CheckIntegrity=0
#
# IgnoreLoadErrors: force load to continue even if object creations fail
# or containers cannot be found.
#
IgnoreLoadErrors=1
#
# InhibitSaves: Don't ever save world state
#
InhibitSaves=0
#############################################################################
## Features
#############################################################################
#
# RequireSpellbooks: Require spellbooks for casting (in hand or in pack)
#
RequireSpellbooks=1
#
# EnableSecureTrading: if you enable this, see changes.txt regarding an entry
# that MUST be added to config/itemdesc.cfg
#
EnableSecureTrading=1
#############################################################################
## Experimental Options - Modify at your own risk
#############################################################################
#
# ExpLosChecksMap - prevents stuff like arrows from going through the 'black'
# areas in dungeons.
#
ExpLosChecksMap=1
#############################################################################
## Treading Settings - Do not modify unless necessary.
#############################################################################
#
# Multithread: use multiple threads to lower CPU usage
# If you are using Linux 2.4.*, set this to 1.
#
Multithread=1
#
# SelectTimeout: I/O sleep time
# Set to 0 for a dedicated server.
# Set to 10 for a non-dedicated server.
# Has no effect in multithread mode
#
SelectTimeout=0
# TimestampEveryLine 1/0 (default 0) if set every line in pol.log gets timestamp
TimestampEveryLine=0