背景:
阅读新闻

sphere.ini 55+ 的配置

[日期:2006-08-18] 来源:UO中国资料网  作者: [字体: ]
你得根据实际情况,做相应的更改,绝大部分只要按照默认值就可以了.切不可照抄, 

中文翻译:

[SPHERE] 
SERVNAME=HomeStead //服务器名字 
ADMINEMAIL=nyc@fun.21cn.com //admin email 
URL=uo.qu-zhou.com //主页url 
TIMEZONE=8 //时区调整 
SERVIP=127.0.0.1 //服务器IP 
SERVPORT=2593 //服务器port 
NTSERVICE=1 //是否做为nt service运行 
CLIENTVERSION=2.0.3.0 //客户端版本 
WORLDSAVE=e:\sphere55i\save //世界文件存放目录 
SCPFILES=e:\sphere55i\scripts\ //sciprts存放目录 
SCPINBOXDIR=e:\sphere55i\scripts\ //同上 
ACCTFILES=e:\sphere55i\accounts\ //帐号文件存放目录 
MULFILES=d:\game\Ultima Online\ //mul文件存放目录,一般就是你的UO客户端目录 
LOG=e:\sphere55i\logs\ //log文件存放目录,初始化没有的,自己建一个吧. 
REGPASS= //登记到spheresvr.com的密码 
REGISTERSERVER=menace.ne.mediaone.net //登记的url 
NOTES=Welcome to the Ultime Online Of HomeStead ! //欢迎词 
LANG=English //语种 
LIGHTDAY=0 //白天亮度 
LIGHTNIGHT=17 //晚上亮度 
DUNGEONLIGHT=23 //地城亮度 
GAMEMINUTELENGTH=180 //游戏中的一分钟相当于现实中的几秒 
ARRIVEDEPARTMSG=0 //关闭或打开玩家进入或退出的信息提示 
NOWEATHER=0 //打开或关闭天气 
CHARTAGS=0 //打开或关闭npc名字后的状态显示 
MOUNTHEIGHT=0 // 
STAMINALOSSATWEIGHT=150 //精力消失与人的负重的关系百分比 
RUNNINGPENALTY=100 //当人在跑时,增加的百分比 
BANKMAXITEMS=700 //银行的最大物品数 
BANKMAXWEIGHT=3000 //银行的最大重量 
FLIPDROPPEDITEMS=1 //丢下物品时是否进行翻转 
AUTONEWBIEKEYS=1 
PLAYERGHOSTSOUNDS=1 
CLIENTLINGER=10 //logout后,人物在游戏中滞留的秒数 
HITPOINTPERCENTONREZ=10 //复活后hits恢复的百分比 
MAXBASESKILL=0 //只有选择的技能,总和将在100,就是人物建立时给予的技能数 
REGEN1=5 //每恢复一点mana需要的秒数 
REGEN2=3 //每恢复一点stam需要的秒数 
REGEN3=1*60*24 
VENDORMAXSELL=30 //npc的最大售货量 
MONSTERFEAR=1 //怪物被伤后是否会逃跑 
MONSTERFIGHT=0 //怪物间是否互相残杀 
NPCTRAINMAX=300 //向npc学技能时能学到的最高技能数 
NPCTRAINPERCENT=30 //向npc学技能时最多能学到的百分比 
WOPPLAYER=1 
WOPSTAFF=0 
REAGENTLOSSFAIL=1 //施法失败是否要药材 
REAGENTSREQUIRED=1 
EQUIPPEDCAST=0 //双手非空时是否能施法 
MAGICUNLOCKDOOR=900 //打开魔法门需要的最少技能数 
CORPSENPCDECAY=5 //npc尸体消失时间 
CORPSEPLAYERDECAY=10 //玩家尸体消失时间 
DECAYTIMER=10 //垃圾消失时间 
ACCAPP=2 //帐号建立模式,2是在线注册,默认为7 
REQUIREEMAIL=1 //是否一定要email地址 
MINCHARDELETETIME=1*24*60 //玩家人物能被删除需要的最短时间 
MAXCHARSPERACCOUNT=2 //一个帐号能有几个ID 
GUESTSMAX=0 //guest帐号个数 
CLIENTMAX=256 //最大同时在线数 
SNOOPCRIMINAL=300 //偷看别人的包标记为罪犯的时间(秒) 
PLAYERNEUTRAL=-2000 //低时此值时,将会标记为灰名 
MURDERDECAYTIME=8*60*60 //在线减杀人数需要的时间 
MURDERMINCOUNT=4 //杀人数高于此数将会变成红名 
CRIMINALTIMER=3 //标记为罪犯的时间 
GUARDLINGER=1 //guard逗留时间 
GUARDSINSTANTKILL=1 //guard是否一击必杀 
HELPINGCRIMINALSISACRIME=1 
LOOTINGISACRIME=1 //解剖蓝名尸体是否标记为罪犯 
SAVEBACKGROUND=1 //是否后台存盘 
SAVEPERIOD=60 //存盘间隔 
BACKUPLEVELS=3 //备份级别 
VERBOSE=0 
LOGMASK=03f00 //log文件记录模式 
HEARALL=0 //是否在服务器监听所有对话 
SECTORSLEEP=7 
SECURE=1 //服务器端的安全模式 
PROFILE=0 
MAPCACHETIME=120 //在内存保存最近多少时间之内的地图数据 
FREEZERESTARTTIME=60 
MAXCOMPLEXITY=16 //在同一屏幕内显示几个npc的名字 
DEBUGFLAGS=0 //是否打开debug模式 
FORCEGARBAGECOLLECT=1 //在服务器存盘时是否自动清除无效的物品 
DEADSOCKETTIME=10 
POLLSERVERS=15 
[Blockip] 
1.2.3.4 
[BLOCKEMAIL] 
@hotmail.com 
[WEBPAGE 1] 
WEBPAGESRC=e:\sphere55i\web\spherestatusbase.html 
WEBPAGEFILE=e:\sphere55i\web\status.html 
WEBCLIENTLISTFORM=<tr><td>%NAME%\t</td><td>%REGION.NAME%\t</td></tr>\n 
WEBSERVERLISTFORM=<tr><td>%URLLINK%</td><td>%STATUS%</td></tr> 
WEBPAGEUPDATE=60 
PLEVEL=0 
[SERVERS] 
[EOF] 



