<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.spherecommunity.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ShiryuX</id>
		<title>SphereWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.spherecommunity.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ShiryuX"/>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Special:Contributions/ShiryuX"/>
		<updated>2026-04-30T06:08:09Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Special_Items&amp;diff=8112</id>
		<title>Special Items</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Special_Items&amp;diff=8112"/>
				<updated>2024-10-20T13:07:28Z</updated>
		
		<summary type="html">&lt;p&gt;ShiryuX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|Special_Items}}&lt;br /&gt;
&lt;br /&gt;
Certain types of items have extended functionality, and therefore have additional properties, functions or references to the ones already listed on the [[Items]] page. The following sections describe what these are.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Multis==&lt;br /&gt;
Multis have a TYPE t_multi, t_multi_custom or t_ship. These are multi-piece items that are usually stored in the client's multi.mul file, but are only considered to be one item to both the server and client (so when you approach a castle, there is a significant reduction in lag since the server doesn't have to tell the client to display thousands of wall pieces).&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all multi properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[COMPS]] || R || Gets the number of components defined in the [[ITEMDEF]].&lt;br /&gt;
|-&lt;br /&gt;
| [[COMP]]''.n.key'' || R || Gets the KEY (ID,DX,DY,DZ,D) of the nth component defined in the [[ITEMDEF]].&lt;br /&gt;
|-&lt;br /&gt;
| [[MULTICREATE]] ''owner_uid'' || W || When a multi is created via SERV.[[NEWITEM]], this function must be used to initialise the multi-region.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Customizable Multis==&lt;br /&gt;
Customizable multis are represented by the TYPE of t_multi_custom. These are designed to be used with the AOS House Designer tool that is present since the 4.0.0 series of UO clients.&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[DESIGNER]] || R || Gets the [[Characters|character]] currently modifying the house design.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all custom multi properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDITEM]] ''item_id, dx, dy, dz'' || W || Adds an item to the house design.&lt;br /&gt;
|-&lt;br /&gt;
| [[ADDMULTI]] ''multi_id, dx, dy, dz'' || W || Adds a multi to the house design.&lt;br /&gt;
|-&lt;br /&gt;
| [[CLEAR]] || W || Removes all items from the house design.&lt;br /&gt;
|-&lt;br /&gt;
| [[COMMIT]] || W || Commits all changes that have been made to the house design, updating the state of the building.&lt;br /&gt;
|-&lt;br /&gt;
| [[COMPS]] || R || Gets the number of components in the house design.&lt;br /&gt;
|-&lt;br /&gt;
| [[CUSTOMIZE]] ''character_uid'' || W || Enters the building into edit mode for the specified character (or SRC).&lt;br /&gt;
|-&lt;br /&gt;
| [[DESIGN]]''.n.KEY'' || R || Gets a property (ID,DX,DY,DZ,D,FIXTURE) from the nth component in the house design.&lt;br /&gt;
|-&lt;br /&gt;
| [[EDITAREA]] || R || Gets the designable area rectangle of the multi (left,top,right,bottom)&lt;br /&gt;
|-&lt;br /&gt;
| [[ENDCUSTOMIZE]] || W || Exits the current designer from edit mode.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIXTURES]] || R || Gets the number of fixtures in the house design.&lt;br /&gt;
|-&lt;br /&gt;
| [[REMOVEITEM]] ''item_id, dx, dy, dz'' || W || Removes an item from the house design.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESET]] || W || Resets the house design back to the house foundation.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESYNC]] ''character_uid'' || W || Resends the current building state to the specified character (or SRC).&lt;br /&gt;
|-&lt;br /&gt;
| [[REVERT]] || W || Undoes all of the changes made to the house design since the last commit.&lt;br /&gt;
|-&lt;br /&gt;
| [[REVISION]] || R || Gets the revision number of the house design.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Ships==&lt;br /&gt;
Ships have the TYPE t_ship, and are another extended version of multis that are designed to be used to sail around the world.&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[HATCH]] || R || Gets the ship's [[Items|hatch]].&lt;br /&gt;
|-&lt;br /&gt;
| [[TILLER]] || R || Gets the ship's [[Items|tiller]].&lt;br /&gt;
|-&lt;br /&gt;
| [[PLANK]]''.n'' || R || Gets the nth ship [[Items|plank]]. (zero-based)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all ship properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[PLANKS]] || R || Gets the number of planks on the ship.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPANCHORDROP]] || W || Drops the ship's anchor, preventing it from moving.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPANCHORRAISE]] || W || Raises the ship's anchor, allowing it to move.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPBACK]] || W || Begins moving the ship backwards.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPBACKLEFT]] || W || Begins moving the ship backwards and to its left.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPBACKRIGHT]] || W || Begins moving the ship backwards and to its right.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPDOWN]] || W || Begins moving the ship downards, if ATTR_MAGIC is set.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPDRIFTLEFT]] || W || Begins moving the ship to its left.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPDRIFTRIGHT]] || W || Begins moving the ship to its right.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPFACE]] ''direction'' || W || Sets the direction of the ship.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPFORE]] || W || Begins moving the ship forwards.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPFORELEFT]] || W || Begins moving the ship forwards and to its left.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPFORERIGHT]] || W || Begins moving the ship forwards and to its right.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPGATE]] ''location'' || W || Moves the entire ship and its contents to a specified location.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPLAND]] || W || Moves the ship to ground level, if ATTR_MAGIC is set.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPMOVE]] ''direction'' || W || Begins moving the ship in the specified direction.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPSPEED]].TILES || R || Gets the number of tiles that ths ship moves in one step.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPSPEED]].PERIOD || R || Gets the length of time between each step, in tenths of a second.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPSTOP]] || W || Stops the ship.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPTURN]] || W || Turns the ship to face the opposite direction.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPTURNLEFT]] || W || Rotates the ship to its left.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPTURNRIGHT]] || W || Rotates the ship to its right.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHIPUP]] || W || Begins moving the ship upwards, if ATTR_MAGIC is set.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Maps==&lt;br /&gt;
The TYPEs t_map and t_map_blank are used to represent maps. These display a map to the player when used, that can be marked with a series of pins (markers) to plot a route.&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all map properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[PIN]]''.n'' &amp;lt;br /&amp;gt; [[PIN]] ''x, y'' || RW || Gets the position of the ''nth'' pin (zero-based), or adds a pin to the map at the specified location.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE1H]],[[MORE1L]] || RW || Gets the top left coordinates (x,y) of the area displayed on t_map.&lt;br /&gt;
|-&lt;br /&gt;
| [[MORE2H]],[[MORE2L]] || RW || Gets the bottom right coordinates (x,y) of the area displayed on t_map.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Messages / Books==&lt;br /&gt;
Messages (t_message) and books (t_book) possess a range of properties and functions that are used to store their title, author and body text.&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all message properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[AUTHOR]] || RW || Gets or sets the author of the message.&lt;br /&gt;
|-&lt;br /&gt;
| [[BODY]]''.n'' || RW || Gets the nth line of text from the message, or appends a new line of text to the message.&lt;br /&gt;
|-&lt;br /&gt;
| [[ERASE]] ''page_num'' || W || Removes all lines of text from the message, or if a page number (one-based) if supplied erases just a single line.&lt;br /&gt;
|-&lt;br /&gt;
| [[PAGE]]''.n'' || W || Sets the text of the nth single line of the message. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[PAGES]] || R || Gets the number of lines of text in the message.&lt;br /&gt;
|-&lt;br /&gt;
| [[TITLE]] || RW || Gets or sets the title of message.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Communication Crystals==&lt;br /&gt;
Communication crystals have the TYPE of t_comm_crystal.&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all communication crystal properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[SPEECH]] ''-/+speech_defname'' || RW || Gets a list of attached SPEECH blocks, or adds to or removes from the attached speech..&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Guild/Town Stones==&lt;br /&gt;
Guild and Town stones are defined by the types t_stone_guild and t_stone_town. Whilst a lot of functionality has been moved into the script pack, there are still some special properties, functions and references that can be used.&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILD]]''.n || R || Gets the nth linked [[#Guild.2FTown_Members|guild or town]]. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILDFROMUID]]''stone_uid || R || Gets the linked [[#Guild.2FTown_Members|guild or town]] with a specified UID.&lt;br /&gt;
|-&lt;br /&gt;
| [[MEMBER]]''.n || R || Gets the nth member of the [[#Guild.2FTown_Members|guild or town]]. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[MEMBERFROMUID]].''character_uid || R || Gets the [[#Guild.2FTown_Members|member]] of the guild with a specified UID.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all guild/town stone properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ABBREV]]  || RW || Gets or sets the guild/town abbreviation.&lt;br /&gt;
|-&lt;br /&gt;
| [[ABBREVIATIONTOGGLE]] || R || Returns one of the ''STONECONFIG_VARIOUSNAME_*'' defnames depending on whether SRC has their abbreviation showing or not.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALIGN]] || RW || Gets or sets the alignment of the guild/town.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALIGNTYPE]] || R || Returns the name of the guild or town's alignment.&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLGUILDS]] ''flags, command'' || W || Performs the given comamnd on all linked guilds or towns based on flags. (0 = All, 1 = War Declared by 'Us' only, 2 = War Declared by 'Them' only, 3 = War Declayed by both)&lt;br /&gt;
|-&lt;br /&gt;
| [[ALLMEMBERS]] ''priv, command'' || W || Performs the given command on all guild or town members with the specified privelege level. (-1 = All)&lt;br /&gt;
|-&lt;br /&gt;
| [[APPLYTOJOIN]] ''character_uid'' || W || Adds a character as a candidate to the guild or town.&lt;br /&gt;
|-&lt;br /&gt;
| [[CHANGEALIGN]] ''alignment'' || W || Changes the guild or town alignment.&lt;br /&gt;
|-&lt;br /&gt;
| [[DECLAREPEACE]] ''stone_uid'' || W || Declares peace towards another guild or town.&lt;br /&gt;
|- &lt;br /&gt;
| [[DECLAREWAR]] ''stone_uid'' || W || Declares war towards another guild or town.&lt;br /&gt;
|-&lt;br /&gt;
| [[ELECTMASTER]] || W || Selects a new guild or town master based on which member has the most votes.&lt;br /&gt;
|-&lt;br /&gt;
| [[GUILD]].COUNT || R || Gets the number linked guilds or towns.&lt;br /&gt;
|-&lt;br /&gt;
| [[INVITEWAR]] ''stone_uid, who_declared'' || W || Invites another guild or town to go to war (''who_declared'', 0 = They declared, 1 = We declared)&lt;br /&gt;
|-&lt;br /&gt;
| [[JOINASMEMBER]] ''character_uid'' || W || Adds a character as a full member of the guild or town.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOYALTO]] || R || Returns the name of the guild or town member that SRC has declared fealty to.&lt;br /&gt;
|-&lt;br /&gt;
| [[MASTER]] || R || Returns the name of the guild or town master.&lt;br /&gt;
|-&lt;br /&gt;
| [[MASTERGENDERTITLE]] || R || Returns the gender of the guild or town mastser.&lt;br /&gt;
|-&lt;br /&gt;
| [[MASTERTITLE]] || R || Returns the title of the guild or town master.&lt;br /&gt;
|-&lt;br /&gt;
| [[MASTERUID]] || RW || Gets the UID of the guild/town master, or sets it to the UID of a new master.&lt;br /&gt;
|-&lt;br /&gt;
| [[MEMBER]].COUNT ''priv'' || R || Gets the number of members in the guild/town with at least the given privileges (or all if not supplied).&lt;br /&gt;
|-&lt;br /&gt;
| [[RESIGN]] ''character_uid'' || W || Removes a character from the guild or town.&lt;br /&gt;
|-&lt;br /&gt;
| [[TOGGLEABBREVIATION]] ''character_uid'' || W || Toggles the display of guild/town abbreviation for a member or SRC.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEBPAGE]] || RW || Gets or sets the guild or town's webpage.&lt;br /&gt;
|-&lt;br /&gt;
| [[CHARTER]]''.n'' || EW || Gets or sets the nth line of the guild/town charter. (zero-based)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Guild/Town Members==&lt;br /&gt;
When accessing a member of a guild or town via the [[MEMBER]].x,r [[MEMBERFROMUID]].uid, [[GUILD]].x, or [[GUILDFROMUID]].uid references, you access a special &amp;quot;Guild/Town Member&amp;quot; object which has specific properties, references and functions available. If you attempt to access something that doesn't exist in any of the following tables then the command is 'redirected' to the actual character or item the member object is linked to (so something like ''&amp;amp;lt;MEMBER.x.STR&amp;amp;gt;'' would work because the STR property exists on the [[Characters|character]]).&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all guild/town member properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
====Character Members====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ACCOUNTGOLD]]  || RW || Gets or sets the amount of gold the member has in their guild/town account.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISCANDIDATE]] || R || Returns 1 if the member is a candidate of the guild/town.&lt;br /&gt;
|-&lt;br /&gt;
| [[ISMASTER]] || R || Returns 1 if the member is a guild/town master.&lt;br /&gt;
|-&lt;br /&gt;
| [[LOYALTO]] || RW || Gets or sets the UID of who the member has declared fealty towards.&lt;br /&gt;
|-&lt;br /&gt;
| [[PRIV]] || RW || Gets or sets the member's privilege level within the guild/town.&lt;br /&gt;
|-&lt;br /&gt;
| [[PRIVNAME]] || R || Returns the name of the member's privilege level within the guild/town.&lt;br /&gt;
|-&lt;br /&gt;
| [[TITLE]] || RW || Gets or sets the member's title within the guild/town.&lt;br /&gt;
|-&lt;br /&gt;
| [[SHOWABBREV]] || RW || Gets or sets whether or not the member's abbreviation is shown.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Item Members====&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[ISENEMY]] || R || Returns 1 if the other guild/town is considered an enemy.&lt;br /&gt;
|-&lt;br /&gt;
| [[THEYALLIANCE]]  || RW || Gets or sets whether or not the other guild/town has declared an alliance with the guild/town.&lt;br /&gt;
|-&lt;br /&gt;
| [[THEYWAR]]  || RW || Gets or sets whether or not the other guild/town has declared war.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEALLIANCE]]  || RW || Gets or sets whether or not the guild/town has declared an alliance with the other guild/town.&lt;br /&gt;
|-&lt;br /&gt;
| [[WEWAR]]  || RW || Gets or sets whether or not the guild/town has declared war with the other guild/town.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Containers==&lt;br /&gt;
Container items (backpacks, bankboxes, bags, etc) can be used to hold other items. These items have the [[TYPE]] of t_container.&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
References return pointers to other objects (e.g. the REGION reference allows you to access the REGION that an object is in). These can either be accessed by using ''&amp;amp;lt;REFNAME&amp;amp;gt;'' to return the [[UID]] (1 for object types that don't have UIDs) of the object or 0 if it doesn't exist, or by using ''&amp;amp;lt;REFNAME.KEY&amp;amp;gt;'' where KEY is a valid property/function/reference for the ''REFNAME'' object. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDCONT]]''.n'' || R || Gets the nth [[Items|item]] from inside the container. (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDID]]''.item_id'' || R || Gets the first [[Items|item]] found inside the container with the matching [[BASEID]].&lt;br /&gt;
|-&lt;br /&gt;
| [[FINDTYPE]]''.type'' || R || Gets the first [[Items|item]] found inside the container with the matching [[TYPE]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all custom multi properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[COUNT]] || R || Returns the number of items inside the container.&lt;br /&gt;
|-&lt;br /&gt;
| [[DELETE]] ''nth'' || W || Deletes the nth item from inside the container. (1-based)&lt;br /&gt;
|-&lt;br /&gt;
| [[EMPTY]] || W || Deletes all items inside the container.&lt;br /&gt;
|-&lt;br /&gt;
| [[FCOUNT]] || R || Returns the total number of items inside the container, including subcontainers.&lt;br /&gt;
|-&lt;br /&gt;
| [[FIXWEIGHT]] || W || Recalculates the total weight of the container and its contained items.&lt;br /&gt;
|-&lt;br /&gt;
| [[OPEN]] || W || Opens the container, for SRC to view its contents.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESCOUNT]] ''item_defname'' || R || Returns the total amount of a specific item inside the container, including subcontainers.&lt;br /&gt;
|-&lt;br /&gt;
| [[RESTEST]] ''item_list'' || R || Returns 1 if all of the items in the list can be found inside the container, including subcontainers.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Vendable Items==&lt;br /&gt;
When an item has value, either explicitly in the ITEMDEF's [[VALUE]] property or implicity in the ITEMDEF's [[RESOURCES]] property, it is considered a &amp;quot;Vendable Item&amp;quot; that can be sold on vendors.&lt;br /&gt;
&lt;br /&gt;
===Properties and Functions===&lt;br /&gt;
Here is a list of all vendable item properties and functions. If a function is marked as readable then it can return a value when used as &amp;amp;lt;KEY&amp;amp;gt;. Click on the name for more detailed information such as usage and examples.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;4&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
| '''Name''' || '''Read/Write''' || '''Description'''&lt;br /&gt;
|-&lt;br /&gt;
| [[PRICE]] || RW || Gets or sets the price of the item. (affect only the sell/buy price on player vendor. NPC use the value)&lt;br /&gt;
|-&lt;br /&gt;
| [[QUALITY]] || RW || Gets or sets the quality of the item.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category: Reference Compendium]]&lt;br /&gt;
[[Category: Objects]]&lt;/div&gt;</summary>
		<author><name>ShiryuX</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Main_Page&amp;diff=7877</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Main_Page&amp;diff=7877"/>
				<updated>2020-04-12T23:56:39Z</updated>
		
		<summary type="html">&lt;p&gt;ShiryuX: Included reference compedium in the new style&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;background-color:#a7bcdc; color:#000; min-width:650px; padding:1px; text-align:center; width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
'''Starting with SphereServer'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;min-width:650px; width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div style=&amp;quot;border-right:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:33%;&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
			'''Setup of Sphere'''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Where to get Sphere]]&lt;br /&gt;
* [[Installing Sphere]]&lt;br /&gt;
* [[Configuring Sphere.ini]]&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
			'''Sphere 101'''&lt;br /&gt;
		&amp;lt;/div&amp;gt;		&lt;br /&gt;
		&amp;lt;div style=&amp;quot;padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Chapter 1]] ''(Numbers, DEFNAME, ITEMDEF, CHARDEF)''&lt;br /&gt;
* [[Chapter 2]] ''(Sphere files explained)''&lt;br /&gt;
* [[Chapter 3]] ''(Scripting NPC's and items, Cool commands)''&lt;br /&gt;
* [[Chapter 4]] ''(Objects, operators, speech)''&lt;br /&gt;
* [[Chapter 5]] ''(Tags, Vars, Locals, Functions)''&lt;br /&gt;
* [[Chapter 6]] ''(LINKs, TIMERs, TARGETs)''&lt;br /&gt;
* [[Chapter 7]] ''(Loops and powerful functions)''&lt;br /&gt;
* [[Chapter 8]] ''(SKILLMENUs, MENUs, Gumps)''&lt;br /&gt;
* [[Chapter 9]] ''(Events)''&lt;br /&gt;
* [[Chapter 10]] ''(String Handling)''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;div style=&amp;quot;border-left:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:67%;&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
			'''Extra Tutorials'''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Common Mistakes|Common Mistakes Explained]] ''(A revision of Maximus's tutorial on the forums, and continuation of Taran's Misconceptions tutorial)''&lt;br /&gt;
* [[Internet and Sphere]] ''(And how to make the right use of them)''&lt;br /&gt;
* [[Languages Tutorial]] ''(How to script your own language system)''&lt;br /&gt;
* [[Making your own Skills]] ''(How to make and customize your skill)''&lt;br /&gt;
* [[Mul Patching Tutorial|Nazghul's Mul Patching Tutorial]] [http://sorea.profitux.cz/patching/ external link] ''(A document about mul patching and customizing your server)''&lt;br /&gt;
* [[Overriding Hardcoded Commands]] ''(How to override hardcoded commands and functions)''&lt;br /&gt;
* [[Scheduled Reboot]] ''(How to schedule system reboots)''&lt;br /&gt;
* [[Using MySQL]] ''(How to use MySQL)''&lt;br /&gt;
* [[Bitwise Operations]] ''(How to work with FLAGS/ATTR)''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
			'''IMPORTANT LINKS'''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [https://github.com/Sphereserver SphereServer Official Github]&lt;br /&gt;
* [https://forum.spherecommunity.net/sshare.php?srt=4 Download Nightly Builds] ''(Plus! Extra downloads, like tools and scripts!)''&lt;br /&gt;
* [https://github.com/Sphereserver/Source-X/blob/master/Changelog-X1-Nightlies.txt SphereX Changelog] | [https://github.com/Sphereserver/Source/blob/master/changelog.txt 56d Changelog]&lt;br /&gt;
* [https://discord.gg/BZj2fEA Join us at Discord] ''(We will solve most of your doubts over there)''&lt;br /&gt;
		&amp;lt;/div&amp;gt;		&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color:#a7bcdc; color:#000; min-width:650px; padding:1px; text-align:center; width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
'''Reference Compendium'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;min-width:650px; width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div style=&amp;quot;border-right:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:33%;&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
[[:Category:Definitions|'''Definitions''']]&lt;br /&gt;
		&amp;lt;/div&amp;gt;		&lt;br /&gt;
		&amp;lt;div style=&amp;quot;padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[CHARDEF|Characters]]&lt;br /&gt;
