Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Guide]Guide for REAL newbies to setup a PT Server

Newbie Spellweaver
Joined
Apr 19, 2008
Messages
23
Reaction score
1
This is a guide created by me but most of the information is taken from the following person below:
DarkKnightH20
SiK
swezid​

Since there's some problem viewing the guide cuz of the local text code page. Here's a download for the full guide.
(Thanks to bobsobol :D)


The Things Needed To Setup a PT Server

1. ( For extracting things out from a Zip file )

2. ( Download SQLEXPR.EXE )( For accounts,data,login,clan Information and etc )

3.
( Download SQLServer2005_SSMSEE.msi )( Used to manipulate SQL much easier )

4.
If your running the server off of Windows XP ensure you have installed.

5.
( Game Client, it is alright if you download it slow about 1.5hrs but you may use a download manager also )

6.
View attachment 46308 KPT Client no Xtrap(By Nickette)( It has xtrap removed, as well as many translations. Add that exe to your KPT client. )

7.

( This is the PT server files,by Superman,MUST download both of it FIRST then use WinRar( mentioned in 1.) to extract it out. )

8.
(It is pretty much a patch for the Fusion Repack. It technically isn't a patch (as it was released as a repack itself), but it doesn't really matter. Drag all the files over to your Fusion Repack. )

9. ( Download this file, extract it and copy the folder called Monster inside "Monster_1203376617" to your Server files. It fixes some glitches. )

10.
( A update for the server files for more new feature )

Tips: The clan files are already inside the server files, so do not download another clan files from other people as it may cause some permanent damages to the server( I think so. )

End of Download Section​



Steps Of Making The Server​

1) Start the install for the MsSQL Server 2005 Express Edition, continue pressing the next button until you reach the Features screen.

2) Click Client Components like in this and select "Entire Feature will be installed on local hard drive"

3)Continue pressing next until the screen prompting you to decide between "SQL Server Authentication" or "Windows Authentication".

4) Choose SQL Server Authentication and choose a GOOD password and RIGHT IT DOWN you WILL NEED TO KNOW this password later.

5) Continue pressing next until the installer is finished.

6) Find the MsSQL Server Managment Studio installer you downloaded earlier, JUST double click it and it will pop up as a installer.Just press next until the installer is done, no need to change any settings.

7) Now Go to your start menu and run SQL Server Management.
( Start > All Programs >Microsoft SQL Server 2005 > SQL Server Management Studio Express)

8) You will come to this screen, , don't touch the login name. Enter the password that you made at Step 4 in Steps Of Making The Server Section. Press connect and you will arrive at this screen,

9) Go to FusionPTRepack( Server files ) > FusionPTRepack > Fusion_Dev_Repack_kpt_1871 > FusionPT > script( Dont close, needed in Step 11 )

10) Now click the expand tab "+" next to Databases, right click Database and select "New Database", Now you need to create database one by one, so be patient. After selecting "New Database", you will arrive at this screen, ,Set initial size 3mb and name the 11 databases that you need to create,the followings below:

Account_DB
AccountDB
BillingDB
BillingLogDB
ClanDb
GamelogDb
ItemLogDb
PCRoom
SoD2Db
SoDDb

when you are done, it will looks like this,

11) Now right-click Account_DB and select "New Query" like this, , now go to "script" folder( In Step 9 ), and open Account_DB with notepad,COPY EVERYTHING and paste it inside and press "!" to save. Do everything the same for each Database in the SQL.

12) Now copy everything inside [Ultimate Release]KPT Server Update( Found in Step 10 in The Things Needed To Setup a PT Server section) and paste it inside your server file folder, it will ask to replace, just click "Yes to all".


Setting up ODBC​

1.Click Start( Bottom Left-hand side ) > Control Panel > Administrative Tools > Data Sources (ODBC)

2. Now choose the "System DSN" tab, after that, click "Add", then scroll down to the very bottom and select "SQL Server" and then press "Finish".

3.After pressing "Finish", a window will pop out asking for Name, Description and SQL Server Name. You should put the followings below.

Name:c8master

Description: Leave it blank( I set it as blank ) or type whatever you want.

SQL Server Name: You can find it at the "Server Name" when you open your SQL Server Manager Studio BEFORE

4. Click "Next" twice until you reach this page, , change the default Database to AccountDB (Not Account_DB theres a difference) and click next until done.

Connecting to your server​

1) Find the installer called "PsTale(Test_1871)" and open it, you maybe can see text made up of "?", just click the RIGHT button found at the bottom of the window( Left side is Cancel and Right side is Next, I knew this because i installed alots of stuff and remember that always the "Next" button is the Right side )

2) Click the RIGHT button or you may called it "Next" until you finished loading it.( Sorry i can't post a image because i already delete the installer )

3) Now go to "TriglowPictures"( Game Folder ), open it until you can see LOTS of stuff( char,cSlecct,field and etc ), Copy the files inside the Monster_1203376617 and KPT1871 No Xtrap( Found in Step 9 and 6 in The Things Needed To Setup a PT Server section ) and paste it inside your game folder, it will ask to replace, just click "Yes to All".

4) Open PsTale(test).exe( In your game folder ) and select the first option, then you will proceed to other page and select the first option. Now a window is poped out, showing that the game folder is currently updating.

5) After updating, right click anywhere and select "New Text Document", now close the window and open it again with NOTEPAD, copy everything in the following below into your new text document.

Code:
BMö6(ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ*Graphic 1
*Network 3
*ColorBPP 32
*MotionBlur false
*CameraSight ON
*ScreenSize 1
*MicOption OFF
*Sound Off
*CameraInvert true
*Server1 YOUR SERVER'S IP
*Server2 YOUR SERVER'S IP
*Server3 YOUR SERVER'S IP
*ServerName SERVER NAME
*Version 3096
*TestVersion 0
and select "Save As", rename the text document to Idata.bmp

6) Find a text document called "ptReg.rgx" in your game client, then open it with notepad, save the following into "ptReg.rgx"(Override everything)
Code:
"Graphic" "0"
"Network" "0"
"ColorBPP" "32"
"ScreenSize" "0"
"WindowMode" "1"
"CameraInvert" "false"
"MotionBlur" "false"
"CameraSight" "OFF"
"Sound" "on"
"Server1" "127.0.0.1"
"Server2" "127.0.0.1"
"Server3" "127.0.0.1"
"Account" " "
"TestVersion" "1872"
"MicOption" "OFF"
7) Open the file called "Hotuk" in you game folder with notepad and save the following into it(Override everything)
Code:
*MODE WINDOW
MFC40.DLL Copyright-2002 /0
#Copyright-2002 Copyright-2002 Copyright-2002 ^^
#¸Á»ç¶Ë²¿ÆÒƼ¼Ó±ôÀå°³¹Ì ¸Á»ç¶Ë²¿ÆÒƼ¼Ó±ôÀå°³¹Ì ¸Á»ç¶Ë²¿ÆÒƼ¼Ó±ôÀå°³¹Ì ^^
*MODE WINDOW
*È*¸é¸ðµå ¼*¹ö¸ðµå
//english admin mode
MFC40.DLL Copyright-2002 /0
//japanese
ÇÎÅ©»ö ¸Á»ç¶Ë²¿ÆÒƼ¼Ó±ôÀå°³¹Ì /0
//korean
(¿ÕÃʺ¸°¡À̵å) Æ÷Àå´ÜüÁÖ¹®È¯¿µ /0
//ÇÎÅ©»ö ¸Á»ç¶Ë²¿ÆÒƼ¼Ó±ôÀå°³¹Ì /0

