-
At a roadblock
The server setup guides have been very helpful in getting me started in building my PT server. In doing the regustry changes suggested in the guides, are referencing entries that no longer exist. I believe that Subagames only requires the install paths
and nothing else. I need help in determining what I should do
as my next step. My client is at 3124.
-
Re: At a roadblock
Where did you find a server that will work with a Suba client?
It's possible to make one, but I don't know of any such release as yet. And in all honesty, we don't really want to be getting in trouble for stealing from Suba. Our sources have been developed from Korean beta files from a time when PT was a free, open beta pretty much everywhere. Not a commercial project. The fact that our clients and servers have most of the features that the current release versions have is a tribute to this community, and others like it around the world. Our development path is somewhat different to the official releases, and the way we achieve the same things that they have are sometimes quite different too.
You should not be working with, or even really looking at, official ePT clients... they won't help you set up a private server... they will only give you ideas for developing one.
Client registry entries, ptreg.rgx, IData.bmp, client hotuk.ini, hexing the IP at the end of the file etc. are completely dependent on the particular client you choose to use. The instructions are there because you doing something that doesn't help you, wont hurt either... there is no harm in setting these things, where missing one that your client uses will give you no end of grief with "Conn. failed" errors.
-
Re: At a roadblock
That ans cleared up something that has been bothering me...
My question now is where to find a client from this forum that I can use? I have been searching the everywhere in the PT developers area but no luck, I find a lot of game.exe's around, but they need a client to work with. I will continue searching the forums, maybe I get lucky.
-
Re: At a roadblock
Many servers come with game.exe, and for the most part, the exe is the client... the rest is simply artwork data. Meshes, textures, sprites and overlays.
The rest of the client files... well, you can take them from ePT, but you are better starting with the Korean 1871 Test version, and moving over some overlay images from ePT that have English text in the image.
These will simply be BMPs and TGAs, though they don't get thumbnails due to obfuscation.
-
Re: At a roadblock
The KPT client doesnt work for me. I went looking thru some ols backup CD's and found English EPT client ver 3000, this version has GG with Nprotect, so I may need to find a way to eliminate them from this client. PTReg and Hotuk also does not exist, i am sure I can use. The server i am using atm is FusionPT which seems to work. Thanks for your help.
-
Re: At a roadblock
KPT files definitely work with FusionPT & Fusion Repack Update.
You must delete the "XTrap" folder and any associated dlls in the game.exe folder... you must not use the launcher executable. You must replace the main executable with (for example) the QuantumFusion 1873 stickied by DarkKnightH20.
You must also look out for securities imposed by XP and Vista... Try copying the folder to your desktop, modifying and running it from there... Note... Copy, don't shortcut. (obviously, don't hardlink, softlink, junction, or set a Win7 virtual folder either... but you are far less likely to do those by mistake I think)
-
Re: At a roadblock
I have this QuantumFusion 1873 exe in the modified kpt test folder with all the english stuff copied in there as well, when I try to execute it nothing happens, unlike Bloodpt.exe which gives me the login screen and the infamous conn failed message. I know that I am close but the soloution evades me still. I did some exploring of the client.exe as well as the Sql.dll, in the client I found reference to the KPT websites url and some hardcoded ip addy's should I be concered about these? Sql.dll I removed the .1 from the ole reference in there.
Thanks for taking the time to help me out
After a few hours of trial and error I managed to get SGPT to connect with Fusiont
so the next step is registering accounts A little SQL script writing for me, PhP is good for websites but in my case its all localhost. Thought you would like to see the progress
-
Re: At a roadblock
The Quantum 1873 client will still use XTrap, if it's available in the folder. And if it is, it will quit instantly, as it fails the update check. (some kind of hash algo for the exe in XTrap). Other clients may be similarly linked to GameGuard or nProtect... which are not included in the Korean releases.
The urls you mention are for Clan and SoD information... They are not very important until you have your Sod ranking and Clan hosting up... Likewise sql.dll and clan.dll in the server folder is only for Clan and SoD.
The IP hard coded at the end of Quantums client replaces the one read from the registry entry for "Server1", you put your servers IP in that location, and then you don't have to mess with all the other registry fixes, ptreg.rgx, lData.bmp etc nonsense.
It also stops noobs who don't know what a hex editor is connecting to someone elses server with your client executable, which is a nightmare to tech-support them through when it happens.
There are details on how to create an account manually in SQL Management Studio... you can take that to any server side scripting you like. But there is a reasonably good example in ASP by Quantumfusion floating around many threads on this form.
I say reasonably good, because while it works well, I have some issues with the coding style.
For example:-
It is VB Script, but it doesn't say that it is, or that it isn't Java Script or anything... which can't be good for the poor server IMHO.
It uses "Alert" to say, "Yes, you are registered" or "No, that name is taken" etc. But alerts only really work well on IE, and many popup blockers block alerts too. They are kind of annoying.
But it's a great reference because it shows just exactly what needs to be done.
-
Re: At a roadblock
I manged to write a registry script qhich works for what I am doing. I dont intend to make this public in any way. My latest problem is trying to find the reason why the Fusion server crashes..I did remove that Daeth Knight from the monster folder as suggested by Sik, but i am still crashing on the server side
any suggestions or ideas? Would 619 be a better choice?
Thanks
-
Re: At a roadblock
hmm... well, I usually use 619, but others are struggling to find all the update downloads. I can tell you that the Kelvezu in 619 is not up to much. lol, I had to replace him... and if you have a Kel, disabling that might help you.
But I think I already said, turn off all the events in Hotuk and enable them one at a time to discover which on, or combination causes the problem.
-
Re: At a roadblock
Great idea to do the events single thread. My client is at 3124 atm and it looks liek it wants to connect to a server, This client I got from a post here by shagpub I believe, the xtrap is gone from it. I will start on 619. There are several server executables in the 619 folder, PinoyPT, 40*** 4096b etc. which should I startup?
-
Re: At a roadblock
Oh!... Well, I cut out a lot of stuff I considered junk. 619 is a conglomeration of lots of peoples server backups. Fact is each server executable is a modification of the original, but as different people have worked on the servers separately, some have higher level cap, some have higher damage cap, some have larger item table, some don't etc. etc.
I think the consensus is that, provided you get one with the right encryption algorithm for the client you use, if there are more than one that work, choose the one you like more.
In all likelihood, you will (sooner or later) want to modify the server executable to suit your self anyway. For example, you will have problems with drops, if your item table in your server and client are not the same, similarly if the Experience table embedded in each is not the same, then at a certain level you will start failing to Ding or getting the 99.9999% bug.
The important thing is to get a server that goes up, and stays up, and that your preferred client can connect to.
-
Re: At a roadblock
There is a lot more to this project then meets the eye...lol
the 4086 server stays up for me so that is not an issue atm.however here is a strange behavior from the 3124 client (shagpubs no-xtrap one) I changed every hard coded ip addy i found using IDA dissaembler I stepped thru the execution of the game exe to do this. when i bring up the client without a server runinig I press the LOGIN button and it tells me to enter an ID
I enter one and It says that it is invalid..conclusion for me is that the client is connecting to a server in order for me to get those messages. Is it possible for the game exe to use an encrytion/decrytion process to create this IP address..I am stumped on this one atm.
From all the posts that I have read thru, I get the notion that your a pretty good modder, somewhat like Sandurr who I got to know a little when he was hosting Rpt.
I appreciate your effort to guide me thru this stuff.
Thanks again
-
Re: At a roadblock
I didn't know there was a 3124 NoXTrap by shagpub, but his releases are usually good.
I would not use IDA to disassemble the client and manually change IP addresses in it... Olly maybe, but not IDA... this is down to your preference however, so if you are happy that the change is made, and permanent, that's all good.
I do, however, strongly recommend running a port spy (like TCPView) as this will show which applications are opening what ports to which IPs.
Run it on both the client and server machine (if they are not on the same machine) and check what port the client is using, and which IP it's calling out to.
You will have to run the game.exe in a window to be able to monitor it's internet access during login.
-
Re: At a roadblock
upload your client to check and help you ^_^
-
Re: At a roadblock
Thanks Trip'. Yes we can do that too... but it's nice to get the sense of achievement that you have managed it yourself, and now know exactly what's going on.
I also use RegMon and FileMon, also by Mark Rassanovich (like TCPView) and also hosted at Microsoft, now they own SysInternals. These will tell you what Registry entries the client is looking at, and what files it opens, or looks for... So you can see if it's looking for game.ini, or ptreg.rgx or hotuk.ini etc, and if it's looking for HKLM\Software\TriglowPictures\... or HKCU\Software\PristonTale\...
These are things that people often change in their clients code. :wink:
If you host a public (private) PT server, you find players often play on more than one Private PT server, or play your server and the official one. Moving where you store the IP reduces conflicts, so the players don't connect to your server with someone elses client, or someone elses server with your client.
-
Re: At a roadblock
Well I tried with jPT server and ePT Client 3126 to connect and it works. But with my own Server it doesnt work. I will try to compare jPT with my own Server mabye I will find a way to let ePT clients connect to my server. If I found a way i will share my information ^_^
Edit: To remove Xtrap from ePT Client
Offset: 005631F0
Any helps are welcome
Thanks Bobsobol and the other good user to keep the Priston Tale section updating ^_^ Very bad that the best PT Developments quited PT. Well let see what the future will bring us ^_^
Sorry for my bad english
-
Re: At a roadblock
I will grab those tools and monitor what is happening when I try and connect..
I only use ADA to dissasemble never to change data, I use Hex Workshop for that. Trip how did u manage to get 3126?? I can put my client on megaupload Ill post the link asap
http://www.megaupload.com/?d=I5FRHUFW appreciate the help!!
-
Re: At a roadblock
Also you just removed Xtrap from that client?
I uploaded 3126 check this theard :
http://forum.ragezone.com/f286/moder...-xtrap-590636/
-
Re: At a roadblock
My client was one from shagpub, I have already visited that thread of yours, I dont see a 3126 client. The only site that I can recall is that of subagames that updates the Ept clients
and as we all know they are down. FYI I am using the 619 server packsage and as far as I can tell it seems to be stable
-
Re: At a roadblock
Check back 3 days ago. Trip posted ePT 3126 client without XTrap. But it will be on port 10007 I think.
The client you uploaded, connects to whatever IP is specified in the ptreg.rgx file, on port 10007.
-
Re: At a roadblock
I am using 127.0.0.1 only and server 610,
ptreg.rgx points to the localhost
btw I found the 3126 client...thanks
-
Re: At a roadblock
Oh good. I could be being pedantic, if so please ignore me, but I don't think the settings in ptReg.rgx will translate DNS names. If you put
Code:
"Server1" "localhost"
"Server2" "localhost"
"Server3" "localhost"
I don't think that will work, because DNS is never queried, and it is actually your DNS client that returns 127.0.0.1 when "localhost" is queried. (On most OS, on windows it checks WINS information and that checks the "hosts" file in %systemroot%\system32\drivers\etc before it goes out on the network to find an address. Then it checks against your DNS server. And you can see that your "hosts" file does indeed list localhost as a WINS name for 127.0.0.1)
So what you actually need is
Code:
"Server1" "127.0.0.1"
"Server2" "127.0.0.1"
"Server3" "127.0.0.1"
If that was, in-fact, what you meant, I apologise, but I thought I should make it clear.
Which executable are you using in 619 Sacred server? As I believe most of them are set to port 10009, not 10007. And I presume 610 is a typo, and you meant 619, as you mentioned it before.
Specifically the ET2.2 server is 10009, which most people use some variant of these days, as they want to play Endless Tower. ^_^ PinoyPT I don't know so well. It's very small, like the original jPT server, and I notice it doesn't even contain the GFantesy section.
-
Re: At a roadblock
my life is full of typos..lol as far a 619 is concerned i was using them all, but I will stick with Endless Tower. my otreg.rgx has 127.0.0.1 not the dns. I am going to feel real stupid at the answer to this question...
If I use 127.0.0.1 do I need to forward the port 10007 in my router? I have the feeling that the answer is yes.
-
Re: At a roadblock
the port is up to the server-client that you are using but im pretty sure if you are using 127.0.0.1 mean, you are running the server and the client in the same acc so it doesnt matter