For beginners, Guide & serverfiles - Updated with Swedish Translation

swezid

New Member
For beginners, Guide & serverfiles

Before you're starting with this guide, please visit
this webpage.


The Downloading of the serverfiles.

The first thing to visit the downloading page.
Server_200 thread Here!

Please, read the "Readme" document inside Server_200. There are many updates. You can read about them in there.


How to set up your server files correct.


To start with, open xServer (or w/e you've named it). The first thing to edit is your Hotuk. I've made a little guide about it. And also what different things in the hotuk means and what stuffs you've to edit etc etc.


//*GAME_GUARD
*MODE SERVER
*SERVER_CODE local <--Your Server Name in here.
//*VERSION 1971 <--Your Clients/server.exe version in here.
*SERVER_AUTOPLAY
//*NOTICE_URL <-- Unknown.
*GAME_SERVER local 127.0.0.1 127.0.0.1 127.0.0.1 <--Your Server Name on the "local" and your IP on the 127.0.0.1.
//*AREA_SERVER 127.0.0.1 127.0.0.1 127.0.0.1 <--Your Server IP in here.
*LOGIN_SERVER_IP 127.0.0.1 <-- Your Server IP In here.
*SYSTEM_IP 127.0.0.1 <-- Your Server IP In here.
*ENABLE_CLAN
//*CLAN_SERVER 127.0.0.1 80 127.0.0.1 80 <-- Your Server IP In here, enable it if you have got a working clan system, remove the "//" then.
*TT_DATA_SERVER <-- Unknown.
*SERVER_LINK_IP <-- Unknown.

//Server Settings

*MAX_USERS 200 <--You can change this line if you know you've got a fast enough internet connection to keep the server going without DC's.
//*CRAZY_PACKET
*ENABLE_PARTYITEM
*PERMIT_MONEY 1000000000 ~Permit Money.
*PERMIT_EXP 1000000000 ~Permit Exp.
*ENABLE_SERVER_EXP 100000000 Enable Server Exp.
*ENABLE_PK 1 <--PK 1= PvP On, Disable PK 0= PvP Off.
*PK_FIELD 9 <--Choose a PK field, such as Navisko which is field 9.
You can have maximum 3 PK fields.
//*DISABLE_THROWITEM
*START_FIELD 3 <--Start field 3= Ricarten, change it to what do you want to. (numbers of the different maps, could be find in the GM command list.)
//*DISABLE_QUEST <--Disable player(s) to make their quests.
//*DISABLE_DEC_SKILLPOINT <--Disable player(s) to get skillpoints when they level up.
*SERVER_RECORD_MEM <--Server Record Mem is some logging function, Im not sure at all
//*CLIENT_CHECK_FUNC 1 <-- Client Check Func checks to make sure the client is same version as the server.

*BLOCK_LEVEL 1 <--= On, 0= Off - Im not sure what this one is good to, if someone know it, please make a post in this thread... You got credits for it.
//*DISCONNECT_ITEM_ERROR <--Disconnect Item error does nothing.
*CHECK_POTION_COUNT 10000 <-- Potion Count does nothing either.
*CLIENT_CHECK_PROCESS_TIME 30 <-- Client Check Process Time and are to do with server reconect time outs.

//*CLIENT_PROCESS_TIME_OUT <--Client Process Time Out are to do with server reconect time outs too.
*ENABLE_CLAN <--Enable the clan system here, 1= On, 0= Off, make your choice.
*RECORD_JOBCHANGER <--Unknown.
//*TEST_SERVER <--Unknown.


//Event's

*EVENT_EXPUP 100 <--Set your server Exp here, make sure you have edit the monsters Exp in your monster folder (you can also use exp_fixer, 10000=100 exp) in GameServer before changing this. 100 is like 1x in exp.
*EVENT_POTION 30 <--The amount of dropping potions, find out youself how much you are going to put it at. Im not sure myself lol.
*EVENT_BITMASK 32
*EVENT_BLESSCASTLE <--Leave this one, if you wont disable Bless Castle lol...Then do like // before the *.
*EVENT_SUMMER_CHICKEN
*EVENT_SANTAGOBLIN <--Enabling the Santa Goblings ingame ...Disable it and you cant spawn it ingame ingame.
*EVENT_GHOST <--Event Ghost is a boss and will just be able see to in the boss times.
Disable it if you dont want this boss to exist.
*EVENT_MOLLYWOLF <--Put // before this if you dont want Wanted Wolf to exist in your server.
*EVENT_MORIFSHELTOM <--This is Wanted Morif, disable him if you dont want him, or just let it be.
*EVENT_WHITEDAY <--Whiteday is Christmas Event.
*EVENT_VALENTINEDAY <--This is an event where you can find for example Candy harts and etc.
*EVENT_NINEFOX <--This is Praya, you can go to her and get something for your Tail and Nine amulet.
*EVENT_BABELHORN <--This is to make the babelguy gives you quests. If you find the right stuff you'll get something from him.. Disable it if you dont want it.
*EVENT_PUZZLE <-- This enable the puzzle event.. Like finding a part of a puzzle.
//*EVENT_BIRTHDAY <--This is about the gift, you can go to the Item Distribrutor, you have to start giftserver.exe in your serverfiles too.
//*EVENT_STARPOINT <--Unknown.
*EVENT_CRISTAL <--For example, if you are using an Iron Crysla will it become a Boss.
*EVENT_CHILD<-- Unknown.
*EVENT_DAMAGEOFF <--Damageoff is reduced damage event.
*EVENT_HARDCORE <--Unknown.
*EVENT_MANDOO <--Mandoo something to do with SoD, Im not sure.


//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 <--Makes a log of all gm commands used ingame.

//Admin Stuff

*DEBUG_ID Admin <-- Replace your ID with "Admin"
*DEBUG_ID USERID <--If you are getting more GM's, put their ID's in here.
You are also able to copy the *DEBUG_ID line too. To as many as you wish.

*ADMIN_IP 127.0.0.1 <--Your IP in here.
*ADMINISTRATOR_IP 127.0.0.1 Also your IP in here.
*ADMIN_LOGIN "Admin" <--For example, if a guy have got bugged items or unacceptable stuffs on his account, and wont remove it himself can you do it for him by using just one PW to login on every account ingame (choose it youself) - By the way, dont forget to check his ID before trying to get in on his account lol.
*ADMIN_NAME "Admin" <--When you got ingame you have to type a PW to become GM Level "1-3", In the shoutbox type: /:Admin "1-3" (Choose the Admin_Name youself.)

*ADMIN_COMMAND "1" <--This is what GM Power you are able to use. Change it to what do you want to. For example "xPT1"
*ADMIN_COMMAND "2" <-- "x"PT2.
*ADMIN_COMMAND "3" <-- "x"PT3.

When you're on your server type /:"x"PT1 - "x"PT3 in the shoutbox and you'll get a message back which says "Admin: "x"PT1, 2 or 3 - Activated. That message means you've got GM powers.

"x" = Your server name.

Thanks to Crawely. Helped me with the hotuk info.

Remember to save the edited hotuk. Press at ctrl+S to save it.





How to set up your server files correct.


Lets leave the Serverfiles part for a while. You have to create an ODBC Source you know. To get into the ODBC board click at start, controlpanel, Administrative tools and finally press at OBDC. (It should be in the top)
Go in there and then press at "System-DSN" then press at "Add".
Then scroll down to the bottom and choose SQL Server then press at "finish".
Then should it pop-up a window named "Create a new source to SQL Server"
If you look down a bit you'll see a line named "Name" type "c8master"
Let the description line be. At "Server" type: (****/SQLEXPRESS) - Your SQL Server name instead of the **** line. Then press at "Next"
Press at the one who not are filled. Then type "sa" which is the ID of SQL and your SQL Password. Then press at "Next". Then change from default to "AccountDb" Not "Account_Db" See picture here. Then keep pressing at "Next"til you can test your Data Source. To do that press at "Test Data Source" If you got like "Data Source success!" - or something like that. Is the ODBC Part completed. But if you got "Failed!" Im not very sure what to do actually :(. Well, lets return to the Serverfiles part. Actually there are no server.exe you can use in these serverfiles I belive. A server.exe is a program who makes the server start. It will be running til you exit the server.exe program.
Because of there are no server.exe you can start the server with, disregard the server4096.exe's. I shouldn't start my server with a server.exe like that. And it will not work anyway i guess. So, what you have to do is to download -KPT EndlessTower Update 2.2- by shagpub. You can download it here. And the mirror here. Put it into your serverfiles. Before starting it, read whole the guide first. There are stuffs missing so you won't get into your server yet!




Game Floder.

To connect to your server you need a gamefolder. A gamefolder can for example be the full patch of dPT, rPT,DBPT, cPT, etc etc. Actually you just have to edit a few things in the gamefolder. You have to edit three things.
1. ldata.
2. PtReg.
3. Registry file.

(1) To start with go into your gamefolder, then look for a folder named "image", go in there. Then look for a txt, or bmp file named "ldata". If the file are in bmp format, right click and go at "open as" - notepad. It lookslike this:

BMö 6 ( ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ ÿÿ*Graphic 1
*Network 3
*ColorBPP 32
*MotionBlur false
*CameraSight ON
*ScreenSize 1
*MicOption OFF
*Sound Off
*CameraInvert true
*Server1 ***.***.***
*Server2 ***.***.***
*Server3 ***.***.***
*ServerName Server Name.
*Version 1871
*TestVersion 1871

Change the "Server Name" to yours, and overwrite the "***.***.***" with your IP. Let the Version and the TestVersion be. You'll not need to change it til you update your server to a better version.

(2) If the PtReg (the PtReg file are as usual in tgx format, but im not sure) Anyway, if it is right click on it then "open, choose notepad" PtReg should looklike this:


"" ""
"Graphic" "2"
"ColorBPP" "32"
"Network" "3"
"CameraInvert" "false"
"MotionBlur" "false"
"CameraSight" "ON"
"ScreenSize" "0"
"Sound" "on"
"Server1" "***.***.***"
"Server2" "***.***.***"
"Server3" "***.***.***"
"Account" " "


Overwrite the "***.***.***" with your IP, thats all you have to do in here. Press ctrl+S to save.
If you got a client with window mode enabled on, remove everything in the PtReg file and type: Windomode "1"

(3) If you don't have a registry file already can you make one youself.
To start with open up notepad. Copy the text bellow and paste into your notpad:

Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Triglow Pictures\PristonTale]
[HKEY_LOCAL_MACHINE\SOFTWARE\Triglow Pictures\PristonTale]
"Graphic"="2"
"Network"="3"
"ScreenSize"="0"
"ColorBPP"="32"
"MotionBlur"="false"
"CameraSight"="ON"
"Sound"="On"
"CameraInvert"="false"
"MicOption"="OFF"
"Server1"="***.***.***"
"Server2"="***.***.***"
"Server3"="***.***.***"
"ServerName"="Server Name"


As part two, you just have to change the "Server Name" to yours and also overwrite the "***.***.***" with your IP.
When you're saving it, for example type "test.reg" - the .reg must be there to make it to a registry file. (I recommend you to save it in your gamefolder).
Then get into your gamefolder, search for the reg file, when you got it, double click on it. Then press at "Yes", and then at "Ok" - Then are you done.

You also need a client to get into your server. Usually peoples are using BloodPT's client because its neutral, it's not protected. So you can edit it in hex as much as you want (Like change the "Conn. to BPT" to your own loggo) etc etc. You can download BloodPT here.
Lets return to the server.exe part.
I suppose you already got an account created. If you don't I guess you can read about it in SiK's guide about SQL Server - or (RFT) Thread. (Both stickies).
Anyway, If you want to make you character to level 120, go into your serverfiles. Look for a program named "MakeAccUs" - type your ID, what your character's name will be, choose class and also level. (the cap level on this editor is 100).
You can download a level editor with cap level 120 here. - There are also other tools in this repack by Superman666 which could be helpfull too.
Now, extract the tools to your serverfiles. You'll see the level editor in the Tools folder (Remember to put everything out from the Tools folder out to the serverfiles). Then double click on the level editor. The level editor will give you and error, but dont worry it's noting to care about. It works antyway. Open up the editor and type your characters name and choose what level it should be at. Then are you done with that part of the story.
Now, just press the -KPT-Endless-Tower-Update-2.2-.exe and let the server start. When the server are running, go into your gamefolder then press at the BloodPT.exe - You will get Conn.Failed - That was mean to. Now go into the ODBC again, press at the "System-DSN", then "Configurations". At the first page, press at "Next". Stop where you are now, Fill a box named "With Windows NT-Verify, etc". Then just keep pressing til you can test your data source again which hopefully will be succeeded. Then get into your gamefolder and try again to get in. If you got Conn.failed again after like 5-10 secounds. If you're using a router I belive you've to open port # 10009 - and #80 which will make your clan sytem work. But im not sure about how to open ports, there are many different routers, you know. Im not using a rounter myself. Thats why I never learn about how to open ports either.

Oh, just a quickie one. I wouldn't use Windows Vista to run my server on. Of course it works fine too. But there will be more lags on your server then.
I should recommend you to use Windows Server 2003 (You cannot use Windows Server 2008 because its based on Windows Vista), or any version of Windows XP works fine to use too.

Well, thats it guys. Hope you like it!
And congratulations to you who make your server work! :)
And sorry for you who didn't :(

Orginally link.
(Ragezone link).
 
Top