文件内容:


//MENASOFT: SPHERE 
//All SPHERE script files and formats are copyright 1997-2001 Menasoft and Partners. 
//This file may be edited for personal use, but may not be distributed in whole or in part, in any format. 
//All donations and contributions become the property of Menasoft. 
// 
// Values: 
// <string> Any alphanumeric string 
// <html> An HTML tag 
// <path> A valid complete path on a hard drive 
// <boolean> 0 (off, false, no) or 1 (on, true, yes) 
// x, x1, etc a numeric integer value 
// <hex> a hexadecimal bit field 
// % 0-100 

[SPHERE] 

//######################################################################################### 
//# Basic Sphere Info # 
//######################################################################################### 
// SERVNAME=<string> 
// Specifys the name of your server. Player's will see this upon login and 
// also this is the name the web interface will use. 
SERVNAME=test 

// ADMINEMAIL=<string> 
// The e-mail address (if any) of the contact person or shard administrator 
ADMINEMAIL=zjphome@sina.com 

// URL=<string> 
// The URL (web address) if any for the shard. 
// Reported on the main server list for this server. 
URL=uo2.8u8.com 

// TIMEZONE=x 
// The local timezone, hours offset from Greenwhich, England, UK 
// x = a number from -12 to +12 
// EST = 5. CST = 6, etc 
TIMEZONE=5 

//######################################################################################### 
//# System configuration # 
//######################################################################################### 
// SERVIP=x1.x2.x3.x4 
// This should always be set to 127.0.0.1. If you put an IP in here that 
// isn't physically on your computer, Sphere will not be able to bind the port. 
SERVIP=127.0.0.1 

