- Joined
- Sep 10, 2006
- Messages
- 2,099
- Reaction score
- 7
Server Setup Guide
There are a few server setup guides around but some are badly worded or outdated so I got bored and decided to make this. This will be revised and updated as time moves on to accommodate for new features and files. I would like to thank Redhunt for a lot of the pictures used in this guide.
Right off the bat I would suggest not running a PT server for the public on anything under 2GB of ram, a 100mbit line and a 3Ghz+ Processor and Windows Server 2003 (Dedicated Hosting is the best idea) along with a good understanding of how PT works.
Downloading Needed Files
2.) Download
1.) Download and install
(Used for unzipping most of the server files)
You must be registered to see links
(Used for unzipping most of the server files)
You must be registered to see links
(SQL is used to store a lot of the player data, mainly clan information and login information)
3.) Download
You must be registered to see links
(Used to manipulate SQL much easier.)
4.) If your running the server off of Windows XP ensure you have
You must be registered to see links
installed.5.) Download any of the the files under the ---[Server Files]--- section in the RFT Thread, I would suggest the McMadness Repack or the 1855 Server & Client. I might pack a couple sets of pre-configured server files with different rates later on.
(The in fact server software used for players to login and play, etc etc)
6.) Download the [strike]
You must be registered to see links
[/strike]. View attachment script.rar7.) Download the clan files from the RFT Thread under the ---[Clan Files]--- section, I would suggest the Sandurr 2.0 Files *Help topic here* or *HappHardcore's General Clan Troubleshooting Guide*
(Only if you plan on having working clans)
Installing of SQL & Manager
6.) Start the install for the MsSQL Server 2005 Express Edition, continue pressing the next button until you reach the Features screen.
7.) Click Client Components like in this
You must be registered to see links
and select "Entire Feature will be installed on local hard drive"8.) Continue pressing next until the screen prompting you to decide between "SQL Server Authentication" or "Windows Authentication".
9.) Choose SQL Server Authentication and choose a good password and right it down you will need to know this password later.
10.) Continue pressing next until the installer is finished.
11. Find the MsSQL Server Managment Studio installer you downloaded earlier. Just press next until the installer is done, no need to change any settings.
Setting Up SQL Database
12.) Go to your start menu and run SQL Server Management.
( Start > All Programs >Microsoft SQL Server 2005 > SQL Server Management Studio Express)
( Start > All Programs >Microsoft SQL Server 2005 > SQL Server Management Studio Express)
13.) You should arrive at
You must be registered to see links
, don't touch the login name. Enter the password from step 9 created while installing SQL. Press connect and you'll arrive at
You must be registered to see links
14.) Unzip (right click, extract to folder) the PT SQL Files to any folder.
15.) Click the expand tab "+" next to Databases, right click Database and select "Create New Database" the names of all 11 Databases are the same names as the PT SQL Files names. List:
Account_DB
AccountDB
BillingDB
BillingLogDB
ClanDb
GamelogDb
ItemLogDb
PCRoom
SoD2Db
SoDDb
It should look like
You must be registered to see links
when done.16.) After finished making all of the Databases (DB's) go back and right click Account_DB and select "New Query" like
You must be registered to see links
, once that is done open up the coresspending named Text file from the PT SQL Files folder.17.) Copy and paste the entire text files contents into the Query window and press "! Execute"
18.) Repeat steps 16 & 17 for all 11 Database's. When it asks you to save for all of the query's you can either pick yes or no, it makes no difference.
19.) When done check back on your DB's to make sure when expanded they look like
You must be registered to see links
Setting up ODBC or SQL.dll
This step is a little optional because you have a choice, either use ODBC or setup the SQL.dll properly, for this guide I will list the ODBC method, for the SQL.dll method I might make a guide later on, or look around the forums for it (Searching never hurt anyone)
20.) Click Start > Programs > Accessories > Administrative Tools > (ODBC)Data Source. (Administrative Tools can also be reached via the Control Panel)
21.) Choose the "DSN System" tab and then proceed to click "Add", scroll down to the very bottom and pick "
You must be registered to see links
" and then finish.22.) After finish is pressed a window should pop up asking for: Name, Description and SQL Server Name.
Name: c8master
Description: Whatever you want.
Name: The name of your SQL Server Instance (Should look like XXXXX\SQLEXPRESS)
(If you forget just open your Studio Manager and look at the server name)
23.) Click next twice until you reach
You must be registered to see links
, change the default Database to AccountDB (Not Account_DB theres a difference) and click next until done.Connecting to Your Server
24.) Create a registry file using this code (Use notepad):
24.) Create a registry file using this code (Use notepad):
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Triglow Pictures]
[HKEY_LOCAL_MACHINE\SOFTWARE\Triglow Pictures\PristonTale]
"Version"="3096"
"Account"=""
"CameraInvert"="false"
"CameraSight"="OFF"
"ColorBPP"="32"
"Graphic"="1"
"MicOption"="OFF"
"MotionBlur"="false"
"Network"="1"
"ScreenSize"="0"
"Server1"="xxx.xxx.xxx.xxx"<---your IP here
"Server2"="xxx.xxx.xxx.xxx"<---your IP here
"Server3"="xxx.xxx.xxx.xxx"<---your IP here
"ServerName"="Server Name"
"Sound"="On"
Make sure you change the IPs to your Lan/Wan IPs or the local host IP (127.0.0.1)
25.) Create a .bmp using this code (Use notepad to edit it)
Code:
A8ת $1@Qšy�
Attachments
You must be registered for see attachments list
Last edited by a moderator: