Guest User

Untitled

a guest
Mar 28th, 2017
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.82 KB | None | 0 0
  1. //****************************************************************************
  2. // Copyright 2017 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=SuRuBa ShArD
  15. // The IP of your server, this will be 127.0.0.1 almost always
  16. ServIP=uogenesis.servegame.com
  17. // The port of your server, this is 2593 by default
  18. ServPort=6666
  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=muls/
  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=2
  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=1
  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=5
  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 yelling
  237. //DistanceYell=31
  238.  
  239. // Do not allow entering under roof being on horse?
  240. MountHeight=0
  241.  
  242. // Archery does not work if too close (0 = not checked)
  243. ArcheryMinDist=2
  244.  
  245. // Maximum Distance for Archery
  246. ArcheryMaxDist=15
  247.  
  248. // This is the percent of max weight at which stamina is lost half the time
  249. // (200 = no effect)
  250. StaminaLossAtWeight=150
  251.  
  252. // Weight penalty for running +N% of max carry weight (0 = no effect)
  253. RunningPenalty=50
  254.  
  255. // Show people joining/leaving the server. 0 disables, 2 enables staff only.
  256. ArriveDepartMsg=1
  257.  
  258. // Are house and boat keys newbied automatically
  259. AutoNewbieKeys=1
  260.  
  261. // Maximum number of items allowed in bank
  262. // Setting it to anything less than 0 (-1) will avoid items check
  263. BankMaxItems=1000
  264.  
  265. // Maximum weight in stones allowed in bank
  266. // Setting it to anything less than 0 (-1) will avoid weight check
  267. BankMaxWeight=1000
  268.  
  269. // If 1 vendors will take gold only from backpack
  270. PayFromPackOnly=0
  271.  
  272. // Disable weather effects?
  273. NoWeather=0
  274.  
  275. // Set to 1 for items to keep their attr_newbie flag
  276. // when item is transfered to an NPC.
  277. AllowNewbTransfer=0
  278.  
  279. // Default light level in dungeons
  280. DungeonLight=27
  281.  
  282. // Day light level 0-30
  283. LightDay=0
  284.  
  285. // Night light level 0-30
  286. LightNight=25
  287.  
  288. // Allow manual sector light override?
  289. //AllowLightOverride=1
  290.  
  291. // Wool Regen Time (in minutes)
  292. WoolGrowthTime=30
  293.  
  294. // Suppress player speech with 75% of capital letters
  295. SuppressCapitals=0
  296.  
  297. // Extra combat flags to control the fight (default:0, 0.55i compatible)
  298. // COMBAT_NODIRCHANGE 00001 // Not rotate player when fighting (like was in 0.51a)
  299. // COMBAT_FACECOMBAT 00002 // Allow faced combat only (recommended)
  300. // COMBAT_PREHIT 00004 // Allow prehit for close combat. first hit is instant (delay 0.1sec)
  301. // COMBAT_ELEMENTAL_ENGINE 00008 // Use DAM*/RES* to split damage/resist into Physical/Fire/Cold/Poison/Energy (AOS) instead use old AR (pre-AOS)
  302. // COMBAT_DCLICKSELF_UNMOUNTS 00020 // Unmount horse when dclicking self while in warmode
  303. // COMBAT_ALLOWHITFROMSHIP 00040 // Allow attacking opponents from ships
  304. // COMBAT_ARCHERYCANMOVE 00100 // Allow firing bow while moving
  305. // COMBAT_STAYINRANGE 00200 // Abort attack swing when out of range instead of waiting to come back in range
  306. // COMBAT_STACKARMOR 01000 // If a region is covered by more than one armor part, all AR will count
  307. // COMBAT_NOPOISONHIT 02000 // Disables old (55i like) poisoning style (0~100% chance based on Poisoning skill for monsters, or 50% chance for poisoned weapons)
  308. //CombatFlags=0
  309.  
  310. // Damage formula to use on physical combat
  311. // 0 = Sphere custom
  312. // 1 = pre-AOS
  313. // 2 = AOS
  314. CombatDamageEra=0
  315.  
  316. // Hit Chance formula to use on physical combat
  317. // 0 = Sphere custom // Not compatible with Hit Chance Increase property
  318. // 1 = pre-AOS // Not compatible with Hit Chance Increase property
  319. // 2 = AOS
  320. CombatHitChanceEra=0
  321.  
  322. // Swing Speed formula to use on physical combat
  323. // 0 = Sphere custom // Recommended SpeedScaleFactor = 15000. Old Sphere 0.55 custom formula. Not compatible with Swing Speed Increase property, and uses DEX instead STAM
  324. // 1 = pre-AOS // Recommended SpeedScaleFactor = 15000. Not compatible with Swing Speed Increase property
  325. // 2 = AOS // Recommended SpeedScaleFactor = 40000
  326. // 3 = SE // Recommended SpeedScaleFactor = 80000
  327. // 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
  328. CombatSpeedEra=0
  329.  
  330. // Speed scale factor for weapons
  331. SpeedScaleFactor=15000
  332.  
  333. // Extra magic flags to control magic/magery behaviour (default:0, 0.55i compatible)
  334. // MAGICF_NODIRCHANGE 00001 // Not rotate player when casting/targeting
  335. // MAGICF_PRECAST 00002 // Precasting (cast spell before target prompt)
  336. // MAGICF_IGNOREAR 00004 // Magic damage ignore ar
  337. // MAGICF_CANHARMSELF 00008 // Magic can do damage on self
  338. // MAGICF_STACKSTATS 00010 // Different stat spells don't cancel each other out
  339. // MAGICF_FREEZEONCAST 00020 // No movement whilst casting
  340. // MAGICF_SUMMONWALKCHECK 00040 // Summoned creatures should be able to walk on the target location (e.g. water creatures to be summoned on water)
  341. // MAGICF_NOFIELDSOVERWALLS 00080 // Field spells cannot cross over blocking objects
  342. // MAGICF_NOANIM 00100 // Auto SPELLFLAG_NO_ANIM in every spell
  343. // MAGICF_OSIFORMULAS 00200 // Calculate spell damage and duration based on OSI formulas
  344. // MAGICF_NOCASTFROZENHANDS 00400 // Can't cast spells if got paralyzed holding something on hands
  345. // MAGICF_POLYMORPHSTATS 00800 // Polymorph spells give out stats based on base chars (old behaviour backwards)
  346. // MAGICF_OVERRIDEFIELDS 01000 // Prevent cast multiple field spells on the same tile, making the new field tile remove the previous field
  347. MagicFlags=00400
  348.  
  349. // Max amount of each Stat gained through Polymorph spell. This affects separatelly to each stat.
  350. MaxPolyStats=150
  351.  
  352. // Racial traits flags
  353. // RACIALF_HUMAN_STRONGBACK 0001 // Increase carrying capacity (+60 stones of weight)
  354. // RACIALF_HUMAN_TOUGH 0002 // Regenerate hitpoints faster (+2 Hit Point Regeneration)
  355. // RACIALF_HUMAN_WORKHORSE 0004 // Find more resources while gathering hides, ore and lumber
  356. // RACIALF_HUMAN_JACKOFTRADES 0008 // Skill calculations always consider 20.0 minimum ability on untrained skills
  357. // RACIALF_ELF_NIGHTSIGHT 0010 // Permanent night sight effect
  358. // RACIALF_ELF_DIFFTRACK 0020 // Increase difficulty to be tracked while hidden/invisible
  359. // RACIALF_ELF_WISDOM 0040 // Permanent max mana bonus (+20 Mana Increase)
  360. // RACIALF_GARG_FLY 0080 // Enable gargoyle fly ability (FEATURE_AOS_UPDATE_B is required to enable gargoyle ability book)
  361. // RACIALF_GARG_BERSERK 0100 // Increase ferocity in situations of danger (15% Damage Increase + 3% Spell Damage Increase for each 20hp lost)
  362. // RACIALF_GARG_DEADLYAIM 0200 // Throwing calculations always consider 20.0 minimum ability when untrained
  363. // RACIALF_GARG_MYSTICINSIGHT 0400 // Mysticism calculations always consider 30.0 minimum ability when untrained
  364. RacialFlags=0
  365.  
  366. // Reveal flags related to Invisible Spell
  367. // REVEALF_DETECTINGHIDDEN 001 // Reveal Spell with Detecting Hidden Skill.
  368. // REVEALF_LOOTINGSELF 002 // Reveal when looting self bodies (NOTE: Hidden characters will be always revealed by default).
  369. // REVEALF_LOOTINGOTHERS 004 // Reveal when looting bodies of other Players or NPCs (NOTE: Hidden characters will be always revealed by default).
  370. // REVEALF_SPEAK 008 // Reveal when speaking.
  371. // REVEALF_SPELLCAST 010 // Reveal when starting to cast a Spell.
  372. // Set to 04 to make it behave like 55i.
  373. RevealFlags=01|02|04|08|010
  374.  
  375. // Length of time (in seconds) for a char to remember his attacker (used for attacker keyword)
  376. // Default = 300. (0 = don't forget until death.)
  377. AttackerTimeout=300
  378.  
  379. // Length of time (in seconds) for a player to choose a target when casting (0 = no timeout)
  380. SpellTimeout=0
  381.  
  382. // Zero point for sextant coordinates counting. Comment this line out if you are
  383. // not using ML maps.
  384. ZeroPoint=1323,1624,0
  385.  
  386. // How far from land i can be to take off a ship
  387. //MaxShipPlankTeleport=18
  388.  
  389. // Enable death screen animation on classic clients (on enhanced clients this is always enabled)
  390. PacketDeathAnimation=0
  391.  
  392. ///////////////////////////////////////////////////////////////
  393. //////// NPC/Item/Player Management
  394. ///////////////////////////////////////////////////////////////
  395. // Distance in tiles before an NPC that's wandered too far from it's home will teleport back
  396. LostNPCTeleport=50
  397.  
  398. // Whether PCs get a resurrection robe when they get resurrected.
  399. NoResRobe=0
  400.  
  401. // Time for a NPC corpse to decay mins
  402. CorpseNPCDecay=7
  403.  
  404. // Time for a player corpse to decay mins
  405. CorpsePlayerDecay=7
  406.  
  407. // Ghosts are not able to see and hear living players and creatures (0=disabled, 1=only npcs, 2=both npcs and players)
  408. DeadCannotSeeLiving=0
  409.  
  410. // At this Spirit Speak skill level players can understand ghosts speech instead hear 'oOOoO ooO'
  411. MediumCanHearGhosts=1000
  412.  
  413. // Base decay time in minutes for items
  414. DecayTimer=30
  415.  
  416. // Show [NPC] tags over chars
  417. CharTags=0
  418.  
  419. // Show job title on vendor names
  420. VendorTradeTitle=1
  421.  
  422. // Flip dropped items
  423. FlipDroppedItems=0
  424.  
  425. // Max amount allowed for stackable items (can't be higher than 65535)
  426. ItemsMaxAmount=60000
  427.  
  428. // Set to 1 to allow players to take equipment from their pets' paperdoll
  429. CanUndressPets=1
  430.  
  431. // Monsters run when scared of death
  432. MonsterFear=1
  433.  
  434. // Monsters may fight each other
  435. MonsterFight=0
  436.  
  437. // Percent setting of the all NPC move rate, default 100
  438. MoveRate=100
  439.  
  440. // Do players receive sounds
  441. GenericSounds=1
  442.  
  443. // Max number of items to sell to one person at once
  444. VendorMaxSell=255
  445.  
  446. // Cost (in gp) of each 0.1 skill trained on NPCs
  447. NPCTrainCost=1
  448.  
  449. // Max level npc trainers can go
  450. NPCTrainMax=420
  451.  
  452. // Percent of own ability npcs can train to
  453. NPCTrainPercent=30
  454.  
  455. // NPC will not be addressed as "Lord" or such if this is set
  456. NPCNoFameTitle=1
  457.  
  458. // Max level of skill trainable on dummies, archery butte ecc..
  459. SkillPracticeMax=300
  460.  
  461. // Max skill player's will start with on skills they haven't chosen during
  462. // character creation
  463. MaxBaseSkill=200
  464.  
  465. // Time in seconds for hitpoint regeneration (-1 = no regen)
  466. Regen0=2
  467.  
  468. // Time in seconds for mana regeneration (-1 = no regen)
  469. Regen1=0.1
  470.  
  471. // Time in seconds for stamina regeneration (-1 = no regen)
  472. Regen2=2
  473.  
  474. // Time in seconds for food decay (-1 = no regen)
  475. // 60*60*24 = 1 day of real life time
  476. Regen3=60*60*24
  477.  
  478. // Speech block associated to players
  479. SpeechSelf=spk_player
  480.  
  481. // Speech block associated to pets
  482. SpeechPet=spk_pet
  483.  
  484. // Events related to all NPCs
  485. //EventsPet=your_event
  486.  
  487. // Events related to all players
  488. EventsPlayer=e_player
  489.  
  490. // Events related to all regions
  491. //EventsRegion=your_event
  492.  
  493. // Events related to all items
  494. //EventsItem=your_event
  495.  
  496. // When player skills/stats goes this times more than skillclass allowed, drop
  497. // them to skillclass level. Setting this to 0 disables the action.
  498. OverSkillMultiply=2
  499.  
  500. // NPC AI settings
  501. // NPC_AI_PATH 00001 NPC pathfinding
  502. // NPC_AI_FOOD 00002 NPC food search (objects + grass)
  503. // NPC_AI_EXTRA 00004 NPC magics, etc
  504. // NPC_AI_ALWAYSINT 00008 Always be as smart as possible with pathfinding
  505. // NPC_AI_INTFOOD 00010 NPC food search (more intelligent and trusworthy)
  506. // NPC_AI_COMBAT 00040 Look for friends in combat
  507. // NPC_AI_VEND_TIME 00080 vendors closing their shops at nighttime
  508. // NPC_AI_LOOTING 00100 loot corpses an the way
  509. // NPC_AI_MOVEOBSTACLES 00200 if moveable items block my way, try to move them
  510. // NPC_AI_PERSISTENTPATH 00400 NPC will try often to find a path with pathfinding
  511. // NPC_AI_THREAT 00800 Enable the use of the threat variable when finding for target while fighting.
  512. // NPC_AI_OLDMOVESPEED 01000 Enable backwards SpeedMove formula (55i like) for walk delays.
  513. //NPCAI=0
  514.  
  515. ///////////////////////////////////////////////////////////////
  516. //////// Crime/Murder/Karma/Fame/Guard Settings
  517. ///////////////////////////////////////////////////////////////
  518. // Lowest karma level a character can achieve
  519. MinKarma=-10000
  520.  
  521. // Highest karma level a character can achieve
  522. MaxKarma=10000
  523.  
  524. // Highest fame level a character can achieve
  525. MaxFame=10000
  526.  
  527. // Karma when player goes from good to neutral (from -10000 to 10000)
  528. PlayerNeutral=-2000
  529.  
  530. // Karma when player goes from neutral to evil (from -10000 to 10000)
  531. PlayerEvil=-8000
  532.  
  533. // How many minutes are criminals flagged for
  534. CriminalTimer=3
  535.  
  536. // Chance to get flagged criminal when using Snooping skill (0% - 100%)
  537. SnoopCriminal=100
  538.  
  539. // Set if opening a container in a trade window needs to be open using Snooping skill or not (1=true,0=false)
  540. TradeWindowSnooping=1
  541.  
  542. // Seconds time to decay a murder count (default 8*60*60 is 8 hours)
  543. MurderDecayTime=8*60*60
  544.  
  545. // Amount of murders before we get title
  546. MurderMinCount=1
  547.  
  548. // Looting or carving a blue player is a crime
  549. LootingIsaCrime=1
  550.  
  551. // Attacking is considered a crime (even without hit)
  552. AttackingIsaCrime=1
  553.  
  554. // Flag players criminal for helping criminals?
  555. HelpingCriminalsIsaCrime=1
  556.  
  557. // How long do guards linger about in minutes
  558. GuardLinger=3
  559.  
  560. // Will guards kill instantly or follow normal combat rules
  561. GuardsInstantKill=1
  562.  
  563. // Will guards attack Murderers and Criminals (1) or criminals only (0)
  564. GuardsOnMurderers=1
  565.  
  566. // Limits the MAXHITS/MAXMANA/MAXSTAM changes
  567. // STAT_FLAG_NORMAL 00 // MAX* status allowed (default)
  568. // STAT_FLAG_DENYMAX 01 // MAX* denied
  569. // STAT_FLAG_DENYMAXP 02 // .. for players
  570. // STAT_FLAG_DENYMAXN 04 // .. for npcs
  571. StatsFlags=0
  572.  
  573. // Uses the new LoS algorithm
  574. // ADVANCEDLOS_DISABLED 00 // Disabled, use the old method
  575. // ADVANCEDLOS_PLAYER 01 // Enabled only for players
  576. // ADVANCEDLOS_NPC 02 // Enabled only for NPCs
  577. AdvancedLos=0
  578.  
  579. // Default color settings for characters names (notoriety)
  580. //ColorNotoGood=059 // blue
  581. //ColorNotoGuildSame=03f // green (ally)
  582. //ColorNotoNeutral=03b2 // grey (can be attacked)
  583. //ColorNotoCriminal=03b2 // grey (criminal)
  584. //ColorNotoGuildWar=090 // orange (enemy guild)
  585. //ColorNotoEvil=022 // red
  586. //ColorNotoInvul=035 // yellow
  587. //ColorNotoInvulGameMaster=0b // purple
  588. //ColorNotoDefault=03b2 // grey (if not any other)
  589.  
  590. ColorInvis=0 // 04001 = transparent color, 0 = default
  591. ColorInvisSpell=0 // 04001 = transparent color, 0 = default (This one is for s_invisibility spell, this includes the invis potion.)
  592. ColorHidden=0 // 04001 = transparent color, 0 = default
  593.  
  594. // Which notoriety flags do pets inherit from their masters? (default 0)
  595. // Set flags to indicate which notoriety statuses a pet can inherit from its owner.
  596. // NotoGood 001 // blue
  597. // NotoGuildSame 002 // green (ally)
  598. // NotoNeutral 004 // grey (can be attacked)
  599. // NotoCriminal 008 // grey (criminal)
  600. // NotoGuildWar 010 // orange (enemy guild)
  601. // NotoEvil 020 // red
  602. // NotoInvul 040 // yellow
  603. // e.g. "07a" will show pets as criminal/warring/evil/allied/invul when their master has
  604. // one of these statuses, regardless of the pet's true notoriety.
  605. PetsInheritNotoriety=1
  606.  
  607. // Time until Sphere removes a character from the notoriety list of another one.
  608. NotoTimeOut=30
  609.  
  610. ///////////////////////////////////////////////////////////////
  611. //////// Server Mechanics
  612. ///////////////////////////////////////////////////////////////
  613. // Experimental flags
  614. // Flags for options that affect server behaviour and which might affect compatibility
  615. // See the revisions.txt file for more details on this
  616. // EF_NoDiagonalCheckLOS 00000001 // Disable LOS checks on diagonal directions
  617. // EF_DynamicBackgroundsave 00000002
  618. // EF_ItemStacking 00000004 // Enable item stacking feature when drop items on ground
  619. // EF_ItemStackDrop 00000008 // The item stack will drop when an item got removed from the stack
  620. // EF_FastWalkPrevention 00000010 // Enable client fastwalk prevention (works better on Linux)(if enabled, it will override old WalkBuffer/WalkRegen checks)
  621. // 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.
  622. // EF_Item_Strict_Comparison 00000040 // Don't consider log/board and leather/hide as the same resource type
  623. // EF_AllowTelnetPacketFilter 00000200 // Enable packet filtering for telnet connections as well
  624. // EF_Script_Profiler 00000400 // Record all functions/triggers execution time statistics (it can be viewed pressing P on console)
  625. // EF_DamageTools 00002000 // Damage tools (and fire @damage on them) while mining or lumberjacking
  626. // EF_UsePingServer 00008000 // Enable the experimental Ping Server (for showing pings on the server list, uses UDP port 12000)
  627. // EF_FixCanSeeInClosedConts 00020000 // Change CANSEE to return 0 for items inside containers that a client hasn't opened
  628. Experimental=0
  629.  
  630. // Option flags
  631. // Flags for options that affect server behaviour but not compatibility
  632. // See the revisions.txt file for more details on this
  633. // OF_NoDClickTarget 00000001 // Weapons won't open a target in the cursor after DClicking them for equip.
  634. // OF_NoSmoothSailing 00000002 // Deactivate Smooth Sailing for clients >= 7.0.8.13
  635. // OF_ScaleDamageByDurability 00000004 // Weapons/armors will lose DAM/AR effect based on it's current durability
  636. // OF_Command_Sysmsgs 00000008 // Shows status of hearall, allshow, allmove... commands after toggling them
  637. // OF_PetSlots 00000010 // Enable AOS pet follower slots on chars. If enabled, all players must have MAXFOLLOWER property set (default=5)
  638. // OF_OSIMultiSight 00000020 // Only send items inside multis when the player enter on the multi area
  639. // OF_Items_AutoName 00000040 // Auto rename potions/scrolls to match its spell name
  640. // OF_FileCommands 00000080 // Enable the usage of FILE commands
  641. // OF_NoItemNaming 00000100 // Disable the DEFMSG."grandmaster_mark" in crafted items
  642. // OF_NoHouseMuteSpeech 00000200 // Players outside multis won't hear what is told inside
  643. // OF_NoContextMenuLOS 00000400 // Disable LOS check to use context menus on chars
  644. // OF_Flood_Protection 00001000 // Prevent the server send messages to client if its the same message as the last already sent
  645. // OF_Buffs 00002000 // Enable the buff/debuff bar on ML clients >= 5.0.2b
  646. // OF_NoPrefix 00004000 // Don't show "a" and "an" prefix on item names
  647. // OF_DyeType 00008000 // Allow use i_dye on all items with t_dye_vat typedef instead only on i_dye_tub itemdef
  648. // OF_DrinkIsFood 00010000 // Typedef t_drink will increase food level like t_food
  649. // OF_DClickNoTurn 00020000 // Don't turn the player when DClick or targ an item
  650. OptionFlags=08|0200|00000010
  651.  
  652. // FeatureT2A, used to control T2A expansion features ( default 03 )
  653. // FEATURE_T2A_UPDATE 01 // Monster and Lost lands
  654. // FEATURE_T2A_CHAT 02 // In game chat
  655. FeatureT2A = 01|02
  656.  
  657. // FeatureLBR, used to control LBR expansion features
  658. // FEATURE_LBR_UPDATE 01 // Lbr Monsters
  659. // FEATURE_LBR_SOUND 02 // MP3 instead of MIDI
  660. FeatureLBR = 01|02
  661.  
  662. // FeatureAOS, used to control AOS expansion features
  663. // FEATURE_AOS_UPDATE_A 01 // AOS Monsters, Map
  664. // FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills, Newer spellbook support
  665. // FEATURE_AOS_POPUP 04 // PopUp Menus
  666. // FEATURE_AOS_DAMAGE 08 // Show damage values above char head when deal/receive any damage
  667. FeatureAOS = 01|08
  668.  
  669. // FeatureSE, used to control SE expansion features
  670. // FEATURE_SE_UPDATE 01 // Basic SE features
  671. // FEATURE_SE_NINJASAM 02 // Ninja and Samurai
  672. FeatureSE = 0
  673.  
  674. // FeatureML, used to control ML expansion features
  675. // FEATURE_ML_UPDATE 01 // Basic ML features
  676. FeatureML = 0
  677.  
  678. // FeatureKR, used to control KR expansion features (still not complete but usable)
  679. // FEATURE_KR_UPDATE 01 // Basic KR features
  680. FeatureKR = 0
  681.  
  682. // FeatureSA, used to control SA expansion features
  683. // FEATURE_SA_UPDATE 01 // Unlocks gargoyle character creation and housing items
  684. // FEATURE_SA_MOVEMENT 02 // Activates new movement packets (not good)
  685. FeatureSA = 0
  686.  
  687. // FeatureTOL, used to control TOL expansion features
  688. // FEATURE_TOL_UPDATE 01 // Basic TOL features
  689. // FEATURE_TOL_VIRTUALGOLD 02 // Use virtual gold/platinum currency instead default 'physical' gold
  690. FeatureTOL = 0
  691.  
  692. // FeatureExtra, used to control misc expansion features
  693. // FEATURE_EXTRA_CRYSTAL 001 // Unlocks ML crystal/shadow items on house design
  694. // FEATURE_EXTRA_GOTHIC 002 // Unlocks SA gothic items on house design
  695. // FEATURE_EXTRA_RUSTIC 004 // Unlocks SA rustic items on house design
  696. // FEATURE_EXTRA_JUNGLE 008 // Unlocks TOL jungle items on house design
  697. // FEATURE_EXTRA_SHADOWGUARD 010 // Unlocks TOL shadowguard items on house design
  698. // FEATURE_EXTRA_ROLEPLAYFACES 020 // Unlocks extra roleplay face styles on character creation (enhanced clients only)
  699. FeatureExtra = 0
  700.  
  701. // In game effects to turn on and off
  702. // Messages echoed to the server console while in debug mode
  703. // DEBUGF_NPC_EMOTE 00001
  704. // DEBUGF_ADVANCE_STATS 00002
  705. // DEBUGF_EXP 00200 // experience gain/loss
  706. // DEBUGF_LEVEL 00400 // experience level changes
  707. // DEBUGF_SCRIPTS 00800 // debug flag for scripts
  708. // DEBUGF_LOS 01000 // debug flag for AdvancedLOS
  709. // DEBUGF_WALK 02000 // debug flag for new walking check stuff
  710. // DEBUGF_PACKETS 04000 // log packets to file
  711. // DEBUGF_NETWORK 08000 // debug flags for networking
  712. //DebugFlags=00
  713.  
  714. // Allow rapid Buy/Sell through Buy/Sell agent
  715. AllowBuySellAgent=0
  716.  
  717. // Secure mode attempts to ignore errors, protect from accidently shutdowns
  718. Secure=1
  719.  
  720. // Value from 1 to 32, set sectors inactive when unused to conserve resources, 0 disables Sleep (NOT recommended).
  721. SectorSleep=10
  722.  
  723. // Always force a full garbage collection on save
  724. ForceGarbageCollect=1
  725.  
  726. // Time before restarting when server appears hung (in seconds)
  727. FreezeRestartTime=60
  728.  
  729. // Length of the game world minute in real world in seconds
  730. GameMinuteLength=20
  731.  
  732. // Bit Mask of the subjects you want to log when logging is on
  733. // LOGM_ACCOUNTS 000080 // account login/operations
  734. // LOGM_INIT 000100 // start up messages
  735. // LOGM_SAVE 000200 // world save
  736. // LOGM_CLIENTS_LOG 000400 // all clients as they log in and out
  737. // LOGM_GM_PAGE 000800 // player gm pages
  738. // LOGM_PLAYER_SPEAK 001000 // all that the players say
  739. // LOGM_GM_CMDS 002000 // all gm commands
  740. // LOGM_CHEAT 004000 // possible cheat attempts
  741. // LOGM_KILLS 008000 // player combat results
  742. // LOGM_HTTP 010000 // http protocol operations
  743. // 01fff0 log everything
  744. LogMask=01fff0
  745.  
  746. // Amount of time to keep map data cached in sec
  747. MapCacheTime=120
  748.  
  749. // Max NPC chars for a sector to prevent lag
  750. MaxComplexity=32
  751.  
  752. // Amount of items in one tile so start showing "too many items here"
  753. MaxItemComplexity=25
  754.  
  755. // Amount of items in one sector to start showing "x items too complex"
  756. MaxSectorComplexity=1024
  757.  
  758. // Limit the number of cycles the while/for loop can proceed. Setting this to
  759. // zero disables the limitation
  760. MaxLoopTimes=0
  761.  
  762. // Amount of minutes to call f_onserver_timer (0 disables this, default)
  763. TimerCall=0
  764.  
  765. // Should sphere record the time it takes to do actions like treating npcs, scripts, clients and such?
  766. // Can be viewed by right clicking the mouse on sphere screen.
  767. Profile=0
  768.  
  769. ///////////////////////////////////////////////////////////////
  770. //////// Magic/Effects Settings
  771. ///////////////////////////////////////////////////////////////
  772.  
  773. // Allow casting while equipped
  774. EquippedCast=0
  775.  
  776. // Words of power for player using magic
  777. WOPPlayer=1
  778.  
  779. // Words of power for staff using magic
  780. WOPStaff=1
  781.  
  782. // Words of power font
  783. WOPFont=5
  784.  
  785. // Words of power color (0 = inherit color from char SPEECHCOLOR value)
  786. WOPColor=0790
  787.  
  788. // Reagents lost if magic fails
  789. ReagentLossFail=0
  790.  
  791. // Magic requires reagents
  792. ReagentsRequired=0
  793.  
  794. // What % of hitpoints players will resurrect with. Note, that if you set this
  795. // too low, people with little STR will have problems resurrecting.
  796. HitPointPercentOnRez=10
  797.  
  798. // How many % of hits will the character loose when starving. 0 disables
  799. //HitsHungerLoss=0
  800.  
  801. // Amount of skill of lock picking needed to unlock a magically locked door
  802. MagicUnlockDoor=900
  803.  
  804. // Teleport effect for GMs and players. Setting 0 disables the effect
  805. TeleportEffectNPC=0376a
  806. TeleportEffectPlayers=03728
  807. TeleportEffectStaff=03709
  808. TeleportSoundNPC=01fe
  809. TeleportSoundPlayers=01fe
  810. TeleportSoundStaff=01f3
  811.  
  812. ///////////////////////////////////////////////////////////////
  813. //////// Experience and Level system
  814. ///////////////////////////////////////////////////////////////
  815.  
  816. // Enable experience system
  817. //ExperienceSystem=0
  818.  
  819. // Experience system settings:
  820. // 0001 gain experience in combat
  821. // 0002 gain experience in crafts
  822. // 0004 allow experience to go down
  823. // 0008 limit experience decrease by a range witheen a current level
  824. // 0010 auto-init EXP/LEVEL for NPCs if not set in @Create
  825. //ExperienceMode=0
  826.  
  827. // If combat experience gain is allowed, use these percents for gaining exp in
  828. // Player versus Monster and Player versus Player combats. Value 0 disables gain.
  829. //ExperienceKoefPVM=100
  830. //ExperienceKoefPVP=100
  831.  
  832. // Enable levels system (as a part of experience system)
  833. //LevelSystem=0
  834.  
  835. // Level system settings:
  836. // linear = 0 (each NextLevelAt exp will give a level up)
  837. // double = 1 (you need (NextLevelAt * (level+1)) to get a level up)
  838. //LevelMode=1
  839.  
  840. // Amount of experience to raise to the next level
  841. //LevelNextAt=0
  842.  
  843. ///////////////////////////////////////////////////////////////
  844. //////// Network Behaviour
  845. ///////////////////////////////////////////////////////////////
  846. // WARNING: These are advanced settings that should not normally be changed
  847. // from the recommended default values!
  848.  
  849. // Disconnect inactive socket in x min
  850. DeadSocketTime=5
  851.  
  852. // Maximum number of packets to send per tick
  853. MaxPacketsPerTick=50
  854.  
  855. // Number of connections a client can make before being blocked
  856. MaxPings=15
  857.  
  858. // Maximum number of packets before lowering packet priorities (0 for no limit)
  859. MaxQueueSize=75
  860.  
  861. // Maximum number of bytes to send per tick (also governs maximum size of outgoing packets)
  862. MaxSizePerTick=18000
  863.  
  864. // Time to remember previous connection history (seconds)
  865. NetTTL=300
  866.  
  867. // Prioritise outgoing packets (provides a smoother experience in crowded areas)
  868. UsePacketPriority=0
  869.  
  870. // Enables an additional buffer for outgoing data.
  871. UseExtraBuffer=1
  872.  
  873. // Tooltip modes
  874. // 0 = Always send full tooltip
  875. // 1 = Wait for client to request full tooltip
  876. TooltipMode=1
  877.  
  878. // Time to cache tooltip data for (seconds)
  879. TooltipCache=30
  880.  
  881. // Limit of options in each Context Menu.
  882. ContextMenuLimit=15
  883.  
  884. // Automatically invalidate and resend tooltips when:
  885. // 0001 item or character name changes
  886. // 0002 item amount changes
  887. // 0004 container weight changes
  888. // 0008 weapon or armor durability changes
  889. // 0010 weapon poison charge changes
  890. // 0020 wand charge changes
  891. // 0040 spell added to spellbook
  892. AutoTooltipResend=07f
  893.  
  894. ///////////////////////////////////////////////////////////////
  895. //////// Third-Party Tools Support
  896. ///////////////////////////////////////////////////////////////
  897.  
  898. // Axis / TNG
  899. // Path where STRIP console command will strip an index of all script templates to use with Axis / TNG
  900. // on Windows the path format is "\foo\bar\"
  901. // on Linux the path format is "/foo/bar/"
  902. StripPath=scripts/web/
  903.  
  904. // ConnectUO
  905. // Enable or disable the response to ConnectUO pings
  906. // If enabled, it returns: Items, Chars, Clients and Memory
  907. CUOStatus=1
  908.  
  909. // UOGateway
  910. // Enable or disable the response to UOGateway pings
  911. // If enabled, it returns: Name, Age, Clients, Items, Chars and Memory
  912. UOGStatus=1
  913.  
  914. [RESOURCELIST]
  915. ITEMDEF
  916. CHARDEF
  917.  
  918. ///////////////////////////////////////////////////////////////
  919. //////// Webpage Settings
  920. ///////////////////////////////////////////////////////////////
  921.  
  922. // Note, that you can catch error codes by creating sphere404.htm and so on
  923. // for all HTTP error codes sphere support.
  924.  
  925. [WEBPAGE 1]
  926. // Determines what html file is used as base for the status page
  927. WebPageSrc=scripts/web/spherestatusbase.html
  928. // Determines where the status page is saved
  929. WebPageFile=scripts/web/status.html
  930. // In seconds, how often the status file is updated
  931. WebPageUpdate=60
  932. // Required PLevel to view this page (0 = anyone, 6 = admins only)
  933. PLevel=0
  934.  
  935. ///////////////////////////////////////////////////////////////
  936. //////// Abuse Control
  937. ///////////////////////////////////////////////////////////////
  938.  
  939. // Block these ips from the server
  940. // 255 is a wildcard, so 255.255.255.255 disables anyone connecting.
  941. [BlockIP]
  942. //123.34.45.56
  943. //123.45.56.78
  944.  
  945. ///////////////////////////////////////////////////////////////
  946. //////// Connection Information
  947. ///////////////////////////////////////////////////////////////
  948.  
  949. //First line should be the name of your shard (this is what people see when they connect)
  950. //Second line should be the IP of your shard (this is almost always 127.0.0.1)
  951. //Third line should be the port of your shard (this should be whatever ServPort is set to)
  952.  
  953. //Uncomment next 3 lines below this if you have a router
  954. //First line should be a name different than your shard name above this
  955. //Second line should be your real/external IP (www.whatismyip.com)
  956. //Third line should be the shard port (this should be whatever ServPort is set to)
  957. [SERVERS]
  958. What The Fuck
  959. uogenesis.servegame.com
  960. 6666
  961.  
  962. //External
  963. //my.ip.goes.here
  964. //2593
  965.  
  966. [EOF]
Add Comment
Please, Sign In to add comment