// SERVPORT=x 
// Port number the sever is running on. The standard port number for 
// almost all SPHERE shards is 2593 
SERVPORT=2000 

// NTSERVICE=<boolean> 
// Makes the server run as an NT service when run on 
// Windows NT 4.0 and Windows 2000 machines 
// DOES NOT WORK ON WINDOWS 9x MACHINES 
NTSERVICE=0 

// CLIENTVERSION=<string> 
// String describing what clients can log into this shard 
// SPHEREClient can ALWAYS log onto a SPHERE shard 
//CLIENTVERSION=1.26.01 
//CLIENTVERSION=2.0.0.0 

//######################################################################################### 
//# File System # 
//######################################################################################### 
// WORLDSAVE=<path> 
// The complete path to the directory where you want the server to keep 
// the SPHEREWORLD.SCP file (and all backups). 
WORLDSAVE=d:\sphere01\save 

// SCPFILES=<path> 
// The complete path to the directory where you have all the run time script 
// files for SPHERE 
SCPFILES=d:\sphere01\scripts\ 

SCPINBOXDIR=d:\sphere01\scripts\ 

// ACCTFILES=<path> 
// Complete path to where on your hard drive you want the server to 
// read and store/backup the account files 
ACCTFILES=d:\sphere01\accounts\ 

// MULFILES=<path> 
// The complete path to the directory where UO is installed. 
// The default location for non-T2A installations is C:\UO 
// The default location for T2A installations is C:\Program Files\Ultima Online 
MULFILES=C:\Program Files\Ultima Online 

// LOG=<path> 
// The complete path to the directory where you want the server to keep 
// the log files. 
LOG=d:\sphere01\logs\ 

//######################################################################################### 
//# Listing the sphere # 
//######################################################################################### 
//REGISTERFLAG=?? 

// REGPASS=<string> password to reserve my server name on the registration server. 
REGPASS= 

// REGISTERSERVER=<string> 
// A string containing the machine name and network name for central server 
// listing 
REGISTERSERVER=menace.ne.mediaone.net 

// NOTES=<string> Anything I want to say about this server on the registration board. 
NOTES= 

// LANG=English // The primary language for this server. 
LANG=chinese 

//######################################################################################### 
//# In Game Environment # 
//######################################################################################### 
// LIGHTDAY=x 
// Light level to use at day 
// Valid ranges: 0-19, 0 = brightest, 19 = darkest (in t2a clients, 30=darkest) 
LIGHTDAY=0 

// LIGHTNIGHT=x 
// Light level to use at night 
// Valid ranges: 0-19, 0 = brightest, 19 = darkest (in t2a clients, 30=darkest) 
LIGHTNIGHT=18 

// Light level to use in dungeons 
// Valid ranges: 0-19, 0 = brightest, 19 = darkest (in t2a clients, 30=darkest) 
DUNGEONLIGHT=19 

// GAMEMINUTELENGTH=x 
// Length of the game world minute in real world seconds. 
GAMEMINUTELENGTH=60 

// ARRIVEDEPARTMSG=<boolean> 
// Switch to turn the arrival and departure messages on and off 
ARRIVEDEPARTMSG=1 

// NOWEATHER=<boolean> 
// Turns on/off in game weather effects 
NOWEATHER=1 

// CHARTAGS=<boolean> 
// Switch turning on and off the [NPC] in NPC names 
CHARTAGS=0 

// MOUNTHEIGHT=x 
// The height at which a mounted person clears ceilings. 0 = not checked. 
MOUNTHEIGHT=0 

//######################################################################################### 
//# In Game Physics # 
//######################################################################################### 
// STAMINALOSSATWEIGHT=x 
// This is the percent of max weight at which stamina is lost half the time. 
// If set to 200 it is effectively removed from effect. If this is set to 100, then 
// stamina will be lost for every other step when at 100% load. 
// The standard deviation on this is 10 % ... the chance is halved for a change 
// of 10% i.e.. if set to 100 then the chance at 90% load is 25% or you will lose 
// stamina every 4th step. 
STAMINALOSSATWEIGHT=180 

