Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #############################################################################
- ## 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:\Program Files\EA Games\Ultima Online Mondain's Legacy
- #
- # 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=0
- #############################################################################
- ## 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=0
- #
- # InactivityWarningTimeout: Time in minutes until the user gets a "you are
- # about to be disconnected" message
- #
- InactivityWarningTimeout=4
- #
- # InactivityDisconnectTimeout: Idle Time in minutes before the user is
- # disconnected.
- #
- InactivityDisconnectTimeout=5
- #
- # 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=5
- #
- # 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=3001
- #
- # 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=8008
- #
- # 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
- servers.cfg
- #####################################
- #
- # SERVERS.CFG: Loginserver configuration data on Gameservers
- #
- # Entries can contain the following properties:
- # Name Display name shown on login screen
- # IP IP Address of game server
- # Note: --ip-- uses your "Internet IP" address
- # --lan-- uses your "LAN IP" address
- # Otherwise, must be a numerical IP address.
- # Port Listening port of Gameserver
- # Note: This does not configure the server to actually
- # listen at that port - POL.CFG specifies that.
- # IPMatch IPAddr/Mask
- # If IPMatch lines are present for a server, that server
- # will only be displayed to clients connecting from IP
- # addresses matching those specified
- #
- #####################################
- GameServer POL-WAN
- {
- Name POL Server
- IP 127.0.0.1
- Port 5003
- }
- uoclient.cfg
- # Protocol
- # {
- # # EnableFlowControlPackets: use the 0x33 (0x00 / 0x01) pause/restart packets.
- # # Though OSI seems to no longer send these packets, they seem to help with smoothness,
- # # particularly with boat movement.
- # # NOTE: causes clients 4.0.0e and newer to fail login
- # EnableFlowControlPackets 1
- # }
- #
- # Listener
- # {
- # Port (int port number 1024..65535)
- # Encryption (string encryption type)
- # }
- #
- # Explanation:
- # The Protocol and Listener sections are optional.
- # Each Listener section allows you to listen for different client encryption types on different ports.
- # This means you can listen for "1.26.4" clients on port 5003 and "ignition" clients on port 5555.
- # Valid encryption types are found in the pol.cfg section. If you use Listeners set ListenPort
- # in pol.cfg to 0.
- Protocol Protocol
- {
- EnableFlowControlPackets 0
- }
- Listener
- {
- Port 5003
- Encryption none
- AOSResistances 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement