<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.dspt.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bluekirby0</id>
		<title>DSP Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.dspt.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bluekirby0"/>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php/Special:Contributions/Bluekirby0"/>
		<updated>2026-04-16T22:17:16Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7138</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7138"/>
				<updated>2013-03-09T10:27:17Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Ashita */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
This is the most maintained and feature-packed option.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot_Mod. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box. It now also works properly for EU versions and does not have the issue that causes you to time out when creating a new character.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own. If you are using an EU or JP version of FFXI, you will also need to add:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;--lang EU&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;--lang JP&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
as appropriate to the end of it.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
'''If you need to be able to log into a public server hosted on your own computer or LAN, add the --hairpin option to the Boot Command!'''&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod 3 ===&lt;br /&gt;
&lt;br /&gt;
This is the most maintained simple loader. It does not support plugins but it is used with the Ashita package above which does provide plugins.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
A vc11 and vc10 build are both provided. You will need one of: &lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot! It now also works properly for EU versions and does not have the issue that causes you to time out when creating a new character.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_3.zip FFXI-Boot Mod 3]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password --lang US&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. the Language option is required if you have a JP or EU version. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
'''If you need to be able to log into a public server hosted on your own computer or LAN, add the --hairpin option to the command!'''&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
This is the original FFXI-Boot, a simple loader without any bells or whistles. It uses an ini file instead of command-line options to work, and as such is not well-suited for use with several server configurations.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This version does not handle DNS names properly and will cause searches and auctions to fail when using them. It also does not support hairpinning for accessing public servers hosted on the same system or your LAN.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== mXI ===&lt;br /&gt;
&lt;br /&gt;
This is the original Windower loader for private servers. It is no longer maintained, and the Windower crew hasn't shown us anything new in a long time, but it is still a valid option.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This does not handle DNS names properly and will cause searches and auctions to fail when using them. It also does not support hairpinning for accessing public servers hosted on the same system or your LAN.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' It may take as many as three to four attempts to log in with a newly created character.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7137</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7137"/>
				<updated>2013-03-09T10:24:39Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* FFXI-Boot Mod */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
This is the most maintained and feature-packed option.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot_Mod. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box. It now also works properly for EU versions and does not have the issue that causes you to time out when creating a new character.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
'''If you need to be able to log into a public server hosted on your own computer or LAN, add the --hairpin option to the Boot Command!'''&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod 3 ===&lt;br /&gt;
&lt;br /&gt;
This is the most maintained simple loader. It does not support plugins but it is used with the Ashita package above which does provide plugins.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
A vc11 and vc10 build are both provided. You will need one of: &lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot! It now also works properly for EU versions and does not have the issue that causes you to time out when creating a new character.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_3.zip FFXI-Boot Mod 3]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password --lang US&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. the Language option is required if you have a JP or EU version. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
'''If you need to be able to log into a public server hosted on your own computer or LAN, add the --hairpin option to the command!'''&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
This is the original FFXI-Boot, a simple loader without any bells or whistles. It uses an ini file instead of command-line options to work, and as such is not well-suited for use with several server configurations.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This version does not handle DNS names properly and will cause searches and auctions to fail when using them. It also does not support hairpinning for accessing public servers hosted on the same system or your LAN.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== mXI ===&lt;br /&gt;
&lt;br /&gt;
This is the original Windower loader for private servers. It is no longer maintained, and the Windower crew hasn't shown us anything new in a long time, but it is still a valid option.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This does not handle DNS names properly and will cause searches and auctions to fail when using them. It also does not support hairpinning for accessing public servers hosted on the same system or your LAN.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' It may take as many as three to four attempts to log in with a newly created character.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7136</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7136"/>
				<updated>2013-03-09T10:22:43Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Ashita */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
This is the most maintained and feature-packed option.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot_Mod. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box. It now also works properly for EU versions and does not have the issue that causes you to time out when creating a new character.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
'''If you need to be able to log into a public server hosted on your own computer or LAN, add the --hairpin option to the Boot Command!'''&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod ===&lt;br /&gt;
&lt;br /&gt;
This is the most maintained simple loader. It does not support plugins but it is used with the Ashita package above which does provide plugins.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
A vc11 and vc10 build are both provided. You will need one of: &lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot!&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_2b.zip FFXI-Boot Mod]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
'''If you need to be able to log into a public server hosted on your own computer or LAN, add the --hairpin option to the command!'''&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
This is the original FFXI-Boot, a simple loader without any bells or whistles. It uses an ini file instead of command-line options to work, and as such is not well-suited for use with several server configurations.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This version does not handle DNS names properly and will cause searches and auctions to fail when using them. It also does not support hairpinning for accessing public servers hosted on the same system or your LAN.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== mXI ===&lt;br /&gt;
&lt;br /&gt;
This is the original Windower loader for private servers. It is no longer maintained, and the Windower crew hasn't shown us anything new in a long time, but it is still a valid option.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This does not handle DNS names properly and will cause searches and auctions to fail when using them. It also does not support hairpinning for accessing public servers hosted on the same system or your LAN.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' It may take as many as three to four attempts to log in with a newly created character.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=7126</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=7126"/>
				<updated>2013-03-03T21:13:00Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server] (flag)&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite] (flag)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=23691 Visual Studio Service Pack 1]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ==== &lt;br /&gt;
(flag)&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multi-functional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ==== &lt;br /&gt;
(flag)&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use the default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
You should have Visual Studio Service Pack 1 (requiring another restart). It depends on your OS.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a bat script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.bat in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load all .sql tables from its run dir to =========&lt;br /&gt;
REM ====== the the DB.                                                  =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ====== File needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ====== Update -p with MySQL password. If you password is 'foo',     =========&lt;br /&gt;
REM ====== then change '-pMYSQLPASS' to '-pfoo' (3 places).             =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ====== If you want to use a different database name, change 'dspdb' =========&lt;br /&gt;
REM ====== with a database name of your choosing.                       =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ====== by Thrydwolf 9/8/2012                                        =========&lt;br /&gt;
REM ====== Updated with status by bluekirby0 3/30/2012                  =========&lt;br /&gt;
REM ====== Updated by Thrydwolf 9/18/2012                               =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
mysqladmin -h localhost -u root -pMYSQLPASS DROP dspdb&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
mysqladmin -h localhost -u root -pMYSQLPASS CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM FOR %%X IN (*.sql) DO mysql dspdb -h localhost -u root -pMYSQLPASS &amp;lt; %%X&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -pMYSQLPASS &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use '-pfoo' instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ==== &lt;br /&gt;
(flag)&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it. '''If you use the site you must put the IP in reverse order''' to get the required value (i.e. instead of 127.0.0.1 which gives 2130706433 put in 1.0.0.127 to get 16777343).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(flag)&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install (flag)&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install (flag)&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install (flag)&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TCP Ports:&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
54002&lt;br /&gt;
&lt;br /&gt;
UDP Port:&lt;br /&gt;
54230&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://forums.dspt.info/viewtopic.php?f=11&amp;amp;t=38 The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Compiling on 64-bit ===&lt;br /&gt;
These steps were done on Ubuntu 12.04.&lt;br /&gt;
First you need to install the relevant packages:&lt;br /&gt;
 sudo apt-get install libc-dev-i386&lt;br /&gt;
 sudo apt-get install g++-multilib&lt;br /&gt;
 sudo apt-get install libmysqlclient-dev:i386&lt;br /&gt;
 sudo apt-get install liblua5.1-dev:i386 &lt;br /&gt;
&lt;br /&gt;
You'll note that these are 32-bit packages which are needed to build in 32-bit mode. &lt;br /&gt;
If you already have the 64-bit mysql client libraries already installed, you have to uninstall them. Sadly the 32-bit version and 64-bit version can not coexist. NOTE: This is not advised if you have applications relying on the sql libraries!&lt;br /&gt;
In order to get rid of it you can do:&lt;br /&gt;
 sudo apt-get remove --purge libmysqlclient-dev&lt;br /&gt;
&lt;br /&gt;
At this point you should be all set up but there is one more thing that needs to be addressed. The source is looking for a liblua.so library which didn't exist from the liblua5.1 installation. To manually set it up do:&lt;br /&gt;
 cd /usr/lib/i386-linux-gnu/&lt;br /&gt;
 sudo ln -s liblua5.1.so liblua.so&lt;br /&gt;
&lt;br /&gt;
Now the environment is set up so you can run the configure script. We have to force it into 32-bit mode using CPPFLAGS and CXXFLAGS:&lt;br /&gt;
 CPPFLAGS=-m32 CXXFLAGS=-m32 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
At this point it should complete the build and you can continue on to the next section.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON dspdb.* TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql dspdb -u darkstar -ppassword &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC #darkstar@irc.rizon.net or in the [http://forums.dspt.info forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Talk:Main_Page&amp;diff=7090</id>
		<title>Talk:Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Talk:Main_Page&amp;diff=7090"/>
				<updated>2013-02-09T20:18:30Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Spam Bot==&lt;br /&gt;
&lt;br /&gt;
I was looking through the wiki edits and I noticed this account here&lt;br /&gt;
&lt;br /&gt;
http://kile.dyndns.info:8765/index.php?title=Special:Contributions/Michaelwebster&lt;br /&gt;
&lt;br /&gt;
This accounts edits just insert links to external sites offering pay services.&lt;br /&gt;
&lt;br /&gt;
[[User:Jado818|Jado818]] ([[User talk:Jado818|talk]]) 15:42, 29 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
Thanks, it has been taken care of.  --bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Open_sea_route_to_Al_Zahbi_Event_IDs&amp;diff=7089</id>
		<title>Open sea route to Al Zahbi Event IDs</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Open_sea_route_to_Al_Zahbi_Event_IDs&amp;diff=7089"/>
				<updated>2013-02-09T20:16:42Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: Reverted edits by Michaelwebster (talk) to last revision by CodeBot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{|class=&amp;quot;wikitable sortable zebra&amp;quot;&lt;br /&gt;
!NPC Name!!Decimal Event IDs&lt;br /&gt;
|-&lt;br /&gt;
|Map||1024&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Maze_of_Shakhrami_Event_IDs&amp;diff=7088</id>
		<title>Maze of Shakhrami Event IDs</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Maze_of_Shakhrami_Event_IDs&amp;diff=7088"/>
				<updated>2013-02-09T20:16:33Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: Reverted edits by Michaelwebster (talk) to last revision by CodeBot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{|class=&amp;quot;wikitable sortable zebra&amp;quot;&lt;br /&gt;
!NPC Name!!Decimal Event IDs&lt;br /&gt;
|-&lt;br /&gt;
|Strange Apparatus||53&lt;br /&gt;
|-&lt;br /&gt;
|Strange Apparatus||55&lt;br /&gt;
|-&lt;br /&gt;
|Strange Apparatus||54&lt;br /&gt;
|-&lt;br /&gt;
|DIRECTOR||2&lt;br /&gt;
|-&lt;br /&gt;
|DIRECTOR||1&lt;br /&gt;
|-&lt;br /&gt;
|Chest||46&lt;br /&gt;
|-&lt;br /&gt;
|Chest||47&lt;br /&gt;
|-&lt;br /&gt;
|Chest||48&lt;br /&gt;
|-&lt;br /&gt;
|Chest||49&lt;br /&gt;
|-&lt;br /&gt;
|Chest||50&lt;br /&gt;
|-&lt;br /&gt;
|Chest||51&lt;br /&gt;
|-&lt;br /&gt;
|Rockwell||52&lt;br /&gt;
|-&lt;br /&gt;
|Iron Door||41&lt;br /&gt;
|-&lt;br /&gt;
|Iron Door||42&lt;br /&gt;
|-&lt;br /&gt;
|Ahko Mhalijikhari||61&lt;br /&gt;
|-&lt;br /&gt;
|Ahko Mhalijikhari||62&lt;br /&gt;
|-&lt;br /&gt;
|Ahko Mhalijikhari||63&lt;br /&gt;
|-&lt;br /&gt;
|Ahko Mhalijikhari||64&lt;br /&gt;
|-&lt;br /&gt;
|Ahko Mhalijikhari||65&lt;br /&gt;
|-&lt;br /&gt;
|Imutira||66&lt;br /&gt;
|-&lt;br /&gt;
|Yazquhl||66&lt;br /&gt;
|-&lt;br /&gt;
|Gowam||66&lt;br /&gt;
|-&lt;br /&gt;
|Excavation Point||60&lt;br /&gt;
|-&lt;br /&gt;
|Ramblix||67&lt;br /&gt;
|-&lt;br /&gt;
|Planar Rift||6000&lt;br /&gt;
|-&lt;br /&gt;
|Planar Rift||6001&lt;br /&gt;
|-&lt;br /&gt;
|Planar Rift||6002&lt;br /&gt;
|-&lt;br /&gt;
|Riftworn Pyxis||6003&lt;br /&gt;
|-&lt;br /&gt;
|Riftworn Pyxis||6004&lt;br /&gt;
|-&lt;br /&gt;
|Riftworn Pyxis||6005&lt;br /&gt;
|-&lt;br /&gt;
|Grounds Tome||100&lt;br /&gt;
|-&lt;br /&gt;
|Grounds Tome||101&lt;br /&gt;
|-&lt;br /&gt;
|Grounds Tome||102&lt;br /&gt;
|-&lt;br /&gt;
|Grounds Tome||103&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7031</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7031"/>
				<updated>2013-01-17T20:24:52Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Setting up the Launcher */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
This is the most maintained and feature-packed option.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
'''If you need to be able to log into a public server hosted on your own computer or LAN, add the --hairpin option to the Boot Command!'''&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod ===&lt;br /&gt;
&lt;br /&gt;
This is the most maintained simple loader. It does not support plugins but it is used with the Ashita package above which does provide plugins.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
A vc11 and vc10 build are both provided. You will need one of: &lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot!&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_2b.zip FFXI-Boot Mod]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
'''If you need to be able to log into a public server hosted on your own computer or LAN, add the --hairpin option to the command!'''&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
This is the original FFXI-Boot, a simple loader without any bells or whistles. It uses an ini file instead of command-line options to work, and as such is not well-suited for use with several server configurations.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This version does not handle DNS names properly and will cause searches and auctions to fail when using them. It also does not support hairpinning for accessing public servers hosted on the same system or your LAN.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== mXI ===&lt;br /&gt;
&lt;br /&gt;
This is the original Windower loader for private servers. It is no longer maintained, and the Windower crew hasn't shown us anything new in a long time, but it is still a valid option.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This does not handle DNS names properly and will cause searches and auctions to fail when using them. It also does not support hairpinning for accessing public servers hosted on the same system or your LAN.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Troubleshooting_Guide&amp;diff=7030</id>
		<title>Troubleshooting Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Troubleshooting_Guide&amp;diff=7030"/>
				<updated>2013-01-15T14:40:21Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Problems with the Client */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problems with the Server ==&lt;br /&gt;
=== Why can I not connect to my own server? ===&lt;br /&gt;
&lt;br /&gt;
First, check and see if you can connect on the same machine using SERVIP = 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
If you can connect using that, but not using your LAN or Internet IP address, you probably need to forward ports on your router. The ports you need to open are TCP: 54230 54231 54001 54002 UDP 54230&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &amp;quot;Client cannot receive packet or Key is invalid&amp;quot; in DSGame-server ===&lt;br /&gt;
&lt;br /&gt;
Make certain that your zoneip is set correctly in the database. See [[Building the Server#Configure the ZoneIP for the Map Server]] for more information on how to set this properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Cannot find msvc100.dll error ===&lt;br /&gt;
&lt;br /&gt;
This missing file may be solved by downloading and installing the link below&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Microsoft Visual C++ 2010 Redistributable Package (x86)]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Cannot find msvc110.dll error ===&lt;br /&gt;
&lt;br /&gt;
This missing file may be solved by downloading and installing the x86 version from the link below&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problems with the Client ==&lt;br /&gt;
&lt;br /&gt;
=== When I get signet or talk to an NPC, I turn into a naked male Hume OR Game Crashes when Another Character is in the zone with me ===&lt;br /&gt;
&lt;br /&gt;
The December 2012 patch broke compatability with Darkstar servers until revision 2181. If your server is on revision 2181 or higher, you will need to update your client using the PlayOnline Viewer's File Repair option. If you updated, but your play server is not using revision 2181 or higher, encourage the maintainer to update whenever possible.&lt;br /&gt;
&lt;br /&gt;
=== Any time I attack a monster or cast a spell, the game crashes! ===&lt;br /&gt;
&lt;br /&gt;
The March 26th 2012 patch broke compatibility with Darkstar servers until revision 940. If your server is revision 940 or higher, you will need to update your client using the PlayOnline Viewer's File Repair option. If you updated, but your play server is not using revision 940 or higher, encourage the maintainer to update whenever possible.&lt;br /&gt;
&lt;br /&gt;
=== PlayOnline Viewer crashes on Windows Vista/7 ===&lt;br /&gt;
&lt;br /&gt;
You need to install the Vista compatible PlayOnline viewer from [http://www.playonline.com/ff11us/download/media/vista01.html The PlayOnline Site] and not from the discs. You will still install the game and expansions as normal using the discs.&lt;br /&gt;
&lt;br /&gt;
=== POL-1160 Error when trying to update/repair ===&lt;br /&gt;
&lt;br /&gt;
Check that PlayOnline viewer is allowed through your firewall and router. If you have PeerGuardian, PeerBlock, or similar programs, you may want to check and see if those are blocking responses from the PlayOnline servers.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-3313 error (Error message is in Japanese) ===&lt;br /&gt;
&lt;br /&gt;
This error means that you are trying to create a character with an invalid name. This can be due to the name being taken by another character, containing an invalid character in it (such as a number or underscore), or because the name was for some reason or another reserved by the devs at SE (such as the name &amp;quot;Bill&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== FFXI-3322 error/ffxi-boot or mXI error 10093 ===&lt;br /&gt;
This is known as a 'anything can be wrong' error. Note: If the first solution does not fix this, it could be anything on your computer causing this error.&lt;br /&gt;
&lt;br /&gt;
Make certain that you have copied the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data&lt;br /&gt;
&lt;br /&gt;
If that is not your problem and your still getting the Accept Fail 10093 error. Make sure your drivers are installed and updated. Check through all of the other solutions on this page such as the distribution packages are downloaded. &lt;br /&gt;
&lt;br /&gt;
After all these fixes and its still not working. You may need to reinstall FFXI on your computer to help solve your problem.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Troubleshooting_Guide&amp;diff=7029</id>
		<title>Troubleshooting Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Troubleshooting_Guide&amp;diff=7029"/>
				<updated>2013-01-15T14:36:39Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problems with the Server ==&lt;br /&gt;
=== Why can I not connect to my own server? ===&lt;br /&gt;
&lt;br /&gt;
First, check and see if you can connect on the same machine using SERVIP = 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
If you can connect using that, but not using your LAN or Internet IP address, you probably need to forward ports on your router. The ports you need to open are TCP: 54230 54231 54001 54002 UDP 54230&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &amp;quot;Client cannot receive packet or Key is invalid&amp;quot; in DSGame-server ===&lt;br /&gt;
&lt;br /&gt;
Make certain that your zoneip is set correctly in the database. See [[Building the Server#Configure the ZoneIP for the Map Server]] for more information on how to set this properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Cannot find msvc100.dll error ===&lt;br /&gt;
&lt;br /&gt;
This missing file may be solved by downloading and installing the link below&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Microsoft Visual C++ 2010 Redistributable Package (x86)]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Cannot find msvc110.dll error ===&lt;br /&gt;
&lt;br /&gt;
This missing file may be solved by downloading and installing the x86 version from the link below&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Problems with the Client ==&lt;br /&gt;
&lt;br /&gt;
=== Any time I attack a monster or cast a spell, the game crashes! ===&lt;br /&gt;
&lt;br /&gt;
The March 26th 2012 patch broke compatibility with Darkstar servers until revision 940. If your server is revision 940 or higher, you will need to update your client using the PlayOnline Viewer's File Repair option. If you updated, but your play server is not using revision 940 or higher, encourage the maintainer to update whenever possible.&lt;br /&gt;
&lt;br /&gt;
=== PlayOnline Viewer crashes on Windows Vista/7 ===&lt;br /&gt;
&lt;br /&gt;
You need to install the Vista compatible PlayOnline viewer from [http://www.playonline.com/ff11us/download/media/vista01.html The PlayOnline Site] and not from the discs. You will still install the game and expansions as normal using the discs.&lt;br /&gt;
&lt;br /&gt;
=== POL-1160 Error when trying to update/repair ===&lt;br /&gt;
&lt;br /&gt;
Check that PlayOnline viewer is allowed through your firewall and router. If you have PeerGuardian, PeerBlock, or similar programs, you may want to check and see if those are blocking responses from the PlayOnline servers.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-3313 error (Error message is in Japanese) ===&lt;br /&gt;
&lt;br /&gt;
This error means that you are trying to create a character with an invalid name. This can be due to the name being taken by another character, containing an invalid character in it (such as a number or underscore), or because the name was for some reason or another reserved by the devs at SE (such as the name &amp;quot;Bill&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== FFXI-3322 error/ffxi-boot or mXI error 10093 ===&lt;br /&gt;
This is known as a 'anything can be wrong' error. Note: If the first solution does not fix this, it could be anything on your computer causing this error.&lt;br /&gt;
&lt;br /&gt;
Make certain that you have copied the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data&lt;br /&gt;
&lt;br /&gt;
If that is not your problem and your still getting the Accept Fail 10093 error. Make sure your drivers are installed and updated. Check through all of the other solutions on this page such as the distribution packages are downloaded. &lt;br /&gt;
&lt;br /&gt;
After all these fixes and its still not working. You may need to reinstall FFXI on your computer to help solve your problem.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7028</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7028"/>
				<updated>2013-01-15T14:33:05Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* mXI Boot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod ===&lt;br /&gt;
&lt;br /&gt;
A vc11 and vc10 build are both provided. You will need one of: &lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot!&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_2a.zip FFXI-Boot Mod]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This version does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== mXI ===&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7027</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7027"/>
				<updated>2013-01-15T14:32:44Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* FFXI-Boot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod ===&lt;br /&gt;
&lt;br /&gt;
A vc11 and vc10 build are both provided. You will need one of: &lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot!&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_2a.zip FFXI-Boot Mod]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This version does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== mXI Boot ===&lt;br /&gt;
&lt;br /&gt;
This does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7026</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7026"/>
				<updated>2013-01-15T14:32:20Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* FFXI-Boot Mod */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod ===&lt;br /&gt;
&lt;br /&gt;
A vc11 and vc10 build are both provided. You will need one of: &lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot!&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_2a.zip FFXI-Boot Mod]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
This version does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== mXI Boot ===&lt;br /&gt;
&lt;br /&gt;
This does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7025</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7025"/>
				<updated>2013-01-15T14:32:02Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* FFXI-Boot Mod */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod ===&lt;br /&gt;
&lt;br /&gt;
A vc11 and vc10 build are both provided. You will need one of: &lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/en-us/download/details.aspx?id=5555 MSVC 2010 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot!&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_2a.zip FFXI-Boot Mod]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
This version does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== mXI Boot ===&lt;br /&gt;
&lt;br /&gt;
This does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7024</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7024"/>
				<updated>2013-01-15T14:31:01Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Ashita */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
Prerequisite: [http://www.microsoft.com/en-us/download/details.aspx?id=30679 MSVC 2012 Update 1 Runtimes] x86 version&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod ===&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot!&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_2a.zip FFXI-Boot Mod]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
This version does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== mXI Boot ===&lt;br /&gt;
&lt;br /&gt;
This does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7023</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=7023"/>
				<updated>2013-01-15T14:16:41Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
You can download the retail Disks here [http://unblockedpiratebay.com/index.php?loadurl=/torrent/8012461/FINAL_FANTASY_XI_Ultimate_Collection_-_Abyssea_Edition Client Download]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use Ashita, FFXI-Boot Mod, FFXI-Boot, or mXI to connect to a Dark Star server. Ashita and mXI have more features, but take longer to set up. FFXI-Boot/Mod usually work with minimal configuration. They can all co-exist on your system, so if in doubt, try several!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Ashita ===&lt;br /&gt;
&lt;br /&gt;
This comes with the below FFXI-Boot. As such, '''IT WORKS PROPERLY WITH DNS NAMES''' out of the box.&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/Ashita_Darkstar.zip Ashita - DarkStar Edition]&lt;br /&gt;
&lt;br /&gt;
Create a folder in a convenient location and extract the archive into it.&lt;br /&gt;
&lt;br /&gt;
Run Ashita.exe and click the &amp;quot;Updates&amp;quot; tab. Once the update list displays, hit &amp;quot;UPDATE ALL FILES&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account, skip to the next section for creation instructions.&lt;br /&gt;
&lt;br /&gt;
If you already have an account, click on the &amp;quot;Launcher&amp;quot; tab and select the appropriate profile for the server you use.&lt;br /&gt;
&lt;br /&gt;
Click &amp;quot;EDIT CONFIG&amp;quot;. Inside, on the &amp;quot;Boot Command&amp;quot; line, edit the account and password to match your own.&lt;br /&gt;
&lt;br /&gt;
Tweak any other options you want while in here, including resolution. You do not need to click on the &amp;quot;Test Server&amp;quot; check box. If you would prefer to be prompted for your password, take out the --pass parameter entirely.&lt;br /&gt;
&lt;br /&gt;
The package contains profiles for the main test server and the classic server. See the [[DarkStar Servers]] page for additional servers you can use.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of additional plugins and help for Ashita at [http://www.ffevo.net]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot Mod ===&lt;br /&gt;
&lt;br /&gt;
This is a special version of the below FFXI-Boot. This version takes command-line options and was designed to work seamlessly with Ashita. It is also included in the Ashita package we provide. There is no INI file with this version. '''IT ALSO WORKS PROPERLY WITH DNS NAMES''' unlike the original ffxi-boot!&lt;br /&gt;
&lt;br /&gt;
Download [http://kile.dyndns.info:8765/bak/ffxi-boot_mod_2a.zip FFXI-Boot Mod]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot Mod's &amp;quot;pol.exe&amp;quot; somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
To play on a local server, just run pol.exe and you will be prompted for a username and password to login with.&lt;br /&gt;
&lt;br /&gt;
To play on another server, open up a command prompt, navigate to the folder you extracted to, and type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;pol.exe --server server-ip --user username --pass password&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The username and password options are optional here and will be prompted for if not provided. See the Readme in the archive for more information.&lt;br /&gt;
&lt;br /&gt;
See the [[DarkStar Servers]] page for servers you can use.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
This version does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) somewhere convenient.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== mXI Boot ===&lt;br /&gt;
&lt;br /&gt;
This does not handle dns names properly and will cause searches and auctions to fail when using them.&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this is compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility and/or extract mXI to a directory other than the PlayOnline\SquareEnix\FINAL FANTASY XI directory and run it from that location instead.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I would highly suggest updating the Windower hook.dll version and all of the plugins in this package. You can obtain the newest hook.dll here: [http://forums.windower.net/files/file/24-hookdll/]&lt;br /&gt;
&lt;br /&gt;
You can find additional plugins on that site as well.&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot Mod ====&lt;br /&gt;
&lt;br /&gt;
For FFXI-Boot Mod, run it with the server parameter and fail a login once and you will be asked if you want to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close. Simply re-run with (or without) the new username and password options. If you didn't provide them, you will be prompted for them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Ashita ====&lt;br /&gt;
&lt;br /&gt;
For Ashita, start Ashita.exe, double-click on the server profile you want to use and fail a login once and you will be prompted to create an account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
After creating you account the window will close.&lt;br /&gt;
&lt;br /&gt;
Start Ashita.exe again and click the appropriate profile and click &amp;quot;EDIT CONFIG&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Within, on the Boot Command line edit account and password to reflect the appropriate values.&lt;br /&gt;
&lt;br /&gt;
Tweak your window size and other options as you like and hit &amp;quot;SAVE CONFIG&amp;quot;. You do not need to check Test Server.&lt;br /&gt;
&lt;br /&gt;
Double-click the profile you edited to launch from now on!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== FFXI-Boot or mXI ====&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username should be between 3 and 15 alphanumeric characters and the password should be between 6 and 15 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Advanced_Scripting&amp;diff=6885</id>
		<title>Advanced Scripting</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Advanced_Scripting&amp;diff=6885"/>
				<updated>2012-09-17T03:34:20Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Work in Progress!'''&lt;br /&gt;
&lt;br /&gt;
'''I would suggest before proceeding that you read [[How to Make a Quest]] for a general breakdown of scripting to familiarize yourself with the basics'''&lt;br /&gt;
&lt;br /&gt;
This guide is a look into some of the more advanced and uncommon elements of scripting. Here you will find help with how to use all of the currently available functions, as well as how to combine functions for useful (and often interesting!) results.&lt;br /&gt;
&lt;br /&gt;
== Function Breakdown ==&lt;br /&gt;
A reference of all of the luautils functions available for use in scripting at the time of this writing. Additional &amp;quot;convenience&amp;quot; functions created in global scripts will not be covered here, and should be explored at your leisure. Basic familiarity with LUA syntax is assumed. For further information, you can reference [http://code.google.com/p/onetimexi/source/browse/trunk/src/map/lua/luautils.cpp src/map/lua/luautils.cpp] and its accompanying header file.&lt;br /&gt;
&lt;br /&gt;
=== Getting Entity References ===&lt;br /&gt;
==== GetNPCByID ====&lt;br /&gt;
Requires you to look up an NPC's ID and returns a reference that can be used to manipulate that NPC. How to use this will be covered more in the next section.&lt;br /&gt;
&lt;br /&gt;
==== GetMobByID ====&lt;br /&gt;
Similar to the above, except it is used for Mobs. Will also be covered more in the next section.&lt;br /&gt;
&lt;br /&gt;
==== GetPlayerByName ====&lt;br /&gt;
Mainly useful for GM commands, it returns a reference for a player that can be manipulated with additional functions. Names given to it are case-sensitive, so the first letter must be capitalized with the remaining lower-case.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Getting Information About the World ===&lt;br /&gt;
==== GetRegionOwner ====&lt;br /&gt;
Retrieves a numerical value for the country that owns the region. These numerical values can be referenced with the aliases SANDORIA BASTOK WINDURST BEASTMEN or OTHER defined in scripts/globals/conquest.lua&lt;br /&gt;
&lt;br /&gt;
==== VanadielTOTD ====&lt;br /&gt;
Returns the Time of the Day as a number. The values to reference are stored in src/map/vana_time.h and should be put into a global script if you plan to use this.&lt;br /&gt;
&lt;br /&gt;
==== VanadielHour ====&lt;br /&gt;
Returns the current hour in the game-world. There are 24 hours in a day.&lt;br /&gt;
&lt;br /&gt;
==== VanadielMinute ====&lt;br /&gt;
Returns the current minute in the game-world. There are 60 minutes in an hour.&lt;br /&gt;
&lt;br /&gt;
==== VanadielDayOfTheYear ====&lt;br /&gt;
Returns the current day of the year (similar to a Julian calendar) in the game-world. There are 12 months or 360 days in a Year.&lt;br /&gt;
&lt;br /&gt;
==== VanadielDayOfTheMonth ====&lt;br /&gt;
Returns the current day of the month (as on a typical calendar) in the game-world. There are 30 days in a month.&lt;br /&gt;
&lt;br /&gt;
==== VanadielDayElement ====&lt;br /&gt;
Returns the current day of the week in the game world. There are 8 days in a week. Aliases for the return values can be found in scripts/globals/magic.lua&lt;br /&gt;
&lt;br /&gt;
==== GetServerVariable ====&lt;br /&gt;
Retrieve a variable that affects the entire game world, rather than a specific character.&lt;br /&gt;
&lt;br /&gt;
=== Getting Information About an Entity ===&lt;br /&gt;
==== GetMobAction ====&lt;br /&gt;
Returns the current action of a mob entity as a number. This is usually checked against zero to see if a mob is currently taking no special action (general wandering).&lt;br /&gt;
&lt;br /&gt;
=== Manipulating the World ===&lt;br /&gt;
==== SetVanadielTimeOffset ====&lt;br /&gt;
Changes the offset from the universal Vana'Diel time. This should ONLY be used for testing, as there is a configuration option for the map server should you wish to offset your server permanently.&lt;br /&gt;
&lt;br /&gt;
==== RunElevator ====&lt;br /&gt;
Starts a specific elevator in the game world. Unfortunately, there is no reference to assist you with this.&lt;br /&gt;
&lt;br /&gt;
==== SetServerVariable ====&lt;br /&gt;
Sets a variable that affects the entire game world, rather than a specific character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Manipulating an Entity ===&lt;br /&gt;
==== SpawnMob ====&lt;br /&gt;
Used to create an instance of a specific mob in the game world. It cannot be used to spawn an arbitrary monster at a particular location. It can only produce mobs that are defined in the mob_spawn_points table.&lt;br /&gt;
&lt;br /&gt;
==== DespawnMob ====&lt;br /&gt;
Opposite of above. You should not attempt to use this on any sort of timer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Miscellaneous ===&lt;br /&gt;
==== SendUncnown0x39Packet ====&lt;br /&gt;
This is basically a method that is only used to propel characters up the cliff in the geyser spots at Dangruf Wadi.&lt;br /&gt;
&lt;br /&gt;
==== BitwiseAnd ====&lt;br /&gt;
Simply an abstraction of the C method for Bitwise AND&lt;br /&gt;
&lt;br /&gt;
== Conditionals Breakdown ==&lt;br /&gt;
This is a list of conditions in which the core checks scripts. It should make some sense if you are already familiar with the ones used in the quest-writing tutorial.&lt;br /&gt;
&lt;br /&gt;
=== Conditions Primarily Affecting PCs ===&lt;br /&gt;
&lt;br /&gt;
==== OnZoneIn ====&lt;br /&gt;
&lt;br /&gt;
==== OnRegionEnter ====&lt;br /&gt;
&lt;br /&gt;
==== OnRegionLeave ====&lt;br /&gt;
&lt;br /&gt;
==== OnTransportEvent ====&lt;br /&gt;
&lt;br /&gt;
==== OnEventUpdate ====&lt;br /&gt;
&lt;br /&gt;
==== OnEventFinish ====&lt;br /&gt;
&lt;br /&gt;
==== OnItemUse ====&lt;br /&gt;
&lt;br /&gt;
==== OnItemCheck ====&lt;br /&gt;
&lt;br /&gt;
==== OnBcnmEnter ====&lt;br /&gt;
&lt;br /&gt;
==== OnBcnmLeave ====&lt;br /&gt;
&lt;br /&gt;
==== OnBcnmRegister ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Conditions Involving Multiple Entities ===&lt;br /&gt;
==== OnTrigger ====&lt;br /&gt;
&lt;br /&gt;
==== OnTrade ====&lt;br /&gt;
&lt;br /&gt;
==== OnSpell ====&lt;br /&gt;
&lt;br /&gt;
==== OnMobWeaponSkill ====&lt;br /&gt;
&lt;br /&gt;
==== OnPetAbility ====&lt;br /&gt;
&lt;br /&gt;
==== OnUseWeaponSkill ====&lt;br /&gt;
&lt;br /&gt;
==== OnUseAbility ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Conditions that Apply to PCs or NPCs ===&lt;br /&gt;
==== OnEffectGain ====&lt;br /&gt;
&lt;br /&gt;
==== OnEffectTick ====&lt;br /&gt;
&lt;br /&gt;
==== OnEffectLose ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Conditions Applying only to Mob Entities ===&lt;br /&gt;
==== OnMobSpawn ====&lt;br /&gt;
&lt;br /&gt;
==== OnMobDeath ====&lt;br /&gt;
&lt;br /&gt;
==== OnMobEngaged ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== OnZoneInitialize ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Advanced Scripting Techniques ==&lt;br /&gt;
A compendium of useful combinations of functions and techniques to help with scripting in tricky situations. If you don't understand how to execute something here properly, feel free to ask in IRC.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
Other scripting situations not covered here:&lt;br /&gt;
[[BCNM Scripting]]&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Advanced_Scripting&amp;diff=6884</id>
		<title>Advanced Scripting</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Advanced_Scripting&amp;diff=6884"/>
				<updated>2012-09-17T03:17:54Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Function Breakdown */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Work in Progress!'''&lt;br /&gt;
&lt;br /&gt;
'''I would suggest before proceeding that you read [[How to Make a Quest]] for a general breakdown of scripting to familiarize yourself with the basics'''&lt;br /&gt;
&lt;br /&gt;
This guide is a look into some of the more advanced and uncommon elements of scripting. Here you will find help with how to use all of the currently available functions, as well as how to combine functions for useful (and often interesting!) results.&lt;br /&gt;
&lt;br /&gt;
== Function Breakdown ==&lt;br /&gt;
A reference of all of the luautils functions available for use in scripting at the time of this writing. Additional &amp;quot;convenience&amp;quot; functions created in global scripts will not be covered here, and should be explored at your leisure. Basic familiarity with LUA syntax is assumed. For further information, you can reference [http://code.google.com/p/onetimexi/source/browse/trunk/src/map/lua/luautils.cpp src/map/lua/luautils.cpp] and its accompanying header file.&lt;br /&gt;
&lt;br /&gt;
=== Getting Entity References ===&lt;br /&gt;
==== GetNPCByID ====&lt;br /&gt;
Requires you to look up an NPC's ID and returns a reference that can be used to manipulate that NPC. How to use this will be covered more in the next section.&lt;br /&gt;
&lt;br /&gt;
==== GetMobByID ====&lt;br /&gt;
Similar to the above, except it is used for Mobs. Will also be covered more in the next section.&lt;br /&gt;
&lt;br /&gt;
==== GetPlayerByName ====&lt;br /&gt;
Mainly useful for GM commands, it returns a reference for a player that can be manipulated with additional functions. Names given to it are case-sensitive, so the first letter must be capitalized with the remaining lower-case.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Getting Information About the World ===&lt;br /&gt;
==== GetRegionOwner ====&lt;br /&gt;
Retrieves a numerical value for the country that owns the region. These numerical values can be referenced with the aliases SANDORIA BASTOK WINDURST BEASTMEN or OTHER defined in scripts/globals/conquest.lua&lt;br /&gt;
&lt;br /&gt;
==== VanadielTOTD ====&lt;br /&gt;
Returns the Time of the Day as a number. The values to reference are stored in src/map/vana_time.h and should be put into a global script if you plan to use this.&lt;br /&gt;
&lt;br /&gt;
==== VanadielHour ====&lt;br /&gt;
Returns the current hour in the game-world. There are 24 hours in a day.&lt;br /&gt;
&lt;br /&gt;
==== VanadielMinute ====&lt;br /&gt;
Returns the current minute in the game-world. There are 60 minutes in an hour.&lt;br /&gt;
&lt;br /&gt;
==== VanadielDayOfTheYear ====&lt;br /&gt;
Returns the current day of the year (similar to a Julian calendar) in the game-world. There are 12 months or 360 days in a Year.&lt;br /&gt;
&lt;br /&gt;
==== VanadielDayOfTheMonth ====&lt;br /&gt;
Returns the current day of the month (as on a typical calendar) in the game-world. There are 30 days in a month.&lt;br /&gt;
&lt;br /&gt;
==== VanadielDayElement ====&lt;br /&gt;
Returns the current day of the week in the game world. There are 8 days in a week. Aliases for the return values can be found in scripts/globals/magic.lua&lt;br /&gt;
&lt;br /&gt;
==== GetServerVariable ====&lt;br /&gt;
Retrieve a variable that affects the entire game world, rather than a specific character.&lt;br /&gt;
&lt;br /&gt;
=== Getting Information About an Entity ===&lt;br /&gt;
==== GetMobAction ====&lt;br /&gt;
Returns the current action of a mob entity as a number. This is usually checked against zero to see if a mob is currently taking no special action (general wandering).&lt;br /&gt;
&lt;br /&gt;
=== Manipulating the World ===&lt;br /&gt;
==== SetVanadielTimeOffset ====&lt;br /&gt;
Changes the offset from the universal Vana'Diel time. This should ONLY be used for testing, as there is a configuration option for the map server should you wish to offset your server permanently.&lt;br /&gt;
&lt;br /&gt;
==== RunElevator ====&lt;br /&gt;
Starts a specific elevator in the game world. Unfortunately, there is no reference to assist you with this.&lt;br /&gt;
&lt;br /&gt;
==== SetServerVariable ====&lt;br /&gt;
Sets a variable that affects the entire game world, rather than a specific character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Manipulating an Entity ===&lt;br /&gt;
==== SpawnMob ====&lt;br /&gt;
Used to create an instance of a specific mob in the game world. It cannot be used to spawn an arbitrary monster at a particular location. It can only produce mobs that are defined in the mob_spawn_points table.&lt;br /&gt;
&lt;br /&gt;
==== DespawnMob ====&lt;br /&gt;
Opposite of above. You should not attempt to use this on any sort of timer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Miscellaneous ===&lt;br /&gt;
==== SendUncnown0x39Packet ====&lt;br /&gt;
This is basically a method that is only used to propel characters up the cliff in the geyser spots at Dangruf Wadi.&lt;br /&gt;
&lt;br /&gt;
==== BitwiseAnd ====&lt;br /&gt;
Simply an abstraction of the C method for Bitwise AND&lt;br /&gt;
&lt;br /&gt;
== Advanced Scripting Techniques ==&lt;br /&gt;
A compendium of useful combinations of functions and techniques to help with scripting in tricky situations. If you don't understand how to execute something here properly, feel free to ask in IRC.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
Other scripting situations not covered here:&lt;br /&gt;
[[BCNM Scripting]]&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Advanced_Scripting&amp;diff=6883</id>
		<title>Advanced Scripting</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Advanced_Scripting&amp;diff=6883"/>
				<updated>2012-09-17T02:18:55Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: Created page with &amp;quot;'''Work in Progress!'''  '''I would suggest before proceeding that you read How to Make a Quest for a general breakdown of scripting to familiarize yourself with the basic...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Work in Progress!'''&lt;br /&gt;
&lt;br /&gt;
'''I would suggest before proceeding that you read [[How to Make a Quest]] for a general breakdown of scripting to familiarize yourself with the basics'''&lt;br /&gt;
&lt;br /&gt;
This guide is a look into some of the more advanced and uncommon elements of scripting. Here you will find help with how to use all of the currently available functions, as well as how to combine functions for useful (and often interesting!) results.&lt;br /&gt;
&lt;br /&gt;
== Function Breakdown ==&lt;br /&gt;
A reference of all of the luautils functions available for use in scripting at the time of this writing. Basic familiarity with LUA syntax is assumed.&lt;br /&gt;
&lt;br /&gt;
== Advanced Scripting Techniques ==&lt;br /&gt;
A compendium of useful combinations of functions and techniques to help with scripting in tricky situations. If you don't understand how to execute something here properly, feel free to ask in IRC.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
Other scripting situations not covered here:&lt;br /&gt;
[[BCNM Scripting]]&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6863</id>
		<title>DarkStar Servers</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6863"/>
				<updated>2012-08-14T09:58:08Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Official DarkStar Play Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Official DarkStar Test Server ==&lt;br /&gt;
This is Whasf's server, the only official play-test server.&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
46.38.63.32&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Use http://46.38.63.32/roster.php to see who is online.&lt;br /&gt;
&lt;br /&gt;
Auction House is populated regularly with items for 100 gil.&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
All classes start at level 1&lt;br /&gt;
&lt;br /&gt;
Experience rate is 1.89x&lt;br /&gt;
&lt;br /&gt;
When you create a character, you'll hang at &amp;quot;downloading data&amp;quot;.. Disconnect and wait 45 seconds and login again. It could take up to three tries to log in in successfully with a new character.&lt;br /&gt;
&lt;br /&gt;
== ManhattanProject ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
50.56.176.250&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
New Server &lt;br /&gt;
&lt;br /&gt;
AH has items&lt;br /&gt;
&lt;br /&gt;
XP 4x&lt;br /&gt;
&lt;br /&gt;
5mil to start&lt;br /&gt;
&lt;br /&gt;
Increased WS dmg&lt;br /&gt;
&lt;br /&gt;
Run speed is 60&lt;br /&gt;
&lt;br /&gt;
== Ifrit (Funserv) ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
ping ifrit.servegame.com and use the resulting IP.&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
See the website for full details: http://ifrit.servegame.com/&lt;br /&gt;
&lt;br /&gt;
Speed 70&lt;br /&gt;
&lt;br /&gt;
Exp rate 20x (current retail is 2x)&lt;br /&gt;
&lt;br /&gt;
Fame 5x&lt;br /&gt;
&lt;br /&gt;
Guild point rate (when implemented) 2x&lt;br /&gt;
&lt;br /&gt;
FoV Tab rate 2x&lt;br /&gt;
&lt;br /&gt;
Staring inventory size 80&lt;br /&gt;
&lt;br /&gt;
Starting gil 9 million&lt;br /&gt;
&lt;br /&gt;
Auction house everything 100gil and restocked daily&lt;br /&gt;
&lt;br /&gt;
Scripts to unlock subjobs and advanced jobs anytime&lt;br /&gt;
&lt;br /&gt;
All maps unlocked&lt;br /&gt;
&lt;br /&gt;
Explorer Moogles&lt;br /&gt;
&lt;br /&gt;
Chocobo licence&lt;br /&gt;
&lt;br /&gt;
Airship pass&lt;br /&gt;
&lt;br /&gt;
Teleport Crystals&lt;br /&gt;
&lt;br /&gt;
AF/Relic Talk to armor storage npc in Lower Jeuno for claim slips.&lt;br /&gt;
&lt;br /&gt;
== Silverwolf's Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
131.191.104.77 &lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Auction House is populated&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
Experience rate is 4x&lt;br /&gt;
&lt;br /&gt;
Decent balance, more of that retail feel....&lt;br /&gt;
&lt;br /&gt;
Range Attack does some damage but no skill up yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Borfax's Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
Requires Hamachi to be running and connected to DarkStarFFXI&lt;br /&gt;
&lt;br /&gt;
Hamachi network password is dsf&lt;br /&gt;
&lt;br /&gt;
IP: 5.239.15.57&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
&lt;br /&gt;
Jobs start at level 30, but will probably be adjusted randomly, depending on testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gilgamesh Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
78.239.73.185&lt;br /&gt;
&lt;br /&gt;
=== Test Server Status ===&lt;br /&gt;
XP Rate: x10&lt;br /&gt;
&lt;br /&gt;
Gil Rate x10&lt;br /&gt;
&lt;br /&gt;
Speed: +10&lt;br /&gt;
&lt;br /&gt;
Zone Available: Base, Zilart, Promathia, Aht Urhgan&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
Online Player list: http://78.239.73.185/&lt;br /&gt;
&lt;br /&gt;
GM Call Center: http://78.239.73.185/callgm.php&lt;br /&gt;
&lt;br /&gt;
Server stats: http://78.239.73.185/servstat.php&lt;br /&gt;
&lt;br /&gt;
Monsters &amp;amp; Drops list: http://78.239.73.185/moblist.php&lt;br /&gt;
&lt;br /&gt;
Monsters list by zone: http://78.239.73.185/mobzonelist.php&lt;br /&gt;
&lt;br /&gt;
Forum en francais: http://jouegratuitement.com/forumdisplay.php?15-Gilgamesh-serveur-priv%E9-Final-Fantasy-XI&lt;br /&gt;
&lt;br /&gt;
Forum in English: http://jouegratuitement.com/forumdisplay.php?22-Gilgamesh-Final-Fantasy-Private-Server&lt;br /&gt;
&lt;br /&gt;
Facebook: http://www.facebook.com/pages/Gilgamesh-Serveur-priv%C3%A9-Final-Fantasy-XI/186095898161500&lt;br /&gt;
&lt;br /&gt;
== FFXI Unlimited Private Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Play on this server is highly discouraged. They accept donations for the efforts of others and are accused of not sharing bug reports with the main project, which, in turn, slows down development. Please support the official project!&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6862</id>
		<title>DarkStar Servers</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6862"/>
				<updated>2012-08-11T19:45:27Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Official DarkStar Play Server ==&lt;br /&gt;
This is Whasf's server, the only official play server.&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
46.38.63.32&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Use http://46.38.63.32/roster.php to see who is online.&lt;br /&gt;
&lt;br /&gt;
Auction House is populated regularly with items for 100 gil.&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
All classes start at level 1&lt;br /&gt;
&lt;br /&gt;
Experience rate is 1.89x&lt;br /&gt;
&lt;br /&gt;
When you create a character, you'll hang at &amp;quot;downloading data&amp;quot;.. Disconnect and wait 45 seconds and login again. It could take up to three tries to log in in successfully with a new character.&lt;br /&gt;
&lt;br /&gt;
== ManhattanProject ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
50.56.176.250&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
New Server &lt;br /&gt;
&lt;br /&gt;
AH has items&lt;br /&gt;
&lt;br /&gt;
XP 4x&lt;br /&gt;
&lt;br /&gt;
5mil to start&lt;br /&gt;
&lt;br /&gt;
Increased WS dmg&lt;br /&gt;
&lt;br /&gt;
Run speed is 60&lt;br /&gt;
&lt;br /&gt;
== Ifrit (Funserv) ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
ping ifrit.servegame.com and use the resulting IP.&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
See the website for full details: http://ifrit.servegame.com/&lt;br /&gt;
&lt;br /&gt;
Speed 70&lt;br /&gt;
&lt;br /&gt;
Exp rate 20x (current retail is 2x)&lt;br /&gt;
&lt;br /&gt;
Fame 5x&lt;br /&gt;
&lt;br /&gt;
Guild point rate (when implemented) 2x&lt;br /&gt;
&lt;br /&gt;
FoV Tab rate 2x&lt;br /&gt;
&lt;br /&gt;
Staring inventory size 80&lt;br /&gt;
&lt;br /&gt;
Starting gil 9 million&lt;br /&gt;
&lt;br /&gt;
Auction house everything 100gil and restocked daily&lt;br /&gt;
&lt;br /&gt;
Scripts to unlock subjobs and advanced jobs anytime&lt;br /&gt;
&lt;br /&gt;
All maps unlocked&lt;br /&gt;
&lt;br /&gt;
Explorer Moogles&lt;br /&gt;
&lt;br /&gt;
Chocobo licence&lt;br /&gt;
&lt;br /&gt;
Airship pass&lt;br /&gt;
&lt;br /&gt;
Teleport Crystals&lt;br /&gt;
&lt;br /&gt;
AF/Relic Talk to armor storage npc in Lower Jeuno for claim slips.&lt;br /&gt;
&lt;br /&gt;
== Silverwolf's Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
131.191.104.77 &lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Auction House is populated&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
Experience rate is 4x&lt;br /&gt;
&lt;br /&gt;
Decent balance, more of that retail feel....&lt;br /&gt;
&lt;br /&gt;
Range Attack does some damage but no skill up yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Borfax's Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
Requires Hamachi to be running and connected to DarkStarFFXI&lt;br /&gt;
&lt;br /&gt;
Hamachi network password is dsf&lt;br /&gt;
&lt;br /&gt;
IP: 5.239.15.57&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
&lt;br /&gt;
Jobs start at level 30, but will probably be adjusted randomly, depending on testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gilgamesh Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
78.239.73.185&lt;br /&gt;
&lt;br /&gt;
=== Test Server Status ===&lt;br /&gt;
XP Rate: x10&lt;br /&gt;
&lt;br /&gt;
Gil Rate x10&lt;br /&gt;
&lt;br /&gt;
Speed: +10&lt;br /&gt;
&lt;br /&gt;
Zone Available: Base, Zilart, Promathia, Aht Urhgan&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
Online Player list: http://78.239.73.185/&lt;br /&gt;
&lt;br /&gt;
GM Call Center: http://78.239.73.185/callgm.php&lt;br /&gt;
&lt;br /&gt;
Server stats: http://78.239.73.185/servstat.php&lt;br /&gt;
&lt;br /&gt;
Monsters &amp;amp; Drops list: http://78.239.73.185/moblist.php&lt;br /&gt;
&lt;br /&gt;
Monsters list by zone: http://78.239.73.185/mobzonelist.php&lt;br /&gt;
&lt;br /&gt;
Forum en francais: http://jouegratuitement.com/forumdisplay.php?15-Gilgamesh-serveur-priv%E9-Final-Fantasy-XI&lt;br /&gt;
&lt;br /&gt;
Forum in English: http://jouegratuitement.com/forumdisplay.php?22-Gilgamesh-Final-Fantasy-Private-Server&lt;br /&gt;
&lt;br /&gt;
Facebook: http://www.facebook.com/pages/Gilgamesh-Serveur-priv%C3%A9-Final-Fantasy-XI/186095898161500&lt;br /&gt;
&lt;br /&gt;
== FFXI Unlimited Private Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Play on this server is highly discouraged. They accept donations for the efforts of others and are accused of not sharing bug reports with the main project, which, in turn, slows down development. Please support the official project!&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6861</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6861"/>
				<updated>2012-08-11T19:31:46Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Forward Ports to Allow Others to Join (&amp;amp; Firewall) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server]&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/onetimexi/downloads/detail?name=MySQL.rar&amp;amp;can=2&amp;amp;q= SQL Developer Package]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ====&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multifunctional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== SQL Developer Package ====&lt;br /&gt;
&lt;br /&gt;
Don't lose it, as we'll come back to it later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a command script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.cmd in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load the DS tables into the DB. This     =========&lt;br /&gt;
REM ====== file needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ======                     by Thrydwolf   11/5/2011                 =========&lt;br /&gt;
REM ====== Updated with status on the last step by bluekirby0 3/30/2012 =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot DROP dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -proot &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use -pfoo instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ====&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_bazaar_msg` WHERE `charid` = OLD.charid;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it. If you use the site you must put the IP in reverse order to get the required value (i.e. instead of 127.0.0.1 which gives 2130706433 put in 1.0.0.127 to get 16777343).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Installing the MySQL Development Files ====&lt;br /&gt;
&lt;br /&gt;
Extract the MySQL development package we downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Copy the MySQL folder that was extracted. There should be a &amp;quot;mysql&amp;quot; folder inside with many files.&lt;br /&gt;
&lt;br /&gt;
Paste that MySQL into either&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32bit windows: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
64bit windows: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwords the folder structure should be ...Microsoft SDKs\Windows\v7.0A\Include\MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
TCP Ports:&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
54002&lt;br /&gt;
&lt;br /&gt;
UDP Port:&lt;br /&gt;
54230&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://forums.dspt.info/viewtopic.php?f=11&amp;amp;t=38 The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Compiling on 64-bit ===&lt;br /&gt;
These steps were done on Ubuntu 12.04.&lt;br /&gt;
First you need to install the relevant packages:&lt;br /&gt;
 sudo apt-get install libc-dev-i386&lt;br /&gt;
 sudo apt-get install g++-multilib&lt;br /&gt;
 sudo apt-get install libmysqlclient-dev:i386&lt;br /&gt;
 sudo apt-get install liblua5.1-dev:i386 &lt;br /&gt;
&lt;br /&gt;
You'll note that these are 32-bit packages which are needed to build in 32-bit mode. &lt;br /&gt;
If you already have the 64-bit mysql client libraries already installed, you have to uninstall them. Sadly the 32-bit version and 64-bit version can not coexist. NOTE: This is not advised if you have applications relying on the sql libraries!&lt;br /&gt;
In order to get rid of it you can do:&lt;br /&gt;
 sudo apt-get remove --purge libmysqlclient-dev&lt;br /&gt;
&lt;br /&gt;
At this point you should be all set up but there is one more thing that needs to be addressed. The source is looking for a liblua.so library which didn't exist from the liblua5.1 installation. To manually set it up do:&lt;br /&gt;
 cd /usr/lib/i386-linux-gnu/&lt;br /&gt;
 sudo ln -s liblua5.1.so liblua.so&lt;br /&gt;
&lt;br /&gt;
Now the environment is set up so you can run the configure script. We have to force it into 32-bit mode using CPPFLAGS and CXXFLAGS:&lt;br /&gt;
 CPPFLAGS=-m32 CXXFLAGS=-m32 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
At this point it should complete the build and you can continue on to the next section.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON dspdb.* TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql dspdb -u darkstar -ppassword &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC #darkstar@irc.rizon.net or in the [http://forums.dspt.info forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Core&amp;diff=6854</id>
		<title>Core</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Core&amp;diff=6854"/>
				<updated>2012-08-07T07:15:54Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Mob Pools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Referred to as the &amp;quot;Core&amp;quot;, this is the main C++ codebase. It is split into different sections which will be outlined here. Please note that this may not always remain in date as new things are added. The main beef of the server code will be outlined here, but not the extreme odd cases which are never used (e.g. /common/ or /items/ folders).&lt;br /&gt;
&lt;br /&gt;
== Map Server (aka Game Server) ==&lt;br /&gt;
The Map Server is the main server which governs how the game is played. It is REQUIRED in order for the server to work. The Connect Server is also required in order for characters to connect to the Map Server. The Search Server is optional. The following subsections breaks down the map server based on where it is physically located folder-wise.&lt;br /&gt;
&lt;br /&gt;
=== Entity AI (/src/map/ai) ===&lt;br /&gt;
This governs how the server should respond to given actions. These actions are on a high-level, e.g. attacking, disengaging, using TP moves, using items, etc. You can treat this AI as a primitive state system, whereby you can be in the &amp;quot;Attack&amp;quot; state, &amp;quot;Roaming&amp;quot; state, and so on.&lt;br /&gt;
&lt;br /&gt;
==== All Entities ====&lt;br /&gt;
* ActionAttack : Logic when attacking, including delay, calculation of damage, hit rate, counters, paralyze, intimidation, you name it.&lt;br /&gt;
* ActionNone : No logic at all (e.g. a mob that has despawned may be in this state, or a deallocated entity).&lt;br /&gt;
* ActionEngage : When you engage, these checks are performed. Usually transfers straight into ActionAttack after calling lua scripts. For monsters, you engage on aggro/turning red only.&lt;br /&gt;
* ActionDisengage : Logic that occurs when you disengage.&lt;br /&gt;
* ActionFall : Logic when you transfer from being alive to being dead, the transition to the Death state.&lt;br /&gt;
* ActionDeath : Logic when you're dead, usually maintenance tasks like removing yourself from the entity pool.&lt;br /&gt;
&lt;br /&gt;
==== Characters ====&lt;br /&gt;
* ActionMagicStart : Checks to perform when beginning to cast a spell, you can say things like &amp;quot;Not enough MP&amp;quot; or &amp;quot;You must have a pet&amp;quot; here.&lt;br /&gt;
* ActionMagicCasting : Checks to perform whilst mid-cast, this also checks to see if you are past the cast time for the spell where it will go into ActionMagicFinish.&lt;br /&gt;
* ActionMagicFinish : Checks to perform when finishing casting (spell interruption from movement), including calling the lua scripts for spells.&lt;br /&gt;
* ActionMagicInterrupt : When you have been interrupted, this is the state you enter. &lt;br /&gt;
* Action&lt;br /&gt;
&lt;br /&gt;
==== Monsters ====&lt;br /&gt;
* ActionDropItems : Drops items, including calculating the probability of drops, assigning them to the treasure pool, etc.&lt;br /&gt;
* ActionFadeOut : Fades the monster out after death.&lt;br /&gt;
* ActionMobAbilityStart : Checks to perform when starting a TP ability e.g. selection of a TP move&lt;br /&gt;
* ActionMobAbilityUsing : Checks to perform whilst using a TP ability e.g. check for Stun and if so, interrupt the move.&lt;br /&gt;
* ActionMobAbilityInterrupt : The state to go into when interrupted.&lt;br /&gt;
* ActionMobAbilityFinish : Checks to perform when the TP ability finishes, including calling lua scripts.&lt;br /&gt;
* ActionRoaming : Manages the idle state, including moving around.&lt;br /&gt;
* ActionSpawn : Checks to perform on spawn.&lt;br /&gt;
* ActionSleep : Checks to perform when slept (usually the checks are to see if you can wake up).&lt;br /&gt;
&lt;br /&gt;
==== Pets ====&lt;br /&gt;
* ActionMobAbilityStart : Checks to perform when starting a TP ability e.g. selection of a TP move&lt;br /&gt;
* ActionMobAbilityUsing : Checks to perform whilst using a TP ability e.g. check for Stun and if so, interrupt the move.&lt;br /&gt;
* ActionMobAbilityInterrupt : The state to go into when interrupted.&lt;br /&gt;
* ActionMobAbilityFinish : Checks to perform when the TP ability finishes, including calling lua scripts.&lt;br /&gt;
&lt;br /&gt;
=== LUA (/src/map/lua)===&lt;br /&gt;
This provides the main interface between scripting land and C++ land. If scripters need some awesome thing in the core added to LUA, this is where you add it. This is split into several different sections, all of which are very different, so check out the dedicated LUA section for more info.&lt;br /&gt;
&lt;br /&gt;
[[LUA (Core)]]&lt;br /&gt;
&lt;br /&gt;
=== Packets(/src/map/packets) ===&lt;br /&gt;
This defines the packet structures that will be sent to the client. If an update breaks FFXI, this is where you have to go to fix it (because the packet strucutres have changed!).&lt;br /&gt;
&lt;br /&gt;
=== Other (/src/map) ===&lt;br /&gt;
This contains everything else, which is actually quite a lot. It can be broadly grouped into these categories:&lt;br /&gt;
 * Entities (NPC,Pet,Char,Mob)&lt;br /&gt;
 * Instances (BCNMs)&lt;br /&gt;
 * Items (Armor, Weapons, Consumables, etc)&lt;br /&gt;
 * Effects (Modifiers and Status Effects)&lt;br /&gt;
 * Zone (handling of everything in the zone)&lt;br /&gt;
 * Synthesis&lt;br /&gt;
 * Parties&lt;br /&gt;
 * Linkshells&lt;br /&gt;
 * Time management&lt;br /&gt;
 * Enmity&lt;br /&gt;
&lt;br /&gt;
== Search Server ==&lt;br /&gt;
The Search Server was designed to take a lot of the heavy lifting search stuff away from the main server. If you were to do these searches on the main server, the game would grind to a halt and stop working, primarily because the server would be too busy doing SQL queries and not handling incoming packets. Its primary focus is on searching and the auction house.&lt;br /&gt;
&lt;br /&gt;
=== Searching ===&lt;br /&gt;
Requests filter through (eventually) to TCPComm in search.cpp. Each request has a unique packet request ID which indicates if it is searching all areas, a single area, etc. Normal searches all go to the same function HandleSearchRequest. This populates a search_req struct with information on the search request (jobs specified, level ranges, zones, etc). This is then fed into the data_loader which does the actual SQL query to get the results. This then comes back as a list of SearchEntities. These can then be populated (with the 20 cap enforced) into a SearchPacket which is then sent back.&lt;br /&gt;
&lt;br /&gt;
A variant of this is the GroupListRequest, which is requested when you view your party or view your linkshell members. This functions in very much the same way, but only needs the party ID or linkshell ID from the request in order to do a database search.&lt;br /&gt;
&lt;br /&gt;
=== Auction House ===&lt;br /&gt;
Requests filter through (eventually) to TCPComm in search.cpp. Each request has a unique packet request ID which indicates if it is for the auction house. If it is, it can either be for a list of items based on category (HandleAuctionHouseRequest) or an in-depth view of the buyers/sellers of a single item (HandleAuctionHouseHistoru). The player's personal list of items up for auction SHOULD be here as well but currently is not.&lt;br /&gt;
&lt;br /&gt;
== Connect Server (aka Lobby Server) ==&lt;br /&gt;
The Lobby Server is a magical server whereby almost certainly a wizard did it. It consists of three distinct sub-servers (for some reason) which don't always get along. This is the least documented server and one of the more obfuscated ones. The three processes are discussed below (but not in that much detail)&lt;br /&gt;
&lt;br /&gt;
=== login_parse ===&lt;br /&gt;
Seems to handle the initial connection with the client, including registering new accounts. (login_auth.cpp)&lt;br /&gt;
&lt;br /&gt;
=== lobbyview_parse ===&lt;br /&gt;
Seems to be the glue between the other two sections (read: this part falls over a lot). It handles creating/deleting characters, setting the bitmask of the expansions, etc.&lt;br /&gt;
&lt;br /&gt;
=== lobbydata_parse ===&lt;br /&gt;
Seems to handle loading of the character list for this account, and displaying that to the user.&lt;br /&gt;
&lt;br /&gt;
== Database ==&lt;br /&gt;
The database manages all of the information which can fall neatly into categories, like item data, weapon data, character data, auction house data, spell data and so on. Most of these tables are self-explanatory but some are not. The tables which are ambiguous or otherwise complete gibberish are hopefully demystified below.&lt;br /&gt;
&lt;br /&gt;
=== Abilities ===&lt;br /&gt;
* '''Ability ID''' : The unique ID assigned by the client for this ability. Find these values in ROM/181/72 (or String Tables &amp;gt; English &amp;gt; Ability Names in POLUtils). These IDs are 16 offset, so you must SUBTRACT 16 from the &amp;quot;index&amp;quot; field in POLUtils.&lt;br /&gt;
* '''Job''' : The unique Job ID assigned by the client. This is the same as for scripting, so WAR=1 MNK=2 WHM=3 ... &lt;br /&gt;
* '''validTarget''' : This is a bitmask of the valid targets, given by the enum in battleentity.h&lt;br /&gt;
&lt;br /&gt;
 enum TARGETTYPE&lt;br /&gt;
 {&lt;br /&gt;
  	TARGET_SELF				= 0x01,&lt;br /&gt;
  	TARGET_PLAYER_PARTY		= 0x02,&lt;br /&gt;
  	TARGET_ENEMY			= 0x04,&lt;br /&gt;
  	TARGET_PLAYER_ALLIANCE	= 0x08,&lt;br /&gt;
  	TARGET_PLAYER			= 0x10,&lt;br /&gt;
  	TARGET_PLAYER_DEAD		= 0x20,&lt;br /&gt;
  	TARGET_NPC				= 0x40&lt;br /&gt;
 };&lt;br /&gt;
  &lt;br /&gt;
  // Visually:&lt;br /&gt;
  // 0   0   0   0   0   0   0&lt;br /&gt;
  //NPC DED PLY PAL ENM PAR SLF&lt;br /&gt;
  //e.g. 3 is Self and Player Party. 4 is Enemy only. etc.&lt;br /&gt;
&lt;br /&gt;
* '''recastId''' : The recast ID for this ability, I think the recast plugin on Windower has the IDs for this in their XML files?&lt;br /&gt;
* '''animation''' : The animation ID to use for this ability. This has to be wizarded via packet captures or trial and error, I don't think this can be obtained automatically.&lt;br /&gt;
&lt;br /&gt;
=== BCNM Info ===&lt;br /&gt;
* '''bcnmId''' : Arbitrary ID to indicate a unique BCNM. Not tied to the client in any way.&lt;br /&gt;
* '''rules''' : The rules to apply to this BCNM (not fully implemented in the core). This is also a bitmask which is as follows (from the .sql comments)&lt;br /&gt;
 rules format (bits): 0000 0 0 0 0 = E D C B A&lt;br /&gt;
 A = allow SJs (1 if yes)&lt;br /&gt;
 B = lose exp on death (1 if yes)&lt;br /&gt;
 C = all dead rules (0=remove immediately, 1=remove after 3 min)&lt;br /&gt;
 D = spawn trasure chest on win (1 if yes)&lt;br /&gt;
 E = reserved&lt;br /&gt;
 e.g. 00000100 = no sjs, no exp loss, remove player after 3mins = 4&lt;br /&gt;
&lt;br /&gt;
=== BCNM Instance ===&lt;br /&gt;
* '''instanceNumber''' : The instance number is between 1-3 for pretty much every BCNM. There are three copies of the bcnm area in a zone. The client(!) seems to know which copy is instance 1, which is instance 2, etc, so it can be hard to know which monster ID should go with which instance ID without hacking it (changing bcnm.lua code).&lt;br /&gt;
&lt;br /&gt;
=== Mob Family System ===&lt;br /&gt;
* '''STR DEX ...''' : This is the RANK of the chosen stat in numerical form (1 being A rank).&lt;br /&gt;
&lt;br /&gt;
=== Mob Groups ===&lt;br /&gt;
* '''spawntype''' : This is a bitmask of when the monster can spawn, given by the following:&lt;br /&gt;
 enum SPAWNTYPE&lt;br /&gt;
 {&lt;br /&gt;
    SPAWNTYPE_NORMAL		= 0x00,     // 00:00-24:00&lt;br /&gt;
    SPAWNTYPE_ATNIGHT		= 0x01,     // 20:00-04:00&lt;br /&gt;
    SPAWNTYPE_ATEVENING		= 0x02,     // 18:00-06:00&lt;br /&gt;
    SPAWNTYPE_WEATHER		= 0x04,&lt;br /&gt;
    SPAWNTYPE_FOG			= 0x08,     // 02:00-07:00&lt;br /&gt;
    SPAWNTYPE_MOONPHASE		= 0x10,&lt;br /&gt;
    SPAWNTYPE_LOTTERY		= 0x20,&lt;br /&gt;
    SPAWNTYPE_WINDOWED		= 0x40,     	&lt;br /&gt;
    SPAWNTYPE_SCRIPTED		= 0x80&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
=== Mob Pools ===&lt;br /&gt;
* '''modelid''' : This is the unique model ID that this monster represents. This has to be captured from packet 0x0e.&lt;br /&gt;
* '''behavior''' : This is a lovely mis-spelling of 'behaviour'. It is also a bitmask which represents how the monster should behave:&lt;br /&gt;
 enum BEHAVIOUR&lt;br /&gt;
 {&lt;br /&gt;
    BEHAVIOUR_NONE				= 0x00,&lt;br /&gt;
    BEHAVIOUR_AGGRO_SIGHT		= 0x01,&lt;br /&gt;
    BEHAVIOUR_AGGRO_HEARING		= 0x02,&lt;br /&gt;
    BEHAVIOUR_AGGRO_LOWHP		= 0x04,&lt;br /&gt;
    BEHAVIOUR_AGGRO_TRUEHEARING	= 0x08,&lt;br /&gt;
    BEHAVIOUR_AGGRO_TRUESIGHT	= 0x10,&lt;br /&gt;
    BEHAVIOUR_AGGRO_MAGIC		= 0x20,&lt;br /&gt;
    BEHAVIOUR_AGGRO_WEAPONSKILL	= 0x40,&lt;br /&gt;
    BEHAVIOUR_AGGRO_JOBABILITY	= 0x80,&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
* '''links''' : Simple boolean, 1 if true, 0 otherwise.&lt;br /&gt;
* '''mobType''' : Yet another bitmask which governs the type(s) the monster falls under:&lt;br /&gt;
 enum MOBTYPE&lt;br /&gt;
 {&lt;br /&gt;
    MOBTYPE_NORMAL			= 0x00,		&lt;br /&gt;
    MOBTYPE_PCSPAWNED		= 0x01,&lt;br /&gt;
    MOBTYPE_NOTORIOUS		= 0x02,&lt;br /&gt;
    MOBTYPE_FISHED			= 0x04,&lt;br /&gt;
    MOBTYPE_CALLED			= 0x08,&lt;br /&gt;
    MOBTYPE_BATTLEFIELD		= 0x10,&lt;br /&gt;
    MOBTYPE_EVENT			= 0x20&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
* '''namePrefix''' : 0 for no special prefix (&amp;quot;the&amp;quot; monster). 32 and 64 are for special prefixes (e.g. Seiryu which has no &amp;quot;the&amp;quot; before it). These are packet captured so see [[Packets/0x0e]].&lt;br /&gt;
* '''flag''' : Packet captured value of the flag(s) for this monster. Most of these have been discovered, see [[Packets/0x0e]].&lt;br /&gt;
* '''unknown''' : Packet captured value. See [[Packets/0x0e]].&lt;br /&gt;
&lt;br /&gt;
=== Mob Skill ===&lt;br /&gt;
* '''mob_skill_id''' : The unique ID that governs this monsters skill. This can be found in trunk/documentation/mob_tp_movies.txt or via the DATs.&lt;br /&gt;
* '''mob_anim_id''' : The unique animation ID that represents this skill. This is found by trial and error or via packet capturing.&lt;br /&gt;
* '''mob_skill_aoe''' : 0 for non-aoe, 1 for AoE around SELF(monster), 2 for AoE around TARGET(think bomb toss), 4 for conal AoE (not-implemented), &lt;br /&gt;
&lt;br /&gt;
=== NPC List ===&lt;br /&gt;
* All these values are packet captured, see [[Packets/0x0e]].&lt;br /&gt;
&lt;br /&gt;
=== Pet List ===&lt;br /&gt;
* '''petid''' : Arbitrary ID to define a pet.&lt;br /&gt;
&lt;br /&gt;
=== Status Effects ===&lt;br /&gt;
* '''id''' : Client-side ID to represent the status (used for icons in some cases). Find these in String Tables &amp;gt; English &amp;gt; Status Names or ROM/180/102.dat&lt;br /&gt;
* '''flags''' : Bitmask of one or more of:&lt;br /&gt;
 enum EFFECTFLAG&lt;br /&gt;
 {&lt;br /&gt;
    EFFECTFLAG_NONE             = 0x0000,&lt;br /&gt;
    EFFECTFLAG_DISPELABLE       = 0x0001,&lt;br /&gt;
    EFFECTFLAG_ERASABLE         = 0x0002,&lt;br /&gt;
    EFFECTFLAG_ATTACK           = 0x0004,    &lt;br /&gt;
    &lt;br /&gt;
    EFFECTFLAG_DAMAGE           = 0x0010,    &lt;br /&gt;
    EFFECTFLAG_DEATH            = 0x0020,    &lt;br /&gt;
    EFFECTFLAG_MAGIC_BEGIN      = 0x0040,     &lt;br /&gt;
    EFFECTFLAG_MAGIC_END        = 0x0080,     &lt;br /&gt;
    EFFECTFLAG_ON_ZONE          = 0x0100,&lt;br /&gt;
    EFFECTFLAG_NO_LOSS_MESSAGE  = 0x0200,     // Suppress effect worn off message.&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
=== Traits ===&lt;br /&gt;
* '''traitid''' : The unique client-side trait ID. Find these values in ROM/181/72 (or String Tables &amp;gt; English &amp;gt; Ability Names in POLUtils and go waaay down to 385+). These are 384 offset, so you must SUBTRACT 384 from the &amp;quot;index&amp;quot; field in POLUtils to get these values.&lt;br /&gt;
&lt;br /&gt;
=== Special Case: Avatar BPs ===&lt;br /&gt;
* Avatar Blood Pacts use fields differently in order to get the required information. The two tables that need to be edited are abilities.sql and mob_skills.sql.&lt;br /&gt;
* abilities.sql - The animation field is actually the MP cost.&lt;br /&gt;
* abilities.sql - The recast ID is either 173 or 174 for BP:Rage or BP:Ward&lt;br /&gt;
* abilities.sql - The ability ID is found in POLUtils (String Tables &amp;gt; English &amp;gt; Ability Names). It is the ''index'' in POLUtils - 16.&lt;br /&gt;
* mob_skills.sql - The family ID is the ID of the family of monsters (duh, so Avatar-Titan, Avatar-Garuda, etc).&lt;br /&gt;
* mob_skills.sql - The mob_skill_id is found in monster_tp_movies.txt in /documentation/&lt;br /&gt;
* mob_skills.sql - The mob_anim_time is actually the related ability ID (so Whispering Wind should be 578 as the ability ID for it is that).&lt;br /&gt;
* mob_skills.sql - The mob_anim_id is the hard one and has to be packet captured or got via trial and error. The other avatar anim_ids are close in value to the current ones.&lt;br /&gt;
&lt;br /&gt;
== Flow of Control ==&lt;br /&gt;
Possibly the most important thing to understand is how the server (map server in particular) actually works in terms of actual work performed based on a given input. Several examples will be examined to see how the server flows through the files mentioned above to get to the packet to send back. See [[Server Data Flow]].&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Core&amp;diff=6853</id>
		<title>Core</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Core&amp;diff=6853"/>
				<updated>2012-08-07T07:14:53Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Packets(/src/map/packets) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Referred to as the &amp;quot;Core&amp;quot;, this is the main C++ codebase. It is split into different sections which will be outlined here. Please note that this may not always remain in date as new things are added. The main beef of the server code will be outlined here, but not the extreme odd cases which are never used (e.g. /common/ or /items/ folders).&lt;br /&gt;
&lt;br /&gt;
== Map Server (aka Game Server) ==&lt;br /&gt;
The Map Server is the main server which governs how the game is played. It is REQUIRED in order for the server to work. The Connect Server is also required in order for characters to connect to the Map Server. The Search Server is optional. The following subsections breaks down the map server based on where it is physically located folder-wise.&lt;br /&gt;
&lt;br /&gt;
=== Entity AI (/src/map/ai) ===&lt;br /&gt;
This governs how the server should respond to given actions. These actions are on a high-level, e.g. attacking, disengaging, using TP moves, using items, etc. You can treat this AI as a primitive state system, whereby you can be in the &amp;quot;Attack&amp;quot; state, &amp;quot;Roaming&amp;quot; state, and so on.&lt;br /&gt;
&lt;br /&gt;
==== All Entities ====&lt;br /&gt;
* ActionAttack : Logic when attacking, including delay, calculation of damage, hit rate, counters, paralyze, intimidation, you name it.&lt;br /&gt;
* ActionNone : No logic at all (e.g. a mob that has despawned may be in this state, or a deallocated entity).&lt;br /&gt;
* ActionEngage : When you engage, these checks are performed. Usually transfers straight into ActionAttack after calling lua scripts. For monsters, you engage on aggro/turning red only.&lt;br /&gt;
* ActionDisengage : Logic that occurs when you disengage.&lt;br /&gt;
* ActionFall : Logic when you transfer from being alive to being dead, the transition to the Death state.&lt;br /&gt;
* ActionDeath : Logic when you're dead, usually maintenance tasks like removing yourself from the entity pool.&lt;br /&gt;
&lt;br /&gt;
==== Characters ====&lt;br /&gt;
* ActionMagicStart : Checks to perform when beginning to cast a spell, you can say things like &amp;quot;Not enough MP&amp;quot; or &amp;quot;You must have a pet&amp;quot; here.&lt;br /&gt;
* ActionMagicCasting : Checks to perform whilst mid-cast, this also checks to see if you are past the cast time for the spell where it will go into ActionMagicFinish.&lt;br /&gt;
* ActionMagicFinish : Checks to perform when finishing casting (spell interruption from movement), including calling the lua scripts for spells.&lt;br /&gt;
* ActionMagicInterrupt : When you have been interrupted, this is the state you enter. &lt;br /&gt;
* Action&lt;br /&gt;
&lt;br /&gt;
==== Monsters ====&lt;br /&gt;
* ActionDropItems : Drops items, including calculating the probability of drops, assigning them to the treasure pool, etc.&lt;br /&gt;
* ActionFadeOut : Fades the monster out after death.&lt;br /&gt;
* ActionMobAbilityStart : Checks to perform when starting a TP ability e.g. selection of a TP move&lt;br /&gt;
* ActionMobAbilityUsing : Checks to perform whilst using a TP ability e.g. check for Stun and if so, interrupt the move.&lt;br /&gt;
* ActionMobAbilityInterrupt : The state to go into when interrupted.&lt;br /&gt;
* ActionMobAbilityFinish : Checks to perform when the TP ability finishes, including calling lua scripts.&lt;br /&gt;
* ActionRoaming : Manages the idle state, including moving around.&lt;br /&gt;
* ActionSpawn : Checks to perform on spawn.&lt;br /&gt;
* ActionSleep : Checks to perform when slept (usually the checks are to see if you can wake up).&lt;br /&gt;
&lt;br /&gt;
==== Pets ====&lt;br /&gt;
* ActionMobAbilityStart : Checks to perform when starting a TP ability e.g. selection of a TP move&lt;br /&gt;
* ActionMobAbilityUsing : Checks to perform whilst using a TP ability e.g. check for Stun and if so, interrupt the move.&lt;br /&gt;
* ActionMobAbilityInterrupt : The state to go into when interrupted.&lt;br /&gt;
* ActionMobAbilityFinish : Checks to perform when the TP ability finishes, including calling lua scripts.&lt;br /&gt;
&lt;br /&gt;
=== LUA (/src/map/lua)===&lt;br /&gt;
This provides the main interface between scripting land and C++ land. If scripters need some awesome thing in the core added to LUA, this is where you add it. This is split into several different sections, all of which are very different, so check out the dedicated LUA section for more info.&lt;br /&gt;
&lt;br /&gt;
[[LUA (Core)]]&lt;br /&gt;
&lt;br /&gt;
=== Packets(/src/map/packets) ===&lt;br /&gt;
This defines the packet structures that will be sent to the client. If an update breaks FFXI, this is where you have to go to fix it (because the packet strucutres have changed!).&lt;br /&gt;
&lt;br /&gt;
=== Other (/src/map) ===&lt;br /&gt;
This contains everything else, which is actually quite a lot. It can be broadly grouped into these categories:&lt;br /&gt;
 * Entities (NPC,Pet,Char,Mob)&lt;br /&gt;
 * Instances (BCNMs)&lt;br /&gt;
 * Items (Armor, Weapons, Consumables, etc)&lt;br /&gt;
 * Effects (Modifiers and Status Effects)&lt;br /&gt;
 * Zone (handling of everything in the zone)&lt;br /&gt;
 * Synthesis&lt;br /&gt;
 * Parties&lt;br /&gt;
 * Linkshells&lt;br /&gt;
 * Time management&lt;br /&gt;
 * Enmity&lt;br /&gt;
&lt;br /&gt;
== Search Server ==&lt;br /&gt;
The Search Server was designed to take a lot of the heavy lifting search stuff away from the main server. If you were to do these searches on the main server, the game would grind to a halt and stop working, primarily because the server would be too busy doing SQL queries and not handling incoming packets. Its primary focus is on searching and the auction house.&lt;br /&gt;
&lt;br /&gt;
=== Searching ===&lt;br /&gt;
Requests filter through (eventually) to TCPComm in search.cpp. Each request has a unique packet request ID which indicates if it is searching all areas, a single area, etc. Normal searches all go to the same function HandleSearchRequest. This populates a search_req struct with information on the search request (jobs specified, level ranges, zones, etc). This is then fed into the data_loader which does the actual SQL query to get the results. This then comes back as a list of SearchEntities. These can then be populated (with the 20 cap enforced) into a SearchPacket which is then sent back.&lt;br /&gt;
&lt;br /&gt;
A variant of this is the GroupListRequest, which is requested when you view your party or view your linkshell members. This functions in very much the same way, but only needs the party ID or linkshell ID from the request in order to do a database search.&lt;br /&gt;
&lt;br /&gt;
=== Auction House ===&lt;br /&gt;
Requests filter through (eventually) to TCPComm in search.cpp. Each request has a unique packet request ID which indicates if it is for the auction house. If it is, it can either be for a list of items based on category (HandleAuctionHouseRequest) or an in-depth view of the buyers/sellers of a single item (HandleAuctionHouseHistoru). The player's personal list of items up for auction SHOULD be here as well but currently is not.&lt;br /&gt;
&lt;br /&gt;
== Connect Server (aka Lobby Server) ==&lt;br /&gt;
The Lobby Server is a magical server whereby almost certainly a wizard did it. It consists of three distinct sub-servers (for some reason) which don't always get along. This is the least documented server and one of the more obfuscated ones. The three processes are discussed below (but not in that much detail)&lt;br /&gt;
&lt;br /&gt;
=== login_parse ===&lt;br /&gt;
Seems to handle the initial connection with the client, including registering new accounts. (login_auth.cpp)&lt;br /&gt;
&lt;br /&gt;
=== lobbyview_parse ===&lt;br /&gt;
Seems to be the glue between the other two sections (read: this part falls over a lot). It handles creating/deleting characters, setting the bitmask of the expansions, etc.&lt;br /&gt;
&lt;br /&gt;
=== lobbydata_parse ===&lt;br /&gt;
Seems to handle loading of the character list for this account, and displaying that to the user.&lt;br /&gt;
&lt;br /&gt;
== Database ==&lt;br /&gt;
The database manages all of the information which can fall neatly into categories, like item data, weapon data, character data, auction house data, spell data and so on. Most of these tables are self-explanatory but some are not. The tables which are ambiguous or otherwise complete gibberish are hopefully demystified below.&lt;br /&gt;
&lt;br /&gt;
=== Abilities ===&lt;br /&gt;
* '''Ability ID''' : The unique ID assigned by the client for this ability. Find these values in ROM/181/72 (or String Tables &amp;gt; English &amp;gt; Ability Names in POLUtils). These IDs are 16 offset, so you must SUBTRACT 16 from the &amp;quot;index&amp;quot; field in POLUtils.&lt;br /&gt;
* '''Job''' : The unique Job ID assigned by the client. This is the same as for scripting, so WAR=1 MNK=2 WHM=3 ... &lt;br /&gt;
* '''validTarget''' : This is a bitmask of the valid targets, given by the enum in battleentity.h&lt;br /&gt;
&lt;br /&gt;
 enum TARGETTYPE&lt;br /&gt;
 {&lt;br /&gt;
  	TARGET_SELF				= 0x01,&lt;br /&gt;
  	TARGET_PLAYER_PARTY		= 0x02,&lt;br /&gt;
  	TARGET_ENEMY			= 0x04,&lt;br /&gt;
  	TARGET_PLAYER_ALLIANCE	= 0x08,&lt;br /&gt;
  	TARGET_PLAYER			= 0x10,&lt;br /&gt;
  	TARGET_PLAYER_DEAD		= 0x20,&lt;br /&gt;
  	TARGET_NPC				= 0x40&lt;br /&gt;
 };&lt;br /&gt;
  &lt;br /&gt;
  // Visually:&lt;br /&gt;
  // 0   0   0   0   0   0   0&lt;br /&gt;
  //NPC DED PLY PAL ENM PAR SLF&lt;br /&gt;
  //e.g. 3 is Self and Player Party. 4 is Enemy only. etc.&lt;br /&gt;
&lt;br /&gt;
* '''recastId''' : The recast ID for this ability, I think the recast plugin on Windower has the IDs for this in their XML files?&lt;br /&gt;
* '''animation''' : The animation ID to use for this ability. This has to be wizarded via packet captures or trial and error, I don't think this can be obtained automatically.&lt;br /&gt;
&lt;br /&gt;
=== BCNM Info ===&lt;br /&gt;
* '''bcnmId''' : Arbitrary ID to indicate a unique BCNM. Not tied to the client in any way.&lt;br /&gt;
* '''rules''' : The rules to apply to this BCNM (not fully implemented in the core). This is also a bitmask which is as follows (from the .sql comments)&lt;br /&gt;
 rules format (bits): 0000 0 0 0 0 = E D C B A&lt;br /&gt;
 A = allow SJs (1 if yes)&lt;br /&gt;
 B = lose exp on death (1 if yes)&lt;br /&gt;
 C = all dead rules (0=remove immediately, 1=remove after 3 min)&lt;br /&gt;
 D = spawn trasure chest on win (1 if yes)&lt;br /&gt;
 E = reserved&lt;br /&gt;
 e.g. 00000100 = no sjs, no exp loss, remove player after 3mins = 4&lt;br /&gt;
&lt;br /&gt;
=== BCNM Instance ===&lt;br /&gt;
* '''instanceNumber''' : The instance number is between 1-3 for pretty much every BCNM. There are three copies of the bcnm area in a zone. The client(!) seems to know which copy is instance 1, which is instance 2, etc, so it can be hard to know which monster ID should go with which instance ID without hacking it (changing bcnm.lua code).&lt;br /&gt;
&lt;br /&gt;
=== Mob Family System ===&lt;br /&gt;
* '''STR DEX ...''' : This is the RANK of the chosen stat in numerical form (1 being A rank).&lt;br /&gt;
&lt;br /&gt;
=== Mob Groups ===&lt;br /&gt;
* '''spawntype''' : This is a bitmask of when the monster can spawn, given by the following:&lt;br /&gt;
 enum SPAWNTYPE&lt;br /&gt;
 {&lt;br /&gt;
    SPAWNTYPE_NORMAL		= 0x00,     // 00:00-24:00&lt;br /&gt;
    SPAWNTYPE_ATNIGHT		= 0x01,     // 20:00-04:00&lt;br /&gt;
    SPAWNTYPE_ATEVENING		= 0x02,     // 18:00-06:00&lt;br /&gt;
    SPAWNTYPE_WEATHER		= 0x04,&lt;br /&gt;
    SPAWNTYPE_FOG			= 0x08,     // 02:00-07:00&lt;br /&gt;
    SPAWNTYPE_MOONPHASE		= 0x10,&lt;br /&gt;
    SPAWNTYPE_LOTTERY		= 0x20,&lt;br /&gt;
    SPAWNTYPE_WINDOWED		= 0x40,     	&lt;br /&gt;
    SPAWNTYPE_SCRIPTED		= 0x80&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
=== Mob Pools ===&lt;br /&gt;
* '''modelid''' : This is the unique model ID that this monster represents. This has to be captured from packets, so see [[Packets/0x0e]].&lt;br /&gt;
* '''behavior''' : This is a lovely mis-spelling of 'behaviour'. It is also a bitmask which represents how the monster should behave:&lt;br /&gt;
 enum BEHAVIOUR&lt;br /&gt;
 {&lt;br /&gt;
    BEHAVIOUR_NONE				= 0x00,&lt;br /&gt;
    BEHAVIOUR_AGGRO_SIGHT		= 0x01,&lt;br /&gt;
    BEHAVIOUR_AGGRO_HEARING		= 0x02,&lt;br /&gt;
    BEHAVIOUR_AGGRO_LOWHP		= 0x04,&lt;br /&gt;
    BEHAVIOUR_AGGRO_TRUEHEARING	= 0x08,&lt;br /&gt;
    BEHAVIOUR_AGGRO_TRUESIGHT	= 0x10,&lt;br /&gt;
    BEHAVIOUR_AGGRO_MAGIC		= 0x20,&lt;br /&gt;
    BEHAVIOUR_AGGRO_WEAPONSKILL	= 0x40,&lt;br /&gt;
    BEHAVIOUR_AGGRO_JOBABILITY	= 0x80,&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
* '''links''' : Simple boolean, 1 if true, 0 otherwise.&lt;br /&gt;
* '''mobType''' : Yet another bitmask which governs the type(s) the monster falls under:&lt;br /&gt;
 enum MOBTYPE&lt;br /&gt;
 {&lt;br /&gt;
    MOBTYPE_NORMAL			= 0x00,		&lt;br /&gt;
    MOBTYPE_PCSPAWNED		= 0x01,&lt;br /&gt;
    MOBTYPE_NOTORIOUS		= 0x02,&lt;br /&gt;
    MOBTYPE_FISHED			= 0x04,&lt;br /&gt;
    MOBTYPE_CALLED			= 0x08,&lt;br /&gt;
    MOBTYPE_BATTLEFIELD		= 0x10,&lt;br /&gt;
    MOBTYPE_EVENT			= 0x20&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
* '''namePrefix''' : 0 for no special prefix (&amp;quot;the&amp;quot; monster). 32 and 64 are for special prefixes (e.g. Seiryu which has no &amp;quot;the&amp;quot; before it). These are packet captured so see [[Packets/0x0e]].&lt;br /&gt;
* '''flag''' : Packet captured value of the flag(s) for this monster. Most of these have been discovered, see [[Packets/0x0e]].&lt;br /&gt;
* '''unknown''' : Packet captured value. See [[Packets/0x0e]].&lt;br /&gt;
&lt;br /&gt;
=== Mob Skill ===&lt;br /&gt;
* '''mob_skill_id''' : The unique ID that governs this monsters skill. This can be found in trunk/documentation/mob_tp_movies.txt or via the DATs.&lt;br /&gt;
* '''mob_anim_id''' : The unique animation ID that represents this skill. This is found by trial and error or via packet capturing.&lt;br /&gt;
* '''mob_skill_aoe''' : 0 for non-aoe, 1 for AoE around SELF(monster), 2 for AoE around TARGET(think bomb toss), 4 for conal AoE (not-implemented), &lt;br /&gt;
&lt;br /&gt;
=== NPC List ===&lt;br /&gt;
* All these values are packet captured, see [[Packets/0x0e]].&lt;br /&gt;
&lt;br /&gt;
=== Pet List ===&lt;br /&gt;
* '''petid''' : Arbitrary ID to define a pet.&lt;br /&gt;
&lt;br /&gt;
=== Status Effects ===&lt;br /&gt;
* '''id''' : Client-side ID to represent the status (used for icons in some cases). Find these in String Tables &amp;gt; English &amp;gt; Status Names or ROM/180/102.dat&lt;br /&gt;
* '''flags''' : Bitmask of one or more of:&lt;br /&gt;
 enum EFFECTFLAG&lt;br /&gt;
 {&lt;br /&gt;
    EFFECTFLAG_NONE             = 0x0000,&lt;br /&gt;
    EFFECTFLAG_DISPELABLE       = 0x0001,&lt;br /&gt;
    EFFECTFLAG_ERASABLE         = 0x0002,&lt;br /&gt;
    EFFECTFLAG_ATTACK           = 0x0004,    &lt;br /&gt;
    &lt;br /&gt;
    EFFECTFLAG_DAMAGE           = 0x0010,    &lt;br /&gt;
    EFFECTFLAG_DEATH            = 0x0020,    &lt;br /&gt;
    EFFECTFLAG_MAGIC_BEGIN      = 0x0040,     &lt;br /&gt;
    EFFECTFLAG_MAGIC_END        = 0x0080,     &lt;br /&gt;
    EFFECTFLAG_ON_ZONE          = 0x0100,&lt;br /&gt;
    EFFECTFLAG_NO_LOSS_MESSAGE  = 0x0200,     // Suppress effect worn off message.&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
=== Traits ===&lt;br /&gt;
* '''traitid''' : The unique client-side trait ID. Find these values in ROM/181/72 (or String Tables &amp;gt; English &amp;gt; Ability Names in POLUtils and go waaay down to 385+). These are 384 offset, so you must SUBTRACT 384 from the &amp;quot;index&amp;quot; field in POLUtils to get these values.&lt;br /&gt;
&lt;br /&gt;
=== Special Case: Avatar BPs ===&lt;br /&gt;
* Avatar Blood Pacts use fields differently in order to get the required information. The two tables that need to be edited are abilities.sql and mob_skills.sql.&lt;br /&gt;
* abilities.sql - The animation field is actually the MP cost.&lt;br /&gt;
* abilities.sql - The recast ID is either 173 or 174 for BP:Rage or BP:Ward&lt;br /&gt;
* abilities.sql - The ability ID is found in POLUtils (String Tables &amp;gt; English &amp;gt; Ability Names). It is the ''index'' in POLUtils - 16.&lt;br /&gt;
* mob_skills.sql - The family ID is the ID of the family of monsters (duh, so Avatar-Titan, Avatar-Garuda, etc).&lt;br /&gt;
* mob_skills.sql - The mob_skill_id is found in monster_tp_movies.txt in /documentation/&lt;br /&gt;
* mob_skills.sql - The mob_anim_time is actually the related ability ID (so Whispering Wind should be 578 as the ability ID for it is that).&lt;br /&gt;
* mob_skills.sql - The mob_anim_id is the hard one and has to be packet captured or got via trial and error. The other avatar anim_ids are close in value to the current ones.&lt;br /&gt;
&lt;br /&gt;
== Flow of Control ==&lt;br /&gt;
Possibly the most important thing to understand is how the server (map server in particular) actually works in terms of actual work performed based on a given input. Several examples will be examined to see how the server flows through the files mentioned above to get to the packet to send back. See [[Server Data Flow]].&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6852</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6852"/>
				<updated>2012-08-07T07:12:50Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: Fixed up some links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server]&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/onetimexi/downloads/detail?name=MySQL.rar&amp;amp;can=2&amp;amp;q= SQL Developer Package]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ====&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multifunctional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== SQL Developer Package ====&lt;br /&gt;
&lt;br /&gt;
Don't lose it, as we'll come back to it later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a command script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.cmd in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load the DS tables into the DB. This     =========&lt;br /&gt;
REM ====== file needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ======                     by Thrydwolf   11/5/2011                 =========&lt;br /&gt;
REM ====== Updated with status on the last step by bluekirby0 3/30/2012 =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot DROP dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -proot &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use -pfoo instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ====&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_bazaar_msg` WHERE `charid` = OLD.charid;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it. If you use the site you must put the IP in reverse order to get the required value (i.e. instead of 127.0.0.1 which gives 2130706433 put in 1.0.0.127 to get 16777343).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Installing the MySQL Development Files ====&lt;br /&gt;
&lt;br /&gt;
Extract the MySQL development package we downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Copy the MySQL folder that was extracted. There should be a &amp;quot;mysql&amp;quot; folder inside with many files.&lt;br /&gt;
&lt;br /&gt;
Paste that MySQL into either&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32bit windows: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
64bit windows: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwords the folder structure should be ...Microsoft SDKs\Windows\v7.0A\Include\MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://forums.dspt.info/viewtopic.php?f=11&amp;amp;t=38 The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Compiling on 64-bit ===&lt;br /&gt;
These steps were done on Ubuntu 12.04.&lt;br /&gt;
First you need to install the relevant packages:&lt;br /&gt;
 sudo apt-get install libc-dev-i386&lt;br /&gt;
 sudo apt-get install g++-multilib&lt;br /&gt;
 sudo apt-get install libmysqlclient-dev:i386&lt;br /&gt;
 sudo apt-get install liblua5.1-dev:i386 &lt;br /&gt;
&lt;br /&gt;
You'll note that these are 32-bit packages which are needed to build in 32-bit mode. &lt;br /&gt;
If you already have the 64-bit mysql client libraries already installed, you have to uninstall them. Sadly the 32-bit version and 64-bit version can not coexist. NOTE: This is not advised if you have applications relying on the sql libraries!&lt;br /&gt;
In order to get rid of it you can do:&lt;br /&gt;
 sudo apt-get remove --purge libmysqlclient-dev&lt;br /&gt;
&lt;br /&gt;
At this point you should be all set up but there is one more thing that needs to be addressed. The source is looking for a liblua.so library which didn't exist from the liblua5.1 installation. To manually set it up do:&lt;br /&gt;
 cd /usr/lib/i386-linux-gnu/&lt;br /&gt;
 sudo ln -s liblua5.1.so liblua.so&lt;br /&gt;
&lt;br /&gt;
Now the environment is set up so you can run the configure script. We have to force it into 32-bit mode using CPPFLAGS and CXXFLAGS:&lt;br /&gt;
 CPPFLAGS=-m32 CXXFLAGS=-m32 ./configure&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
At this point it should complete the build and you can continue on to the next section.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON dspdb.* TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql dspdb -u darkstar -ppassword &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC #darkstar@irc.rizon.net or in the [http://forums.dspt.info forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Ability_Animation_IDs&amp;diff=6848</id>
		<title>Ability Animation IDs</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Ability_Animation_IDs&amp;diff=6848"/>
				<updated>2012-08-03T16:24:38Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: Created page with &amp;quot;{|class=&amp;quot;wikitable zebra&amp;quot; !Animation ID!!Result |- |0||Berserk |- |1||Defender |- |2||Aggressor |- |3||Provoke |- |4||Focus |- |5||Dodge |- |6||Chakra |- |7||Boost |- |8||Coun...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{|class=&amp;quot;wikitable zebra&amp;quot;&lt;br /&gt;
!Animation ID!!Result&lt;br /&gt;
|-&lt;br /&gt;
|0||Berserk&lt;br /&gt;
|-&lt;br /&gt;
|1||Defender&lt;br /&gt;
|-&lt;br /&gt;
|2||Aggressor&lt;br /&gt;
|-&lt;br /&gt;
|3||Provoke&lt;br /&gt;
|-&lt;br /&gt;
|4||Focus&lt;br /&gt;
|-&lt;br /&gt;
|5||Dodge&lt;br /&gt;
|-&lt;br /&gt;
|6||Chakra&lt;br /&gt;
|-&lt;br /&gt;
|7||Boost&lt;br /&gt;
|-&lt;br /&gt;
|8||Counterstance&lt;br /&gt;
|-&lt;br /&gt;
|9||Flee&lt;br /&gt;
|-&lt;br /&gt;
|10||Hide (Camouflage?)&lt;br /&gt;
|-&lt;br /&gt;
|11||Sentinel&lt;br /&gt;
|-&lt;br /&gt;
|12||Last Resort&lt;br /&gt;
|-&lt;br /&gt;
|13||Charm&lt;br /&gt;
|-&lt;br /&gt;
|14||Gauge&lt;br /&gt;
|-&lt;br /&gt;
|15||Tame&lt;br /&gt;
|-&lt;br /&gt;
|16||Unknown, rising cubes&lt;br /&gt;
|-&lt;br /&gt;
|17||Sneak Attack&lt;br /&gt;
|-&lt;br /&gt;
|18||Invincible&lt;br /&gt;
|-&lt;br /&gt;
|19||Blood Weapon&lt;br /&gt;
|-&lt;br /&gt;
|20||Souleater&lt;br /&gt;
|-&lt;br /&gt;
|21||Scavenge&lt;br /&gt;
|-&lt;br /&gt;
|22||Sharpshot&lt;br /&gt;
|-&lt;br /&gt;
|23||Barrage, without firing&lt;br /&gt;
|-&lt;br /&gt;
|24||Third Eye&lt;br /&gt;
|-&lt;br /&gt;
|25||Meditate&lt;br /&gt;
|-&lt;br /&gt;
|26||Unused? Yellow hand, blue waves&lt;br /&gt;
|-&lt;br /&gt;
|27||Unused? Spooky&lt;br /&gt;
|-&lt;br /&gt;
|28||Warcry&lt;br /&gt;
|-&lt;br /&gt;
|29||Holy Circle&lt;br /&gt;
|-&lt;br /&gt;
|30||Arcane Circle&lt;br /&gt;
|-&lt;br /&gt;
|31||Ancient Circle&lt;br /&gt;
|-&lt;br /&gt;
|32||Warding Circle&lt;br /&gt;
|-&lt;br /&gt;
|33||Mighty Strikes&lt;br /&gt;
|-&lt;br /&gt;
|34||Hundred Fists&lt;br /&gt;
|-&lt;br /&gt;
|35||Benediction&lt;br /&gt;
|-&lt;br /&gt;
|36||Manafont&lt;br /&gt;
|-&lt;br /&gt;
|37||Chainspell&lt;br /&gt;
|-&lt;br /&gt;
|38||Perfect Dodge&lt;br /&gt;
|-&lt;br /&gt;
|39||Familiar&lt;br /&gt;
|-&lt;br /&gt;
|40||Soul Voice&lt;br /&gt;
|-&lt;br /&gt;
|41||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|42||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|43||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|44||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|45||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|46||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|47||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|48||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|49||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|50||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|51||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|52||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|53||Barrage Archery&lt;br /&gt;
|-&lt;br /&gt;
|54||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|55||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|56||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|57||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|58||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|59||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|60||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|61||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|62||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|63||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|64||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|65||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|66||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|67||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|68||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|69||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|70||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|71||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|72||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|73||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|74||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|75||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|76||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|77||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|78||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|79||Barrage Gun&lt;br /&gt;
|-&lt;br /&gt;
|80||Elemental Seal&lt;br /&gt;
|-&lt;br /&gt;
|81||Divine Seal&lt;br /&gt;
|-&lt;br /&gt;
|82||Trick Attack&lt;br /&gt;
|-&lt;br /&gt;
|83||BST/PUP commands&lt;br /&gt;
|-&lt;br /&gt;
|84||Reward - 1&lt;br /&gt;
|-&lt;br /&gt;
|85||Reward - 2&lt;br /&gt;
|-&lt;br /&gt;
|86||Cover&lt;br /&gt;
|-&lt;br /&gt;
|87||Snarl&lt;br /&gt;
|-&lt;br /&gt;
|88||Convert&lt;br /&gt;
|-&lt;br /&gt;
|89||Unused? Flee+shiny&lt;br /&gt;
|-&lt;br /&gt;
|90||Unlimited Shot&lt;br /&gt;
|-&lt;br /&gt;
|91||Rampart&lt;br /&gt;
|-&lt;br /&gt;
|92||Chi Blast&lt;br /&gt;
|-&lt;br /&gt;
|93||Mijin Gakure&lt;br /&gt;
|-&lt;br /&gt;
|94||Pet Command&lt;br /&gt;
|-&lt;br /&gt;
|95||Astral Flow&lt;br /&gt;
|-&lt;br /&gt;
|96||Meikyo Shisui&lt;br /&gt;
|-&lt;br /&gt;
|97||Spirit Surge&lt;br /&gt;
|-&lt;br /&gt;
|98||Fighter's Roll&lt;br /&gt;
|-&lt;br /&gt;
|99||Monk's Roll&lt;br /&gt;
|-&lt;br /&gt;
|100||Healer's Roll&lt;br /&gt;
|-&lt;br /&gt;
|101||Gallant's Roll&lt;br /&gt;
|-&lt;br /&gt;
|102||Warlock's Roll&lt;br /&gt;
|-&lt;br /&gt;
|103||Rogue's Roll&lt;br /&gt;
|-&lt;br /&gt;
|104||Drachen Roll&lt;br /&gt;
|-&lt;br /&gt;
|105||Chaos Roll&lt;br /&gt;
|-&lt;br /&gt;
|106||Beast Roll&lt;br /&gt;
|-&lt;br /&gt;
|107||Choral Roll&lt;br /&gt;
|-&lt;br /&gt;
|108||Hunter's Roll&lt;br /&gt;
|-&lt;br /&gt;
|109||Samurai Roll&lt;br /&gt;
|-&lt;br /&gt;
|110||Ninja Roll&lt;br /&gt;
|-&lt;br /&gt;
|111||Wizard's Roll&lt;br /&gt;
|-&lt;br /&gt;
|112||Evoker's Roll&lt;br /&gt;
|-&lt;br /&gt;
|113||Magus's Roll&lt;br /&gt;
|-&lt;br /&gt;
|114||Corsair's Roll&lt;br /&gt;
|-&lt;br /&gt;
|115||Puppet Roll&lt;br /&gt;
|-&lt;br /&gt;
|116||Double-Up&lt;br /&gt;
|-&lt;br /&gt;
|117||Unknown Roll&lt;br /&gt;
|-&lt;br /&gt;
|118||Unknown Roll&lt;br /&gt;
|-&lt;br /&gt;
|119||Unknown Roll&lt;br /&gt;
|-&lt;br /&gt;
|120||Barrage Marksman&lt;br /&gt;
|-&lt;br /&gt;
|121||Blitzer's Roll&lt;br /&gt;
|-&lt;br /&gt;
|122||Unknown Roll&lt;br /&gt;
|-&lt;br /&gt;
|123||Light Shot&lt;br /&gt;
|-&lt;br /&gt;
|124||Dark Shot&lt;br /&gt;
|-&lt;br /&gt;
|125||Fire Shot&lt;br /&gt;
|-&lt;br /&gt;
|126||Ice Shot&lt;br /&gt;
|-&lt;br /&gt;
|127||Wind Shot&lt;br /&gt;
|-&lt;br /&gt;
|128||Earth Shot&lt;br /&gt;
|-&lt;br /&gt;
|129||Thunder Shot&lt;br /&gt;
|-&lt;br /&gt;
|130||Water Shot&lt;br /&gt;
|-&lt;br /&gt;
|131||Random Deal&lt;br /&gt;
|-&lt;br /&gt;
|132||Wild Card 1&lt;br /&gt;
|-&lt;br /&gt;
|133||Wild Card 2&lt;br /&gt;
|-&lt;br /&gt;
|134||Wild Card 3&lt;br /&gt;
|-&lt;br /&gt;
|135||Wild Card 4&lt;br /&gt;
|-&lt;br /&gt;
|136||Wild Card 5&lt;br /&gt;
|-&lt;br /&gt;
|137||Wild Card 6&lt;br /&gt;
|-&lt;br /&gt;
|138||Unknown Roll&lt;br /&gt;
|-&lt;br /&gt;
|139||Unknown Roll&lt;br /&gt;
|-&lt;br /&gt;
|140||Chain Affinity&lt;br /&gt;
|-&lt;br /&gt;
|141||Burst Affinity&lt;br /&gt;
|-&lt;br /&gt;
|142||Azure Lore&lt;br /&gt;
|-&lt;br /&gt;
|143||Overdrive&lt;br /&gt;
|-&lt;br /&gt;
|144||Dark Seal&lt;br /&gt;
|-&lt;br /&gt;
|145||Diabolic Eye&lt;br /&gt;
|-&lt;br /&gt;
|146||Feral Howl&lt;br /&gt;
|-&lt;br /&gt;
|147||Killer Instinct&lt;br /&gt;
|-&lt;br /&gt;
|148||Fealty&lt;br /&gt;
|-&lt;br /&gt;
|149||Chivalry&lt;br /&gt;
|-&lt;br /&gt;
|150||Stealth Shot&lt;br /&gt;
|-&lt;br /&gt;
|151||Flashy Shot&lt;br /&gt;
|-&lt;br /&gt;
|152||Shikikoyo&lt;br /&gt;
|-&lt;br /&gt;
|153||Deep Breathing&lt;br /&gt;
|-&lt;br /&gt;
|154||Warrior's Charge&lt;br /&gt;
|-&lt;br /&gt;
|155||Mantra&lt;br /&gt;
|-&lt;br /&gt;
|156||Formless Strikes&lt;br /&gt;
|-&lt;br /&gt;
|157||Martyr&lt;br /&gt;
|-&lt;br /&gt;
|158||Devotion&lt;br /&gt;
|-&lt;br /&gt;
|159||Feint&lt;br /&gt;
|-&lt;br /&gt;
|160||Assassin's Charge&lt;br /&gt;
|-&lt;br /&gt;
|161||Nightingale&lt;br /&gt;
|-&lt;br /&gt;
|162||Troubadour&lt;br /&gt;
|-&lt;br /&gt;
|163||Hasso&lt;br /&gt;
|-&lt;br /&gt;
|164||Seigan&lt;br /&gt;
|-&lt;br /&gt;
|165||Convergence?&lt;br /&gt;
|-&lt;br /&gt;
|166||Diffusion?&lt;br /&gt;
|-&lt;br /&gt;
|167||Dancer's Roll?&lt;br /&gt;
|-&lt;br /&gt;
|168||Scholar's Roll?&lt;br /&gt;
|-&lt;br /&gt;
|169||Role Reversal?&lt;br /&gt;
|-&lt;br /&gt;
|170||Similar to 169&lt;br /&gt;
|-&lt;br /&gt;
|171||Addendum White?&lt;br /&gt;
|-&lt;br /&gt;
|172||Penury?&lt;br /&gt;
|-&lt;br /&gt;
|173||Celerity?&lt;br /&gt;
|-&lt;br /&gt;
|174||Rapture?&lt;br /&gt;
|-&lt;br /&gt;
|175||Accession?&lt;br /&gt;
|-&lt;br /&gt;
|176||Addendum Black?&lt;br /&gt;
|-&lt;br /&gt;
|177||Parsimony?&lt;br /&gt;
|-&lt;br /&gt;
|178||Alacrity?&lt;br /&gt;
|-&lt;br /&gt;
|179||Ebullience?&lt;br /&gt;
|-&lt;br /&gt;
|180||Manifestation?&lt;br /&gt;
|-&lt;br /&gt;
|181||Animated Flourish&lt;br /&gt;
|-&lt;br /&gt;
|182||Reverse Flourish&lt;br /&gt;
|-&lt;br /&gt;
|183||Unknown, Blue hands&lt;br /&gt;
|-&lt;br /&gt;
|184||Trance?&lt;br /&gt;
|-&lt;br /&gt;
|185||Retaliation?&lt;br /&gt;
|-&lt;br /&gt;
|186||Not EES, Velocity Shot?&lt;br /&gt;
|-&lt;br /&gt;
|187||Blue+purple ripples outward&lt;br /&gt;
|-&lt;br /&gt;
|188||Not Shadowbind&lt;br /&gt;
|-&lt;br /&gt;
|189||Sublimation?&lt;br /&gt;
|-&lt;br /&gt;
|190||Tabula Rasa?&lt;br /&gt;
|-&lt;br /&gt;
|191||Light Arts?&lt;br /&gt;
|-&lt;br /&gt;
|192||Dark Arts?&lt;br /&gt;
|-&lt;br /&gt;
|193||Red rings, player darkens a moment&lt;br /&gt;
|-&lt;br /&gt;
|194||Pianissimo?&lt;br /&gt;
|-&lt;br /&gt;
|195||Possibly Retaliation?&lt;br /&gt;
|-&lt;br /&gt;
|196||Not Spirit Link&lt;br /&gt;
|-&lt;br /&gt;
|197||Footwork?&lt;br /&gt;
|-&lt;br /&gt;
|198||Unused, shadowy&lt;br /&gt;
|-&lt;br /&gt;
|199||Sekkanoki?&lt;br /&gt;
|-&lt;br /&gt;
|200||Sange?&lt;br /&gt;
|-&lt;br /&gt;
|201||Elemental Siphon&lt;br /&gt;
|-&lt;br /&gt;
|202||No motion at all&lt;br /&gt;
|-&lt;br /&gt;
|203||Mumor Dances&lt;br /&gt;
|-&lt;br /&gt;
|204||Mumor Dances&lt;br /&gt;
|-&lt;br /&gt;
|205||Mumor Dances&lt;br /&gt;
|-&lt;br /&gt;
|206||Mumor Dances&lt;br /&gt;
|-&lt;br /&gt;
|207||Saber Dance&lt;br /&gt;
|-&lt;br /&gt;
|208||Fan Dance&lt;br /&gt;
|-&lt;br /&gt;
|209||No Foot Rise?&lt;br /&gt;
|-&lt;br /&gt;
|210||Altruism? (sch)&lt;br /&gt;
|-&lt;br /&gt;
|211||Tranquility? (sch)&lt;br /&gt;
|-&lt;br /&gt;
|212||Focalization? (sch)&lt;br /&gt;
|-&lt;br /&gt;
|213||Equanimity? (sch)&lt;br /&gt;
|-&lt;br /&gt;
|214||Enlightenment?&lt;br /&gt;
|-&lt;br /&gt;
|215||Composure&lt;br /&gt;
|-&lt;br /&gt;
|216||Afflatus Solace?&lt;br /&gt;
|-&lt;br /&gt;
|217||Afflatus Misery?&lt;br /&gt;
|-&lt;br /&gt;
|218||Yonin&lt;br /&gt;
|-&lt;br /&gt;
|219||Innin&lt;br /&gt;
|-&lt;br /&gt;
|220||Accomplice?&lt;br /&gt;
|-&lt;br /&gt;
|221||Restraint?&lt;br /&gt;
|-&lt;br /&gt;
|222||Manawall?&lt;br /&gt;
|-&lt;br /&gt;
|223||white hands, flash&lt;br /&gt;
|-&lt;br /&gt;
|224||SCH White&lt;br /&gt;
|-&lt;br /&gt;
|225||SCH Black&lt;br /&gt;
|-&lt;br /&gt;
|226||Red+gold rings&lt;br /&gt;
|-&lt;br /&gt;
|227||Blue bubbles to MH&lt;br /&gt;
|-&lt;br /&gt;
|228||Gold orbits&lt;br /&gt;
|-&lt;br /&gt;
|229||DNC flourish-ish, blue&lt;br /&gt;
|-&lt;br /&gt;
|230||DNC flourish-ish, pink to blue&lt;br /&gt;
|-&lt;br /&gt;
|231||Libra&lt;br /&gt;
|-&lt;br /&gt;
|232||Dark and menacing&lt;br /&gt;
|-&lt;br /&gt;
|233||Blue wave, gold ring, screen shake&lt;br /&gt;
|-&lt;br /&gt;
|234||Purple of above&lt;br /&gt;
|-&lt;br /&gt;
|235||Red of above&lt;br /&gt;
|-&lt;br /&gt;
|236||Blue+Green of above&lt;br /&gt;
|-&lt;br /&gt;
|237||Dark ground, white glow&lt;br /&gt;
|-&lt;br /&gt;
|238||2 pair of 3 gold rings&lt;br /&gt;
|-&lt;br /&gt;
|239||Blueish backdrop&lt;br /&gt;
|-&lt;br /&gt;
|240||Redish backdrop&lt;br /&gt;
|-&lt;br /&gt;
|241||Blue+gold reverse flourish-ish&lt;br /&gt;
|-&lt;br /&gt;
|242||3 red bubbles to MH&lt;br /&gt;
|-&lt;br /&gt;
|243||Unknown, flourish-ish&lt;br /&gt;
|-&lt;br /&gt;
|244||SCH, white&lt;br /&gt;
|-&lt;br /&gt;
|245||SCH, black&lt;br /&gt;
|-&lt;br /&gt;
|246||Delay, green rings&lt;br /&gt;
|-&lt;br /&gt;
|247||Yellow rays, regen ring&lt;br /&gt;
|-&lt;br /&gt;
|248||Yellow waves&lt;br /&gt;
|-&lt;br /&gt;
|249||Yellow waves, but different&lt;br /&gt;
|-&lt;br /&gt;
|250||Black vortex+barrier&lt;br /&gt;
|-&lt;br /&gt;
|251||Pink bubble&lt;br /&gt;
|-&lt;br /&gt;
|252||Black energy orb, green body aura&lt;br /&gt;
|-&lt;br /&gt;
|253||White hands, barrier, MNK?&lt;br /&gt;
|-&lt;br /&gt;
|254||Yellow hand, then self orb&lt;br /&gt;
|-&lt;br /&gt;
|255||Yellow hands and self aura&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=ID_References&amp;diff=6847</id>
		<title>ID References</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=ID_References&amp;diff=6847"/>
				<updated>2012-08-03T16:09:01Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Other Reference Lists */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A list of reference ID pages. Many can be used with various GM commands.&lt;br /&gt;
&lt;br /&gt;
== Item Reference Lists ==&lt;br /&gt;
&lt;br /&gt;
=== Inventory Items ===&lt;br /&gt;
'''These can be used with the GM Command @additem'''&lt;br /&gt;
&lt;br /&gt;
[[Basic Item IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Armor IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Furniture IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Puppet Item IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Usable Item IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Weapon IDs]]&lt;br /&gt;
&lt;br /&gt;
=== Key Items ===&lt;br /&gt;
'''These can be used with the GM Command @addkeyitem'''&lt;br /&gt;
&lt;br /&gt;
[[Key Item IDs]]&lt;br /&gt;
&lt;br /&gt;
== Other Reference Lists ==&lt;br /&gt;
&lt;br /&gt;
[[Ability Animation IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Animation IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Event IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Ability IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Weapon Skill IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Skill IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Monster Family IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Monster Pool IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Monster Skill IDs]]&lt;br /&gt;
&lt;br /&gt;
[[NPC IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Pet IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Status Effect IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Trait IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Spell IDs]]&lt;br /&gt;
&lt;br /&gt;
[[Zone IDs]]&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6846</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6846"/>
				<updated>2012-08-01T11:39:19Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Configure the ZoneIP for the Map Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server]&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/onetimexi/downloads/detail?name=MySQL.rar&amp;amp;can=2&amp;amp;q= SQL Developer Package]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ====&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multifunctional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== SQL Developer Package ====&lt;br /&gt;
&lt;br /&gt;
Don't lose it, as we'll come back to it later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a command script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.cmd in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load the DS tables into the DB. This     =========&lt;br /&gt;
REM ====== file needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ======                     by Thrydwolf   11/5/2011                 =========&lt;br /&gt;
REM ====== Updated with status on the last step by bluekirby0 3/30/2012 =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot DROP dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -proot &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use -pfoo instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ====&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_bazaar_msg` WHERE `charid` = OLD.charid;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Installing the MySQL Development Files ====&lt;br /&gt;
&lt;br /&gt;
Extract the MySQL development package we downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Copy the MySQL folder that was extracted. There should be a &amp;quot;mysql&amp;quot; folder inside with many files.&lt;br /&gt;
&lt;br /&gt;
Paste that MySQL into either&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32bit windows: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
64bit windows: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwords the folder structure should be ...Microsoft SDKs\Windows\v7.0A\Include\MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://forums.dspt.info/viewtopic.php?f=11&amp;amp;t=38 The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON dspdb.* TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql dspdb -u darkstar -ppassword &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC [http://dspt.freeforums.org/new_chat.php #darkstar@irc.rizon.net] or in the [http://dspt.freeforums.org/index.php forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6845</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6845"/>
				<updated>2012-08-01T11:38:52Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Using Navicat */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server]&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/onetimexi/downloads/detail?name=MySQL.rar&amp;amp;can=2&amp;amp;q= SQL Developer Package]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ====&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multifunctional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== SQL Developer Package ====&lt;br /&gt;
&lt;br /&gt;
Don't lose it, as we'll come back to it later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a command script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.cmd in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load the DS tables into the DB. This     =========&lt;br /&gt;
REM ====== file needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ======                     by Thrydwolf   11/5/2011                 =========&lt;br /&gt;
REM ====== Updated with status on the last step by bluekirby0 3/30/2012 =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot DROP dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -proot &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use -pfoo instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ====&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_bazaar_msg` WHERE `charid` = OLD.charid;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Installing the MySQL Development Files ====&lt;br /&gt;
&lt;br /&gt;
Extract the MySQL development package we downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Copy the MySQL folder that was extracted. There should be a &amp;quot;mysql&amp;quot; folder inside with many files.&lt;br /&gt;
&lt;br /&gt;
Paste that MySQL into either&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32bit windows: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
64bit windows: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwords the folder structure should be ...Microsoft SDKs\Windows\v7.0A\Include\MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://forums.dspt.info/viewtopic.php?f=11&amp;amp;t=38 The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON dspdb.* TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql dspdb -u darkstar -ppassword &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC [http://dspt.freeforums.org/new_chat.php #darkstar@irc.rizon.net] or in the [http://dspt.freeforums.org/index.php forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6844</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6844"/>
				<updated>2012-08-01T11:35:21Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Unofficial Dark Star Project Wiki'''&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
[[Building the Server]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring Your Client]]&lt;br /&gt;
&lt;br /&gt;
[[DarkStar Servers]]&lt;br /&gt;
&lt;br /&gt;
[[Script Testing Server]]&lt;br /&gt;
&lt;br /&gt;
== General Reference links ==&lt;br /&gt;
[[GM Commands]]&lt;br /&gt;
&lt;br /&gt;
[[ID References]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Developer Reference links ==&lt;br /&gt;
[[Quests]]&lt;br /&gt;
&lt;br /&gt;
[[Missions]]&lt;br /&gt;
&lt;br /&gt;
[[Core]]&lt;br /&gt;
&lt;br /&gt;
[[Server Data Flow]]&lt;br /&gt;
&lt;br /&gt;
== FAQs/Tutorials ==&lt;br /&gt;
[[Make My Character a GM]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Customizing Your Server]]&lt;br /&gt;
&lt;br /&gt;
[[How to Make a Quest]]&lt;br /&gt;
&lt;br /&gt;
== Things that need to be added ==&lt;br /&gt;
&lt;br /&gt;
You can always look at the list of [[Special:WantedPages]] and see if you can clear some of those out by filling in the information&lt;br /&gt;
&lt;br /&gt;
Reference tables (any table that might need to be referenced often)&lt;br /&gt;
&lt;br /&gt;
Source Code documentation (mainly public function documentation and how to communicate between lua scripts and the server)&lt;br /&gt;
&lt;br /&gt;
Checklists for things that are and are not implemented (Eventually I would like to create goal pages that use these checklists, so if you can categorize things in a logical manner, that would be very helpful)&lt;br /&gt;
&lt;br /&gt;
Anything else you can think of that might be helpful for either casual users or developers interested in Dark Star Project.&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
[http://{{SERVERNAME}}:8765/bak/ Automatically generated wiki backups]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;display: none&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[http://www.dracomiconia.com/proprietary.php?option=2 donotvisitthislinkoryouwillbeblocked]&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6837</id>
		<title>DarkStar Servers</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6837"/>
				<updated>2012-07-30T16:05:49Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* IP Address */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Official DarkStar Play Server ==&lt;br /&gt;
This is Whasf's server, the only official play server.&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
46.38.63.32&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Use http://46.38.63.32/roster.php to see who is online.&lt;br /&gt;
&lt;br /&gt;
Auction House is populated regularly with items for 100 gil.&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
All classes start at level 1&lt;br /&gt;
&lt;br /&gt;
Experience rate is 1.89x&lt;br /&gt;
&lt;br /&gt;
When you create a character, you'll hang at &amp;quot;downloading data&amp;quot;.. Disconnect and wait 45 seconds and login again. It could take up to three tries to log in in successfully with a new character.&lt;br /&gt;
&lt;br /&gt;
== Silverwolf's Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
131.191.104.77 &lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Auction House is populated&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
Experience rate is 4x&lt;br /&gt;
&lt;br /&gt;
Decent balance, more of that retail feel....&lt;br /&gt;
&lt;br /&gt;
Range Attack does some damage but no skill up yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Borfax's Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
Requires Hamachi to be running and connected to DarkStarFFXI&lt;br /&gt;
&lt;br /&gt;
Hamachi network password is dsf&lt;br /&gt;
&lt;br /&gt;
IP: 5.239.15.57&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
&lt;br /&gt;
Jobs start at level 30, but will probably be adjusted randomly, depending on testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gilgamesh Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
78.239.73.185&lt;br /&gt;
&lt;br /&gt;
=== Test Server Status ===&lt;br /&gt;
XP Rate: x10&lt;br /&gt;
&lt;br /&gt;
Gil Rate x10&lt;br /&gt;
&lt;br /&gt;
Speed: +10&lt;br /&gt;
&lt;br /&gt;
Zone Available: Base, Zilart, Promathia, Aht Urhgan&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
Online Player list: http://78.239.73.185/&lt;br /&gt;
&lt;br /&gt;
GM Call Center: http://78.239.73.185/callgm.php&lt;br /&gt;
&lt;br /&gt;
Server stats: http://78.239.73.185/servstat.php&lt;br /&gt;
&lt;br /&gt;
Monsters &amp;amp; Drops list: http://78.239.73.185/moblist.php&lt;br /&gt;
&lt;br /&gt;
Monsters list by zone: http://78.239.73.185/mobzonelist.php&lt;br /&gt;
&lt;br /&gt;
Forum en francais: http://jouegratuitement.com/forumdisplay.php?15-Gilgamesh-serveur-priv%E9-Final-Fantasy-XI&lt;br /&gt;
&lt;br /&gt;
Forum in English: http://jouegratuitement.com/forumdisplay.php?22-Gilgamesh-Final-Fantasy-Private-Server&lt;br /&gt;
&lt;br /&gt;
Facebook: http://www.facebook.com/pages/Gilgamesh-Serveur-priv%C3%A9-Final-Fantasy-XI/186095898161500&lt;br /&gt;
&lt;br /&gt;
== FFXI Unlimited Private Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Play on this server is highly discouraged. They accept donations for the efforts of others and are accused of not sharing bug reports with the main project, which, in turn, slows down development. Please support the official project!&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6836</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6836"/>
				<updated>2012-07-30T16:05:21Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Unofficial Dark Star Project Wiki'''&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
[[Building the Server]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring Your Client]]&lt;br /&gt;
&lt;br /&gt;
[[DarkStar Servers]]&lt;br /&gt;
&lt;br /&gt;
[[Script Testing Server]]&lt;br /&gt;
&lt;br /&gt;
== General Reference links ==&lt;br /&gt;
[[GM Commands]]&lt;br /&gt;
&lt;br /&gt;
[[ID References]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Developer Reference links ==&lt;br /&gt;
[[Quests]]&lt;br /&gt;
&lt;br /&gt;
[[Missions]]&lt;br /&gt;
&lt;br /&gt;
[[Core]]&lt;br /&gt;
&lt;br /&gt;
[[Packets]]&lt;br /&gt;
&lt;br /&gt;
[[Server Data Flow]]&lt;br /&gt;
&lt;br /&gt;
== FAQs/Tutorials ==&lt;br /&gt;
[[Make My Character a GM]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Customizing Your Server]]&lt;br /&gt;
&lt;br /&gt;
[[How to Make a Quest]]&lt;br /&gt;
&lt;br /&gt;
== Things that need to be added ==&lt;br /&gt;
&lt;br /&gt;
You can always look at the list of [[Special:WantedPages]] and see if you can clear some of those out by filling in the information&lt;br /&gt;
&lt;br /&gt;
Reference tables (any table that might need to be referenced often)&lt;br /&gt;
&lt;br /&gt;
Source Code documentation (mainly public function documentation and how to communicate between lua scripts and the server)&lt;br /&gt;
&lt;br /&gt;
Checklists for things that are and are not implemented (Eventually I would like to create goal pages that use these checklists, so if you can categorize things in a logical manner, that would be very helpful)&lt;br /&gt;
&lt;br /&gt;
Anything else you can think of that might be helpful for either casual users or developers interested in Dark Star Project.&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
[http://{{SERVERNAME}}:8765/bak/ Automatically generated wiki backups]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;display: none&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[http://www.dracomiconia.com/proprietary.php?option=2 donotvisitthislinkoryouwillbeblocked]&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=GM_Commands&amp;diff=6829</id>
		<title>GM Commands</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=GM_Commands&amp;diff=6829"/>
				<updated>2012-07-25T03:41:38Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''USING ANY OF THESE INCORRECTLY CAN POTENTIALLY CRASH YOUR SERVER'''&lt;br /&gt;
&lt;br /&gt;
== Movement Speed ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@speed value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value can be any number from 1 to 255. Default character speed is roughly 40, or 60 on many of the test servers.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@speed 255&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Gives you the maximum possible speed (currently)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@speed 40&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sets your speed to the retail default&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
It will give you the 'quickening' status effect when done correctly. You can remove this effect by hitting the '+' key twice and then hitting enter on the quickening status icon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Set HP/MP/TP ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@hp value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@mp value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@tp value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is a number from 0 to (probably) 65535.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@hp 250&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sets your current HP to 250 or max if you have less than 250 total HP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@mp 250&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sets your current MP to 250 or max if you have less than 250 total MP.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@tp 300&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sets your current TP to 300 (max).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
You should observe your HP/MP/TP updating immediately on your client.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Teleport to Any Zone ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@zone zoneid&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where zoneid is the ID as listed in [[Zone IDs]]&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@zone 243&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Would instantly send your character to Ru'Lude Gardens&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
A loading screen should appear, and when finished, your character should be in the area you specified. An invalid Zone ID can cause server instability.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Walking Through Walls/Getting Unstuck ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@wallhack&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@wallhack&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Used once, it will turn off collision detection. Used again, it will turn it back on.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
You will be able to walk through walls and to parts of the map not intended to be seen or used. If you are too far above the ground and turn wallhack off, you may become stuck rather than falling to the land below. Useful when @zone sends you somewhere and you cannot move. There is currently no way to affect your elevation with this on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Add Items to your Inventory ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
@additem value (quantity)&lt;br /&gt;
&lt;br /&gt;
Where value is an ID from [[ID_References#Inventory_Items]] or the ID number in the item's url from [http://www.ffxiah.com/ FFXIAH].&lt;br /&gt;
&lt;br /&gt;
quantity is an optional value, and tells the game how many of the item to give. If not given, 1 is assumed. If the item type does not stack, you will only get 1 regardless of the quantity specified.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@additem 17644&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Gives you the one-handed variant of the Judge Sword. The ID comes from the [http://www.ffxiah.com/ FFXIAH] URL for this sword: &amp;lt;nowiki&amp;gt;http://www.ffxiah.com/item/17644/judges-sword&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@additem 13548 2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Will only give you 1 Astral ring, since rings do not stack.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@additem 1179 99&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Gives you a stack of 99 shihei.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
There is no notification that his code has worked. You will have to open your inventory and see if the item is there. It will not work if your inventory is full.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Add/Delete Key Items ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@addkeyitem value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@delkeyitem value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is an ID from the [[Key Item IDs]]&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@addkeyitem 824&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Gives you the key item Quartz Transmitter&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
There is no notification that his code has worked. You will have to open your key items list and see if the item is there. Using this may break some scripted events, but using it to add maps should be fairly safe.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Set Gil ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@setgil value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is the amount of gil&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@setgil 100000&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sets your current amount of gill to 100,000&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
There is no notification that his code has worked. You will have to open your status page or equipment page and check how much gil you have.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Add Spells ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@addspell value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is an ID from [[Spell IDs]]&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@addspell 106&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grants you the spell Phalanx&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
tdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Play Animation ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@animation value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is from [[Animation IDs]]&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@animation 3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plays the animation for death&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
The character should perform the animation specified. Using animation 0 may allow your character to move again if @release fails.&lt;br /&gt;
&lt;br /&gt;
== Change Job ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@changejob value level&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is either from [[Job IDs]] or the three-letter abbreviation for the job.&lt;br /&gt;
&lt;br /&gt;
level specifies the level to set the job you are changing to.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@changejob war 30&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Makes you a level 30 Warrior&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@changejob 15 70&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Makes you a level 70 Summoner&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
tdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Set Costume ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@costume value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is from [[Costume IDs]]&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@costume &amp;quot;&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sets the player's costume to &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Only useful for testing at this point.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Play Cut-scene/Event ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@cs value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is from [[Event IDs]]&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@cs &amp;quot;&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plays the cutscene &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
tdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Spawn/Despawn Mobs ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@spawnmob value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@despawnmob value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is a Monster ID (check [http://onetimexi.googlecode.com/svn/trunk/sql/mob_spawn_points.sql sql/mob_spawn_points.sql] in the source, but anything not uniquely named will have to be referenced by its position as well) and specifies exactly one mob instance in the game world. It cannot be used to spawn creatures that do not exist in a zone, or to spawn creatures in a different location than normal.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@spawnmob 17187111&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Spawns the notorious monster Jaggedy-Eared Jack. He will spawn in his usual spawn location, which is not necessarily near the player.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Causes a single spawned creature to be removed from play immediately, or causes a single creature to be put into play immediately.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Manually Inject a Packet on the Player ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@inject value&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where value is a packet stored in a file.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@inject test.dat&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sends the packet stored in the file 'test.dat' to the client&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
To understand this command, an understanding of the ffximon tool is helpful. You can use it to inject altered packets (or even vanilla packets) to the client who issued the command. Helps when having to sift through large numbers of packet dumps to determine which has the effect you are looking for.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Release Character from a Cutscene ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@release&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@release&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If viewing a cutscene or otherwise unable to move, it attempts to end the cutscene and restore movement to the player.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Sends the client a packet that informs them that an event has ended so that movement can be restored immediately. This may have some ill side effects, such as fade-out effects or camera angles being locked. Use an @zone command to clear these issues. If that is not sufficient (such as the case when calling a completion cut-scene with the wrong values for the summoner quests) you may need to log off to fix it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Show Coordinate Position ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@where&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@where&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prints the player's current location and facing values to the chat log.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Prints the player's current location and facing values to the chat log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Position Manipulation ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@pos X Y Z (ZoneID)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@goto Charactername&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@bring Charactername&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@pos 121 1 -92&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Takes you to the position X: 121 Y: 1 Z: -92 in the current zone.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@pos -76 32 -4 166&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Takes you to Kirin's spawn point in The Shrine of Ru'Avitau, regardless of where you are currently.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@goto Bill&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sends your character to the location that the player named &amp;quot;Bill&amp;quot; is currently at (they may move between the time this command is executed and the time you finish zoning).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@bring Bill&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Brings the character named Bill to the zone and position you were at at the time of execution of the command. It may take a few seconds for the player's character to finish loading.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Allows for spatial manipulation of characters in 3 dimensions. Can be useful for quest testing by bringing yourself to related NPCs instantly, as well as a variety of other uses. While @bring can effectively be used to jail a character, you should instead use the dedicated commands for this task.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Send a Character to Their Homepoint ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@homepoint Charname&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@homepoint Bill&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sends the character named &amp;quot;Bill&amp;quot; to his currently set homepoint.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Can be used to fix stuck characters. Has a similar effect to a &amp;quot;Warp II&amp;quot; spell.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Set a Pet's TP ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@pettp #&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where # is the amount of TP to set.&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@pettp 300&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a pet (beastmaster pet, summoned avatar, wyvern), set the pet's current TP to 300.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Allows you to test the effective power of pet abilities at various TP levels by setting the TP right before triggering a move that relies on it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;God Mode&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@godmode&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@godmode&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Toggles godmode on or off.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Grants the GM a number of effects with indefinite duration. Usefulness is subjective. Granted effects include: Invincible, Perfect Dodge, Mighty Strikes, Hundred Fists, and a fast Regain.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cap a Combat or Magic Skill ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@capskill skillname&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@capskill parry&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Caps the GM's parrying skill to their current level and job.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Useful for testing weaponskill and combat balance changes. Would instantly grant you the skill level in a particular skill type to be &amp;quot;optimal&amp;quot; for that job and level so that you can see how effective an &amp;quot;optimal&amp;quot; character would be in a given situation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reset Recast Timers ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@reset&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@reset&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Resets the GM's recast timers on all spells and Job Abilities (need confirmation on this).&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Useful for testing things that have particularly long delays. Can be used to reset a 2 hour ability timer a 3 minute cool-down...or even a 30 second spell timer (once again I need to confirm this).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Jailing and Pardoning ==&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&amp;lt;code&amp;gt;@jail Charname #&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where # is a cell number between 1 and 32&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@pardon Charname&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&amp;lt;code&amp;gt;@jail Bill 3&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sends the character Bill to Mordion Gaol in cell number 3.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;@pardon Bill&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Removes Bill from Mordion Gaol and sends him to his currently set homepoint.&lt;br /&gt;
&lt;br /&gt;
=== Effects ===&lt;br /&gt;
Jailing characters is effective because all actions are restricted except for /say commands inside the Mordion Gaol zone. This means a character cannot use items, job abilities, or spells to escape. Status effects are also removed and the character fully healed upon entry so that death may not be used as a means of escape. Once you jail a character, you should send a GM to discuss his or her infraction and the period of the sentencing as soon as possible. &lt;br /&gt;
&lt;br /&gt;
There are 32 unique cells inside the Mordion Gaol zone. You may put several people in the same cell for a large incident if desired, but it may be helpful to divide people out into factions or individual cells if it is a highly polarized dispute. Since /say is the only method of communication available, the conversation could get pretty confusing with too many people talking at once, so use your best judgement on how to split people up.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Troubleshooting_Guide&amp;diff=6751</id>
		<title>Troubleshooting Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Troubleshooting_Guide&amp;diff=6751"/>
				<updated>2012-07-14T04:17:07Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Problems with the Client */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Problems with the Server ==&lt;br /&gt;
=== Why can I not connect to my own server? ===&lt;br /&gt;
&lt;br /&gt;
First, check and see if you can connect on the same machine using SERVIP = 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
If you can connect using that, but not using your LAN or Internet IP address, you probably need to forward ports on your router. The ports you need to open are TCP: 54230 54231 54001 54002 UDP 54230&lt;br /&gt;
&lt;br /&gt;
=== &amp;quot;Client cannot receive packet or Key is invalid&amp;quot; in DSGame-server ===&lt;br /&gt;
&lt;br /&gt;
Make certain that your zoneip is set correctly in the database. See [[Building the Server#Configure the ZoneIP for the Map Server]] for more information on how to set this properly.&lt;br /&gt;
&lt;br /&gt;
=== Cannot find msvc100.dll error ===&lt;br /&gt;
&lt;br /&gt;
This missing file may be solved by downloading and installing one of the appropriate links below&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Microsoft Visual C++ 2010 Redistributable Package (x86)]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=14632 Microsoft Visual C++ 2010 Redistributable Package (x64)]&lt;br /&gt;
&lt;br /&gt;
== Problems with the Client ==&lt;br /&gt;
&lt;br /&gt;
=== Any time I attack a monster or cast a spell, the game crashes! ===&lt;br /&gt;
&lt;br /&gt;
The March 26th 2012 patch broke compatibility with Darkstar servers until revision 940. If your server is revision 940 or higher, you will need to update your client using the PlayOnline Viewer's File Repair option. If you updated, but your play server is not using revision 940 or higher, encourage the maintainer to update whenever possible.&lt;br /&gt;
&lt;br /&gt;
=== PlayOnline Viewer crashes on Windows Vista/7 ===&lt;br /&gt;
&lt;br /&gt;
You need to install the Vista compatible PlayOnline viewer from [http://www.playonline.com/ff11us/download/media/vista01.html The PlayOnline Site] and not from the discs. You will still install the game and expansions as normal using the discs.&lt;br /&gt;
&lt;br /&gt;
=== POL-1160 Error when trying to update/repair ===&lt;br /&gt;
&lt;br /&gt;
Check that PlayOnline viewer is allowed through your firewall and router. If you have PeerGuardian, PeerBlock, or similar programs, you may want to check and see if those are blocking responses from the PlayOnline servers.&lt;br /&gt;
&lt;br /&gt;
=== FFXI-3313 error (Error message is in Japanese) ===&lt;br /&gt;
&lt;br /&gt;
This error means that you are trying to create a character with an invalid name. This can be due to the name being taken by another character, containing an invalid character in it (such as a number or underscore), or because the name was for some reason or another reserved by the devs at SE (such as the name &amp;quot;Bill&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
=== FFXI-3322 error/ffxi-boot or mXI error 10093 ===&lt;br /&gt;
This is known as a 'anything can be wrong' error. Note: If the first solution does not fix this, it could be anything on your computer causing this error.&lt;br /&gt;
&lt;br /&gt;
Make certain that you have copied the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data&lt;br /&gt;
&lt;br /&gt;
If that is not your problem and your still getting the Accept Fail 10093 error. Make sure your drivers are installed and updated. Check through all of the other solutions on this page such as the distribution packages are downloaded. &lt;br /&gt;
&lt;br /&gt;
After all these fixes and its still not working. You may need to reinstall FFXI on your computer to help solve your problem.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6750</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6750"/>
				<updated>2012-07-13T02:33:11Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Setting Up the Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server]&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/onetimexi/downloads/detail?name=MySQL.rar&amp;amp;can=2&amp;amp;q= SQL Developer Package]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ====&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multifunctional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== SQL Developer Package ====&lt;br /&gt;
&lt;br /&gt;
Don't lose it, as we'll come back to it later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a command script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.cmd in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load the DS tables into the DB. This     =========&lt;br /&gt;
REM ====== file needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ======                     by Thrydwolf   11/5/2011                 =========&lt;br /&gt;
REM ====== Updated with status on the last step by bluekirby0 3/30/2012 =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot DROP dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -proot &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use -pfoo instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ====&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_bazaar_msg` WHERE `charid` = OLD.charid;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Installing the MySQL Development Files ====&lt;br /&gt;
&lt;br /&gt;
Extract the MySQL development package we downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Copy the MySQL folder that was extracted. There should be a &amp;quot;mysql&amp;quot; folder inside with many files.&lt;br /&gt;
&lt;br /&gt;
Paste that MySQL into either&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32bit windows: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
64bit windows: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwords the folder structure should be ...Microsoft SDKs\Windows\v7.0A\Include\MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://dspt.freeforums.org/compile-on-linux-the-ongoing-guide-t223.html The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON `dspdb`.* TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql dspdb -u darkstar -ppassword &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC [http://dspt.freeforums.org/new_chat.php #darkstar@irc.rizon.net] or in the [http://dspt.freeforums.org/index.php forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6749</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6749"/>
				<updated>2012-07-13T02:32:44Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Setting Up the Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server]&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/onetimexi/downloads/detail?name=MySQL.rar&amp;amp;can=2&amp;amp;q= SQL Developer Package]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ====&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multifunctional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== SQL Developer Package ====&lt;br /&gt;
&lt;br /&gt;
Don't lose it, as we'll come back to it later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a command script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.cmd in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load the DS tables into the DB. This     =========&lt;br /&gt;
REM ====== file needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ======                     by Thrydwolf   11/5/2011                 =========&lt;br /&gt;
REM ====== Updated with status on the last step by bluekirby0 3/30/2012 =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot DROP dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -proot &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use -pfoo instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ====&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_bazaar_msg` WHERE `charid` = OLD.charid;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Installing the MySQL Development Files ====&lt;br /&gt;
&lt;br /&gt;
Extract the MySQL development package we downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Copy the MySQL folder that was extracted. There should be a &amp;quot;mysql&amp;quot; folder inside with many files.&lt;br /&gt;
&lt;br /&gt;
Paste that MySQL into either&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32bit windows: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
64bit windows: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwords the folder structure should be ...Microsoft SDKs\Windows\v7.0A\Include\MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://dspt.freeforums.org/compile-on-linux-the-ongoing-guide-t223.html The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON `dspdb`.* TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql dspdb -u darkstar -ppassword &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success!&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC [http://dspt.freeforums.org/new_chat.php #darkstar@irc.rizon.net] or in the [http://dspt.freeforums.org/index.php forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6748</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6748"/>
				<updated>2012-07-13T02:31:15Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Setting Up the Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server]&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/onetimexi/downloads/detail?name=MySQL.rar&amp;amp;can=2&amp;amp;q= SQL Developer Package]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ====&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multifunctional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== SQL Developer Package ====&lt;br /&gt;
&lt;br /&gt;
Don't lose it, as we'll come back to it later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a command script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.cmd in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load the DS tables into the DB. This     =========&lt;br /&gt;
REM ====== file needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ======                     by Thrydwolf   11/5/2011                 =========&lt;br /&gt;
REM ====== Updated with status on the last step by bluekirby0 3/30/2012 =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot DROP dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -proot &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use -pfoo instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ====&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_bazaar_msg` WHERE `charid` = OLD.charid;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Installing the MySQL Development Files ====&lt;br /&gt;
&lt;br /&gt;
Extract the MySQL development package we downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Copy the MySQL folder that was extracted. There should be a &amp;quot;mysql&amp;quot; folder inside with many files.&lt;br /&gt;
&lt;br /&gt;
Paste that MySQL into either&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32bit windows: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
64bit windows: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwords the folder structure should be ...Microsoft SDKs\Windows\v7.0A\Include\MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://dspt.freeforums.org/compile-on-linux-the-ongoing-guide-t223.html The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON `dspdb`.* TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql -u darkstar -ppassword dspdb &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success!&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC [http://dspt.freeforums.org/new_chat.php #darkstar@irc.rizon.net] or in the [http://dspt.freeforums.org/index.php forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6747</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6747"/>
				<updated>2012-07-13T02:24:09Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Setting Up the Database */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server]&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/onetimexi/downloads/detail?name=MySQL.rar&amp;amp;can=2&amp;amp;q= SQL Developer Package]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ====&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multifunctional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== SQL Developer Package ====&lt;br /&gt;
&lt;br /&gt;
Don't lose it, as we'll come back to it later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a command script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.cmd in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load the DS tables into the DB. This     =========&lt;br /&gt;
REM ====== file needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ======                     by Thrydwolf   11/5/2011                 =========&lt;br /&gt;
REM ====== Updated with status on the last step by bluekirby0 3/30/2012 =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot DROP dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -proot &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use -pfoo instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ====&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_bazaar_msg` WHERE `charid` = OLD.charid;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Installing the MySQL Development Files ====&lt;br /&gt;
&lt;br /&gt;
Extract the MySQL development package we downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Copy the MySQL folder that was extracted. There should be a &amp;quot;mysql&amp;quot; folder inside with many files.&lt;br /&gt;
&lt;br /&gt;
Paste that MySQL into either&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32bit windows: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
64bit windows: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwords the folder structure should be ...Microsoft SDKs\Windows\v7.0A\Include\MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://dspt.freeforums.org/compile-on-linux-the-ongoing-guide-t223.html The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON `dspdb` TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql -u darkstar -ppassword dspdb &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success!&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC [http://dspt.freeforums.org/new_chat.php #darkstar@irc.rizon.net] or in the [http://dspt.freeforums.org/index.php forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6746</id>
		<title>Building the Server</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Building_the_Server&amp;diff=6746"/>
				<updated>2012-07-12T09:01:12Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Installing &amp;amp; Setting up the DS Server on Linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installing &amp;amp; Setting up the DS Server on Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
&lt;br /&gt;
In this section we will download every program/tool we will need to setup and maintain the servers. Do not install these yet.&lt;br /&gt;
&lt;br /&gt;
[http://dev.mysql.com/downloads/mysql/ MySQL Community Server]&lt;br /&gt;
&lt;br /&gt;
[http://70.226.47.159/downloads.php Navicat Lite]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express Visual Studio 2010 (Full or Express)]&lt;br /&gt;
&lt;br /&gt;
[http://tortoisesvn.net/downloads.html Tortoise SVN]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=5555 Visual C++ Redistributable Runtimes 2010]&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=21 .Net 3.5 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?id=22 .Net 3.5sp1 Runtime] (already comes with Win 7)&lt;br /&gt;
&lt;br /&gt;
[http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851 .Net 4 Runtime]&lt;br /&gt;
&lt;br /&gt;
[http://code.google.com/p/onetimexi/downloads/detail?name=MySQL.rar&amp;amp;can=2&amp;amp;q= SQL Developer Package]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
==== MySql ====&lt;br /&gt;
&lt;br /&gt;
Choose Typical Installation&lt;br /&gt;
&lt;br /&gt;
After the main installation, select Launch the MySQL Instance Configuration Wizard&lt;br /&gt;
&lt;br /&gt;
Select Detailed Configuration&lt;br /&gt;
&lt;br /&gt;
Select Developer Machine&lt;br /&gt;
&lt;br /&gt;
Select Multifunctional Database&lt;br /&gt;
&lt;br /&gt;
Standard Installation Directory&lt;br /&gt;
&lt;br /&gt;
Select Manual Setting and 1000 Concurrent connections&lt;br /&gt;
&lt;br /&gt;
Select Enable TCP/IP Networking, Port Number 3306, and Enable Strict Mode&lt;br /&gt;
&lt;br /&gt;
Select Best Support for Multilingualism&lt;br /&gt;
&lt;br /&gt;
Select Install as Windows Service, Launch the MySQL Server automatically, and Include Bin Directory in Windows PATH.&lt;br /&gt;
&lt;br /&gt;
Select Modify Security Settings, and enter a new password twice. Write down the MySQL password.&lt;br /&gt;
(DO NOT LEAVE BLANK.)&lt;br /&gt;
&lt;br /&gt;
Select Next, Execute, then Finish&lt;br /&gt;
&lt;br /&gt;
==== Navicat Lite ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== Visual Studio 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You may be forced to restart (sometimes twice) during the installation.&lt;br /&gt;
&lt;br /&gt;
==== Tortoise SVN ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options. You can skip the step to reboot since we'll reboot once everything else is installed.&lt;br /&gt;
&lt;br /&gt;
==== Visual C++ Redistributable Runtime 2010 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== .Net 3.5, 3.5 SP1, and 4.0 ====&lt;br /&gt;
&lt;br /&gt;
Use default installation options.&lt;br /&gt;
&lt;br /&gt;
==== SQL Developer Package ====&lt;br /&gt;
&lt;br /&gt;
Don't lose it, as we'll come back to it later.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point everything should be installed that needs to be and you can restart your PC to finalize them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Downloading the Server Source Code ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use Tortoise SVN to download the latest SVN source code for the server.'''&lt;br /&gt;
&lt;br /&gt;
Open Windows Explorer (right click the start button and choose Windows Explorer)&lt;br /&gt;
&lt;br /&gt;
Right click on any folder select SVN Checkout&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;URL of repository&amp;quot; put in the following url: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://onetimexi.googlecode.com/svn/trunk/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the &amp;quot;Checkout directory&amp;quot; to &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;C:\dsp.&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Click OK.&lt;br /&gt;
&lt;br /&gt;
Wait for the download to finish.&lt;br /&gt;
&lt;br /&gt;
Click OK to close Tortoise SVN.&lt;br /&gt;
&lt;br /&gt;
Close windows explorer&lt;br /&gt;
&lt;br /&gt;
At this point you have downloaded all of the source code for the latest version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting up the Database ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will use the data that you downloaded to build a database in MySQL.'''&lt;br /&gt;
&lt;br /&gt;
==== Using a command script ====&lt;br /&gt;
&lt;br /&gt;
If you follow this step, you may skip the next one. &lt;br /&gt;
&lt;br /&gt;
Paste the following into notepad and save it as DSP_Import.cmd in your dsp\sql folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@ECHO OFF&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ====== THis script will drop the DB specificed, then create the DB  =========&lt;br /&gt;
REM ====== specified, and then load the DS tables into the DB. This     =========&lt;br /&gt;
REM ====== file needs to be run from within the \dsp\sql folder (same   =========&lt;br /&gt;
REM ====== folder with all the .sql files. Please edit as needed. By    =========&lt;br /&gt;
REM ====== default it WILL DROP the standard dspdb DB, loosing all      =========&lt;br /&gt;
REM ====== accounts and characters. If this is not desired, then update =========&lt;br /&gt;
REM ====== the file to load the new DB into a new DB name.              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM ======                     by Thrydwolf   11/5/2011                 =========&lt;br /&gt;
REM ====== Updated with status on the last step by bluekirby0 3/30/2012 =========&lt;br /&gt;
REM ======                                                              =========&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
REM =============================================================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot DROP dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Creating Database dspdb&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
mysqladmin -h localhost -u root -proot CREATE dspdb&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ECHO Loading dspdb with tables&lt;br /&gt;
REM ================================================&lt;br /&gt;
REM ====== Update &amp;quot;-p&amp;quot; with MySQL password =========&lt;br /&gt;
REM ====== Update dspdb with MySQL Databse =========&lt;br /&gt;
REM ================================================&lt;br /&gt;
FOR %%X IN (*.sql) DO ECHO Importing %%X &amp;amp; mysql dspdb -h localhost -u root -proot &amp;lt; %%X&lt;br /&gt;
&lt;br /&gt;
ECHO Finished!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At a minimum you will need to change -proot in the script to where root is your mysql root password. If your password is 'foo' then you would use -pfoo instead.&lt;br /&gt;
&lt;br /&gt;
You can use this script any time the svn is updated, but it will drop the table and thus delete all your player data. You may want to make manual changes instead unless you are using it purely as a test server.&lt;br /&gt;
&lt;br /&gt;
==== Using Navicat ====&lt;br /&gt;
&lt;br /&gt;
This is the more hands-on approach, and being comfortable doing it this way may make it easier to update individual tables later without having to learn the mysql command-line interface.&lt;br /&gt;
&lt;br /&gt;
Open Navicat&lt;br /&gt;
&lt;br /&gt;
Click Connection (or File, New Connection)&lt;br /&gt;
&lt;br /&gt;
Connection name: DarkStar&lt;br /&gt;
&lt;br /&gt;
Host Name/IP: localhost&lt;br /&gt;
&lt;br /&gt;
Port: 3306&lt;br /&gt;
&lt;br /&gt;
User Name: root&lt;br /&gt;
&lt;br /&gt;
Password: Enter the password you wrote down during the mySQL installation.&lt;br /&gt;
&lt;br /&gt;
Check Save Password&lt;br /&gt;
&lt;br /&gt;
Click OK&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the connections pane double click DarkStar&lt;br /&gt;
&lt;br /&gt;
Right click on DarkStar and select New Database...&lt;br /&gt;
&lt;br /&gt;
Name it dspdb&lt;br /&gt;
&lt;br /&gt;
Use the Default character set&lt;br /&gt;
&lt;br /&gt;
Select OK.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Double click dspdb&lt;br /&gt;
&lt;br /&gt;
Right click on dspdb and select Execute SQL File...&lt;br /&gt;
&lt;br /&gt;
Browse to C:\dsp\sql and select abilities.sql&lt;br /&gt;
&lt;br /&gt;
Click Start&lt;br /&gt;
&lt;br /&gt;
Continue this process for each file in the folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have an issue with the triggers.sql file then follow this step. If not, proceed to the next step (IP address for the map server):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat Open accounts table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should a line already listed with account_delete in the Name field&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be account_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `accounts_banned` WHERE `accid` = OLD.id;&lt;br /&gt;
   DELETE FROM `chars` WHERE `accid` = OLD.id;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Open the chars table&lt;br /&gt;
&lt;br /&gt;
Click File, Design Table&lt;br /&gt;
&lt;br /&gt;
Click the Triggers tab&lt;br /&gt;
&lt;br /&gt;
There should already be a line listed with char_delete in the name field.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If not:&lt;br /&gt;
&lt;br /&gt;
click Add Trigger&lt;br /&gt;
&lt;br /&gt;
Name column should be char_delete&lt;br /&gt;
&lt;br /&gt;
Fires column should be Before&lt;br /&gt;
&lt;br /&gt;
Check the box in the Delete column&lt;br /&gt;
&lt;br /&gt;
In the definition box below add the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
   DELETE FROM `char_exp` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_jobs` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_equip` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_effects` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_look` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_stats` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_skills` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_titles` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_inventory` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_vars` WHERE `charid` = OLD.charid;&lt;br /&gt;
   DELETE FROM `char_bazaar_msg` WHERE `charid` = OLD.charid;&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Select Save and then close the table.&lt;br /&gt;
&lt;br /&gt;
Note: Leave Navicat open for the next section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Configure the ZoneIP for the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Now you need to determine what IP address that will be used for the Map Server, then update MySQL with it.&lt;br /&gt;
&lt;br /&gt;
Most devs &amp;amp; enthusiasts will not have a separate map server, but will run both map server and login server on the same PC. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Determine what IP address will be used for the map server.&lt;br /&gt;
&lt;br /&gt;
If the server will be public, then use your external IP in the next step.&lt;br /&gt;
&lt;br /&gt;
If the server will be internal and you want it available on other PCs in your internal network, use the internal network IP (192.168.x.x) in the next step.&lt;br /&gt;
&lt;br /&gt;
If you only plan to run the client and the server on the same PC, you can use the localhost address (127.0.0.1) in the next step.&lt;br /&gt;
&lt;br /&gt;
Calculate the new form from the IP address.&lt;br /&gt;
&lt;br /&gt;
The IP must be entered in different form, so first we must calculate the new form. Use the formula below or [http://www.allredroster.com/iptodec.htm This Handy Site] to calculate it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Formula = 1st Octet + 2nd Octet * 256 + 3rd Octet *256 (squared) + 4th Octet * 256 (cubed)&lt;br /&gt;
&lt;br /&gt;
Example: 127.0.0.1 = 127 + 0 + 0 + 1*256(cubed) = 16777343&lt;br /&gt;
&lt;br /&gt;
Example: 192.168.1.102 = 192 + 168*256 + 1*256(squared) + 102*256(cubed) = 1711384768&lt;br /&gt;
&lt;br /&gt;
Example: 67.41.45.115 = 67 + 41*256 + 45*256(squared) + 115*256(cubed) = 1932339523&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Navicat double click on the table dspdb and expand&lt;br /&gt;
&lt;br /&gt;
Click on Query&lt;br /&gt;
&lt;br /&gt;
Right click and select New Query&lt;br /&gt;
&lt;br /&gt;
Add the following code into the empty space, inserting the value calculated above. The value in the code below (16777343) would be used if only running the client from the same PC as the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BEGIN&lt;br /&gt;
    UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select Run. &amp;quot;256 queries should be successful!&amp;quot; should be the result.&lt;br /&gt;
&lt;br /&gt;
I recommend you save the Query in case you need to run it again later after updating the server.&lt;br /&gt;
&lt;br /&gt;
Close Navicat.&lt;br /&gt;
&lt;br /&gt;
=== Building the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will be building the Dark Star servers.'''&lt;br /&gt;
&lt;br /&gt;
Dark Star uses 3 separate servers. A Login server, a Map/Game server, and an optional Search/Auction House server. Using the ZoneIP mentioned earlier, every map could run on its own server at a different IP address. If you have 4 computers each computer could run different areas, as long as they were all connected to the same MySQL database server.&lt;br /&gt;
&lt;br /&gt;
==== Installing the MySQL Development Files ====&lt;br /&gt;
&lt;br /&gt;
Extract the MySQL development package we downloaded earlier.&lt;br /&gt;
&lt;br /&gt;
Copy the MySQL folder that was extracted. There should be a &amp;quot;mysql&amp;quot; folder inside with many files.&lt;br /&gt;
&lt;br /&gt;
Paste that MySQL into either&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32bit windows: C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
64bit windows: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwords the folder structure should be ...Microsoft SDKs\Windows\v7.0A\Include\MySQL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Login Server ====&lt;br /&gt;
&lt;br /&gt;
Open Visual Studio&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSConnect-Server&lt;br /&gt;
&lt;br /&gt;
Select DSConnect-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Build the Map Server ====&lt;br /&gt;
&lt;br /&gt;
Click File, Open, Project/Solution (or Ctrl+Shift+O)&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSGame-Server&lt;br /&gt;
&lt;br /&gt;
Select DSGame-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Building the Optional Search Server ====&lt;br /&gt;
&lt;br /&gt;
Navigate to C:\dsp\win32\DSSearch-server&lt;br /&gt;
&lt;br /&gt;
Select DSSearch-server.sln (usually the first one)&lt;br /&gt;
&lt;br /&gt;
It may take a few minutes to load files.&lt;br /&gt;
&lt;br /&gt;
Click Debug then Build Server (or F7, or Ctrl+Shift+B)&lt;br /&gt;
&lt;br /&gt;
Building will take a few minutes.&lt;br /&gt;
&lt;br /&gt;
Once complete, validate that there are no Errors listed in the summary line at the bottom. It should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there are any SQL errors it is probably caused by the SQL dev package was extracted to the wrong folder.&lt;br /&gt;
&lt;br /&gt;
If there is a #include error, change that #include to say #include &amp;lt;mysql/mysql.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== When all of the Servers are built ====&lt;br /&gt;
&lt;br /&gt;
Verify in the C:\dsp directory that the servers you built are there: &lt;br /&gt;
&lt;br /&gt;
DSConnect-server.exe for the Login Server&lt;br /&gt;
&lt;br /&gt;
DSGame-server.exe for the Map Server&lt;br /&gt;
&lt;br /&gt;
DSSearch-server.exe for the Search Server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''Now you will configure the Login Server and Map Server to connect to the MySQL database.'''&lt;br /&gt;
&lt;br /&gt;
Do not mess with any other settings in these files unless you know what they are for and what they do.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Login Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open login_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Map Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open map_darkstar.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Search Server Settings ====&lt;br /&gt;
&lt;br /&gt;
In windows explorer navigate to c:\dsp\conf&lt;br /&gt;
&lt;br /&gt;
Open search_server.conf in a text editer (notepad)&lt;br /&gt;
&lt;br /&gt;
Scroll down to the bottom and validate/update the following lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql_host: 127.0.0.1&lt;br /&gt;
mysql_port: 3306&lt;br /&gt;
mysql_login: root&lt;br /&gt;
mysql_password: root &amp;lt;-- change this to your password you wrote down during the MySQL install&lt;br /&gt;
mysql_database: dspdb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At this point we have configured the servers to connect to the SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will launch our new servers.'''&lt;br /&gt;
&lt;br /&gt;
Navigate to c:\dsp&lt;br /&gt;
&lt;br /&gt;
Run DSConnect-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
Run DSGame-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
(Optional) Run DSSearch-server.exe as Admin&lt;br /&gt;
&lt;br /&gt;
At this point if your servers fail to load, you probably missed a step. Go back through the steps and try to find out what you missed. It may also be helpful to look at the log files located in c:\dsp\log.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Forward Ports to Allow Others to Join (&amp;amp; Firewall) ===&lt;br /&gt;
&lt;br /&gt;
'''In this section we will provide the port numbers that need to be forwarded to the server. This is only needed to allow people outside your local intranet to join your server.'''&lt;br /&gt;
&lt;br /&gt;
In your router and firewall the following ports need to be opened/forwarded to your server:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
54230&lt;br /&gt;
54231&lt;br /&gt;
54001&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If still having trouble, disable any firewall software completely for testing. This includes the Windows firewall that comes on all modern Windows systems, which can be found in the Control Panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing &amp;amp; Setting up the DS Server on Linux ==&lt;br /&gt;
&lt;br /&gt;
The server is known to build in recent [http://www.debian.org/ Debian] GNU/Linux, [http://www.ubuntu.com/ Ubuntu], and [http://fedoraproject.org/ Fedora] versions, and is tested regularly against all three platforms. It is also known to build on [http://www.gentoo.org/ Gentoo].&lt;br /&gt;
&lt;br /&gt;
Fedora-specific instructions may be found on the page: [[Fedora Linux Setup]]&lt;br /&gt;
&lt;br /&gt;
Generic build instructions for most POSIX (GNU/Linux, and possibly FreeBSD, NetBSD, UNIX or even OSX with some additional work) systems follow. Some knowledge of how to compile software on your distribution is assumed. You may find it helpful to reference the Windows guide above if something is unclear.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites: ===&lt;br /&gt;
A compiler with C++11 support. Currently tested with GCC and G++, and requires a minimum version of 4.6&lt;br /&gt;
&lt;br /&gt;
Subversion to retrieve the source code.&lt;br /&gt;
&lt;br /&gt;
patch to apply the search server patch (should be installed with subversion if your system lacks it)&lt;br /&gt;
&lt;br /&gt;
Autotools (automake autoconf m4sh) and pkg-config to generate the configure script and Makefile&lt;br /&gt;
&lt;br /&gt;
mysql server&lt;br /&gt;
&lt;br /&gt;
mysql client library (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
lua library version 5.1 or higher (select the developer version if your distro has one)&lt;br /&gt;
&lt;br /&gt;
If you plan to run from a console, you may also wish to install &amp;quot;screen&amp;quot; as there is no daemon mode for the servers yet.&lt;br /&gt;
&lt;br /&gt;
=== Preparing the Source Code ===&lt;br /&gt;
&lt;br /&gt;
Once you have everything mentioned above installed, grab the latest source from the repository via the command:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;svn co http://onetimexi.googlecode.com/svn/trunk/ dsp/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, find the latest version of the search server patch at [http://dspt.freeforums.org/compile-on-linux-the-ongoing-guide-t223.html The Darkstar Project Forums]. Extract the diff file into the dsp folder and apply it using the command:&lt;br /&gt;
 patch -p0 -i dssearchv6.diff&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
&lt;br /&gt;
Next is a typical autotools build. Run the autogen script, followed by configure, and then make:&lt;br /&gt;
 sh autogen.sh&lt;br /&gt;
 ./configure --enable-debug&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
You can choose not to configure with debug enabled, but there is very little potential gain in this and it prevents many useful break statements from triggering. The Makefile also has separate targets to build each server named &amp;quot;dsconnect&amp;quot; &amp;quot;dsgame&amp;quot; and &amp;quot;dssearch&amp;quot; but will build all 3 if none are specified.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up the Database ===&lt;br /&gt;
&lt;br /&gt;
If you do not know your mysql root password, the default on most systems is blank. It is a good idea to change this for security reasons, as your mysql root user has full permissions on all databases. The first time you run the mysql client, you should be prompted to change the password. After doing so, you will want to create a user specifically for dealing with the darkstar server database. Run mysql as follows:&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
Enter your root password at the prompt. Next, create a new user as follows:&lt;br /&gt;
 CREATE USER 'darkstar'@'localhost' IDENTIFIED BY 'password';&lt;br /&gt;
&lt;br /&gt;
Substitute &amp;quot;password&amp;quot; with a password of your choice. Next, we want to create a database, and set up our new user with permissions to work with it.&lt;br /&gt;
 CREATE DATABASE dspdb;&lt;br /&gt;
 GRANT ALL PRIVILEGES ON `dspdb` TO 'darkstar'@'localhost';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
This will make it to where your new user can do anything necessary, but can only connect from localhost, so even if your password is compromised, it will be difficult to mess with the database remotely. If you need to be able to access the database remotely (like if the database is stored on a separate machine from the server), change the configuration according to the host that will be accessing the database.&lt;br /&gt;
&lt;br /&gt;
Now, you need to populate the database.&lt;br /&gt;
 cd sql&lt;br /&gt;
 for f in *.sql&lt;br /&gt;
   do&lt;br /&gt;
      echo -n &amp;quot;Importing $f into the database...&amp;quot;&lt;br /&gt;
      mysql -u darkstar -ppassword dspdb &amp;lt; $f &amp;amp;&amp;amp; echo &amp;quot;Success!&amp;quot;      &lt;br /&gt;
   done&lt;br /&gt;
 cd ..&lt;br /&gt;
&lt;br /&gt;
To set up your ZoneIP, see the related windows section [[Building_the_Server#Configure_the_ZoneIP_for_the_Map_Server]] above for how to calculate it, and then run:&lt;br /&gt;
 mysql -u darkstar -ppassword&lt;br /&gt;
 USE dspdb;&lt;br /&gt;
 UPDATE zone_settings SET zoneip = '16777343';&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
replacing &amp;quot;16777343&amp;quot; with the value you determined in your calculation. You should see a message that 256 changes have occured after the update command.&lt;br /&gt;
&lt;br /&gt;
=== Configuring the Server ===&lt;br /&gt;
Before running your new servers, you will need to update the configuration files to tell it how to talk to the database. You will need to update the files in the conf/ sub-folder named &amp;quot;login_darkstar.conf&amp;quot; &amp;quot;map_darkstar.conf&amp;quot; and &amp;quot;search_server.conf&amp;quot; at a minimum. Find the mysql settings in each and change as appropriate, using the new user, password and database you created earlier.&lt;br /&gt;
&lt;br /&gt;
You may also wish to browse through the various configuration files for any settings that might be of interest to you, but more details on server customization can be found at [[Customizing Your Server]].&lt;br /&gt;
&lt;br /&gt;
=== Starting the Servers ===&lt;br /&gt;
You may now start your new servers. If you are using a desktop environment, you may wish to open 3 separate terminals and run each server in a separate one to monitor them efficiently. Otherwise, you will want to run them in screen sessions as follows:&lt;br /&gt;
 screen -d -m -S dsconnect ./dsconnect&lt;br /&gt;
 screen -d -m -S dsgame ./dsgame&lt;br /&gt;
 screen -d -m -S dssearch ./dssearch&lt;br /&gt;
&lt;br /&gt;
This will start and auto-detach all three servers, assigning them meaningful names to make it easy to reattach later by using the commands:&lt;br /&gt;
 screen -r dsconnect&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dsgame&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
 screen -r dssearch&lt;br /&gt;
&lt;br /&gt;
to monitor a given server. Once you've attached to a screen, you can detach by first pressing &amp;quot;ctrl+a&amp;quot; and then &amp;quot;d&amp;quot;. There are many other useful ways to use screen, so do whatever suits yoru preference.&lt;br /&gt;
&lt;br /&gt;
Your server is now up-and-running, and a client should be able to connect as long as there are no obvious errors on any of the server screens. If the search server is having issues, it is not vital for basic game functionality, but you will be unable to use search functions or the auction house. If you have run into any major issues, contact bluekirby0 (the current maintainer of the linux port as of the time of this writing) on IRC [http://dspt.freeforums.org/new_chat.php #darkstar@irc.rizon.net] or in the [http://dspt.freeforums.org/index.php forums].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
The original windows guide was written by thrydwolf, and has been formatted for the wiki and updated by bluekirby0&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=6724</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=6724"/>
				<updated>2012-07-07T20:11:17Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* mXI Boot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use either FFXI-Boot or mXI to connect to a Dark Star server. mXI has more features, but is harder to configure. FFXI-Boot usually works with minimal configuration. Both can co-exist on your system, so if in doubt, try both!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== mXI Boot ===&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this should be compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://46.38.63.32/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username and password should be at least 6 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6681</id>
		<title>DarkStar Servers</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6681"/>
				<updated>2012-07-06T22:47:13Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Additional Information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Official DarkStar Play Server ==&lt;br /&gt;
This is Whasf's server, the only official play server.&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
46.38.63.32&lt;br /&gt;
&lt;br /&gt;
'''This has been recently changed. The old IP will no longer work.'''&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Use http://46.38.63.32/roster.php to see who is online.&lt;br /&gt;
&lt;br /&gt;
Auction House is populated regularly with items for 100 gil.&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
All classes start at level 1&lt;br /&gt;
&lt;br /&gt;
Experience rate is 1.89x&lt;br /&gt;
&lt;br /&gt;
When you create a character, you'll hang at &amp;quot;downloading data&amp;quot;.. Disconnect and wait 45 seconds and login again. It could take up to three tries to log in in successfully with a new character.&lt;br /&gt;
&lt;br /&gt;
== Silverwolf's Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
131.191.104.77 &lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Auction House is populated&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
Experience rate is 4x&lt;br /&gt;
&lt;br /&gt;
Decent balance, more of that retail feel....&lt;br /&gt;
&lt;br /&gt;
Range Attack does some damage but no skill up yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Borfax's Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
Requires Hamachi to be running and connected to DarkStarFFXI&lt;br /&gt;
&lt;br /&gt;
Hamachi network password is dsf&lt;br /&gt;
&lt;br /&gt;
IP: 5.239.15.57&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
&lt;br /&gt;
Jobs start at level 30, but will probably be adjusted randomly, depending on testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FFXI Unlimited Private Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Play on this server is highly discouraged. They accept donations for the efforts of others and are accused of not sharing bug reports with the main project, which, in turn, slows down development. Please support the official project!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gilgamesh Test Server (All players are Welcome) ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
78.239.73.185&lt;br /&gt;
&lt;br /&gt;
=== Test Server Status ===&lt;br /&gt;
XP Rate: x10&lt;br /&gt;
&lt;br /&gt;
Gil Rate x10&lt;br /&gt;
&lt;br /&gt;
Speed: +10&lt;br /&gt;
&lt;br /&gt;
Zone Available: Base, Zilart, Aht Urhgan&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
Online Player list: http://78.239.73.185/&lt;br /&gt;
&lt;br /&gt;
Server stats: http://78.239.73.185/servstat.php&lt;br /&gt;
&lt;br /&gt;
Monsters &amp;amp; Drops list: http://78.239.73.185/moblist.php&lt;br /&gt;
&lt;br /&gt;
Monsters list by zone: http://78.239.73.185/mobzonelist.php&lt;br /&gt;
&lt;br /&gt;
Forum en francais: http://jouegratuitement.com/forumdisplay.php?15-Gilgamesh-serveur-priv%E9-Final-Fantasy-XI&lt;br /&gt;
&lt;br /&gt;
Forum in English: http://jouegratuitement.com/forumdisplay.php?22-Gilgamesh-Final-Fantasy-Private-Server&lt;br /&gt;
&lt;br /&gt;
Facebook: http://www.facebook.com/pages/Gilgamesh-Serveur-priv%C3%A9-Final-Fantasy-XI/186095898161500&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6680</id>
		<title>DarkStar Servers</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6680"/>
				<updated>2012-07-06T22:46:25Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* IP Address */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Official DarkStar Play Server ==&lt;br /&gt;
This is Whasf's server, the only official play server.&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
46.38.63.32&lt;br /&gt;
&lt;br /&gt;
'''This has been recently changed. The old IP will no longer work.'''&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Use http://70.226.47.159/roster.php to see who is online.&lt;br /&gt;
&lt;br /&gt;
Auction House is populated regularly with items for 100 gil.&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
All classes start at level 1&lt;br /&gt;
&lt;br /&gt;
Experience rate is 1.89x&lt;br /&gt;
&lt;br /&gt;
When you create a character, you'll hang at &amp;quot;downloading data&amp;quot;.. Disconnect and wait 45 seconds and login again. It could take up to three tries to log in in successfully with a new character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Silverwolf's Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
131.191.104.77 &lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Auction House is populated&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
Experience rate is 4x&lt;br /&gt;
&lt;br /&gt;
Decent balance, more of that retail feel....&lt;br /&gt;
&lt;br /&gt;
Range Attack does some damage but no skill up yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Borfax's Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
Requires Hamachi to be running and connected to DarkStarFFXI&lt;br /&gt;
&lt;br /&gt;
Hamachi network password is dsf&lt;br /&gt;
&lt;br /&gt;
IP: 5.239.15.57&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
&lt;br /&gt;
Jobs start at level 30, but will probably be adjusted randomly, depending on testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FFXI Unlimited Private Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Play on this server is highly discouraged. They accept donations for the efforts of others and are accused of not sharing bug reports with the main project, which, in turn, slows down development. Please support the official project!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gilgamesh Test Server (All players are Welcome) ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
78.239.73.185&lt;br /&gt;
&lt;br /&gt;
=== Test Server Status ===&lt;br /&gt;
XP Rate: x10&lt;br /&gt;
&lt;br /&gt;
Gil Rate x10&lt;br /&gt;
&lt;br /&gt;
Speed: +10&lt;br /&gt;
&lt;br /&gt;
Zone Available: Base, Zilart, Aht Urhgan&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
Online Player list: http://78.239.73.185/&lt;br /&gt;
&lt;br /&gt;
Server stats: http://78.239.73.185/servstat.php&lt;br /&gt;
&lt;br /&gt;
Monsters &amp;amp; Drops list: http://78.239.73.185/moblist.php&lt;br /&gt;
&lt;br /&gt;
Monsters list by zone: http://78.239.73.185/mobzonelist.php&lt;br /&gt;
&lt;br /&gt;
Forum en francais: http://jouegratuitement.com/forumdisplay.php?15-Gilgamesh-serveur-priv%E9-Final-Fantasy-XI&lt;br /&gt;
&lt;br /&gt;
Forum in English: http://jouegratuitement.com/forumdisplay.php?22-Gilgamesh-Final-Fantasy-Private-Server&lt;br /&gt;
&lt;br /&gt;
Facebook: http://www.facebook.com/pages/Gilgamesh-Serveur-priv%C3%A9-Final-Fantasy-XI/186095898161500&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6679</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6679"/>
				<updated>2012-07-06T22:45:11Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''-- ATTENTION: THE OFFICIAL TEST SERVER HAS MOVED TO 46.38.63.32 --'''&lt;br /&gt;
 &lt;br /&gt;
'''Welcome to the Unofficial Dark Star Project Wiki'''&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
[[Building the Server]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring Your Client]]&lt;br /&gt;
&lt;br /&gt;
[[DarkStar Servers]]&lt;br /&gt;
&lt;br /&gt;
[[Script Testing Server]]&lt;br /&gt;
&lt;br /&gt;
== General Reference links ==&lt;br /&gt;
[[GM Commands]]&lt;br /&gt;
&lt;br /&gt;
[[ID References]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Developer Reference links ==&lt;br /&gt;
[[Quests]]&lt;br /&gt;
&lt;br /&gt;
[[Missions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQs/Tutorials ==&lt;br /&gt;
[[Make My Character a GM]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Customizing Your Server]]&lt;br /&gt;
&lt;br /&gt;
[[How to Make a Quest]]&lt;br /&gt;
&lt;br /&gt;
== Things that need to be added ==&lt;br /&gt;
&lt;br /&gt;
You can always look at the list of [[Special:WantedPages]] and see if you can clear some of those out by filling in the information&lt;br /&gt;
&lt;br /&gt;
Reference tables (any table that might need to be referenced often)&lt;br /&gt;
&lt;br /&gt;
Source Code documentation (mainly public function documentation and how to communicate between lua scripts and the server)&lt;br /&gt;
&lt;br /&gt;
Checklists for things that are and are not implemented (Eventually I would like to create goal pages that use these checklists, so if you can categorize things in a logical manner, that would be very helpful)&lt;br /&gt;
&lt;br /&gt;
Anything else you can think of that might be helpful for either casual users or developers interested in Dark Star Project.&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
[http://{{SERVERNAME}}:8765/bak/ Automatically generated wiki backups]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;display: none&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[http://www.dracomiconia.com/proprietary.php?option=2 donotvisitthislinkoryouwillbeblocked]&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=6672</id>
		<title>Configuring Your Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Configuring_Your_Client&amp;diff=6672"/>
				<updated>2012-07-06T19:21:55Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* Installing FFXI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide is NOT intended for people with buddypass, or illegally downloaded versions of FFXI. We have the bought and paid for the game, and will never recommend that you use anything different. If you somehow managed to get it to work using the buddypass or an illegal version of FFXI then keep it to yourself. Discussion of obtaining software through illegal means is not tolerated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing FFXI ==&lt;br /&gt;
&lt;br /&gt;
'''In this section we will install and update Final Fantasy XI from Retail Discs.'''&lt;br /&gt;
&lt;br /&gt;
For users on Windows Vista or newer, download the Vista PlayOnline client from the [http://www.playonline.com/ff11us/download/media/vista01.html PlayOnline Support Site] and install that instead of the version on the retail discs.&lt;br /&gt;
&lt;br /&gt;
Install PlayOnline, Final Fantasy XI, and then ALL of the expansions up to and including Wings of the Goddess. You do not need to have the mini-addon packs installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline and let it update.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Close PlayOnline viewer.&lt;br /&gt;
&lt;br /&gt;
Download the following file: [http://kile.dyndns.info:8765/bak/PXI-FFXI-UpdatePatch.zip FFXI Patch]&lt;br /&gt;
&lt;br /&gt;
Extract its contents to your PlayOnline/Squareenix/Final Fantasy XI directory.&lt;br /&gt;
&lt;br /&gt;
Run PlayOnline again and choose For PlayOnline Members&lt;br /&gt;
&lt;br /&gt;
At the Add Member page enter anything you like for the Member Name.&lt;br /&gt;
&lt;br /&gt;
Enter ABCD1234 for the PlayOnline ID&lt;br /&gt;
&lt;br /&gt;
Select Register, Yes, OK.&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via the PlayOnline Viewer ===&lt;br /&gt;
&lt;br /&gt;
This option is safer and is the one supported by Dark Star Project&lt;br /&gt;
&lt;br /&gt;
Go back to your Check Files screen and select Final Fantasy XI from the drop-down menu.&lt;br /&gt;
&lt;br /&gt;
After 7 hours or so of updating, FFXI should be up to date.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Updating FFXI via manual patch download ===&lt;br /&gt;
&lt;br /&gt;
This option isn't supported by Dark Star Project, but may be faster than updating through PlayOnline&lt;br /&gt;
&lt;br /&gt;
If you don't have something that can extract RAR archives, download and install [http://www.7-zip.org/download.html 7zip].&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Go to [http://tehkrizz.net/FFXI/downloads.php tehkrizz's FFXI Patch Download Page]&lt;br /&gt;
&lt;br /&gt;
Download the MOV, ROM, and Sound archives.&lt;br /&gt;
Extract the files into your FFXI install folder. Usually C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI on 64-bit Windows or C:\Program Files\PlayOnline\SquareEnix\FINAL FANTASY XI on 32-bit Windows&lt;br /&gt;
Extract the contents of the FFXI Patch you downloaded earlier into the FFXI install folder again, overwriting all files. If you skip this step, your client probably will not update properly.&lt;br /&gt;
&lt;br /&gt;
Run the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
Select Check Files on the left of the screen.&lt;br /&gt;
&lt;br /&gt;
Click on PlayOnline Viewer then select Final Fantasy XI from the drop down, then Check Files. If there have been any updates since the archives posted on tehkrizz's site, this may take an hour or more.&lt;br /&gt;
&lt;br /&gt;
Close the PlayOnline Viewer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== After updating ===&lt;br /&gt;
&lt;br /&gt;
Copy the data folder at PlayOnline\SquareEnix\PlayOnlineViewer\data to the Final Fantasy XI directory at PlayOnline\SquareEnix\FINAL FANTASY XI.&lt;br /&gt;
&lt;br /&gt;
Afterwards you should have the directory PlayOnline\SquareEnix\FINAL FANTASY XI\data.&lt;br /&gt;
&lt;br /&gt;
== Setting up the Launcher ==&lt;br /&gt;
&lt;br /&gt;
'''In this section you will configure FFXI to connect to a DarkStar Server'''&lt;br /&gt;
&lt;br /&gt;
You can use either FFXI-Boot or mXI to connect to a Dark Star server. mXI has more features, but is harder to configure. FFXI-Boot usually works with minimal configuration. Both can co-exist on your system, so if in doubt, try both!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== FFXI-Boot ===&lt;br /&gt;
&lt;br /&gt;
Download [http://www.filedropper.com/ffxi-boot FFXI-Boot]&lt;br /&gt;
&lt;br /&gt;
Extract the FFXI-Boot files (ffxi-boot.exe &amp;amp; ffxi-boot.ini) into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open ffxi-boot.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
An example ffxi-boot.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SERVIP = 67.41.45.115&lt;br /&gt;
AUTOLOGIN = 1&lt;br /&gt;
USERNAME    = username&lt;br /&gt;
PASSWORD = password&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== mXI Boot ===&lt;br /&gt;
&lt;br /&gt;
If you prefer the MXI FFXI Loader, this should be compatible with DarkStar servers as well. mXI windower features (light luggage, distance, etc.) can potentially cause you problems while playing. If you have issues, this is the first thing to disable. Windower itself seams to work fine on Dark Star.&lt;br /&gt;
&lt;br /&gt;
Download [http://70.226.47.159/downloads.php mXI 0.91_Darkstar version]&lt;br /&gt;
&lt;br /&gt;
Extract the contents of the archive into the PlayOnline\SquareEnix\FINAL FANTASY XI directory.&lt;br /&gt;
&lt;br /&gt;
Open Client.ini in a text editor.&lt;br /&gt;
&lt;br /&gt;
Change SERVIP to the IP address of the DarkStar server you wish to use. See the [[DarkStar Servers]] page for this info, or put in 127.0.0.1 if you are hosting your own server on the same system.&lt;br /&gt;
&lt;br /&gt;
You will also need to set X_RES and Y_RES to the resolution your game will be running at or it will look streteched or squashed.&lt;br /&gt;
&lt;br /&gt;
'''If you plan to play on someone else's server, you MUST disable the Light Luggage plugin in scripts/init.txt or YOU WILL LIKELY BE BANNED. This plugin unnecessarily spams auto-sort on the server and can disrupt play for everyone.'''&lt;br /&gt;
&lt;br /&gt;
If you have any problems, set WINDOWERMODE to 2, which will disable all of the windower plugins. If it works, try disabling all of your windower plugins in scripts/init.txt and then re-enable them one at a time to determine which one is causing a crash. It may also help to DISABLE windowed mode the the FFXI configuration utility.&lt;br /&gt;
&lt;br /&gt;
An example Client.ini is below.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SERVER]&lt;br /&gt;
SERVIP 		=  67.41.45.115&lt;br /&gt;
AUTOLOGIN  	=  1&lt;br /&gt;
USERNAME	=  username&lt;br /&gt;
PASSWORD	=  password&lt;br /&gt;
[CLIENT]&lt;br /&gt;
LANGUAGE 	= 1&lt;br /&gt;
## VERSION can be NA,EU or JP. This needs to reflect the POL version you have.&lt;br /&gt;
VERSION 	= NA&lt;br /&gt;
## MODE 0 = no windower, 1 = normal windower, 2 = windower light&lt;br /&gt;
WINDOWERMODE	= 1&lt;br /&gt;
X_RES 		= 1024&lt;br /&gt;
Y_RES 		= 768&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Create an Account and Login ===&lt;br /&gt;
&lt;br /&gt;
Run ffxi-boot.exe or mXI.exe and choose option 2; Create a new account.&lt;br /&gt;
&lt;br /&gt;
The username and password should be at least 6 alphanumeric characters long.&lt;br /&gt;
&lt;br /&gt;
You can now save the username and password into the ffxi-boot.ini or Client.ini if you wish to use auto-login.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Choose option 1; Login using existing account&lt;br /&gt;
&lt;br /&gt;
Login with username and password.&lt;br /&gt;
&lt;br /&gt;
FFXI should load and be on the splash screen. Choose Accept.&lt;br /&gt;
&lt;br /&gt;
Create a Character, Select a Country, then choose Yes to Register and begin play.&lt;br /&gt;
&lt;br /&gt;
Select the newly created character then login.&lt;br /&gt;
&lt;br /&gt;
It should login all the way to the Country you selected.&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6671</id>
		<title>DarkStar Servers</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6671"/>
				<updated>2012-07-06T18:52:57Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* IP Address */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Official DarkStar Play Server ==&lt;br /&gt;
This is Whasf's server, the only official play server.&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
70.226.47.159&lt;br /&gt;
&lt;br /&gt;
'''This is expected to change tonight. The new address will be listed here and on the main page.'''&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Use http://70.226.47.159/roster.php to see who is online.&lt;br /&gt;
&lt;br /&gt;
Auction House is populated regularly with items for 100 gil.&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
All classes start at level 1&lt;br /&gt;
&lt;br /&gt;
Experience rate is 1.89x&lt;br /&gt;
&lt;br /&gt;
When you create a character, you'll hang at &amp;quot;downloading data&amp;quot;.. Disconnect and wait 45 seconds and login again. It could take up to three tries to log in in successfully with a new character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Silverwolf's Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
131.191.104.77 &lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Auction House is populated&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
Experience rate is 4x&lt;br /&gt;
&lt;br /&gt;
Decent balance, more of that retail feel....&lt;br /&gt;
&lt;br /&gt;
Range Attack does some damage but no skill up yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Borfax's Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
Requires Hamachi to be running and connected to DarkStarFFXI&lt;br /&gt;
&lt;br /&gt;
Hamachi network password is dsf&lt;br /&gt;
&lt;br /&gt;
IP: 5.239.15.57&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
&lt;br /&gt;
Jobs start at level 30, but will probably be adjusted randomly, depending on testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FFXI Unlimited Private Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Play on this server is highly discouraged. They accept donations for the efforts of others and are accused of not sharing bug reports with the main project, which, in turn, slows down development. Please support the official project!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gilgamesh Test Server (All players are Welcome) ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
78.239.73.185&lt;br /&gt;
&lt;br /&gt;
=== Test Server Status ===&lt;br /&gt;
XP Rate: x10&lt;br /&gt;
&lt;br /&gt;
Gil Rate x10&lt;br /&gt;
&lt;br /&gt;
Speed: +10&lt;br /&gt;
&lt;br /&gt;
Zone Available: Base, Zilart, Aht Urhgan&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
Online Player list: http://78.239.73.185/&lt;br /&gt;
&lt;br /&gt;
Server stats: http://78.239.73.185/servstat.php&lt;br /&gt;
&lt;br /&gt;
Monsters &amp;amp; Drops list: http://78.239.73.185/moblist.php&lt;br /&gt;
&lt;br /&gt;
Monsters list by zone: http://78.239.73.185/mobzonelist.php&lt;br /&gt;
&lt;br /&gt;
Forum en francais: http://jouegratuitement.com/forumdisplay.php?15-Gilgamesh-serveur-priv%E9-Final-Fantasy-XI&lt;br /&gt;
&lt;br /&gt;
Forum in English: http://jouegratuitement.com/forumdisplay.php?22-Gilgamesh-Final-Fantasy-Private-Server&lt;br /&gt;
&lt;br /&gt;
Facebook: http://www.facebook.com/pages/Gilgamesh-Serveur-priv%C3%A9-Final-Fantasy-XI/186095898161500&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6670</id>
		<title>DarkStar Servers</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=DarkStar_Servers&amp;diff=6670"/>
				<updated>2012-07-06T18:52:46Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: /* IP Address */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Official DarkStar Play Server ==&lt;br /&gt;
This is Whasf's server, the only official play server.&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
70.226.47.159&lt;br /&gt;
'''This is expected to change tonight. The new address will be listed here and on the main page.'''&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Use http://70.226.47.159/roster.php to see who is online.&lt;br /&gt;
&lt;br /&gt;
Auction House is populated regularly with items for 100 gil.&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
All classes start at level 1&lt;br /&gt;
&lt;br /&gt;
Experience rate is 1.89x&lt;br /&gt;
&lt;br /&gt;
When you create a character, you'll hang at &amp;quot;downloading data&amp;quot;.. Disconnect and wait 45 seconds and login again. It could take up to three tries to log in in successfully with a new character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Silverwolf's Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
131.191.104.77 &lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Auction House is populated&lt;br /&gt;
&lt;br /&gt;
You start with 4 million gil&lt;br /&gt;
&lt;br /&gt;
Character speed 1.5x&lt;br /&gt;
&lt;br /&gt;
Experience rate is 4x&lt;br /&gt;
&lt;br /&gt;
Decent balance, more of that retail feel....&lt;br /&gt;
&lt;br /&gt;
Range Attack does some damage but no skill up yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Borfax's Test Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
Requires Hamachi to be running and connected to DarkStarFFXI&lt;br /&gt;
&lt;br /&gt;
Hamachi network password is dsf&lt;br /&gt;
&lt;br /&gt;
IP: 5.239.15.57&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
&lt;br /&gt;
Jobs start at level 30, but will probably be adjusted randomly, depending on testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FFXI Unlimited Private Server ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
Play on this server is highly discouraged. They accept donations for the efforts of others and are accused of not sharing bug reports with the main project, which, in turn, slows down development. Please support the official project!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Gilgamesh Test Server (All players are Welcome) ==&lt;br /&gt;
&lt;br /&gt;
=== IP Address ===&lt;br /&gt;
78.239.73.185&lt;br /&gt;
&lt;br /&gt;
=== Test Server Status ===&lt;br /&gt;
XP Rate: x10&lt;br /&gt;
&lt;br /&gt;
Gil Rate x10&lt;br /&gt;
&lt;br /&gt;
Speed: +10&lt;br /&gt;
&lt;br /&gt;
Zone Available: Base, Zilart, Aht Urhgan&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
Online Player list: http://78.239.73.185/&lt;br /&gt;
&lt;br /&gt;
Server stats: http://78.239.73.185/servstat.php&lt;br /&gt;
&lt;br /&gt;
Monsters &amp;amp; Drops list: http://78.239.73.185/moblist.php&lt;br /&gt;
&lt;br /&gt;
Monsters list by zone: http://78.239.73.185/mobzonelist.php&lt;br /&gt;
&lt;br /&gt;
Forum en francais: http://jouegratuitement.com/forumdisplay.php?15-Gilgamesh-serveur-priv%E9-Final-Fantasy-XI&lt;br /&gt;
&lt;br /&gt;
Forum in English: http://jouegratuitement.com/forumdisplay.php?22-Gilgamesh-Final-Fantasy-Private-Server&lt;br /&gt;
&lt;br /&gt;
Facebook: http://www.facebook.com/pages/Gilgamesh-Serveur-priv%C3%A9-Final-Fantasy-XI/186095898161500&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6669</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6669"/>
				<updated>2012-07-06T18:51:50Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''--ATTENTION: THE OFFICIAL TEST SERVER WILL BE MOVING SOME TIME TONIGHT!--'''&lt;br /&gt;
 &lt;br /&gt;
'''I will try to have the updated address available tonight both on this page and on the relevant servers page.'''&lt;br /&gt;
&lt;br /&gt;
'''Welcome to the Unofficial Dark Star Project Wiki'''&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
[[Building the Server]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring Your Client]]&lt;br /&gt;
&lt;br /&gt;
[[DarkStar Servers]]&lt;br /&gt;
&lt;br /&gt;
[[Script Testing Server]]&lt;br /&gt;
&lt;br /&gt;
== General Reference links ==&lt;br /&gt;
[[GM Commands]]&lt;br /&gt;
&lt;br /&gt;
[[ID References]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Developer Reference links ==&lt;br /&gt;
[[Quests]]&lt;br /&gt;
&lt;br /&gt;
[[Missions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQs/Tutorials ==&lt;br /&gt;
[[Make My Character a GM]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Customizing Your Server]]&lt;br /&gt;
&lt;br /&gt;
[[How to Make a Quest]]&lt;br /&gt;
&lt;br /&gt;
== Things that need to be added ==&lt;br /&gt;
&lt;br /&gt;
You can always look at the list of [[Special:WantedPages]] and see if you can clear some of those out by filling in the information&lt;br /&gt;
&lt;br /&gt;
Reference tables (any table that might need to be referenced often)&lt;br /&gt;
&lt;br /&gt;
Source Code documentation (mainly public function documentation and how to communicate between lua scripts and the server)&lt;br /&gt;
&lt;br /&gt;
Checklists for things that are and are not implemented (Eventually I would like to create goal pages that use these checklists, so if you can categorize things in a logical manner, that would be very helpful)&lt;br /&gt;
&lt;br /&gt;
Anything else you can think of that might be helpful for either casual users or developers interested in Dark Star Project.&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
[http://{{SERVERNAME}}:8765/bak/ Automatically generated wiki backups]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;display: none&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[http://www.dracomiconia.com/proprietary.php?option=2 donotvisitthislinkoryouwillbeblocked]&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6623</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=6623"/>
				<updated>2012-07-03T21:16:00Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Unofficial Dark Star Project Wiki'''&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
[[Building the Server]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring Your Client]]&lt;br /&gt;
&lt;br /&gt;
[[DarkStar Servers]]&lt;br /&gt;
&lt;br /&gt;
[[Script Testing Server]]&lt;br /&gt;
&lt;br /&gt;
== General Reference links ==&lt;br /&gt;
[[GM Commands]]&lt;br /&gt;
&lt;br /&gt;
[[ID References]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Developer Reference links ==&lt;br /&gt;
[[Quests]]&lt;br /&gt;
&lt;br /&gt;
[[Missions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQs/Tutorials ==&lt;br /&gt;
[[Make My Character a GM]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Customizing Your Server]]&lt;br /&gt;
&lt;br /&gt;
[[How to Make a Quest]]&lt;br /&gt;
&lt;br /&gt;
== Things that need to be added ==&lt;br /&gt;
&lt;br /&gt;
You can always look at the list of [[Special:WantedPages]] and see if you can clear some of those out by filling in the information&lt;br /&gt;
&lt;br /&gt;
Reference tables (any table that might need to be referenced often)&lt;br /&gt;
&lt;br /&gt;
Source Code documentation (mainly public function documentation and how to communicate between lua scripts and the server)&lt;br /&gt;
&lt;br /&gt;
Checklists for things that are and are not implemented (Eventually I would like to create goal pages that use these checklists, so if you can categorize things in a logical manner, that would be very helpful)&lt;br /&gt;
&lt;br /&gt;
Anything else you can think of that might be helpful for either casual users or developers interested in Dark Star Project.&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
[http://{{SERVERNAME}}:8765/bak/ Automatically generated wiki backups]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;display: none&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;[http://www.dracomiconia.com/proprietary.php?option=2 donotvisitthislinkoryouwillbeblocked]&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=2827</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=2827"/>
				<updated>2012-06-09T09:54:42Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Unofficial Dark Star Project Wiki'''&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
[[Building the Server]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring Your Client]]&lt;br /&gt;
&lt;br /&gt;
[[DarkStar Servers]]&lt;br /&gt;
&lt;br /&gt;
[[Script Testing Server]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== General Reference links ==&lt;br /&gt;
[[GM Commands]]&lt;br /&gt;
&lt;br /&gt;
[[ID References]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Developer Reference links ==&lt;br /&gt;
[[Quests]]&lt;br /&gt;
&lt;br /&gt;
[[Missions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQs/Tutorials ==&lt;br /&gt;
[[Make My Character a GM]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Customizing Your Server]]&lt;br /&gt;
&lt;br /&gt;
[[How to Make a Quest]]&lt;br /&gt;
&lt;br /&gt;
== Things that need to be added ==&lt;br /&gt;
&lt;br /&gt;
You can always look at the list of [[Special:WantedPages]] and see if you can clear some of those out by filling in the information&lt;br /&gt;
&lt;br /&gt;
Reference tables (any table that might need to be referenced often)&lt;br /&gt;
&lt;br /&gt;
Source Code documentation (mainly public function documentation and how to communicate between lua scripts and the server)&lt;br /&gt;
&lt;br /&gt;
Checklists for things that are and are not implemented (Eventually I would like to create goal pages that use these checklists, so if you can categorize things in a logical manner, that would be very helpful)&lt;br /&gt;
&lt;br /&gt;
Anything else you can think of that might be helpful for either casual users or developers interested in Dark Star Project.&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
[http://{{SERVERNAME}}:8765/bak/ Automatically generated wiki backups]&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	<entry>
		<id>http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=2826</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://wiki.dspt.info/index.php?title=Main_Page&amp;diff=2826"/>
				<updated>2012-06-09T09:51:59Z</updated>
		
		<summary type="html">&lt;p&gt;Bluekirby0: Reverted edits by GerretZimmermanoye (talk) to last revision by GabrielGilmorepvj&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Unofficial Dark Star Project Wiki'''&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
[[Building the Server]]&lt;br /&gt;
&lt;br /&gt;
[[Configuring Your Client]]&lt;br /&gt;
&lt;br /&gt;
[[DarkStar Servers]]&lt;br /&gt;
&lt;br /&gt;
[[Script Testing Server]]&lt;br /&gt;
Computer  [http://www.perfume-coupons.org/victoria-secret-offer-code-%e2%80%93-offers-for-you/ victoria secret offer code swim] are more obtainable should you not use a mobile phone. Once you can manage a laptop and printer to access food store coupons. You will cease clikpping out coupons and save time and cash making portable market coupons. [http://answers.yahoo.com/question/index?qid=20120322173230AARjHMg check out that web site]&lt;br /&gt;
&lt;br /&gt;
== General Reference links ==&lt;br /&gt;
[[GM Commands]]&lt;br /&gt;
&lt;br /&gt;
[[ID References]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Developer Reference links ==&lt;br /&gt;
[[Quests]]&lt;br /&gt;
&lt;br /&gt;
[[Missions]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQs/Tutorials ==&lt;br /&gt;
[[Make My Character a GM]]&lt;br /&gt;
&lt;br /&gt;
[[Troubleshooting Guide]]&lt;br /&gt;
&lt;br /&gt;
[[Customizing Your Server]]&lt;br /&gt;
&lt;br /&gt;
[[How to Make a Quest]]&lt;br /&gt;
&lt;br /&gt;
== Things that need to be added ==&lt;br /&gt;
&lt;br /&gt;
You can always look at the list of [[Special:WantedPages]] and see if you can clear some of those out by filling in the information&lt;br /&gt;
&lt;br /&gt;
Reference tables (any table that might need to be referenced often)&lt;br /&gt;
&lt;br /&gt;
Source Code documentation (mainly public function documentation and how to communicate between lua scripts and the server)&lt;br /&gt;
&lt;br /&gt;
Checklists for things that are and are not implemented (Eventually I would like to create goal pages that use these checklists, so if you can categorize things in a logical manner, that would be very helpful)&lt;br /&gt;
&lt;br /&gt;
Anything else you can think of that might be helpful for either casual users or developers interested in Dark Star Project.&lt;br /&gt;
&lt;br /&gt;
== Other ==&lt;br /&gt;
[http://{{SERVERNAME}}:8765/bak/ Automatically generated wiki backups]&lt;/div&gt;</summary>
		<author><name>Bluekirby0</name></author>	</entry>

	</feed>