#*¹è°æÈ*¸é
#*¸Þ´ºÈ*¸é
#*PLAYERSKIN
#*³ª»Û³ð
#*ÁöÇü¸ðµ¨
#*ÁöÇü¹°Ã¼
#*¹è°æ¹à±â
#*¹è°æ¼±¸íµµ
#*Á¶¸í°¢µµ
#*¼*¹öÁÖ¼Ò
#*¼*¹öÆ÷Æ®
#*È*¸éÇ°Áú
#*°üÂûÀÚ¸ðµå
#*µ¥ÀÌŸ¼*¹öÁÖ¼Ò
#*µ¥ÀÌŸ¼*¹öÆ÷Æ®
#*ij¸¯Åͼ*¹öÁÖ¼Ò
#*ij¸¯Åͼ*¹öÆ÷Æ®
8) Now go to your server files, open the text document called "Hotuk" with notepad, save the following below into it(Override everything)
Code:
//Server IP and Name
//Hotuk.ini assembled by Superman666 aka Ryder
//Credits to Sik and Crackaddict also for me using his post on RFT for some of these command line

//*GAME_GUARD
*MODE SERVER
*SERVER_CODE Local
//*VERSION 3096
*SERVER_AUTOPLAY
//*NOTICE_URL
*GAME_SERVER YourPTName 127.0.0.1 127.0.0.1 127.0.0.1
//*AREA_SERVER 127.0.0.1 127.0.0.1 127.0.0.1
*LOGIN_SERVER_IP 127.0.0.1
*SYSTEM_IP 127.0.0.1
*ENABLE_CLAN
*CLAN_SERVER 127.0.0.1 80 127.0.0.1 80
*TT_DATA_SERVER
*SERVER_LINK_IP

//Server Settings

*MAX_USERS 200
//*CRAZY_PACKET
*ENABLE_PARTYITEM
*PERMIT_MONEY 1000000000
*PERMIT_EXP 1000000000
*ENABLE_SERVER_EXP 100000000
*ENABLE_PK 1
*PK_FIELD 9
//*DISABLE_THROWITEM
*START_FIELD 3
//*DISABLE_QUEST
//*DISABLE_DEC_SKILLPOINT
*SERVER_RECORD_MEM
//*CLIENT_CHECK_FUNC 1
*BLOCK_LEVEL 1
//*DISCONNECT_ITEM_ERROR
*CHECK_POTION_COUNT 10000
*CLIENT_CHECK_PROCESS_TIME 30
//*CLIENT_PROCESS_TIME_OUT
*ENABLE_CLAN
*RECORD_JOBCHANGER
//*TEST_SERVER


Event's

*EVENT_EXPUP 9000
*EVENT_POTION 30
*EVENT_BITMASK 32
*EVENT_BLESSCASTLE
*EVENT_SUMMER_CHICKEN
*EVENT_SANTAGOBLIN
*EVENT_GHOST
*EVENT_MOLLYWOLF
*EVENT_MORIFSHELTOM
*EVENT_WHITEDAY
*EVENT_VALENTINEDAY
*EVENT_NINEFOX
*EVENT_BABELHORN
*EVENT_PUZZLE
//*EVENT_BIRTHDAY
//*EVENT_STARPOINT
*EVENT_CRISTAL
*EVENT_CHILD
*EVENT_DAMAGEOFF
*EVENT_HARDCORE
*EVENT_MANDOO

//Server Protection 127.0.0.1

*CONNECT_CLIENT_CODE -869703011
*CL_PROTECT
//*DISCONNECT_CLIENT_BADCODE
//*CLSAFE_CODE 100
//*DISCONNECT_CLSAFE_CODE

//Database Backup DIR

*BACKUP_FOLDER_NAME "c:\databasebackup"
*BACKUP_PATH "c:\databasebackup"

// [ Admin Stuff ]

*REC_ADMIN_CMD 

//Admin Stuff 

*DEBUG_ID Admin
//*DEBUG_ID USERID

*ADMIN_IP 127.0.0.1
*ADMINISTRATOR_IP 127.0.0.1
*ADMIN_LOGIN "admin"
*ADMIN_NAME "admin"

*ADMIN_COMMAND "1"
*ADMIN_COMMAND "2"
*ADMIN_COMMAND "3"
Tips: Go create a account, user: admin pw: admin then you have a GM account( I already set the name of Admin account in the hotuk )

