Guest User

sphere.ini

a guest
Nov 17th, 2016
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.34 KB | None | 0 0
  1. //****************************************************************************
  2. //Copyright 2016 Sphereserver development team
  3. //Licensed under the Apache License, Version 2.0 (the "License");
  4. //you may not use this file except in compliance with the License.
  5. //You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  6. //****************************************************************************
  7.  
  8. ///////////////////////////////////////////////////////////////
  9. //////// General Information
  10. ///////////////////////////////////////////////////////////////
  11.  
  12. [SPHERE]
  13. // Name of your Sphere shard
  14. ServName=Psyco Shard's
  15. // The IP of your server, this will be 127.0.0.1 almost always
  16. ServIP=127.0.0.1
  17. // The port of your server, this is 2593 by default
  18. ServPort=2593
  19.  
  20. // Admin's contact email
  21. AdminEmail=me@my.email.com
  22. // Web page for this server
  23. URL=www.myshard.com
  24. // GMT offset, from -12 to +12 [London=0, EST=5, etc]
  25. TimeZone=0
  26.  
  27. // Official staff language
  28. Lang=English
  29. // Start this as a system service on Win2000, XP, NT
  30. NTService=0
  31.  
  32. // MySql configuration.
  33. //MYSQL=0
  34. //MySqlHost=
  35. //MySqlUser=
  36. //MySqlPassword=
  37. //MySqlDatabase=
  38.  
  39. ///////////////////////////////////////////////////////////////
  40. //////// File Locations
  41. ///////////////////////////////////////////////////////////////
  42. // Directory where spheretables.scp is located, from there we will
  43. // load any additional scripts
  44. ScpFiles=scripts/
  45.  
  46. // Where your sphereworld.scp and spherechars.scp are located
  47. WorldSave=save/
  48.  
  49. // Where your sphereaccu.scp and sphereacct.scp is located
  50. AcctFiles=accounts/
  51.  
  52.  
  53. // UO INSTALLATION - Note that if it's not set ( or commented ), sphere will scan windows registry to auto-detect it.
  54. // If windows can't find the dir, then it must point to install's directory.
  55. //
  56. // For Old installations (client less than 7.0.20) this need: map0.mul, statics0.mul,
  57. // staidx0.mul, multi.mul, multi.idx, hues.mul, tiledata.mul.
  58. // Optional files: verdata.mul, mapX.mul/staticsX.mul/staidxX.mul for higher
  59. // maps support (Malas, etc).
  60. //
  61. // For newer installs this need the same files in .uop format
  62. //
  63. // A full install folder is recommended as required files may change over time.
  64. MulFiles=C:\Program Files (x86)\EA Games\Ultima Online Mondain's Legacy
  65.  
  66. // Where your log files will be saved by sphere
  67. Log=logs/
  68.  
  69. // ***WARNING***
  70. // These Map settings are required for a map to be enabled as of revision 1834.
  71. // MAP0 is automatically loaded even if not present here as of revision 1836.
  72. // Disabling one of theses map settings on a live shard will cause it to wipe that map from the saves.
  73. // Remember to comment/uncomment associated sphere_mapX and .scp and sphere_map_pointsX.scp in spheretables.scp
  74.  
  75. //MapX=MaxX,MaxY,SectorSize,MapReadID,MapSendID
  76. //MapX = Sets X to the given number, so .map X will send work over these settings
  77. //MaxX = Sets Maximum X value for this map's size. Same for MaxY.
  78. //SectorSize = Sets the size of sectors, in each server's tick all sectors for all maps are read in a loop, this should be taken in consideration for performance along with SectorSleep.
  79. //MapReadID = Sets the mapX file to read from muls folder (This means which file will server read for walkchecks).
  80. //MapSendID = Sets the mapX file to read for the client (this can be different than MapReadID but, obviously, not recomended for normal usage).
  81.  
  82. // Map of Felucca
  83. //Map0=6144,4096,-1,0,0 //Old size
  84. Map0=7168,4096,-1,0,0 //ML size
  85.  
  86. // Map of Trammel
  87. //Map1=6144,4096,-1,1,1 //Old size
  88. Map1=7168,4096,-1,1,1 //ML size
  89.  
  90. // Map of Ilshenar
  91. Map2=2304,1600,-1,2,2
  92.  
  93. // Map of Malas
  94. Map3=2560,2048,-1,3,3
  95.  
  96. // Map of Tokuno Islands
  97. Map4=1448,1448,-1,4,4
  98.  
  99. // Map of Ter Mur
  100. Map5=1280,4096,-1,5,5
  101.  
  102. // To enable the use of MapDif*.mul and StaDif*.mul files, set this to 1. Note: these files were removed on clients 6+.
  103. UseMapDiffs=0
  104.  
  105. ///////////////////////////////////////////////////////////////
  106. //////// World Save Information
  107. ///////////////////////////////////////////////////////////////
  108. // How often for Sphere to save your world (minutes)
  109. SavePeriod=20
  110.  
  111. // How many backup levels to keep. Each level means 7 backups done for it.
  112. // So, 10*7 = 70 backup saves will be storied.
  113. BackupLevels=10
  114.  
  115. // On would save in the background quietly over a longer period of time, and not interrupt the game
  116. // Off would notify "World save has been initiated" and save faster, but pause the game momentarily
  117. SaveBackground=0
  118.  
  119. // If EF_DYNAMICBACKSAVE is set. How many sectors should be saved per Backgroundsave-Tick?
  120. SaveSectorsPerTick=1
  121.  
  122. // If EF_DYNAMICBACKSAVE is set:
  123. // How many items should the dynamic backsave save at max per Backgroundsave-Tick?
  124. SaveStepMaxComplexity=500
  125.  
  126. // Save NPC's skills that are bigger or equal to NPCSkillSave. If smaller, reset skill to 0
  127. // NPCSkillSave=10
  128.  
  129. ///////////////////////////////////////////////////////////////
  130. //////// Account Management
  131. ///////////////////////////////////////////////////////////////
  132. //Code for servers account application process
  133. // 0=Closed, // Closed. Not accepting more.
  134. // 2=Free, // Anyone can just log in and create a full account.
  135. // 3=GuestAuto, // You get to be a guest and are automatically sent email with u're new password.
  136. // 4=GuestTrial, // You get to be a guest til u're accepted for full by an Admin.
  137. // 6=Unspecified, // Not specified.
  138. // To enable auto account you must set this to 2
  139. AccApp=0
  140.  
  141. // Store password hashed with MD5
  142. Md5Passwords=0
  143.  
  144. // local ip is assumed to be the admin
  145. LocalIPAdmin=1
  146.  
  147. // Default number of chars allowed per account (maximum value is 7)
  148. MaxCharsPerAccount=5
  149.  
  150. // Min time for a char to exist before delete allowed (in seconds)
  151. MinCharDeleteTime=7*24*60*60
  152.  
  153. // Max number of Guest accounts allowed
  154. GuestsMax=0
  155.  
  156. // Max wrong password tries on client login screen before temporary ban client IP (0 is disabled)
  157. ClientLoginMaxTries=0
  158.  
  159. // Duration (in minutes) of temporary ban to client IPs that reach max wrong password tries
  160. ClientLoginTempBan=3
  161.  
  162. ///////////////////////////////////////////////////////////////
  163. //////// Client Management
  164. ///////////////////////////////////////////////////////////////
  165. // What client protocol version used
  166. // Comment out the ClientVersion line to allow any client that is supported.
  167. //ClientVersion=2.0.3
  168.  
  169. // Set this to 1 to allow login to encrypted clients
  170. UseCrypt=1
  171.  
  172. // Set this to 1 to allow login to unencrypted clients
  173. UseNoCrypt=0
  174.  
  175. // Maximum total open connections to server
  176. ClientMax=256
  177.  
  178. // Maximum open connections to server per IP
  179. ClientMaxIP=16
  180.  
  181. // Maximum total (not-in-game) connections to server
  182. ConnectingMax=32
  183.  
  184. // Maximum total simultaneous (not-in-game) connections to server per IP
  185. ConnectingMaxIp=8
  186.  
  187. // How long logged out clients linger in seconds
  188. ClientLinger=300
  189.  
  190. // Walk limiting code: buffer size (in tenths of second)
  191. WalkBuffer=75
  192.  
  193. // Walk limiting code: regen speed (%)
  194. WalkRegen=25
  195.  
  196. // Only commands issued by this plevel and higher will be logged
  197. CommandLog=0
  198.  
  199. // Set to 1 to enable logging of commands issued via telnet
  200. TelnetLog=1
  201.  
  202. // Prefix for ingame commands
  203. CommandPrefix=.
  204.  
  205. // Set from 0 - 7 to set what the default plevel is to use commands.
  206. DefaultCommandLevel=7
  207.  
  208. // Function to call if client is executing a command to override the default.
  209. //CommandTrigger=f_oncommand
  210.  
  211. // Use the built in http server
  212. // 0 - disable http server and webpage generation
  213. // 1 - disable http server and enable webpage generation
  214. // 2 - enable http server and webpage generation (default)
  215. UseHttp=2
  216.  
  217. // Use the OSI AuthID to avoid possible hijack to game server.
  218. UseAuthID=1
  219.  
  220. // Set account RESDISP automatically based on player client version
  221. AutoResDisp=1
  222.  
  223. // Default setting for new accounts specifying default priv level
  224. //AutoPrivFlags=010
  225.  
  226. // How often send my hits updates to visible clients (in seconds)
  227. //HitsUpdateRate=1
  228.  
  229. ///////////////////////////////////////////////////////////////
  230. //////// Game Mechanics
  231. ///////////////////////////////////////////////////////////////
  232.  
  233. // Maximum distance to hear char whispering
  234. //DistanceWhisper=3
  235.  
  236. // Maximum distance to hear char talking
  237. //DistanceTalk=18
  238.  
  239. // Maximum distance to hear char yelling
  240. //DistanceYell=31
  241.  
  242. // Do not allow entering under roof being on horse?
  243. MountHeight=0
  244.  
  245. // Archery does not work if too close (0 = not checked)
  246. ArcheryMinDist=2
  247.  
  248. // Maximum Distance for Archery
  249. ArcheryMaxDist=15
  250.  
  251. // This is the percent of max weight at which stamina is lost half the time
  252. // (200 = no effect)
  253. StaminaLossAtWeight=150
  254.  
  255. // Weight penalty for running +N% of max carry weight (0 = no effect)
  256. RunningPenalty=50
  257.  
  258. // Show people joining/leaving the server. 0 disables, 2 enables staff only.
  259. ArriveDepartMsg=1
  260.  
  261. // Are house and boat keys newbied automatically
  262. AutoNewbieKeys=1
  263.  
  264. // Maximum number of items allowed in bank
  265. // Setting it to anything less than 0 (-1) will avoid items check
  266. BankMaxItems=1000
  267.  
  268. // Maximum weight in stones allowed in bank
  269. // Setting it to anything less than 0 (-1) will avoid weight check
  270. BankMaxWeight=1000
  271.  
  272. // If 1 vendors will take gold only from backpack
  273. PayFromPackOnly=0
  274.  
  275. // Disable weather effects?
  276. NoWeather=1
  277.  
  278. // Set to 1 for items to keep their attr_newbie flag
  279. // when item is transfered to an NPC.
  280. //AllowNewbTransfer=0
  281.  
  282. // Default light level in dungeons
  283. DungeonLight=27
  284.  
  285. // Day light level 0-30
  286. LightDay=0
  287.  
  288. // Night light level 0-30
  289. LightNight=25
  290.  
  291. // Allow manual sector light override?
  292. //AllowLightOverride=1
  293.  
  294. // Wool Regen Time (in minutes)
  295. WoolGrowthTime=30
  296.  
  297. // Suppress player speech with 75% of capital letters
  298. SuppressCapitals=0
  299.  
  300. // Extra combat flags to control the fight (default:0, 0.55i compatible)
  301. // COMBAT_NODIRCHANGE 00001 // Not rotate player when fighting (like was in 0.51a)
  302. // COMBAT_FACECOMBAT 00002 // Allow faced combat only (recommended)
  303. // COMBAT_PREHIT 00004 // Allow prehit for close combat. first hit is instant (delay 0.1sec)
  304. // COMBAT_ELEMENTAL_ENGINE 00008 // Use DAM*/RES* to split damage/resist into Physical/Fire/Cold/Poison/Energy (AOS) instead use old AR (pre-AOS)
  305. // COMBAT_DCLICKSELF_UNMOUNTS 00020 // Unmount horse when dclicking self while in warmode
  306. // COMBAT_ALLOWHITFROMSHIP 00040 // Allow attacking opponents from ships
  307. // COMBAT_ARCHERYCANMOVE 00100 // Allow firing bow while moving
  308. // COMBAT_STAYINRANGE 00200 // Abort attack swing when out of range instead of waiting to come back in range
  309. // COMBAT_STACKARMOR 01000 // If a region is covered by more than one armor part, all AR will count
  310. // COMBAT_NOPOISONHIT 02000 // Disables old (55i like) poisoning style (0~100% chance based on Poisoning skill for monsters, or 50% chance for poisoned weapons)
  311. //CombatFlags=0
  312.  
  313. // Damage calculation formula to use on physical combat
  314. // 0 = pre-AOS (Sphere custom)
  315. // 1 = pre-AOS
  316. // 2 = AOS
  317. CombatDamageEra=0
  318.  
  319. // Swing Speed formula to use on physical combat
  320. // 0 = pre-AOS (Sphere custom) // Recommended SpeedScaleFactor = 15000. Old Sphere 0.55 custom formula. Not compatible with Swing Speed Increase property, and uses DEX instead STAM
  321. // 1 = pre-AOS // Recommended SpeedScaleFactor = 15000. Not compatible with Swing Speed Increase property
  322. // 2 = AOS // Recommended SpeedScaleFactor = 40000
  323. // 3 = SE // Recommended SpeedScaleFactor = 80000
  324. // 4 = ML // Doesn't use SpeedScaleFactor. Only compatible with ML speed format (eg. 0.25 ~ 5.00 seconds instead 0 ~ 50), uncomment TAG.OVERRIDE.SPEED on all weapons to enable ML speed format
  325. CombatSpeedEra=3
  326.  
  327. // Speed scale factor for weapons
  328. SpeedScaleFactor=80000
  329.  
  330. // Extra magic flags to control magic/magery behaviour (default:0, 0.55i compatible)
  331. // MAGICF_NODIRCHANGE 00001 // Not rotate player when casting/targeting
  332. // MAGICF_PRECAST 00002 // Precasting (cast spell before target prompt)
  333. // MAGICF_IGNOREAR 00004 // Magic damage ignore ar
  334. // MAGICF_CANHARMSELF 00008 // Magic can do damage on self
  335. // MAGICF_STACKSTATS 00010 // Different stat spells don't cancel each other out
  336. // MAGICF_FREEZEONCAST 00020 // No movement whilst casting
  337. // MAGICF_SUMMONWALKCHECK 00040 // Summoned creatures should be able to walk on the target location (e.g. water creatures to be summoned on water)
  338. // MAGICF_NOFIELDSOVERWALLS 00080 // Field spells cannot cross over blocking objects
  339. // MAGICF_NOANIM 00100 // Auto SPELLFLAG_NO_ANIM in every spell
  340. // MAGICF_OSIFORMULAS 00200 // Calculate spell damage and duration based on OSI formulas
  341. // MAGICF_NOCASTFROZENHANDS 00400 // Can't cast spells if got paralyzed holding something on hands
  342. // MAGICF_POLYMORPHSTATS 00800 // Polymorph spells give out stats based on base chars (old behaviour backwards).
  343. // MAGICF_OVERRIDEFIELDS 01000 // Prevent cast multiple field spells on the same tile, making the new field tile remove the previous field
  344. //MagicFlags=0
  345.  
  346. // Max amount of each Stat gained through Polymorph spell. This affects separatelly to each stat.
  347. MaxPolyStats=150
  348.  
  349. // Racial traits flags
  350. // RACIALF_HUMAN_STRONGBACK 0001 // Increase carrying capacity (+60 stones of weight)
  351. // RACIALF_HUMAN_TOUGH 0002 // Regenerate hitpoints faster (+2 Hit Point Regeneration)
  352. // RACIALF_HUMAN_WORKHORSE 0004 // Find more resources while gathering hides, ore and lumber
  353. // RACIALF_HUMAN_JACKOFTRADES 0008 // Skill calculations always consider 20.0 minimum ability on untrained skills
  354. // RACIALF_ELF_NIGHTSIGHT 0010 // Permanent night sight effect
  355. // RACIALF_ELF_DIFFTRACK 0020 // Increase difficulty to be tracked while hidden/invisible
  356. // RACIALF_ELF_WISDOM 0040 // Permanent max mana bonus (+20 Mana Increase)
  357. // RACIALF_GARG_FLY 0080 // Enable gargoyle fly ability (FEATURE_AOS_UPDATE_B is required to enable gargoyle ability book)
  358. // RACIALF_GARG_BERSERK 0100 // Increase ferocity in situations of danger (15% Damage Increase + 3% Spell Damage Increase for each 20hp lost)
  359. // RACIALF_GARG_DEADLYAIM 0200 // Throwing calculations always consider 20.0 minimum ability when untrained
  360. // RACIALF_GARG_MYSTICINSIGHT 0400 // Mysticism calculations always consider 30.0 minimum ability when untrained
  361. RacialFlags=0
  362.  
  363. // Reveal flags related to Invisible Spell
  364. // REVEALF_DETECTINGHIDDEN 001 // Reveal Spell with Detecting Hidden Skill.
  365. // REVEALF_LOOTINGSELF 002 // Reveal when looting self bodies (NOTE: Hidden characters will be always revealed by default).
  366. // REVEALF_LOOTINGOTHERS 004 // Reveal when looting bodies of other Players or NPCs (NOTE: Hidden characters will be always revealed by default).
  367. // REVEALF_SPEAK 008 // Reveal when speaking.
  368. // REVEALF_SPELLCAST 010 // Reveal when starting to cast a Spell.
  369. // Set to 04 to make it behave like 55i.
  370. RevealFlags=01|02|04|08|010
  371.  
  372. // Length of time (in seconds) for a char to remember his attacker (used for attacker keyword)
  373. // Default = 300. (0 = don't forget until death.)
  374. AttackerTimeout=300
  375.  
  376. // Length of time (in seconds) for a player to choose a target when casting (0 = no timeout)
  377. SpellTimeout=0
  378.  
  379. // Zero point for sextant coordinates counting. Comment this line out if you are
  380. // not using ML maps.
  381. ZeroPoint=1323,1624,0
  382.  
  383. // How far from land i can be to take off a ship
  384. //MaxShipPlankTeleport=18
  385.  
  386. // Is Death Animation (Packet 02c) sent to players?
  387. PacketDeathAnimation=1
  388.  
  389. ///////////////////////////////////////////////////////////////
  390. //////// NPC/Item/Player Management
  391. ///////////////////////////////////////////////////////////////
  392. // Distance in tiles before an NPC that's wandered too far from it's home will teleport back
  393. LostNPCTeleport=50
  394.  
  395. // Whether PCs get a resurrection robe when they get resurrected.
  396. NoResRobe=0
  397.  
  398. // Time for a NPC corpse to decay mins
  399. CorpseNPCDecay=7
  400.  
  401. // Time for a player corpse to decay mins
  402. CorpsePlayerDecay=7
  403.  
  404. // Ghosts are not able to see and hear living players and creatures (0=disabled, 1=only npcs, 2=both npcs and players)
  405. DeadCannotSeeLiving=0
  406.  
  407. // At this Spirit Speak skill level players can understand ghosts speech instead hear 'oOOoO ooO'
  408. MediumCanHearGhosts=1000
  409.  
  410. // Base decay time in minutes for items
  411. DecayTimer=30
  412.  
  413. // Show [NPC] tags over chars
  414. CharTags=0
  415.  
  416. // Show job title on vendor names
  417. VendorTradeTitle=1
  418.  
  419. // Flip dropped items
  420. FlipDroppedItems=0
  421.  
  422. // Max amount allowed for stackable items (can't be higher than 65535)
  423. ItemsMaxAmount=60000
  424.  
  425. // Set to 1 to allow players to take equipment from their pets' paperdoll
  426. CanUndressPets=1
  427.  
  428. // Monsters run when scared of death
  429. MonsterFear=0
  430.  
  431. // Monsters may fight each other
  432. MonsterFight=0
  433.  
  434. // Percent setting of the all NPC move rate, default 100
  435. MoveRate=100
  436.  
  437. // Do players receive sounds
  438. GenericSounds=1
  439.  
  440. // Max number of items to sell to one person at once
  441. VendorMaxSell=255
  442.  
  443. // Cost (in gp) of each 0.1 skill trained on NPCs
  444. NPCTrainCost=1
  445.  
  446. // Max level npc trainers can go
  447. NPCTrainMax=420
  448.  
  449. // Percent of own ability npcs can train to
  450. NPCTrainPercent=30
  451.  
  452. // NPC will not be addressed as "Lord" or such if this is set
  453. // NPCNoFameTitle=0
  454.  
  455. // Max level of skill trainable on dummies, archery butte ecc..
  456. SkillPracticeMax=300
  457.  
  458. // Max skill player's will start with on skills they haven't chosen during
  459. // character creation
  460. MaxBaseSkill=200
  461.  
  462. // Time in seconds for hitpoint regeneration
  463. Regen0=40
  464.  
  465. // Time in seconds for mana regeneration
  466. Regen1=20
  467.  
  468. // Time in seconds for stamina regeneration
  469. Regen2=10
  470.  
  471. // Time in seconds for food decay
  472. // 60*60*24 = 1 day of real life time
  473. Regen3=60*60*24
  474.  
  475. // Speech block associated to players
  476. SpeechSelf=spk_player
  477.  
  478. // Speech block associated to pets
  479. SpeechPet=spk_pet
  480.  
  481. // Events related to all NPCs
  482. //EventsPet=your_event
  483.  
  484. // Events related to all players
  485. //EventsPlayer=your_event
  486.  
  487. // Events related to all regions
  488. //EventsRegion=your_event
  489.  
  490. // Events related to all items
  491. //EventsItem=your_event
  492.  
  493. // When player skills/stats goes this times more than skillclass allowed, drop
  494. // them to skillclass level. Setting this to 0 disables the action.
  495. OverSkillMultiply=2
  496.  
  497. // NPC AI settings
  498. // NPC_AI_PATH 00001 NPC pathfinding
  499. // NPC_AI_FOOD 00002 NPC food search (objects + grass)
  500. // NPC_AI_EXTRA 00004 NPC magics, etc
  501. // NPC_AI_ALWAYSINT 00008 Always be as smart as possible with pathfinding
  502. // NPC_AI_INTFOOD 00010 NPC food search (more intelligent and trusworthy)
  503. // NPC_AI_COMBAT 00040 Look for friends in combat
  504. // NPC_AI_VEND_TIME 00080 vendors closing their shops at nighttime
  505. // NPC_AI_LOOTING 00100 loot corpses an the way
  506. // NPC_AI_MOVEOBSTACLES 00200 if moveable items block my way, try to move them
  507. // NPC_AI_PERSISTENTPATH 00400 NPC will try often to find a path with pathfinding
  508. // NPC_AI_THREAT 00800 Enable the use of the threat variable when finding for target while fighting.
  509. // NPC_AI_OLDMOVESPEED 01000 Enable backwards SpeedMove formula (55i like) for walk delays.
  510. //NPCAI=0
  511.  
  512. ///////////////////////////////////////////////////////////////
  513. //////// Crime/Murder/Karma/Fame/Guard Settings
  514. ///////////////////////////////////////////////////////////////
  515. // Lowest karma level a character can achieve
  516. MinKarma=-10000
  517.  
  518. // Highest karma level a character can achieve
  519. MaxKarma=10000
  520.  
  521. // Highest fame level a character can achieve
  522. MaxFame=10000
  523.  
  524. // Karma when player goes from good to neutral (from -10000 to 10000)
  525. PlayerNeutral=-2000
  526.  
  527. // Karma when player goes from neutral to evil (from -10000 to 10000)
  528. PlayerEvil=-8000
  529.  
  530. // How many minutes are criminals flagged for
  531. CriminalTimer=3
  532.  
  533. // Chance to get flagged criminal when using Snooping skill (0% - 100%)
  534. SnoopCriminal=100
  535.  
  536. // Set if opening a container in a trade window needs to be open using Snooping skill or not (1=true,0=false)
  537. TradeWindowSnooping=1
  538.  
  539. // Seconds time to decay a murder count (default 8*60*60 is 8 hours)
  540. MurderDecayTime=8*60*60
  541.  
  542. // Amount of murders before we get title
  543. MurderMinCount=1
  544.  
  545. // Looting or carving a blue player is a crime
  546. LootingIsaCrime=1
  547.  
  548. // Attacking is considered a crime (even without hit)
  549. AttackingIsaCrime=1
  550.  
  551. // Flag players criminal for helping criminals?
  552. HelpingCriminalsIsaCrime=1
  553.  
  554. // How long do guards linger about in minutes
  555. GuardLinger=3
  556.  
  557. // Will guards kill instantly or follow normal combat rules
  558. GuardsInstantKill=1
  559.  
  560. // Will guards attack Murderers and Criminals (1) or criminals only (0)
  561. GuardsOnMurderers=1
  562.  
  563. // Limits the MAXHITS/MAXMANA/MAXSTAM changes
  564. // STAT_FLAG_NORMAL 00 // MAX* status allowed (default)
  565. // STAT_FLAG_DENYMAX 01 // MAX* denied
  566. // STAT_FLAG_DENYMAXP 02 // .. for players
  567. // STAT_FLAG_DENYMAXN 04 // .. for npcs
  568. StatsFlags=0
  569.  
  570. // Uses the new LoS algorithm
  571. // ADVANCEDLOS_DISABLED 00 // Disabled, use the old method
  572. // ADVANCEDLOS_PLAYER 01 // Enabled only for players
  573. // ADVANCEDLOS_NPC 02 // Enabled only for NPCs
  574. AdvancedLos=0
  575.  
  576. // Default color settings for characters names (notoriety)
  577. //ColorNotoGood=059 // blue
  578. //ColorNotoGuildSame=03f // green (ally)
  579. //ColorNotoNeutral=03b2 // grey (can be attacked)
  580. //ColorNotoCriminal=03b2 // grey (criminal)
  581. //ColorNotoGuildWar=090 // orange (enemy guild)
  582. //ColorNotoEvil=022 // red
  583. //ColorNotoInvul=035 // yellow
  584. //ColorNotoInvulGameMaster=0b // purple
  585. //ColorNotoDefault=03b2 // grey (if not any other)
  586.  
  587. ColorInvis=0 // 04001 = transparent color, 0 = default
  588. ColorInvisSpell=0 // 04001 = transparent color, 0 = default (This one is for s_invisibility spell, this includes the invis potion.)
  589. ColorHidden=0 // 04001 = transparent color, 0 = default
  590.  
  591. // Which notoriety flags do pets inherit from their masters? (default 0)
  592. // Set flags to indicate which notoriety statuses a pet can inherit from its owner.
  593. // NotoGood 001 // blue
  594. // NotoGuildSame 002 // green (ally)
  595. // NotoNeutral 004 // grey (can be attacked)
  596. // NotoCriminal 008 // grey (criminal)
  597. // NotoGuildWar 010 // orange (enemy guild)
  598. // NotoEvil 020 // red
  599. // NotoInvul 040 // yellow
  600. // e.g. "07a" will show pets as criminal/warring/evil/allied/invul when their master has
  601. // one of these statuses, regardless of the pet's true notoriety.
  602. PetsInheritNotoriety=0
  603.  
  604. // Time until Sphere removes a character from the notoriety list of another one.
  605. NotoTimeOut=30
  606.  
  607. ///////////////////////////////////////////////////////////////
  608. //////// Server Mechanics
  609. ///////////////////////////////////////////////////////////////
  610. // Experimental flags
  611. // Flags for options that affect server behaviour and which might affect compatibility
  612. // See the revisions.txt file for more details on this
  613. // EF_NoDiagonalCheckLOS 00000001 // Disable LOS checks on diagonal directions
  614. // EF_DynamicBackgroundsave 00000002
  615. // EF_ItemStacking 00000004 // Enable item stacking feature when drop items on ground
  616. // EF_ItemStackDrop 00000008 // The item stack will drop when an item got removed from the stack
  617. // EF_FastWalkPrevention 00000010 // Enable client fastwalk prevention (INCOMPLETE YET)
  618. // EF_Intrinsic_Locals 00000020 // Disables the needing of 'local.', 'tag.', etc. Be aware of not creating variables with the same name of already-existing functions.
  619. // EF_Item_Strict_Comparison 00000040 // Don't consider log/board and leather/hide as the same resource type
  620. // EF_AllowTelnetPacketFilter 00000200 // Enable packet filtering for telnet connections as well
  621. // EF_Script_Profiler 00000400 // Record all functions/triggers execution time statistics (it can be viewed pressing P on console)
  622. // EF_DamageTools 00002000 // Damage tools (and fire @damage on them) while mining or lumberjacking
  623. // EF_UsePingServer 00008000 // Enable the experimental Ping Server (for showing pings on the server list, uses UDP port 12000)
  624. // EF_FixCanSeeInClosedConts 00020000 // Change CANSEE to return 0 for items inside containers that a client hasn't opened
  625. Experimental=0
  626.  
  627. // Option flags
  628. // Flags for options that affect server behaviour but not compatibility
  629. // See the revisions.txt file for more details on this
  630. // OF_NoDClickTarget 00000001 // Weapons won't open a target in the cursor after DClicking them for equip.
  631. // OF_NoSmoothSailing 00000002 // Deactivate Smooth Sailing for clients >= 7.0.8.13
  632. // OF_ScaleDamageByDurability 00000004 // Weapons/armors will lose DAM/AR effect based on it's current durability
  633. // OF_Command_Sysmsgs 00000008 // Shows status of hearall, allshow, allmove... commands after toggling them
  634. // OF_PetSlots 00000010 // Enable AOS pet follower slots on chars. If enabled, all players must have MAXFOLLOWER property set (default=5)
  635. // OF_OSIMultiSight 00000020 // Only send items inside multis when the player enter on the multi area
  636. // OF_Items_AutoName 00000040 // Auto rename potions/scrolls to match its spell name
  637. // OF_FileCommands 00000080 // Enable the usage of FILE commands
  638. // OF_NoItemNaming 00000100 // Disable the DEFMSG."grandmaster_mark" in crafted items
  639. // OF_NoHouseMuteSpeech 00000200 // Players outside multis won't hear what is told inside
  640. // OF_NoContextMenuLOS 00000400 // Disable LOS check to use context menus on chars
  641. // OF_Flood_Protection 00001000 // Prevent the server send messages to client if its the same message as the last already sent
  642. // OF_Buffs 00002000 // Enable the buff/debuff bar on ML clients >= 5.0.2b
  643. // OF_NoPrefix 00004000 // Don't show "a" and "an" prefix on item names
  644. // OF_DyeType 00008000 // Allow use i_dye on all items with t_dye_vat typedef instead only on i_dye_tub itemdef
  645. // OF_DrinkIsFood 00010000 // Typedef t_drink will increase food level like t_food
  646. // OF_DClickNoTurn 00020000 // Don't turn the player when DClick or targ an item
  647. OptionFlags=08|0200
  648.  
  649. // FeatureT2A, used to control T2A expansion features ( default 03 )
  650. // FEATURE_T2A_UPDATE 01 // Monster and Lost lands
  651. // FEATURE_T2A_CHAT 02 // In game chat
  652. FeatureT2A = 03
  653.  
  654. // FeatureLBR, used to control LBR expansion features
  655. // FEATURE_LBR_UPDATE 01 // Lbr Monsters
  656. // FEATURE_LBR_SOUND 02 // MP3 instead of MIDI
  657. FeatureLBR = 0
  658.  
  659. // FeatureAOS, used to control AOS expansion features
  660. // FEATURE_AOS_UPDATE_A 01 // AOS Monsters, Map
  661. // FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills, Newer spellbook support
  662. // FEATURE_AOS_POPUP 04 // PopUp Menus
  663. // FEATURE_AOS_DAMAGE 08 // Show damage values above char head when deal/receive any damage
  664. FeatureAOS = 0
  665.  
  666. // FeatureSE, used to control SE expansion features
  667. // FEATURE_SE_UPDATE 01 // Basic SE features
  668. // FEATURE_SE_NINJASAM 02 // Ninja and Samurai
  669. FeatureSE = 0
  670.  
  671. // FeatureML, used to control ML expansion features
  672. // FEATURE_ML_UPDATE 01 // Basic ML features
  673. FeatureML = 0
  674.  
  675. // FeatureKR, used to control KR expansion features (still not complete but usable)
  676. // FEATURE_KR_UPDATE_A 01 // Basic KR features
  677. // FEATURE_KR_UPDATE_B 02 // Basic KR features
  678. FeatureKR = 0
  679.  
  680. // FeatureSA, used to control SA expansion features
  681. // FEATURE_SA_UPDATE 01 // Unlocks gargoyle character creation and housing items
  682. // FEATURE_SA_MOVEMENT 02 // Activates new movement packets (not good)
  683. FeatureSA = 0
  684.  
  685. // FeatureTOL, used to control TOL expansion features
  686. // FEATURE_TOL_UPDATE 01 // Basic TOL features
  687. // FEATURE_TOL_VIRTUALGOLD 02 // Use virtual gold/platinum currency instead default 'physical' gold
  688. FeatureTOL = 0
  689.  
  690. // FeatureExtra, used to control misc expansion features
  691. // FEATURE_EXTRA_CRYSTAL 001 // Unlocks ML crystal items on house design
  692. // FEATURE_EXTRA_GOTHIC 002 // Unlocks SA gothic items on house design
  693. // FEATURE_EXTRA_RUSTIC 004 // Unlocks SA rustic items on house design
  694. // FEATURE_EXTRA_JUNGLE 008 // Unlocks TOL jungle items on house design
  695. // FEATURE_EXTRA_SHADOWGUARD 010 // Unlocks TOL shadowguard items on house design
  696. FeatureExtra = 0
  697.  
  698. // In game effects to turn on and off
  699. // Messages echoed to the server console while in debug mode
  700. // DEBUGF_NPC_EMOTE 00001
  701. // DEBUGF_ADVANCE_STATS 00002
  702. // DEBUGF_EXP 00200 // experience gain/loss
  703. // DEBUGF_LEVEL 00400 // experience level changes
  704. // DEBUGF_SCRIPTS 00800 // debug flag for scripts
  705. // DEBUGF_LOS 01000 // debug flag for AdvancedLOS
  706. // DEBUGF_WALK 02000 // debug flag for new walking check stuff
  707. // DEBUGF_PACKETS 04000 // log packets to file
  708. // DEBUGF_NETWORK 08000 // debug flags for networking
  709. //DebugFlags=00
  710.  
  711. // Allow rapid Buy/Sell through Buy/Sell agent
  712. AllowBuySellAgent=0
  713.  
  714. // Secure mode attempts to ignore errors, protect from accidently shutdowns
  715. Secure=1
  716.  
  717. // Value from 1 to 32, set sectors inactive when unused to conserve resources, 0 disables Sleep (NOT recommended).
  718. SectorSleep=10
  719.  
  720. // Always force a full garbage collection on save
  721. ForceGarbageCollect=1
  722.  
  723. // Time before restarting when server appears hung (in seconds)
  724. FreezeRestartTime=60
  725.  
  726. // Length of the game world minute in real world in seconds
  727. GameMinuteLength=20
  728.  
  729. // Bit Mask of the subjects you want to log when logging is on
  730. // LOGM_ACCOUNTS 000080 // account login/operations
  731. // LOGM_INIT 000100 // start up messages
  732. // LOGM_SAVE 000200 // world save
  733. // LOGM_CLIENTS_LOG 000400 // all clients as they log in and out
  734. // LOGM_GM_PAGE 000800 // player gm pages
  735. // LOGM_PLAYER_SPEAK 001000 // all that the players say
  736. // LOGM_GM_CMDS 002000 // all gm commands
  737. // LOGM_CHEAT 004000 // possible cheat attempts
  738. // LOGM_KILLS 008000 // player combat results
  739. // LOGM_HTTP 010000 // http protocol operations
  740. // 01fff0 log everything
  741. LogMask=01fff0
  742.  
  743. // Amount of time to keep map data cached in sec
  744. MapCacheTime=120
  745.  
  746. // Max NPC chars for a sector to prevent lag
  747. MaxComplexity=32
  748.  
  749. // Amount of items in one tile so start showing "too many items here"
  750. MaxItemComplexity=25
  751.  
  752. // Amount of items in one sector to start showing "x items too complex"
  753. MaxSectorComplexity=1024
  754.  
  755. // Limit the number of cycles the while/for loop can proceed. Setting this to
  756. // zero disables the limitation
  757. MaxLoopTimes=0
  758.  
  759. // Amount of minutes to call f_onserver_timer (0 disables this, default)
  760. TimerCall=0
  761.  
  762. // Should sphere record the time it takes to do actions like treating npcs, scripts, clients and such?
  763. // Can be viewed by right clicking the mouse on sphere screen.
  764. Profile=0
  765.  
  766. ///////////////////////////////////////////////////////////////
  767. //////// Magic/Effects Settings
  768. ///////////////////////////////////////////////////////////////
  769.  
  770. // Allow casting while equipped
  771. EquippedCast=1
  772.  
  773. // Words of power for player using magic
  774. WOPPlayer=1
  775.  
  776. // Words of power for staff using magic
  777. WOPStaff=0
  778.  
  779. // Words of power font
  780. //WOPFont=3
  781.  
  782. // Words of power color (0 = inherit color from char SPEECHCOLOR value)
  783. //WOPColor=03b2
  784.  
  785. // Reagents lost if magic fails
  786. ReagentLossFail=0
  787.  
  788. // Magic requires reagents
  789. ReagentsRequired=0
  790.  
  791. // What % of hitpoints players will resurrect with. Note, that if you set this
  792. // too low, people with little STR will have problems resurrecting.
  793. HitPointPercentOnRez=10
  794.  
  795. // How many % of hits will the character loose when starving. 0 disables
  796. //HitsHungerLoss=0
  797.  
  798. // Amount of skill of lock picking needed to unlock a magically locked door
  799. MagicUnlockDoor=900
  800.  
  801. // Teleport effect for GMs and players. Setting 0 disables the effect
  802. TeleportEffectNPC=0376a
  803. TeleportEffectPlayers=03728
  804. TeleportEffectStaff=03709
  805. TeleportSoundNPC=01fe
  806. TeleportSoundPlayers=01fe
  807. TeleportSoundStaff=01f3
  808.  
  809. ///////////////////////////////////////////////////////////////
  810. //////// Experience and Level system
  811. ///////////////////////////////////////////////////////////////
  812.  
  813. // Enable experience system
  814. //ExperienceSystem=0
  815.  
  816. // Experience system settings:
  817. // 0001 gain experience in combat
  818. // 0002 gain experience in crafts
  819. // 0004 allow experience to go down
  820. // 0008 limit experience decrease by a range witheen a current level
  821. // 0010 auto-init EXP/LEVEL for NPCs if not set in @Create
  822. //ExperienceMode=0
  823.  
  824. // If combat experience gain is allowed, use these percents for gaining exp in
  825. // Player versus Monster and Player versus Player combats. Value 0 disables gain.
  826. //ExperienceKoefPVM=100
  827. //ExperienceKoefPVP=100
  828.  
  829. // Enable levels system (as a part of experience system)
  830. //LevelSystem=0
  831.  
  832. // Level system settings:
  833. // linear = 0 (each NextLevelAt exp will give a level up)
  834. // double = 1 (you need (NextLevelAt * (level+1)) to get a level up)
  835. //LevelMode=1
  836.  
  837. // Amount of experience to raise to the next level
  838. //LevelNextAt=0
  839.  
  840. ///////////////////////////////////////////////////////////////
  841. //////// Network Behaviour
  842. ///////////////////////////////////////////////////////////////
  843. // WARNING: These are advanced settings that should not normally be changed
  844. // from the recommended default values!
  845.  
  846. // Disconnect inactive socket in x min
  847. DeadSocketTime=5
  848.  
  849. // Maximum number of packets to send per tick
  850. MaxPacketsPerTick=50
  851.  
  852. // Number of connections a client can make before being blocked
  853. MaxPings=15
  854.  
  855. // Maximum number of packets before lowering packet priorities (0 for no limit)
  856. MaxQueueSize=75
  857.  
  858. // Maximum number of bytes to send per tick (also governs maximum size of outgoing packets)
  859. MaxSizePerTick=18000
  860.  
  861. // Time to remember previous connection history (seconds)
  862. NetTTL=300
  863.  
  864. // Prioritise outgoing packets (provides a smoother experience in crowded areas)
  865. UsePacketPriority=0
  866.  
  867. // Enables an additional buffer for outgoing data.
  868. UseExtraBuffer=1
  869.  
  870. // Tooltip modes
  871. // 0 = Always send full tooltip
  872. // 1 = Wait for client to request full tooltip
  873. TooltipMode=1
  874.  
  875. // Time to cache tooltip data for (seconds)
  876. TooltipCache=30
  877.  
  878. // Limit of options in each Context Menu.
  879. ContextMenuLimit=15
  880.  
  881. // Automatically invalidate and resend tooltips when:
  882. // 0001 item or character name changes
  883. // 0002 item amount changes
  884. // 0004 container weight changes
  885. // 0008 weapon or armor durability changes
  886. // 0010 weapon poison charge changes
  887. // 0020 wand charge changes
  888. // 0040 spell added to spellbook
  889. AutoTooltipResend=07f
  890.  
  891. ///////////////////////////////////////////////////////////////
  892. //////// Third-Party Tools Support
  893. ///////////////////////////////////////////////////////////////
  894.  
  895. // TNG
  896. // on Linux do sth like "/srv/www/"
  897. // on Windows do sth. like "C:\foo\bar\"
  898. StripPath=scripts\web\
  899.  
  900. // ConnectUO
  901. // Enable or disable the response to ConnectUO pings
  902. // If enabled, it returns: Items, Chars, Clients and Memory
  903. CUOStatus=1
  904.  
  905. // UOGateway
  906. // Enable or disable the response to UOGateway pings
  907. // If enabled, it returns: Name, Age, Clients, Items, Chars and Memory
  908. UOGStatus=1
  909.  
  910. [RESOURCELIST]
  911. ITEMDEF
  912. CHARDEF
  913.  
  914. ///////////////////////////////////////////////////////////////
  915. //////// Webpage Settings
  916. ///////////////////////////////////////////////////////////////
  917.  
  918. // Note, that you can catch error codes by creating sphere404.htm and so on
  919. // for all HTTP error codes sphere support.
  920.  
  921. [WEBPAGE 1]
  922. // Determines what html file is used as base for the status page
  923. WebPageSrc=scripts/web/spherestatusbase.html
  924. // Determines where the status page is saved
  925. WebPageFile=scripts/web/status.html
  926. // In seconds, how often the status file is updated
  927. WebPageUpdate=60
  928. // Required PLevel to view this page (0 = anyone, 6 = admins only)
  929. PLevel=0
  930.  
  931. ///////////////////////////////////////////////////////////////
  932. //////// Abuse Control
  933. ///////////////////////////////////////////////////////////////
  934.  
  935. // Block these ips from the server
  936. // 255 is a wildcard, so 255.255.255.255 disables anyone connecting.
  937. [BlockIP]
  938. //123.34.45.56
  939. //123.45.56.78
  940.  
  941. ///////////////////////////////////////////////////////////////
  942. //////// Connection Information
  943. ///////////////////////////////////////////////////////////////
  944.  
  945. //First line should be the name of your shard (this is what people see when they connect)
  946. //Second line should be the IP of your shard (this is almost always 127.0.0.1)
  947. //Third line should be the port of your shard (this should be whatever ServPort is set to)
  948.  
  949. //Uncomment next 3 lines below this if you have a router
  950. //First line should be a name different than your shard name above this
  951. //Second line should be your real/external IP (www.whatismyip.com)
  952. //Third line should be the shard port (this should be whatever ServPort is set to)
  953. [SERVERS]
  954. MyShard
  955. 127.0.0.1
  956. 2593
  957.  
  958. //External
  959. //my.ip.goes.here
  960. //2593
  961.  
  962. [EOF]
Add Comment
Please, Sign In to add comment