Advertisement
Guest User

Untitled

a guest
Apr 8th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.00 KB | None | 0 0
  1. #############################################################################
  2. ## Basic Configuration
  3. #############################################################################
  4.  
  5. #
  6. # Port and encryption settings now handled in UOCLIENT.CFG
  7. #
  8.  
  9. #
  10. # UoDataFileRoot: where the UO client files are located.
  11. # Used by UOConvert.exe to find map, multi, tiledata, statics, etc. files.
  12. #
  13. UoDataFileRoot=C:\Program Files\EA Games\Ultima Online Mondain's Legacy
  14.  
  15. #
  16. # Used to tell POL where to look for the server data.
  17. # Defaults to 'data' from where pol.exe is started.
  18. #
  19. WorldDataPath=data/
  20.  
  21. #
  22. # Used to tell POL where to look for the realm data that was made by uoconvert.
  23. # Defaults to 'realm/' from where pol.exe is started.
  24. #
  25. RealmDataPath=realm/
  26.  
  27. #
  28. # RetainCleartextPasswords: If you select this, the server will save plain passwords
  29. # in the accounts.txt file. If you set it to 0, all will be erased. You can get them back
  30. # by changing this back to 1 and successfully logging into the account (for each account)
  31. #
  32. RetainCleartextPasswords=0
  33.  
  34. #############################################################################
  35. ## Logon and Logoff
  36. #############################################################################
  37.  
  38. #
  39. # MinCmdlevelToLogin: Only characters with this command level or higher
  40. # log in. (ex: 0=player,5=admin)
  41. #
  42. MinCmdlevelToLogin=0
  43.  
  44. #
  45. # MinCmdLvlToIgnoreInactivity: Sets the minimum command level a character can have to be excluded
  46. # from timing out due to inactivity. Default is 0 (No one times out)
  47. #
  48. MinCmdLvlToIgnoreInactivity=0
  49.  
  50. #
  51. # InactivityWarningTimeout: Time in minutes until the user gets a "you are
  52. # about to be disconnected" message
  53. #
  54. InactivityWarningTimeout=4
  55.  
  56. #
  57. # InactivityDisconnectTimeout: Idle Time in minutes before the user is
  58. # disconnected.
  59. #
  60. InactivityDisconnectTimeout=5
  61.  
  62. #
  63. # MaximumClients: Sets the total number of clients allowed to connect at
  64. # one time.
  65. MaximumClients=500
  66.  
  67. #
  68. # CharacterSlots: Sets the maximum number of characters per account.
  69. # Default is 5. Some clients support 6.
  70. #
  71. CharacterSlots=5
  72.  
  73. #
  74. # MaximumClientsBypassCmdLevel: Sets the character command level that bypasses the
  75. # MaximumClients limiter
  76. #
  77. MaximumClientsBypassCmdLevel=1
  78.  
  79. #############################################################################
  80. ## System Profiling and Performance
  81. #############################################################################
  82.  
  83. #
  84. # LogLevel:
  85. #
  86. LogLevel=11
  87.  
  88. #
  89. # DebugLevel:
  90. #
  91. DebugLevel=6
  92.  
  93. #
  94. # WatchRPM: display the RPM counter to console every minute
  95. #
  96. WatchRPM=1
  97.  
  98. #
  99. # WatchSysLoad: display the Sysload counter to console every minute
  100. #
  101. WatchSysLoad=1
  102.  
  103. #
  104. # LogSysLoad: log sysload to pol.log every minute
  105. #
  106. LogSysLoad=1
  107.  
  108. #
  109. # LogScriptCycles: Write profiling information on scripts to pol.log on exit
  110. #
  111. LogScriptCycles=1
  112.  
  113. #
  114. # RunawayScriptThreshold: a script executing this many instructions without
  115. # sleeping will be reported as a runaway script
  116. #
  117. RunawayScriptThreshold=20000
  118.  
  119. #
  120. # ReportRunToCompletionScripts: Print "run to completion" scripts that are running
  121. #
  122. ReportRunToCompletionScripts=0
  123.  
  124. #
  125. # ReportCriticalScripts: Print "critical" scripts that are running
  126. #
  127. ReportCriticalScripts=0
  128.  
  129. #
  130. # MaxCallDepth: Maximum function call depth for scripts
  131. #
  132. MaxCallDepth=100
  133.  
  134. #############################################################################
  135. ## Debugging
  136. #############################################################################
  137.  
  138. #
  139. # DebugPort: TCP/IP port to listen for debugger connections
  140. #
  141. DebugPort=3001
  142.  
  143. #
  144. # DebugPassword: Password for debugging
  145. # If none is specified, no password is required.
  146. DebugPassword=debugme
  147.  
  148. #
  149. # DebugLocalOnly: Only allow access from localhost
  150. #
  151. DebugLocalOnly=1
  152.  
  153. #
  154. # CacheInteractiveScripts: if 0, always load interactive scripts from disk
  155. # Useful for script development
  156. #
  157. CacheInteractiveScripts=1
  158.  
  159. #
  160. # EnableAssertions: For Linux build only, enable core assertions
  161. #
  162. EnableAssertions=1
  163.  
  164. #
  165. # AssertionFailureAction
  166. # abort/continue/shutdown/shutdown-nosave
  167. # abort: (like old behavior) aborts immediately, without saving data.
  168. # continue: allows execution to continue.
  169. # shutdown: attempts graceful shutdown
  170. # shutdown-nosave: attempts graceful shutdown, without saving data.
  171. #
  172. AssertionFailureAction=continue
  173.  
  174. #
  175. # DumpStackOnAssertionFailure: will cause a stack backtrace to be generated when any assertion fails.
  176. #
  177. DumpStackOnAssertionFailure=1
  178.  
  179. #
  180. # EnableDebugLog: Enable the script debug log (formerly known as pol.lg2)
  181. #
  182. EnableDebugLog=1
  183.  
  184. #
  185. # MiniDumpType: type of crash dump created. values: small, variable, or large.
  186. # Case sensative. Recommended is variable.
  187. #
  188. MiniDumpType=variable
  189.  
  190. #
  191. # DisplayUnknownPackets: If a packet is unknown, it will be reported to the console.
  192. #
  193. DisplayUnknownPackets=1
  194.  
  195. #
  196. # Verbose: Reports all incoming packets.
  197. #
  198. Verbose=0
  199.  
  200. #
  201. # ShowSpeechColors: If enabled, reports the speech colors clients are using when they talk.
  202. #
  203. ShowSpeechColors=0
  204.  
  205. #############################################################################
  206. ## Integrated Web Server
  207. #############################################################################
  208.  
  209. #
  210. # WebServer: in multithread mode only, run the internal web server
  211. # This may be a security risk. It's susceptible to DoS attacks.
  212. # If someone knows a little about TCP/IP, they could cause you
  213. # trouble if it's enabled.
  214. #
  215. WebServer=1
  216.  
  217. #
  218. # WebServerPort: What TCP/IP port to listen for web requests
  219. #
  220. WebServerPort=8008
  221.  
  222. #
  223. # WebServerLocalOnly: Only allow access from localhost
  224. #
  225. WebServerLocalOnly=0
  226.  
  227. #
  228. # WebServerDebug: Print trace information about http requests
  229. #
  230. WebServerDebug=1
  231.  
  232. #
  233. # WebServerPassword: username/password required for access to the web server.
  234. # If not specified, no password is required.
  235. # WebServerPassword=username:password
  236. #
  237. WebServerPassword=
  238.  
  239. #############################################################################
  240. ## System Load and Save
  241. #############################################################################
  242.  
  243. #
  244. # CheckIntegrity: check for duplicate objects on startup
  245. #
  246. CheckIntegrity=0
  247.  
  248. #
  249. # IgnoreLoadErrors: force load to continue even if object creations fail
  250. # or containers cannot be found.
  251. #
  252. IgnoreLoadErrors=1
  253.  
  254. #
  255. # InhibitSaves: Don't ever save world state
  256. #
  257. InhibitSaves=0
  258.  
  259.  
  260.  
  261. #############################################################################
  262. ## Features
  263. #############################################################################
  264.  
  265. #
  266. # RequireSpellbooks: Require spellbooks for casting (in hand or in pack)
  267. #
  268. RequireSpellbooks=1
  269.  
  270. #
  271. # EnableSecureTrading: if you enable this, see changes.txt regarding an entry
  272. # that MUST be added to config/itemdesc.cfg
  273. #
  274. EnableSecureTrading=1
  275.  
  276. #############################################################################
  277. ## Experimental Options - Modify at your own risk
  278. #############################################################################
  279.  
  280. #
  281. # ExpLosChecksMap - prevents stuff like arrows from going through the 'black'
  282. # areas in dungeons.
  283. #
  284. ExpLosChecksMap=1
  285.  
  286.  
  287. #############################################################################
  288. ## Treading Settings - Do not modify unless necessary.
  289. #############################################################################
  290.  
  291. #
  292. # Multithread: use multiple threads to lower CPU usage
  293. # If you are using Linux 2.4.*, set this to 1.
  294. #
  295. Multithread=1
  296.  
  297. #
  298. # SelectTimeout: I/O sleep time
  299. # Set to 0 for a dedicated server.
  300. # Set to 10 for a non-dedicated server.
  301. # Has no effect in multithread mode
  302. #
  303. SelectTimeout=0
  304.  
  305. # TimestampEveryLine 1/0 (default 0) if set every line in pol.log gets timestamp
  306. TimestampEveryLine=0
  307.  
  308.  
  309. servers.cfg
  310.  
  311. #####################################
  312. #
  313. # SERVERS.CFG: Loginserver configuration data on Gameservers
  314. #
  315. # Entries can contain the following properties:
  316. # Name Display name shown on login screen
  317. # IP IP Address of game server
  318. # Note: --ip-- uses your "Internet IP" address
  319. # --lan-- uses your "LAN IP" address
  320. # Otherwise, must be a numerical IP address.
  321. # Port Listening port of Gameserver
  322. # Note: This does not configure the server to actually
  323. # listen at that port - POL.CFG specifies that.
  324. # IPMatch IPAddr/Mask
  325. # If IPMatch lines are present for a server, that server
  326. # will only be displayed to clients connecting from IP
  327. # addresses matching those specified
  328. #
  329. #####################################
  330.  
  331. GameServer POL-WAN
  332. {
  333. Name POL Server
  334. IP 127.0.0.1
  335. Port 5003
  336. }
  337.  
  338. uoclient.cfg
  339.  
  340. # Protocol
  341. # {
  342. # # EnableFlowControlPackets: use the 0x33 (0x00 / 0x01) pause/restart packets.
  343. # # Though OSI seems to no longer send these packets, they seem to help with smoothness,
  344. # # particularly with boat movement.
  345. # # NOTE: causes clients 4.0.0e and newer to fail login
  346. # EnableFlowControlPackets 1
  347. # }
  348. #
  349. # Listener
  350. # {
  351. # Port (int port number 1024..65535)
  352. # Encryption (string encryption type)
  353. # }
  354. #
  355. # Explanation:
  356. # The Protocol and Listener sections are optional.
  357. # Each Listener section allows you to listen for different client encryption types on different ports.
  358. # This means you can listen for "1.26.4" clients on port 5003 and "ignition" clients on port 5555.
  359. # Valid encryption types are found in the pol.cfg section. If you use Listeners set ListenPort
  360. # in pol.cfg to 0.
  361.  
  362. Protocol Protocol
  363. {
  364. EnableFlowControlPackets 0
  365. }
  366.  
  367. Listener
  368. {
  369. Port 5003
  370. Encryption none
  371. AOSResistances 0
  372. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement