I've been joining 2 forums relating pristontale servers and already seen so many noob questions that have been answered already in the same thread. So I decided to make this noob tutorial for how to set up your PristonTale private server after someone requested (thank you, hope this isn't a waste of time).
Getting the files.
The files you need are:
- Priston Tale binairies (executables)
- Cracked game.exe
- HotUK.ini
If you don't know where to get them, try to be
not lazy for a time and browse the forum for once.
Installing the server.
Once you downloaded the server files, extract them into a directory anywhere on your computer. For example, I'll use
"C:\Server\".
Once that is done, you go to the
config\ directory and open
Server.ini with any text editor (
NO MSWord or such an editor, notepad would do just fine.).
Look for the following:
Code:
Server Name=whatever is default here
Server Version=3032
NumSubServ=1
And change it into:
Code:
Server Name=DONKEYHEAD
Server Version=3032
NumSubServ=2
So you have 2 sub servers (one WAN and one LAN).
Below that you'll see "Name Subserver1", "IP Subserver1" and "Port Subserver1".
Change the values of that into the following:
Code:
Name SubServer1=WAN SERVER
Ip SubServer1=xx.xx.xx.xx
Port SubServer1=10006
Where xx.xx.xx.xx is your WAN IP (which can be found at
MYIP.NL : Zie uw IP adress en andere gegevens zoals zichtbaar op internet! for example).
Copy and paste those 3 lines you just edited just below "Port SubServer1" and change it into:
Code:
Name SubServer2=LAN SERVER
Ip SubServer2=xx.xx.xx.xx
Port SubServer2=10006
Where xx.xx.xx.xx is your LAN IP (which can be found at WIN+R, type in CMD and then IPCONFIG.).
Leave the clanserver local or lan.
Now that you've done that it's time to test. Save the file and run the .exe file in the server root. Start up the game and account server and go to your pristontale directory.
Playing on the server.
Once the server is installed and you are in your pristontale directory, make a backup copy of game.exe. (just copy and paste it). I usually rename it to
"official game.exe".
Then get your cracked game executable and (if it isn't already) rename it to game.exe.
Put it in your pristontale root folder along with the hotuk.ini.
IF YOU HAVE A FRESH INSTALL OF PRISTONTALE THEN GO TO AN OFFICIAL SERVER FIRST!!
Go to the
image/ folder and edit
ldata.bmp with any text editor.
The part you'll be interested in is, are the lines with "server", "servername" and "version".
Change it into the following:
Code:
*Server1 xx.xx.xx.xx
*Server2 xx.xx.xx.xx
*Server3 xx.xx.xx.xx
*ServerName Donkeyhead
*Version 3032
Where xx.xx.xx.xx is your LAN IP.
Now press WIN+R and type in
regedit.
Browse to:
[HKEY_LOCAL_MACHINE\SOFTWARE\Triglow Pictures\PristonTale].
It is important to backup your data, always remember that. So we are going to backup these values.
On the left of the register editor, right click on the
Triglow Pictures folder and click
"export".
Once you've done that it's time to edit the server, servername and version, just like you've done with the
"ldata.bmp" file.
If you've edited them, we're going to make another backup.
Same story, right-click and select export.
Name it something like "local PT server".
When you've done that, it's time to test the server. Doubleclick on the cracked
game.exe and wait for the gameguard popup to pop up.
When this pops up, it's important to click
CANCEL as soon as possible. If you don't do this you'll get disconnected after 30 seconds.
Inviting your friends into your server.
Now it's time to get some people on your server.
Gather the following files:
- The "local PT server" register backup.
- The "ldata.bmp" file.
- A cracked "game.exe".
Edit the register backup file with notepad or any such an editor and change the LAN IPs into you WAN IPs and save the file as
Donkeyhead.reg.
Do the same with the ldata.bmp.
Make a folder called "original/" and put the following in there:
- Original game.exe
- The original register export
- The original ldata.bmp file
Make a readme file with how to install all this, like the following:
Code:
Run the Donkeyhead.reg file and the put the ldata.bmp into your pristontale/image/ folder.
Then put the game.exe into your pristontale/ folder and double-click the game.exe.
If you want to play on the official servers again, do the same as above but then with the files in the original/ folder included in this zip/rar file.
And as you've guessed, make a archive (RAR/ZIP) with the files you've just gathered and send them to all your friends!
GM Commands.
There is a list of more GM commands around the forum so browse for them if you want.
I'll discuss the most important with you.
/spawn <monstername> - This will spawn a monster.
/make <item> {amount** - This will make the item where {amount** is optional.
/kill <monsterID> - This will kill the specified monster.
/expup <experience> - This will add the amount of experience to your current experience.
How to get more monsters.
Open up the
config/Monsters.ini file and just take a look at it.
If you want to add a new monster, copy the stuff from
[NAME] to
OverridePos=1 and paste it on the bottom of the file on a new line.
You can have the ID as 0 on all monsters. The only things you have to change is
[NAME] and
Filename=.
The name is kind of obvious, if you want to know the corresponding filename, go to the
"server/npc/" (which is the root for "Filename=") folder and look for your monster.
Note that you can use ANYTHING with the
.dat extention in the npc folder.
If you've done that, scroll up and
add a living. Just type "Living" with one number up than the previous one and give it the name you entered in
[NAME].
Also, add 1 to the LivingLoaded= value, so the server knows how many to load into the server.
Knowing the item IDs.
So, you want some items?
Open up
config/items.ini where the number behind ITEM is the ID of that item.
Simply type
make &H<item ID> in your chat in pristontale to spawn it.
If you want, you can edit the attributes and the name of that item in the items.ini. (That's why all the commas are there.).
Also, if you need gold, just type
/make gold {amount**.
HELP! My game crashed when I try to enter the server with my character.
Too bad, you'll have to
delete your account and make a new one.
This is because there's a bug. You can fix it but I'm not going to explain that here if you already need this tutorial to set up your server.
About the 30-Sec game crash
When double-clicking on the game.exe File, click
close when the gameguard pop-up pops up. This will prevent the game from crashing.
One final note.
When editing the monsters and items and such, you don't have to restart the server all the time. Just simply edit the files and save it while in-game.
Have fun.