Creating A Account Manually​

To create an account go in your SQL Database
expand databases/accountdb/tables here u can see a lot of tables,the table you have to use is the dbo.*GameUser * is the first letter of the account ID (A for an account begining by A,B for B,...)
Open the table by right-clicking it and select open, you will have to fill some informations into the table( Do not touch the NULLS, just follow the information below ):

Userid:account id
Passwd:password
Gamecode:0
Gpcode:0
RegistDay:1/1/1900
DisuseDay:1/1/2100
Useperiod :30
inuse:0
Grade:0
EventChk:0
Blokck:0
Specialchk:0
ServerName:Your server name
Credit:0
Ecoin:0
StartDay:1/1/1900
EndDay:1/1/2100
EditDay:NULL
Rno:0
DelChk:0
Channel:0
Bnum:0
MXServer:0
MxChar:0
MXType:NULL
Be Careful, Don't use enter to pass to next step,only use enter at the last data [SIZE=-1]Taken from draco13[/SIZE]

Making the server go online!​

1.Go to your server files, search for a file called "-KPT-Endless-Tower-Update-V2.2", open it and a window will pop out, you will have to wait quite long until it is fully loaded.( It is a program to on your
server but ONLY JUST use "-KPT-Endless-Tower-Update-V2.2" )

2. Now go to the game folder and open "KPT1871(No Xtrap)" and you are in-game!(If the server crashed and you cant login, Go to the "-KPT-Endless-Tower-Update-V2.2" window and select file > reload config.

Tip: if you still cannot log in, make sure that you edited "ptreg" and "Idata".

Try deleting SQL.dll in your server files if still get Conn.failed

FAQ​

Q:I did everything but why i still get Conn.failled?
A:Make sure you edits "ptreg" and "Idata" or try deleting SQL.dll
----------------------------------------------------------------
Q: Why does my server crash every hour on the dot?
A: Remove daeth_night.ini from your monster folder. Also may be a lack of ram.
----------------------------------------------------------------
Q:What are the GM Commands
A: in the 2nd post( Most dont work for me )
----------------------------------------------------------------

End of guide!

Resources

This are the resources that i took the information( Actually they are guides too )






This is for really newbies to create their server, i was like that too!
If there are anything wrong, please post your comments
Mod can you please sticky this?

Hotkicker is totally different person, just that he is my BIGGER brother, so all the while, i was using his acc, so now i create myself a new one!

[M]--- EDIT by bobsobol---[/M]​

I wouldn't normally alter other peoples guides, but I had to fix this one after RZ moved to Frantech and lost half the post when the CP-1252 database was converted to Unicode.

Only copy and paste the code used in this guide if your systems default code page is CP-1252.

That's "Windows Western European" in human speak, and covers most of the South West of Europe and many, but not all, American Nations. I don't believe it is the default for most Northern or Eastern European Countries. (certainly not Poland or Greece) But see if you can't check and find out. :wink:

seems like a good reference.
 
Last edited by a moderator:
Divine Celestial
Joined
Feb 26, 2007
Messages
801
Reaction score
8
1st.

Well, its kinda unnecessary to make a guide about the SQL - and the Serverfiles part, cause they are already exist.. I cant find the point with making another guide, there is already too many of them.
If you should do this guide for like 3-4 month ago should it be nice, but I dont think you got this pinned, sorry...
And in the top of your guide is it exactly like SiK's and some parts of my guide.. So I really dont find a good reason to make this guide, im sorry bud... Nice try anyway.

---------------------------------------------------------------------
2nd.

Btw, the very last thing to do is to delete the SQL.dll -It makes the server unstable, so if you delete it will you got pretty much server lags, reconnect server(main) and probably get DC(4) - It will work without the SQL.dll if you dont: Got a good PC.
If you are using Hamachi as connecting wont you not need to use the SQL.dll - (I should not use Hamachi - Its just a tip.)
 
Newbie Spellweaver
Joined
Sep 16, 2007
Messages
33
Reaction score
0
good guides sir, but how do u add the the following;
AccountDB
BillingDB
BillingLogDB
ClanDb
GamelogDb
ItemLogDb
PCRoom
SoD2Db
SoDDb
to sql if u can't script anything?
hoping for soon reply....
 
Newbie Spellweaver
Joined
Apr 19, 2008
Messages
23
Reaction score
1
9) Go to FusionPTRepack( Server files ) > FusionPTRepack > Fusion_Dev_Repack_kpt_1871 > FusionPT > script( Dont close, needed in Step 11 )