// RUNNINGPENALTY=x 
// % to add when running. (50 default) (0 = no effect). 
// When running the weight acts as if it has been increased 
// by this percent 
RUNNINGPENALTY=120 

// BANKMAXITEMS=x 
// Maximum number of items players can keep in their bank boxes 
BANKMAXITEMS=300 

// BANKMAXWEIGHT=x 
// Maximum weight in stones players can have in the bank boxes 
BANKMAXWEIGHT=100000 

// FLIPDROPPEDITEMS=<boolean> 
// Turns on/off dropped object flipping 
FLIPDROPPEDITEMS=0 

AUTONEWBIEKEYS=1 

PLAYERGHOSTSOUNDS=1 

// CLIENTLINGER=x 
// Time in seconds for a client to linger in the game before complete logout of their character 
CLIENTLINGER=55 

// HITPOINTPERCENTONREZ=% 
// % of maximum potential hitpoints a player receives when resurrected 
HITPOINTPERCENTONREZ=10 

MAXBASESKILL=200 

// REGEN1=x 
// Time in seconds for mana regeneration 
REGEN1=30 

// REGEN2=x 
// Time in seconds for stamina regeneration 
REGEN2=10 

// REGEN3=x 
// Time in minutes for food regeneration 
// Default = 1*60*24 (1 days of real life time) 
REGEN3=1*60*24 

//######################################################################################### 
//# In Game NPC control # 
//######################################################################################### 
// VENDORMAXSELL=x 
// Maximun number of items to sell to any one person at a time. 
VENDORMAXSELL=10 

// MONSTERFEAR=<boolean> 
// Turns on/off weather some monsters will run away if hurt 
MONSTERFEAR=0 

// MONSTERFIGHT=<boolean> 
// Switch for weather or not monsters will fight each other 
MONSTERFIGHT=1 

// NPCTRAINMAX=x 
// MAximum absolute skill an NPC will train a player up to 
NPCTRAINMAX=300 

// NPCTRAINPERCENT=% 
// Maximum percentage of skill an NPC trainer can train up to. 
NPCTRAINPERCENT=30 

//######################################################################################### 
//# In Game Magic # 
//######################################################################################### 
// WOPPLAYER=<boolean> 
// Switch for if Words Of Power are emoted by players 
WOPPLAYER=0 

// WOPSTAFF=<boolean> 
// Switch for if Words Of Power are emoted by shard staff (GM's, Counselors, etc) 
WOPSTAFF=0 

// REAGENTLOSSFAIL=<boolean> 
// Switch for reagent consumption upon spell cast failure 
REAGENTLOSSFAIL=1 

// REAGENTSREQUIRED=<boolean> 
// Switch for weather or not reagents are required for casting spells 
REAGENTSREQUIRED=1 

// EQUIPPEDCAST=<boolean> 
// Turns on/off casting spells while equiped 
EQUIPPEDCAST=0 

// MAGICUNLOCKDOOR=x 
// Amount of skill of lock picking needed to unlock a magically locked door 
MAGICUNLOCKDOOR=900 

//######################################################################################### 
//# In Game Decay # 
//######################################################################################### 
// CORPSENPCDECAY=x 
// Time in minutes it takes for an NPC's corpse to decay 
CORPSENPCDECAY=5 

// CORPSEPLAYERDECAY=x 
// Time in minutes it takes for a player's corpse to decay 
CORPSEPLAYERDECAY=5 

// DECAYTIMER=x 
// Time in minutes for items to decay 
DECAYTIMER=8 