* [[DIALOG|Dialogs]]&lt;br /&gt;
* [[EVENTS|Events]]&lt;br /&gt;
* [[ITEMDEF|Items]]&lt;br /&gt;
* [[MENU|Menus]]&lt;br /&gt;
* [[REGIONRESOURCE|Region Resources]]&lt;br /&gt;
* [[REGIONTYPE|Region Types]]&lt;br /&gt;
* [[AREADEF|Regions]]&lt;br /&gt;
* [[ROOMDEF|Rooms]]&lt;br /&gt;
* [[SKILLCLASS|Skill Classes]]&lt;br /&gt;
* [[SKILLMENU|Skill Menus]]&lt;br /&gt;
* [[SKILL|Skills]]&lt;br /&gt;
* [[SPAWN|Spawn Groups]]&lt;br /&gt;
* [[SPELL|Spells]]&lt;br /&gt;
* [[TYPEDEF|Types]]&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;div style=&amp;quot;border-left:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:67%;&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
[[:Category:Objects|'''Objects''']]&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Accounts]]&lt;br /&gt;
* [[Characters]]&lt;br /&gt;
* [[Database]]&lt;br /&gt;
* [[Files]]&lt;br /&gt;
* [[GM Pages]]&lt;br /&gt;
* [[Items]]&lt;br /&gt;
** ''[[Special Items]]''&lt;br /&gt;
* [[Map Points]]&lt;br /&gt;
* [[Parties]]&lt;br /&gt;
* [[Regions]]&lt;br /&gt;
* [[Rooms]]&lt;br /&gt;
* [[Sectors]]&lt;br /&gt;
* [[Server]]&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
[[:Category:Scripts|'''Scripts''']]&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[:Category:Functions|Functions and Triggers]]&lt;br /&gt;
* [[:Category:Variables|General Functions, Properties and References]]&lt;br /&gt;
* [[Intrinsic Functions]]&lt;br /&gt;
* [[:Category:Statements|Statements]]&lt;br /&gt;
* [[:Category:Triggers|Triggers]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
==Sphere 3rd Party Tools==&lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;uid=603 Axis II] - GM Tool for Sphere that will allow you to place objects in-game, spawns, traveling and many other useful functions for shard admins and GMs.&lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=3 vSCP] - vSCP is the most complete and up-to-date syntax editor for sphere scripting. It does contain syntax highlighting, autocomplete, folding markers to specify blocks of code that can expand or collapse, bookmarks, autoindent, find/replace/gotoline, help guide for all the sphere elements added to your code, and more! &lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=2 vServerLauncher] - Install and run the latest build of sphereserver in a few clicks with vServerLauncher. It's pretty quick and simple!&lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=5 SphereService] - Relaunch SphereSvr.exe everytime it closes/crashes. Automatically runs at windows startup and works in a silent mode minimized to Tray.&lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=4 vCrypter] - Type the client version and the tool will calculate the correct UO login keys for classic or enhanced clients.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Other Articles==&lt;br /&gt;
&lt;br /&gt;
* [[Armor Calculation]]&lt;br /&gt;
* [[Client Changes]]&lt;br /&gt;
* [[Common Scripting Misconceptions]]&lt;br /&gt;
* [[Custom Object Properties]]&lt;br /&gt;
* [[Error Codes]]&lt;br /&gt;
* [[Experience System]]&lt;br /&gt;
* [[How Combat Works]]&lt;br /&gt;
* [[Occam's Razor]]&lt;br /&gt;
* [[Optimization|Optimization Theory]]&lt;br /&gt;
* [[Override TAGs]]&lt;br /&gt;
* [[Revisions Changelog]]&lt;br /&gt;
* [[Sendpacket]]&lt;br /&gt;
* [[Skill Gain Theory]]&lt;br /&gt;
* [[The Process of Scripting]]&lt;br /&gt;
* [[Building Component Reference]]&lt;br /&gt;
&lt;br /&gt;
==Credits==&lt;br /&gt;
&lt;br /&gt;
'''Special thanks to:'''&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Ben, Cloud_Br, Ellessar, Jdog, Lord Zerofiz, Mordaunt, Nazghul-ll, RanXerox, Rattlehead, Sandman, Sharlenwar, ShiryuX, thelegbra, Maximus, WarAngel and Valios]], for helping to add content.&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Daleth]], for writing the Sphere Reference Project, and [[WhoIsWho|Mordaunt]] for converting it to .chm format.&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Tracker]], for writing the Sphere 56 Tracking Changes in Sphereserver.net&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Taran]], for writing the original and now famous Sphere Scripting for Dummies tutorials, and [[WhoIsWho|MrSugarCube]] for bringing it up-to-date directly from source.&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Ben, Khaos, Ranxerox, Shiryux, Furio, Radiant, Vjaka, Nazghul-ll, Ellessar, Torfo, Shadow Dragon, MrSugarCube and coruja747]] for continuing to develop Sphere into a powerful and very customizable Ultima Online emulator.&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Crius]], for providing hosting for the original SphereWiki, and [[WhoIsWho|Torfo]] for providing the current hosting.&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
&lt;br /&gt;
* [http://www.spherecommunity.net/ Official SphereServer Website]&lt;br /&gt;
* [https://forum.spherecommunity.net/sshare.php?srt=4 Nightly builds]&lt;br /&gt;
* [http://nightly.prerelease.sphere.torfo.org/ Nightly builds - OUTDATED, use the link above]&lt;br /&gt;
* [http://spherepack.codeplex.com/ Sphere Community Pack 2.0]&lt;br /&gt;
* [http://uo.torfo.org/packetguide/ Jerrith's UO Packet Guide]&lt;br /&gt;
* [http://uo.torfo.org/packetguideKR/ Wyatt&amp;amp;Kons's UOKR Packet Guide]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Navigation]]&lt;/div&gt;</summary>
		<author><name>ShiryuX</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Main_Page&amp;diff=7876</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Main_Page&amp;diff=7876"/>
				<updated>2020-04-10T22:09:52Z</updated>
		
		<summary type="html">&lt;p&gt;ShiryuX: New design of the head section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div style=&amp;quot;background-color:#a7bcdc; color:#000; min-width:650px; padding:1px; text-align:center; width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
'''Starting with SphereServer'''&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;min-width:650px; width:100%;&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;div style=&amp;quot;border-right:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:33%;&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
			'''Setup of Sphere'''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Where to get Sphere]]&lt;br /&gt;
* [[Installing Sphere]]&lt;br /&gt;
* [[Configuring Sphere.ini]]&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
			'''Sphere 101'''&lt;br /&gt;
		&amp;lt;/div&amp;gt;		&lt;br /&gt;
		&amp;lt;div style=&amp;quot;padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Chapter 1]] ''(Numbers, DEFNAME, ITEMDEF, CHARDEF)''&lt;br /&gt;
* [[Chapter 2]] ''(Sphere files explained)''&lt;br /&gt;
* [[Chapter 3]] ''(Scripting NPC's and items, Cool commands)''&lt;br /&gt;
* [[Chapter 4]] ''(Objects, operators, speech)''&lt;br /&gt;
* [[Chapter 5]] ''(Tags, Vars, Locals, Functions)''&lt;br /&gt;
* [[Chapter 6]] ''(LINKs, TIMERs, TARGETs)''&lt;br /&gt;
* [[Chapter 7]] ''(Loops and powerful functions)''&lt;br /&gt;
* [[Chapter 8]] ''(SKILLMENUs, MENUs, Gumps)''&lt;br /&gt;
* [[Chapter 9]] ''(Events)''&lt;br /&gt;
* [[Chapter 10]] ''(String Handling)''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
	&amp;lt;div style=&amp;quot;border-left:1px solid #a7bcdc; float:left; height:100%; margin-right:-1px; width:67%;&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
			'''Extra Tutorials'''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [[Common Mistakes|Common Mistakes Explained]] ''(A revision of Maximus's tutorial on the forums, and continuation of Taran's Misconceptions tutorial)''&lt;br /&gt;
* [[Internet and Sphere]] ''(And how to make the right use of them)''&lt;br /&gt;
* [[Languages Tutorial]] ''(How to script your own language system)''&lt;br /&gt;
* [[Making your own Skills]] ''(How to make and customize your skill)''&lt;br /&gt;
* [[Mul Patching Tutorial|Nazghul's Mul Patching Tutorial]] [http://sorea.profitux.cz/patching/ external link] ''(A document about mul patching and customizing your server)''&lt;br /&gt;
* [[Overriding Hardcoded Commands]] ''(How to override hardcoded commands and functions)''&lt;br /&gt;
* [[Scheduled Reboot]] ''(How to schedule system reboots)''&lt;br /&gt;
* [[Using MySQL]] ''(How to use MySQL)''&lt;br /&gt;
* [[Bitwise Operations]] ''(How to work with FLAGS/ATTR)''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;border-bottom:1px solid #a7bcdc; color:#a7bcdc; font-size:18px; padding-left:10px;&amp;quot;&amp;gt;&lt;br /&gt;
			'''IMPORTANT LINKS'''&lt;br /&gt;
		&amp;lt;/div&amp;gt;&lt;br /&gt;
		&amp;lt;div style=&amp;quot;padding:0px 0px 5px 10px;&amp;quot;&amp;gt;&lt;br /&gt;
* [https://github.com/Sphereserver SphereServer Official Github]&lt;br /&gt;
* [https://forum.spherecommunity.net/sshare.php?srt=4 Download Nightly Builds] ''(Plus! Extra downloads, like tools and scripts!)''&lt;br /&gt;
* [https://github.com/Sphereserver/Source-X/blob/master/Changelog-X1-Nightlies.txt SphereX Changelog] | [https://github.com/Sphereserver/Source/blob/master/changelog.txt 56d Changelog]&lt;br /&gt;
* [https://discord.gg/BZj2fEA Join us at Discord] ''(We will solve most of your doubts over there)''&lt;br /&gt;
		&amp;lt;/div&amp;gt;		&lt;br /&gt;
	&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
.&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
==Sphere 3rd Party Tools==&lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;uid=603 Axis II] - GM Tool for Sphere that will allow you to place objects in-game, spawns, traveling and many other useful functions for shard admins and GMs.&lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=3 vSCP] - vSCP is the most complete and up-to-date syntax editor for sphere scripting. It does contain syntax highlighting, autocomplete, folding markers to specify blocks of code that can expand or collapse, bookmarks, autoindent, find/replace/gotoline, help guide for all the sphere elements added to your code, and more! &lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=2 vServerLauncher] - Install and run the latest build of sphereserver in a few clicks with vServerLauncher. It's pretty quick and simple!&lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=5 SphereService] - Relaunch SphereSvr.exe everytime it closes/crashes. Automatically runs at windows startup and works in a silent mode minimized to Tray.&lt;br /&gt;
* [http://forum.spherecommunity.net/sshare.php?srt=4&amp;amp;prj=4 vCrypter] - Type the client version and the tool will calculate the correct UO login keys for classic or enhanced clients.&lt;br /&gt;
&lt;br /&gt;
==Reference Compendium==&lt;br /&gt;
&lt;br /&gt;
* [[:Category:Definitions|'''Definitions''']]&lt;br /&gt;
** [[CHARDEF|Characters]]&lt;br /&gt;
** [[DIALOG|Dialogs]]&lt;br /&gt;
** [[EVENTS|Events]]&lt;br /&gt;
** [[ITEMDEF|Items]]&lt;br /&gt;
** [[MENU|Menus]]&lt;br /&gt;
** [[REGIONRESOURCE|Region Resources]]&lt;br /&gt;
** [[REGIONTYPE|Region Types]]&lt;br /&gt;
** [[AREADEF|Regions]]&lt;br /&gt;
** [[ROOMDEF|Rooms]]&lt;br /&gt;
** [[SKILLCLASS|Skill Classes]]&lt;br /&gt;
** [[SKILLMENU|Skill Menus]]&lt;br /&gt;
** [[SKILL|Skills]]&lt;br /&gt;
** [[SPAWN|Spawn Groups]]&lt;br /&gt;
** [[SPELL|Spells]]&lt;br /&gt;
** [[TYPEDEF|Types]]&lt;br /&gt;
* [[:Category:Objects|'''Objects''']]&lt;br /&gt;
** [[Accounts]]&lt;br /&gt;
** [[Characters]]&lt;br /&gt;
** [[Database]]&lt;br /&gt;
** [[Files]]&lt;br /&gt;
** [[GM Pages]]&lt;br /&gt;
** [[Items]]&lt;br /&gt;
*** ''[[Special Items]]''&lt;br /&gt;
** [[Map Points]]&lt;br /&gt;
** [[Parties]]&lt;br /&gt;
** [[Regions]]&lt;br /&gt;
** [[Rooms]]&lt;br /&gt;
** [[Sectors]]&lt;br /&gt;
** [[Server]]&lt;br /&gt;
* [[:Category:Scripts|'''Scripts''']]&lt;br /&gt;
** [[:Category:Functions|Functions and Triggers]]&lt;br /&gt;
** [[:Category:Variables|General Functions, Properties and References]]&lt;br /&gt;
** [[Intrinsic Functions]]&lt;br /&gt;
** [[:Category:Statements|Statements]]&lt;br /&gt;
* [[Category: Triggers|'''Triggers''']]&lt;br /&gt;
** [[:Category:Triggers|Triggers]]&lt;br /&gt;
&lt;br /&gt;
==Other Articles==&lt;br /&gt;
&lt;br /&gt;
* [[Armor Calculation]]&lt;br /&gt;
* [[Client Changes]]&lt;br /&gt;
* [[Common Scripting Misconceptions]]&lt;br /&gt;
* [[Custom Object Properties]]&lt;br /&gt;
* [[Error Codes]]&lt;br /&gt;
* [[Experience System]]&lt;br /&gt;
* [[How Combat Works]]&lt;br /&gt;
* [[Occam's Razor]]&lt;br /&gt;
* [[Optimization|Optimization Theory]]&lt;br /&gt;
* [[Override TAGs]]&lt;br /&gt;
* [[Revisions Changelog]]&lt;br /&gt;
* [[Sendpacket]]&lt;br /&gt;
* [[Skill Gain Theory]]&lt;br /&gt;
* [[The Process of Scripting]]&lt;br /&gt;
* [[Building Component Reference]]&lt;br /&gt;
&lt;br /&gt;
==Credits==&lt;br /&gt;
&lt;br /&gt;
'''Special thanks to:'''&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Ben, Cloud_Br, Ellessar, Jdog, Lord Zerofiz, Mordaunt, Nazghul-ll, RanXerox, Rattlehead, Sandman, Sharlenwar, ShiryuX, thelegbra, Maximus, WarAngel and Valios]], for helping to add content.&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Daleth]], for writing the Sphere Reference Project, and [[WhoIsWho|Mordaunt]] for converting it to .chm format.&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Tracker]], for writing the Sphere 56 Tracking Changes in Sphereserver.net&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Taran]], for writing the original and now famous Sphere Scripting for Dummies tutorials, and [[WhoIsWho|MrSugarCube]] for bringing it up-to-date directly from source.&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Ben, Khaos, Ranxerox, Shiryux, Furio, Radiant, Vjaka, Nazghul-ll, Ellessar, Torfo, Shadow Dragon, MrSugarCube and coruja747]] for continuing to develop Sphere into a powerful and very customizable Ultima Online emulator.&lt;br /&gt;
&lt;br /&gt;
[[WhoIsWho|Crius]], for providing hosting for the original SphereWiki, and [[WhoIsWho|Torfo]] for providing the current hosting.&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
&lt;br /&gt;
* [http://www.spherecommunity.net/ Official SphereServer Website]&lt;br /&gt;
* [https://forum.spherecommunity.net/sshare.php?srt=4 Nightly builds]&lt;br /&gt;
* [http://nightly.prerelease.sphere.torfo.org/ Nightly builds - OUTDATED, use the link above]&lt;br /&gt;
* [http://spherepack.codeplex.com/ Sphere Community Pack 2.0]&lt;br /&gt;
* [http://uo.torfo.org/packetguide/ Jerrith's UO Packet Guide]&lt;br /&gt;
* [http://uo.torfo.org/packetguideKR/ Wyatt&amp;amp;Kons's UOKR Packet Guide]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Navigation]]&lt;/div&gt;</summary>
		<author><name>ShiryuX</name></author>	</entry>

	<entry>
		<id>https://wiki.spherecommunity.net/index.php?title=Installing_Sphere&amp;diff=535</id>
		<title>Installing Sphere</title>
		<link rel="alternate" type="text/html" href="https://wiki.spherecommunity.net/index.php?title=Installing_Sphere&amp;diff=535"/>
				<updated>2010-07-18T22:43:00Z</updated>
		
		<summary type="html">&lt;p&gt;ShiryuX: /* Windows */ - Updated MySQL Library link.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Linux==&lt;br /&gt;
===Preface===&lt;br /&gt;
Installing Sphere on a Linux box is not more difficult as doing this task on a Windows PC. Either way you will have to have basic knowledge about your operation system, and you should not rely on that you simply have to doubleclick like mad to get the beast up and running. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Even more, this tutorial will assume that you are using a shell on the linux box, and that you have root access. You do not trust your skills to type a command without mistakes, or no one will trust your knowledge enough to give you system administrator privileges on his Linux PC? Well, then - your busted. Go home, and play Solitaire on a neat little Windows box, ok? &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, this tutorial will NOT cover the ways to get the necessary files onto the Linux server. If you cannot figure this out yourself - read the last sentence of the paragraph before. THIS IS NOT A LESSON &amp;quot;Linux for Dummies&amp;quot;! Do your homework, and learn. There are many books about Linux' basics, even E-Books you can download free of charge. Surfing to [http://www.linux.org http://www.linux.org] will be a good point to start. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One last word about syntax: LINUX commands and filenames are case sensitive! So if later on a file cannot be found it usually is because you typed something like &amp;quot;sphere.INI&amp;quot; instead of &amp;quot;sphere.ini&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And in this document lines in italics are denoting what you have to type into (or read from) the shell. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Preparations===&lt;br /&gt;
On the Linux box you will need a MySQL client installation. You do not need a server if you do not plan to use the database features, but Sphere will not start without the proper MySQL client libraries. Period. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You also need access to a Sphere prerelease FOR LINUX, the default script package for this version, and eventually additional libraries (libboost for recent releases). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Installation Step-By-Step===&lt;br /&gt;
'''1)''' As user root, create a user named 'sphere'. Set or create it's home directory (usually /home/sphere/), give it the correct owner and permissions: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;useradd -d /home/sphere sphere&amp;lt;br /&amp;gt;&lt;br /&gt;
mkdir /home/sphere&amp;lt;br /&amp;gt;&lt;br /&gt;
chown sphere /home/sphere&amp;lt;br /&amp;gt;&lt;br /&gt;
chmod 700 /home/sphere&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''2)''' Copy the files from the Sphere LINUX package and the scriptpack into this newly created directory. Create all missing directories like &amp;quot;save&amp;quot;, &amp;quot;logs&amp;quot;, &amp;quot;accounts&amp;quot; as they are named in your sphere.ini and spheretables.scp. You should end up with a structure like this: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;/home/sphere --- spheresvr&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;|&amp;amp;nbsp;&amp;amp;nbsp;sphere.ini&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;|&amp;amp;nbsp;&amp;amp;nbsp;sphereCrypt.ini&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;|-------------------- accounts/&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;|-------------------- logs/&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;|-------------------- muls/&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;|-------------------- save/&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;|-------------------- scripts/&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''3)''' After copying all related files to their respective positions, make sure that they all have the correct permissions and ownerships. Still as root do: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ~sphere&amp;lt;br /&amp;gt;&lt;br /&gt;
chown -R sphere *&amp;lt;br /&amp;gt;&lt;br /&gt;
find . -type d | xargs chmod 0700&amp;lt;br /&amp;gt;&lt;br /&gt;
find . -type f | xargs chmod 0600&amp;lt;br /&amp;gt;&lt;br /&gt;
chmod 4700 spheresvr&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''4)''' Still as root do a &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ldd spheresvr&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
the output should be something like this: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;longbow:/home/sphere# ldd spheresvr&amp;lt;br /&amp;gt;&lt;br /&gt;
libpthread.so.0 =&amp;gt; /lib/libpthread.so.0 (0x4001f000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libmysqlclient.so.15 =&amp;gt; /usr/lib/libmysqlclient.so.15 (0x40071000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libboost_regex-gcc-1_33_1.so =&amp;gt; /usr/lib/libboost_regex-gcc-1_33_1.so (0x40243000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libstdc++.so.6 =&amp;gt; /usr/lib/libstdc++.so.6 (0x402ea000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libm.so.6 =&amp;gt; /lib/libm.so.6 (0x403c9000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libgcc_s.so.1 =&amp;gt; /lib/libgcc_s.so.1 (0x403ef000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libc.so.6 =&amp;gt; /lib/libc.so.6 (0x403fa000)&amp;lt;br /&amp;gt;&lt;br /&gt;
/lib/ld-linux.so.2 (0x40000000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libcrypt.so.1 =&amp;gt; /lib/libcrypt.so.1 (0x4051c000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libnsl.so.1 =&amp;gt; /lib/libnsl.so.1 (0x4054a000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libz.so.1 =&amp;gt; /usr/lib/libz.so.1 (0x40561000)&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
LOOK FOR MISSING LIBRARIES! If something is missing, just install it. You should know how to do. If it's just libboost what is missing, you have got this with the preparations. Copy it into /usr/lib/ and type &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;ldconfig&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Test the Installation===&lt;br /&gt;
It does not matter if you start your test as user root or user sphere. Setting the permissions of the spheresvr executable to 4700 forces it to always be started as it's owner, sphere. So start it: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;cd ~sphere&amp;lt;br /&amp;gt;&lt;br /&gt;
./spheresvr&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You will get the usual startup yaddayadda, perhaps including some warnings: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;longbow:/home/sphere# ./spheresvr&amp;lt;br /&amp;gt;&lt;br /&gt;
WARNING:(sphere.ini,587)'scripts/spherestatusbase.html' not found...&amp;lt;br /&amp;gt;&lt;br /&gt;
ERROR:(sphere.ini,587)Can't open web page input 'spherestatusbase1.htm'&amp;lt;br /&amp;gt;&lt;br /&gt;
Sphere Version 0.56b [Linux] by www.sphereserver.com, compiled at Sep 15 2006 (23:23:07)&amp;lt;br /&amp;gt;&lt;br /&gt;
Signal handlers installed.&amp;lt;br /&amp;gt;&lt;br /&gt;
Expansion maps supported: T2A, LBR, AOS, SE, ML&amp;lt;br /&amp;gt;&lt;br /&gt;
ERROR:(spheretables.scp,59)Unable to open directory scripts/custom/&amp;lt;br /&amp;gt;&lt;br /&gt;
ERROR:(spheretables.scp,59)DirList=-1 for 'scripts/custom/'&amp;lt;br /&amp;gt;&lt;br /&gt;
Allocating map sectors: 0=7168 1=7168 2=900 3=1280 4=32761&amp;lt;br /&amp;gt;&lt;br /&gt;
Indexing 211 scripts...&amp;lt;br /&amp;gt;&lt;br /&gt;
Loading scripts/sphere_defs.scp&amp;lt;br /&amp;gt;&lt;br /&gt;
[...]&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can safely ignore warnings and errors regarding missing web pages. But if the sphere issues other errors, or terminates, dont just stare at the error number like the rabbit stares at the snake: The text immediately above the error will tell you what's wrong. So fix it. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally your Sphere will tell you something like: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;[...]&amp;lt;br /&amp;gt;&lt;br /&gt;
Loading save/spheredata...&amp;lt;br /&amp;gt;&lt;br /&gt;
Loading save/spherestatics...&amp;lt;br /&amp;gt;&lt;br /&gt;
Loading save/sphereworld...&amp;lt;br /&amp;gt;&lt;br /&gt;
Loading save/spherechars...&amp;lt;br /&amp;gt;&lt;br /&gt;
166 Objects accounted for&amp;lt;br /&amp;gt;&lt;br /&gt;
Option flags: CommandSysmsgs + NoHouseMuteSpeech&amp;lt;br /&amp;gt;&lt;br /&gt;
Experimental flags: DiagonalWalkCheck + ScriptsReturnStrings + NewTriggersEnable + NewPositionChecks + WalkCheck + ScriptProfiler + SizeOptimize&amp;lt;br /&amp;gt;&lt;br /&gt;
Admin=me@my.email.com, URL=www.myshard.com, Lang=English, TZ=0&amp;lt;br /&amp;gt;&lt;br /&gt;
Startup complete. items=0, chars=0&amp;lt;br /&amp;gt;&lt;br /&gt;
Creating thread.&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You are now in the sphere console and can issue the common commands (type '?' to get a list). So create an account, activate it, edit the login.cfg on your windows box with the client installation to point to the address of the Linux box, and be the first to log in. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To stop the Sphere, type 'S' in the console, then 'x'. Linux will tell you something about deinstalling handlers and shutting down. But often it will just &amp;quot;hang&amp;quot; after this, not really terminating. Clear this situation by typing CTRL-c &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Preparing for production===&lt;br /&gt;
Perhaps you closed your shell during the test. Then you should have noticed that the operating system killed your Sphere at the same moment. That's not a bug but wanted behaviour: Linux is a multi user os, and when a user logs out processes started by him shall not accidentally kept running. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But of course you will not be able to keep open the console all the time, at least if your Linux box can only be reached remotely, perhaps by ssh. If it's the main service running on the box, you should create a startup script what starts spheresvr in an endless loop, thus restarting it in the event it should crash. To do this, first install the 'screen' utility using the packet manager of your distribution. Then use the text editor of your choice and create a script like this: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;#!/bin/sh&amp;lt;br /&amp;gt;&lt;br /&gt;
cd ~sphere&amp;lt;br /&amp;gt;&lt;br /&gt;
while true; do&amp;lt;br /&amp;gt;&lt;br /&gt;
screen -D -m /home/sphere/spheresvr&amp;lt;br /&amp;gt;&lt;br /&gt;
sleep 30&amp;lt;br /&amp;gt;&lt;br /&gt;
done&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This way the server will be run in a virtual window to what you always can attach with 'screen -r'. Read the manpage for screen for more information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
Start by downloading Sphere. See the [[Where to get Sphere]] page for download links. You should end up with two different zip files, one containing the Sphere executable and the other containing the [[Script Pack]].&lt;br /&gt;
&lt;br /&gt;
# Extract the SphereServer-0.56b-xxxxxxxxxxxx-Win32.zip file to wherever you want to run it from. I would recommend &amp;quot;c:\sphere&amp;quot;&lt;br /&gt;
# Extract SphereServer-0.56b-xxxxxxxxxxxx-Scripts.zip to the directory where you previously extracted the file in the previous step. Now you should have the directory scripts in &amp;quot;c:\sphere&amp;quot;.&lt;br /&gt;
# Create three new folders, one named &amp;quot;accounts&amp;quot;, another called &amp;quot;logs&amp;quot;, and the third one called &amp;quot;save&amp;quot;.&lt;br /&gt;
# Now, go to your &amp;quot;save&amp;quot; folder, recently created. And create an empty text file (I recommend using the Start Menu to access Notepad instead of &amp;quot;Right Click =&amp;gt; New&amp;quot;). Write an empty line and add &amp;quot;[EOF]&amp;quot; in the second one. Save the file as &amp;quot;spheredata.SCP&amp;quot; (not .txt).&lt;br /&gt;
# Copy this file three times an rename them as: spherestatics, spherechars.scp and sphereworld.scp&lt;br /&gt;
# Go to the &amp;quot;accounts&amp;quot; folder that you created alongside the &amp;quot;save&amp;quot; folder, and do the same as Step 3 and 4, but name the files: &amp;quot;sphereacct.scp&amp;quot; and &amp;quot;sphereaccu.scp&amp;quot;&lt;br /&gt;
# Download the [http://prerelease.sphere.torfo.org/files/libMySQL.dll MySQL Library] and place it into your Sphere Folder (remember: &amp;quot;c:\sphere&amp;quot;).&lt;br /&gt;
# Now, [[Configuring_Sphere.ini|configure your sphere.ini]]. This is a must before running Sphere for the first time!&lt;br /&gt;
# Double Click on SphereSvr.exe to launch the Console. This black window is your server console from which you can enter commands.&lt;br /&gt;
# Create an Account for yourself. In the console, type in &amp;quot;&amp;lt;font color=&amp;quot;darkred&amp;quot;&amp;gt;account add USERNAME PASSWORD&amp;lt;/font&amp;gt;&amp;quot;. With whatever username and password you want. Then, type in &amp;quot;&amp;lt;font color=&amp;quot;darkred&amp;quot;&amp;gt;account USERNAME plevel 7&amp;lt;/font&amp;gt;&amp;quot; to grant your account Owner privileges.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now you can go around your map and explore some parts of it. You can use the navigation bar on the left to read various tutorials to learn how to script and learn something about Sphere. After that, read the other articles and check the [[Main_Page#Reference Compendium|reference compendium]] if you need something special.&lt;br /&gt;
&lt;br /&gt;
==FreeBSD==&lt;br /&gt;
We currently have no guide for this OS. Anyway, the developers have posted a list of required stuff. Here is the list:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Compiled on: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;FreeBSD freebsdvbox.fastwebnet.it 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;Using built-in specs.&amp;lt;br /&amp;gt;&lt;br /&gt;
Target: i386-portbld-freebsd7.0&amp;lt;br /&amp;gt;&lt;br /&gt;
Configured with: ./..//gcc-4.1-20071105/configure --disable-nls --with-system-zlib --with-libiconv-prefix=/usr/local --program-suffix=41 --libdir=/usr/local/lib/gcc-4.1.3 --with-gxx-include-dir=/usr/local/lib/gcc-4.1.3/include/c++/ --disable-rpath --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/gcc41 i386-portbld-freebsd7.0&amp;lt;br /&amp;gt;&lt;br /&gt;
Thread model: posix&amp;lt;br /&amp;gt;&lt;br /&gt;
gcc version 4.1.3 20071105 (prerelease)&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Linked Against:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;libthr.so.3 =&amp;gt; /lib/libthr.so.3 (0x281f3000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libmysqlclient.so.15 =&amp;gt; /usr/local/lib/mysql/libmysqlclient.so.15 (0x28206000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libstdc++.so.6 =&amp;gt; /usr/lib/libstdc++.so.6 (0x28265000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libm.so.5 =&amp;gt; /lib/libm.so.5 (0x2835a000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libgcc_s.so.1 =&amp;gt; /lib/libgcc_s.so.1 (0x2836f000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libc.so.7 =&amp;gt; /lib/libc.so.7 (0x2837a000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libcrypt.so.4 =&amp;gt; /lib/libcrypt.so.4 (0x28476000)&amp;lt;br /&amp;gt;&lt;br /&gt;
libz.so.4 =&amp;gt; /lib/libz.so.4 (0x2848f000)&amp;lt;br /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you use this release, please check [http://www.sphereserver.net/index.php?showtopic=44153 this topic].&lt;br /&gt;
&lt;br /&gt;
[[Category: Setting Up Sphere]]&lt;/div&gt;</summary>
		<author><name>ShiryuX</name></author>	</entry>

	</feed>