10) Now click the expand tab "+" next to Databases, right click Database and select "New Database", Now you need to create database one by one, so be patient. After selecting "New Database", you will arrive at this screen,Picture!,Set initial size 3mb and name the 11 databases that you need to create,the followings below:

Account_DB
AccountDB
BillingDB
BillingLogDB
ClanDb
GamelogDb
ItemLogDb
PCRoom
SoD2Db
SoDDb
 
Divine Celestial
Joined
Feb 26, 2007
Messages
801
Reaction score
8
Why did you make this guide? there are already alot of them... watch this
" This is a guide created by me but most of the information is taken from the following person below:
DarkKnightH20
SiK
swezid"

Whats the point with making another one, how to setup the SQL server, and also how -and where to download the serverfiles, I really dont find any good reason to make a 3rd guide... Lol.
I dont understand why this guide would be pinned (If it will)
Is it cause you want attention... or something like that?
Anyway, nice stolen guide :)
 
Last edited:
Newbie Spellweaver
Joined
Apr 30, 2004
Messages
34
Reaction score
0
swezid said:
Why did you make this guide? there are already alot of them... watch this
" This is a guide created by me but most of the information is taken from the following person below:
DarkKnightH20
SiK
swezid"

Whats the point with making another one, how to setup the SQL server, and also how -and where to download the serverfiles, I really dont find any good reason to make a 3rd guide... Lol.
I dont understand why this guide would be pinned (If it will)
Is it cause you want attention... or something like that?
Anyway, nice stolen guide :)

all the links work so for me, this is the best guide there is...unlike the following post Here

Thanks dude
 
Newbie Spellweaver
Joined
Sep 19, 2006
Messages
27
Reaction score
0
anyone can upload the file monster file elsewhere? I can not download THX
 
Divine Celestial
Joined
Feb 26, 2007
Messages
801
Reaction score
8
WiseWarrior, i ment that there are already alot of guides... I did one and it works perfectly for the 8.8k ppls who have got their server works cause of my guide (or the most of them) then dont I find any good reason to make another one. Its just so ...damn I dont like it anyway............
 
Divine Celestial
Joined
Feb 26, 2007
Messages
801
Reaction score
8
hotkicker125 are u ignore what im saying :O?
 
Newbie Spellweaver
Joined
Apr 19, 2008
Messages
23
Reaction score
1
Swezid, i know that i am pissing you out, but i really dont want to argue with you, i post this guide because i know that those guide that has sticky, keep saying "If you can't understand, please give up on making a pt server" or something like that, so i been through alot of trouble, i kept asking and asking until darknight help me. So i wish those people who has failed to make a pt server regain their confidence in making a pt server again.
 
Newbie Spellweaver
Joined
Sep 19, 2006
Messages
27
Reaction score
0
i can create character but. when I go to play gives me dc why?
 
Divine Celestial
Joined
Feb 26, 2007
Messages
801
Reaction score
8
make sure u got a gm hotuk in ur gamefolder.
 
Newbie Spellweaver
Joined
Sep 19, 2006
Messages
27
Reaction score
0
make sure u got a gm hotuk in ur gamefolder.

yes i have this hotuk in me gamefolder

*MODE WINDOW
MFC40.DLL Copyright-2002 /0
#Copyright-2002 Copyright-2002 Copyright-2002 ^^
#
 
Newbie Spellweaver
Joined
Apr 19, 2008
Messages
23
Reaction score
1
Defacer, i got the same prob too, you gotta to create a account, User:admin, Password:admin