//######################################################################################### 
//# Account Policy # 
//######################################################################################### 
// ACCAPP=# Account application process. 
// 0=Closed, // Closed. Not accepting more. 
// 1=EmailApp, // Must send email to apply. 
// 2=Free, // Anyone can just log in and create a full account. 
// 3=GuestAuto, // You get to be a guest and are automatically sent email with u're new password. 
// 4=GuestTrial, // You get to be a guest til u're accepted for full by an Admin. 
// 5=Other, // specified but other ? 
// 6=Unspecified, // Not specified. 
// 7=WebApp, // Must fill in a web form and wait for email response 
// 8=WebAuto, // Must fill in a web form and automatically have access 
ACCAPP=2 

REQUIREEMAIL=0 

// MINCHARDELETETIME=x 
// Time in minute before a newly created character can be deleted 
// Default = 3*24*60 (3 days of real life time) 
MINCHARDELETETIME=3*24*60 

// MAXCHARSPERACCOUNT=x 
// Maximum number from 1 to 5 of how many characters are allowed per account 
MAXCHARSPERACCOUNT=2 

// GUESTSMAX=x 
// Maximum number of guest allowed 
GUESTSMAX=0 

// CLIENTMAX=x 
// Maximum number of concurrent clients allowed to log in at once 
CLIENTMAX=100 

//LOCALIPADMIN= 

//######################################################################################### 
//# Criminal Fame Karma Murder System # 
//######################################################################################### 
// SNOOPCRIMINAL=x 
// Time in seconds a player is flagged criminal for snooping another NPC or player 
SNOOPCRIMINAL=30 

// PLAYERNEUTRAL=x 
// A number from -10000 to 10000 
// Sets the level of karma at which a player becomes a neutral (gray) player 
PLAYERNEUTRAL=-2000 

// MURDERDECAYTIME=x 
// Time in seconds for each murder count to decay 
// Default MURDERDECAYTIME=8*60*60 (8 hours) 
MURDERDECAYTIME=8*60*60 

// MURDERMINCOUNT=x 
// Number of player murder counts before a player will be flagged a murderer 
MURDERMINCOUNT=8 

// CRIMINALTIMER=x 
// Time in minutes a player will be flagged criminal 
CRIMINALTIMER=1 

// GUARDLINGER=x 
// Time in minutes the guards will hang around for after responding to 
// a criminal activity 
GUARDLINGER=1 

// GUARDSINSTANTKILL=<boolean> 
// Switch to turn insta-kill guards on and off 
GUARDSINSTANTKILL=1 

// HELPINGCRIMINALSISACRIME=<boolean> 
// Turns on/off if doing something beneficial for a red/gray/neutral player flags 
// the do gooder a criminal 
HELPINGCRIMINALSISACRIME=1 

// LOOTINGISACRIME=<boolean> 
// Turns on and off weather looting or carving a blue (non criminal/good) 
// corpse will flagged a player criminal 
LOOTINGISACRIME=1 

//######################################################################################### 
//# Game Save # 
//######################################################################################### 
// SAVEBACKGROUND=<boolean> 
// Switch to turn on/off background type saves to the TUSWorld.scp and account files 
SAVEBACKGROUND=1 

// SAVEPERIOD=x 
// Time in minutes between automatic background world saves 
SAVEPERIOD=30 

// WRITENUMIDS= 

// BACKUPLEVELS=x 
// How many 'tiers' of backups you want the sever to make. 
BACKUPLEVELS=3 

//######################################################################################### 
//# Logging # 
//######################################################################################### 
// VERBOSE=<boolean> 
// Verbose mode switch. 
VERBOSE=0 

// LOGMASK=<hex> 
// Messages logged to the log files while logging is turned on 
// INIT 0x0100 start up messages. 
// SAVE 0x0200 world save status. 
// CLIENTS_LOG 0x0400 all clients as they log in and out. 
// GM_PAGE 0x0800 player gm pages. 
// PLAYER_SPEAK 0x1000 All that the players say. 
// GM_CMDS 0x2000 Log all GM commands. 
// LOGMASK=0200 
LOGMASK=0x0200 

// HEARALL=<boolean> 
// Switch for weather or not all player text is echo'd to the server console 
HEARALL=0 

