Write Field

Could be both wrong:
kPT clients: port 10009, kPT cryption
jPT clients: port 10006, jPT cryption

br, eng, any other... different ports and cryptions, but they are also very bad clients. Messy buggy and no admin mode.
I prefer test kPT.

You can see what ports client/server using with TCPView.
If they using same port than problem might be in protocols.

Best option is to pair kPT client with jPT server (we don't have any other) by changing ports/cryption on server or client side.
 
Development DLLs don't have or need encrypting... that would be silly. XD I've mentioned the possibility in posts about using DLLs instead of hacking extra sections into the main .exe because the main arguments against doing that when I first proposed it where that other servers could steal your custom code just by taking your DLL, and that hackers could replace your DLL to inject cheats. (If you encrypt client DLLs and Game.exe, and checksum any injected DLLs you should actually be better off than not using any DLLs, and most clients import HanDes.dll anyway... but that's all only for Pservers releasing clients to users anyway.)

I've attached an old server that was released as KPT Clean server, but I've not tested it extensively. Seems to be a Frogg server with some GFantasy/QuantumFusion stuff, including maps and KPT packet encoding routines.

Readme Quote:-
This Kpt server is cleanned :
no added mix, all map usable

I] put KptServerClean.exe in PT root path of the server

II]put hotuk.ini in the same place

III]Change thoose lines for ur info :

Server Part :

*SERVER_NAME FroggPT (change the name for your server name)

*GAME_SERVER FroggPT 127.0.0.1 127.0.0.1 127.0.0.1 (with ur ip, put ur local Ip for play in lan, Inet ip for host game on Inet)

*CLAN_SERVER 127.0.0.1 80 127.0.0.1 80 (more info in ClanFiles.rar)

Admin part :

*DEBUG_ID adminLogin1
*DEBUG_ID adminLogin2
*DEBUG_ID adminLogin3
*DEBUG_ID adminLogin4

*DEBUG_IP 192.168.0.12
*DEBUG_IP 192.168.0.13

*DEBUG_IP 192.168.0.14
*DEBUG_IP 192.168.0.15

*ADMIN_IP 192.168.0.12 (this is the super admin ip)
*ADMINISTRATOR_IP 192.168.0.12 (this is the super admin ip)

*ADMIN_LOGIN "adminLogin1"
*ADMIN_NAME "adminChar" (here is the name to get admin stuff)
*ADMIN_COMMAND "passRk1"
*ADMIN_COMMAND "passRk2"
*ADMIN_COMMAND "passRk3" (here is the pass to get admin stuff rank 3)

to get admin u must log with admin client and type :
~/;adminChar passRk3
for every one you want to get rank3​
More info that you need, and it's in the archive, but may help you decide if it's worth the massive 880k download. XD
 

Attachments

thanks bob ill take a look into that now, with that all protocols are in place for use with kpt clients? all i need to do is change the ports?

i think my problem is my compiling dlls. compiler settings may not be right.
 
ya, i got that file in there. I think its the server im using or the way ive tried to implement it thats the problem. does /field 61 work also? would it be possible for you to upload a copy of the server.exe that you applied it to so i can try and add it in and see if it works?
 
I send you my server/client before this message =P
I forgot to tell you to change IPs.

PT and my dll counting fields from 0, 61 is dummy field that prevent crashing when you "fall from cliff" on last field.

60 is last field, fields 45-60 are pre aor maps.
You need to download my map pack from write field thread.
 
i got the map pack :) i added boat on field 61. could be cool for a quest? you know anything about how quests are stored? i assume with dll injection you can add quests too? btw thanks for files bro, i appreciate it. imma try understand how it all works now. and get trying to add in new xp table dll.
 
I don't, on client in ptReg.rgx change:
"Server1" "192.168.56.102"
"Server2" "192.168.56.102"
"Server3" "192.168.56.102"

to your IP or if you have client and server on same machine than make it 127.0.0.1

on server in hotuk.ini:
*GAME_SERVER PristonTale 192.168.56.102 192.168.56.102 192.168.56.102


also password to your database will be different than mine,
mine is 123456 so you can change all 123456 to your pass in SQL.dll (be sure you are not adding anything, just replace)

also you should add this to reg (32bit machine):

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\PristonTale]

[HKEY_LOCAL_MACHINE\SOFTWARE\PristonTale\GameServer]
"ServerName"="PristonTale"
"server1"="server1"
"LogPath"="C:\\MyPTServer\\Log"
"AccountDbIP"="PT\\SQLEXPRESS"
"AccountDbID"="sa"
"AccountDbPwd"="123456"
"AccountDbName"="AccountDB"
"BillingDbIP"="PT\\SQLEXPRESS"
"BillingDbID"="sa"
"BillingDbPwd"="123456"
"BillingDbName"="BillingDB"
"BillingLogDbIP"="PT\\SQLEXPRESS"
"BillingLogDbID"="sa"
"BillingLogDbPwd"="123456"
"BillingLogDbName"="BillingLogDB"
"rootDbIP"="PT\\SQLEXPRESS"
"rootDbID"="sa"
"rootDbPwd"="123456"
"rootDbName"="rootDB"
"LogDbIP"="PT\\SQLEXPRESS"
"LogDbID"="sa"
"LogDbPwd"="123456"
"LogDbName"="GameLogDB"
"PCDbIP"="PT\\SQLEXPRESS"
"PCDbID"="sa"
"PCDbPwd"="123456"
"PCDbName"="PCRoom"
"PCCheck"="1"
"CountryCheck"="1"
"PCLogDbIP"="PT\\SQLEXPRESS"
"PCLogDbID"="sa"
"PCLogDbPwd"="123456"
"PCLogDbName"="PCRoomLog"
"ITEMLogDbIP"="PT\\SQLEXPRESS"
"ITEMLogDbID"="sa"
"ITEMLogDbPwd"="123456"
"ITEMLogDbName"="ITEMLogDB"
"SODDbIP"="PT\\SQLEXPRESS"
"SODDbID"="sa"
"SODDbPwd"="123456"
"SODDbName"="Sod2DB"
"SOD2DbIP"="PT\\SQLEXPRESS"
"SOD2DbID"="sa"
"SOD2DbPwd"="123456"
"SOD2DbName"="Sod2DB"
"PCChk"="1"
"SelectChk"="1"
"EventChk"="1"
"BlockChk"="1"
"DelChk"="1"
"PCbang Pccheck"="1"

change PT\\SQLEXPRESS and password.

You can also post your logs in server folder, they telling you what's wrong when you connecting.
 
ty ty bro. i changed all ips and stuff, it was the sql.dll i forgot to change haha. changed now. game is crashing at char select screen now tho, i assume thats because im using ept files?
 
Probably because of ePT files in it, you might be missing some Customize Look files too.
Or my calls need to be fixed. I'm calling dll a bit different way, so I don't damage import table.

00434692 CALL composeLook
004345E5 CALL getItems
0043D1D4 CALL writeClientField

on server:
0043C654 & 0054F765 CALL writeServerField

You might want to import function in those dll with CFF explorer and call them by name.
 
ill look into that, thanks mate :)

any idea where i can get kpt test?


got some programming work to do in c# justnow for university.

Ill get back to ya and let ya know how i get on when im done mate.


Thanks for all your help, youve been great :)
 
Last edited:
Back