Then go to your server files, open the hotuk and scroll down.

Make sure the Admin section is like this

Code:
//Admin Stuff 

*DEBUG_ID Admin
//*DEBUG_ID USERID

*ADMIN_IP 127.0.0.1
*ADMINISTRATOR_IP 127.0.0.1
*ADMIN_LOGIN "Admin"
*ADMIN_NAME "Admin"

*ADMIN_COMMAND "1"
*ADMIN_COMMAND "2"
*ADMIN_COMMAND "3"

Then when you log into your server, use the account that you created, username:admin and the password:admin, this should work.
 
Divine Celestial
Joined
Feb 26, 2007
Messages
801
Reaction score
8
Lol? It dont have to be "admin" it can be what ever he want it to be, like haha1-3
Make sure you have change all your IP's. Take those files and put them where i tell you to bellow:
the image folder, put it into your gamefolder and press at "yes to all"
Before you leave the image folder right click on the ldata file and then edit.
Change the "xxx.xxx.xxx" to your IP and the xPT to your PT's name.
You also have to right click on the xPT registry file which is in the "do like this" folder. So get out from the image folder. Right click on it and then edit.
You have to change the "xxx.xxx.xxx" to your IP and the same with your PT's name which is xPT.
Get in a folder named "Serverfiles Hotuk" edit the hotuk. (Remember, remove my text in there when you're done with editing it).
At last, put the hotuk.ini in the main folder to your gamefolder, press at "yes to all"

Btw, try to put this: http://forum.ragezone.com/attachments/f286/45805d1192629655-few-questions-bloodpt.rar
game.exe in your gamefolder. Replace it with your old one.
Make sure you're using -EndlessTower v2.2-.exe to start your server with. If you dont can you download it here from:
mirror:

One more thing, make sure you have put in the char and the field folder from your gamefolder to your serverfiles and make also sure that you have open port 10007 on your router (and also port 80 for your clan system).


As gamefolder can you use IronPT's gamefolder, then dont you need to use kPT and dPT's old version which was 1871. You can find it by: - search for IronPT and take the one which is in the top of the page. Then press at downloads and download the 1st one in the top of the site.

Hope you got enough help. Hope you got it work tho :)
 
Initiate Mage
Joined
Oct 6, 2007
Messages
2
Reaction score
0
Connecting to your server​


1) Find the installer called "PsTale(Test_1871)" and open it, you maybe can see text made up of "?", just click the RIGHT button found at the bottom of the window( Left side is Cancel and Right side is Next, I knew this because i installed alots of stuff and remember that always the "Next" button is the Right side )

2) Click the RIGHT button or you may called it "Next" until you finished loading it.( Sorry i can't post a image because i already delete the installer )

3) Now go to "TriglowPictures"( Game Folder ), open it until you can see LOTS of stuff( char,cSlecct,field and etc ), Copy the files inside the Monster_1203376617 and KPT1871 No Xtrap( Found in Step 9 and 6 in The Things Needed To Setup a PT Server section ) and paste it inside your game folder, it will ask to replace, just click "Yes to All".

4) Open PsTale(test).exe( In your game folder ) and select the first option, then you will proceed to other page and select the first option. Now a window is poped out, showing that the game folder is currently updating.

5) After updating, right click anywhere and select "New Text Document", now close the window and open it again with NOTEPAD, copy everything in the following below into your new text document.

I'm having problems with step 3/4 here, first of all I don't get a message asking to replace the old files when I do step 3, and with step 4 when I start the exe the normal PT screen comes up(it's unresponsive btw) and then closes down,
It also creates(or edits) the items: psupdate(test).patch.exe, _update.inf and Update.tmp in the game folder, I don't get any other screens after that. When I go into task manager i see a process called psupdate(test).patch.exe running, but its not doing anything. I've let it run for awhile and a popupscreen comes with some random symbols.
All the other steps work like you said thou, so i'm not sure whats wrong.
Anyway thanks for the guide, hope you can help me along abit more ^^.
 
Back
Top