//######################################################################################### 
//# Debug and Optimization # 
//######################################################################################### 
//USEIRC=? 

// SECTORSLEEP=x 
// Value from 1 to 32 (sleep longer) 
SECTORSLEEP=7 

// SECURE=<boolean> 
// Server start console mode secure status switch 
SECURE=1 

// PROFILE=<boolean> 
// Time profile debugging switch. 
PROFILE=0 

// MAPCACHETIME=x 
// Time in seconds to keep unused map data. 
// (This is an advanced setting and should not need adjusting) 
MAPCACHETIME=120 

// FREEZERESTARTTIME=x 
// Time in seconds before the server will restart the main game loop if the server stalls 
// Default 
FREEZERESTARTTIME=60 

// MAXCOMPLEXITY=x 
// A variable to help the server keep the maximum number of NPC chars from 
// being on one screen at a time (to help keep lag under control) 
MAXCOMPLEXITY=16 

// DEBUGFLAGS=<hex> 
// Messages echoed to the server console while in debug mode 
// NPC_EMOTE = 0x01 
// ADVANCE_STATS = 0x02 
// MOTIVATION = 0x04 display motication level debug messages. 
// DEBUGF_WALKCODES = 0x80 try the new walk code checking stuff 
DEBUGFLAGS=0 

// FORCEGARBAGECOLLECT=<boolean> 
// Switch to force a garbage collect before each world file save 
FORCEGARBAGECOLLECT=1 

// DEADSOCKETTIME=x 
// Time in minutes to keep a non responding socket alive 
DEADSOCKETTIME=10 

//######################################################################################### 
//# Listing other spheres # 
//######################################################################################### 
// POLLSERVERS=x 
// Time in minutes to background poll other servers in your server 
// list (minutes) 
POLLSERVERS=15 

//######################################################################################### 
//# Blocked IPs # 
//######################################################################################### 
[Blockip] 


//######################################################################################### 
//# Blocked Emails # 
//######################################################################################### 
[BLOCKEMAIL] 
// List of some of the free email services. 
@hotmail.com 
@juno.com 
@yahoo.com 
@netscape.com 
@geocities.com 
@angelfire.com 
@beer.com 
@email.com 
@excite.com 
@hotpop.com 
@rocketmail.com 
@bigfoot.com 
@mailexcite.com 
@garfield.com 
@bemail.org 
@lycos.de 
@hotmail.de 
@gmx.de 
@sina.com 

//######################################################################################### 
//# Webpages # 
//######################################################################################### 

// Instead of one you can make any numbers of status' in this File. 
// Just create a new section called [WEBPAGE 2] and change the settings. 
// The destinationfile can be accessed directly through port 2593 of of the server 
// Example: http://localhost:2593/status.html 
[WEBPAGE 1] 
// WEBPAGESRC=<path> determines what html file is used as base for the status page 
WEBPAGESRC=d:\sphere01\web\spherestatusbase.html 
// WEBPAGEFILE=<path> determines where the status page is saved. 
WEBPAGEFILE=d:\sphere01\web\status.html 
// WEBCLIENTLISTFORM=<string> 
WEBCLIENTLISTFORM=<tr><td>%NAME%\t</td><td>%REGION.NAME%\t</td></tr>\n 
// WEBSERVERLISTFORM=<string> 
WEBSERVERLISTFORM=<tr><td>%URLLINK%</td><td>%STATUS%</td></tr> 
// WEBPAGEUPDATE=x in seconds, how often the status file is updated. 
WEBPAGEUPDATE=60 
// PLEVEL=x, 0 means everyone, 6 just Admins 
PLEVEL=0 

//######################################################################################### 
//# Login Servers # 
//######################################################################################### 
// The first server must be the local server, and should always have the 
// 127.0.0.1 IP in it. If you have an external IP (through a router/firewall), 
// create an extra extry with your external IP for your internet clients to 
// select. 
[SERVERS] 
Test 
127.0.0.1 
2000 

收藏 推荐 打印 | 录入:admin | 阅读:
相关新闻