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]Disabling the need for XTrap in a Priston Tale Client (Video)

Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
[SIZE=+2]Disabling the need for XTrap in a Priston Tale Client[/SIZE]

[highlight]NOTE:[/highlight] This guide is the common, simple method. Some newer clients, in some languages are more secure. [highlight]This is intended as a first step to connecting to ***your own server***![/highlight] It is not meant to help you modify a client on anyone else's server. (aside from anything else, the server should detect the client change from the signature it is locked to, and would prevent this... unless you control the server :wink:)

I don't like them my self, but I'm bored of people asking how to achieve this very simple task. So I'm presenting a Video Tutorial on disabling the need for XTrap in a PT Client.

Note: This is only the most simple means of disabling it in the most simple of clients. Newer Brazilian and English clients, as well as many of the Vietnamese clients are much better at blocking this simple hack, and need a lot more Reverse Engineering skill to achieve success... but that's the basic principal.

I hope you enjoy. (please don't laugh and the voice of the silly Englishman and his crappy Mic)

Many thanks and credits to DarkKnightH20 and Gregoory (and others who left information here before I became active) who helped me get a proper understanding of how to do this with any client when there was a proliferation of "hex edits" documented only for specific clients.
The problem with hex edits is of course that each build of the client and many of the edits we make when developing a client for a Private Server change the offsets. There is very little you can do to "search for" the correct area to edit from your hex editor, and you really need to see the disassembly in a debugger / tracer
P.S. I'm hoping to translate the subtitles to other languages as soon as I get time... if you would like to help and / or provide better translations, I'm happy to add your name to a list of contributors. (both here and on YT)
[SIZE=+1]
[/SIZE]
To switch between subtitles, in case YT picks English regardless of your local language.
bobsobol - [GUIDE]Disabling the need for XTrap in a Priston Tale Client (Video) - RaGEZONE Forums
To help you with that, the transcription is here
Code:
00:00:00.00,00:00:04.04
For some reason people still seem to be struggling with this,

00:00:04.04,00:00:06.62
and everybody seems to love video tutorials

00:00:06.62,00:00:11.60
so I'm going to make a quick video tutorial that shows, really fast, how this is done.

00:00:11.60,00:00:17.78
First of all, lets have a look at how the game works with XTrap enabled.

00:00:18.28,00:00:20.62
That's the problem.

00:00:20.72,00:00:22.86
Okay, so the fist the we do is

00:00:22.86,00:00:24.33
we are going to get rid of

00:00:24.33,00:00:26.90
any of the files that are connected with

00:00:26.90,00:00:34.38
XTrap, nProtect or anything like that.

00:00:37.51,00:00:41.66
I'm just going to drop them in this folder I've called "Remove".

00:00:41.66,00:00:43.17
And I've missed one.

00:00:43.17,00:00:47.21
Now what happens?

00:00:47.21,00:00:49.49
Hmm. Where's my game?

00:00:49.49,00:00:55.36
Okay. We need to go in and look at it in the Debugger.

00:00:57.86,00:01:04.71
Now I'm going to search for all intermodular calls.

00:01:04.71,00:01:11.82
I'm looking for a "call" called "TerminateProcess" so I've sorted it by the "destination".

00:01:13.47,00:01:16.45
Need to go back a bit.

00:01:16.45,00:01:19.61
Now there's three of them there, but I already know that it's this one.

00:01:19.61,00:01:24.62
Because it's really short. All I do is assemble "RET" into there.

00:01:27.63,00:01:27.63
And I need to save that off to an executable,

00:01:27.63,00:01:32.02
So "Edit", "Copy to executable".

00:01:32.02,00:01:34.01
There they are.

00:01:34.01,00:01:37.49
And I can save that to a file.

00:01:37.49,00:01:40.96
Give it a sensible name...

00:01:40.96,00:01:43.96
No XTrap.

00:01:44.46,00:01:46.90
Now I don't need my Debugger anymore.

00:01:48.86,00:01:51.44
And you can see my game file there.

00:01:51.44,00:01:53.62
game_NoXTrap

00:01:56.12,00:01:57.78
And we're in!

00:01:57.78,00:02:02.22
As you can see, this is an old 41 35 Brazilian client,

00:02:02.22,00:02:05.63
and, no. I don't want to play it.

00:02:11.44,00:02:16.11
And that's how it's done.

[SIZE=+1]Credits[/SIZE]
Translations so far:-
  • English - by me (basic transcript)
  • Portuguese (Brazilian) - by me (aiming for "meaning", but corrections welcome)
  • Japanese - by me (again aiming for meaning, but I think timing is way off in this language)
  • French - by Gregoory. (many thanks)
  • Vietnamese - by trungnt88 (aka Wormy) again many thanks.
  • Spanish - by telatoro. (many thanks)

[SIZE=+1]Recent Additions[/SIZE]
--- EDIT ---
Re-rendered this video, cleaned up the sound and fixed the overlays which "moved" when I decided that the full 1080p footage was just too big an upload and you couldn't see anything on any lower res... I didn't check them after changing the target to 720p with panning... they are fixed now though. :D:

--- EDIT ---
To save people searching lower down, I've placed some alternative streaming hosts (without subtitles) at:-
[video=vimeo;23599753]http://vimeo.com/23599753[/video]
Disabling the need for XTrap in a Priston Tale Client on Vimeo​
That's readable, even in SD, but you can go to the Vimeo page (just click Vimeo in the player UI) and from there you can watch it in full HD... only lacking the subtitles. :D:

or
[strike]
which is very poor quality, even though it claims to support HD. :(:[/strike] (MegaVideo died with MegaUpload :(:)

You can download a copy to play from your hard disk in Матрешка (Matroska - transliterated though I believe it's pronounced more like "Matrioshka")format (.mkv) from one of the links on . (It was made before Spanish subtitles where provided ... links are now dead, ask if you need a copy ;))

Subtitles are embedded in the file (as far as I have them at the time of writing) but I can't add new subs in different languages without re-uploading.

Full instructions in .
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Jan 28, 2009
Messages
1,320
Reaction score
616
Nice guide, finally we have link where we can send off ppl. Is that your voice? I imagined that your voice will sound more
:thumbup:
 
Skilled Illusionist
Joined
Apr 20, 2009
Messages
351
Reaction score
212
Dans la langue de Molière.

Code:
00:00:00.00,00:00:04.04
Bizarrement des personnes semblent toujours lutter avec ça,

00:00:04.04,00:00:06.62
et tout le monde semble aimer les tutoriels vidéo

00:00:06.62,00:00:11.60
donc je vais faire un rapide tutoriel vidéo qui montre, très rapidement, comment c'est fait.

00:00:11.60,00:00:17.78
Premièrement, regardons comment le jeu fonctionne avec XTrap activé.

00:00:18.28,00:00:20.62
Voilà le problème.

00:00:20.72,00:00:22.86
Bien, donc la première chose à faire est

00:00:22.86,00:00:24.33
de se débarrasser de

00:00:24.33,00:00:26.90
tous les fichiers qui sont liés à

00:00:26.90,00:00:34.38
Xtrap, nProtect ou autre chose de similaire.

00:00:37.51,00:00:41.66
Je vais juste les déplacer dans un dossier que j'ai appelé "Remove".

00:00:41.66,00:00:43.17
J'en ai oublié un.

00:00:43.17,00:00:47.21
Maintenant que se passe-t-il?

00:00:47.21,00:00:49.49
Hmm. Où est mon jeu?

00:00:49.49,00:00:55.36
Bien. Nous devons aller voir ça dans le Debugger.

00:00:57.86,00:01:04.71
Maintenant je vais chercher tous les "intermodular calls".

00:01:04.71,00:01:11.82
Je cherche un "call" appelé "TerminateProcess" donc j'ai trié par "destination".

00:01:13.47,00:01:16.45
Je dois remonter un peu.

00:01:16.45,00:01:19.61
Il y en a trois, mais je sais déjà que c'est celui-ci.

00:01:19.61,00:01:24.62
C'est très rapide. Tout ce que j'ai à faire c'est assembler "RET" ici.

00:01:27.63,00:01:27.63
Et j'ai besoin de sauvegarder ça dans un exécutable,

00:01:27.63,00:01:32.02
Donc "Edit", "Copy to executable".

00:01:32.02,00:01:34.01
Voilà.

00:01:34.01,00:01:37.49
Et je peux sauvegarder ça dans un fichier.

00:01:37.49,00:01:40.96
Donnez lui un nom raisonnable...

00:01:40.96,00:01:43.96
Sans Xtrap.

00:01:44.46,00:01:46.90
Je n'ai plus besoin de mon Debugger à présent.

00:01:48.86,00:01:51.44
Et vous pouvez voir mon fichier de jeu ici.

00:01:51.44,00:01:53.62
game_NoXTrap

00:01:56.12,00:01:57.78
On est passé!

00:01:57.78,00:02:02.22
Comme vous pouvez le voir, c'est un vieux client brésilien 41 35,

00:02:02.22,00:02:05.63
et, non. Je n'ai pas envie d'y jouer.

00:02:11.44,00:02:16.11
Voilà comment c'est fait.
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
I agree with the statement, and the sentiment. If my new computer came with Windows 7, I would have to ditch the new version of Explorer desktop. I hate it.

I would probably stick with CMD.EXE to start with, slap the GNU Win32 on to make that usable, and then look into the old desktop replacers... or, see if the version of Explorer that comes with Vista will still work on 7.

I still don't find that show funny. I've watched in complete boredom 3 or 4 episodes now. I have yet to find any humour in it, and since there is no plot, characters action or romance... I don't see the point.

It's just a series of truisms portraid by actors who clearly loathe the characters they are playing. It takes a geek to make fun of a geek.
Matt Pietrek said:
Our Caller, who art on the stack frame
Hallowed be thy Parameters
Thy Address Space come
Thy I/O be done
In Registers, as it is in Memory
Give us this day our periodic timeslices
And forgive us our page faults
As we forgive those who pass invalid parameters
Lead us not to unconditional JMPs
But deliver us from segment registers
For thine is the Address Space, the Registers, and the I/O ports
Jmp $
Ret
That's geek humour. :wink:

--- EDIT ---
Special thanks to Gregoory, whose post came in as I was writing this response. Perfect translation, timecodes un-altered so everything matched up perfectly.

Vous avez ma reconnaissance et mon égard, comme toujours. Excuser, ma tentative pauvres, s'il vous plaît. Merci beaucoup.
 
Last edited:
Custom Title Activated
Loyal Member
Joined
Jan 28, 2009
Messages
1,320
Reaction score
616
I still don't find that show funny. I've watched in complete boredom 3 or 4 episodes now. I have yet to find any humour in it, and since there is no plot, characters action or romance... I don't see the point.
New seasons are boring as hell... those that are aired in TV now.
Season 1 & 2 are only good ones.

But back to the topic.
Some time ago someone posted that Xtrap on new versions of PT can't be removed this way? Something changed changed in way they bound Xtrap with executable or it was start of paranoia attack? ;)
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
A little of both. I've never been able to use that simple method on PTVn, and PTBr have come pretty close to their level of deeply embedding XTrap in the newer clients I've looked at. EPT have "played" with all sorts of methods, some are easier than this, some harder, many combining XTrap and re-introducing nProtect GameGuard.

JPT have flirted with both HanGame and something called Xinecode? (neither of which, as far as I can tell, are aimed at securing the game as much as users logins... see my post on HanDes.dll)

I can break out the XTrap embedding of PTVn clients (as I have proved), but I couldn't possibly tutorial them, as the seem to be generated somewhat dynamically. Then again, since PTV is no more, that isn't an issue.

Suba and / or Hazit could do with taking on some PTV staff member who understands this method to incorporate in their client builds. Unlike any of their attempts, the PTV one managed to defeat the Analysis of Olly, making the disassembly all "fwappy" in crucial areas, and produced similar effects with Sourcer and PE-Explorer and IDA Pro. However, the Exe wasn't compressed or encrypted. It was quite sophisticated, without being overkill.
 
Skilled Illusionist
Joined
Mar 3, 2009
Messages
313
Reaction score
248
Translated into Vietnamese:

00:00:00.00,00:00:04.04
Vì nhiều lý do mà mọi người vẫn gặp khó khăn trong vấn đề này

00:00:04.04,00:00:06.62
và dường như ai cũng thích xem những hướng dẫn bằng video

00:00:06.62,00:00:11.60
vì vậy tôi đã quyết định làm một clip hướng dẫn nhỏ.

00:00:11.60,00:00:17.78
Trước hết, hãy xem thử game của chúng ta hoạt động như thế nào khi XTrap được kích hoạt.

00:00:18.28,00:00:20.62
Đó là vấn đề (thông báo lỗi).

00:00:20.72,00:00:22.86
Vậy việc đầu tiên chúng ta cần làm là

00:00:22.86,00:00:24.33
gỡ bỏ

00:00:24.33,00:00:26.90
tất cả những file có liên quan tới

00:00:26.90,00:00:34.38
XTrap, nProtect hoặc những thứ tương tự.

00:00:37.51,00:00:41.66
Đơn giản tôi đưa chúng vào một folder với tên "Remove".

00:00:41.66,00:00:43.17
Ahh, tôi đã bỏ lỡ một file

00:00:43.17,00:00:47.21
Giờ chuyện gì sẽ xảy ra?

00:00:47.21,00:00:49.49
Hmm. Sao game không chạy?

00:00:49.49,00:00:55.36
Okay. Chúng ta cùng tìm hiểu thông qua Debugger.

00:00:57.86,00:01:04.71
Trước hết tôi tìm tất cả các "Intermodular call".

00:01:04.71,00:01:11.82
Tiếp theo tìm "TerminateProcess" (ngắt tiến trình - tức là ngắt game), để đơn giản hãy sắp xếp kết quả theo cột "Destination".

00:01:13.47,00:01:16.45
Phải cuộn lên một chút...

00:01:16.45,00:01:19.61
Giờ có tới 3 cái ("TerminateProcess") ở đây, nhưng tôi đã biết là cái nào gây ra tắt game.

00:01:19.61,00:01:24.62
Bởi vì nó thực sự ngắn. Tất cả những việc cần làm là sửa nó thành "RET" (Assemble).

00:01:27.63,00:01:27.63
Cuối cùng thực hiện việc lưu những thay đổi đó ra,

00:01:27.63,00:01:32.02
Chọn "Edit" > "Copy to executable".

00:01:32.02,00:01:34.01
Vậy thôi :)

00:01:34.01,00:01:37.49
Ta đã có thể lưu ra file mới.

00:01:37.49,00:01:40.96
Đặt một cái tên ý nghĩa nhé ;)

00:01:40.96,00:01:43.96
"No XTrap".

00:01:44.46,00:01:46.90
Giờ chúng ta không cần đến Debugger nữa.

00:01:48.86,00:01:51.44
Và bạn có thể thấy tệp tin game mới của tôi đây.

00:01:51.44,00:01:53.62
game_NoXTrap

00:01:56.12,00:01:57.78
Xong! Ta đã có thể vào game!

00:01:57.78,00:02:02.22
Như bạn thấy đây là client cũ của Brazil PT 41 35,

00:02:02.22,00:02:05.63
và vì thế tôi không muốn chơi :p.

00:02:11.44,00:02:16.11
Vậy thôi đã xong!

@bobsobol : Sorry I didn't check visitor msg for a long time, til today when the forum told me that my password expired after 90 days. Btw nice guide <3
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
Thank you so much for that translation Wormy. I'm sure it will help others.

I've also added Japanese, but because the order of phrases is so different, some things which are long to read in Japanese flash past. A native (or good, since I failed my exams) Japanese speakers contribution would be much appreciated.

I should try to get German and Spanish in there too... maybe Dutch? These are all "well exported" languages.

But any offered translation is welcome. If you speak good Cherokee, or Welsh I won't object, or reject. (I know a little Welsh, and a little Gaelic, but wouldn't pass any exams in those either. XD)
 
Last edited:
Junior Spellweaver
Joined
Mar 10, 2009
Messages
194
Reaction score
2
bobsobol i have a requst for you : could you make a video tut for your ppt installer guide cus everytime i try it wont work
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
Love a request. :D: You mean the one about using the PPT installer to install some other release, or adapting the client installer? (just so I'm clear)

Also, any particular release you would like shown in the Video?
 
Junior Spellweaver
Joined
Mar 10, 2009
Messages
194
Reaction score
2
Love a request. :D: You mean the one about using the PPT installer to install some other release, or adapting the client installer? (just so I'm clear)

Also, any particular release you would like shown in the Video?
well i hope you can make a video tut about this tut of yours: Personal Priston Tale
and i would like a release that works with windows 7/ vista and all download links included and working :thumbup:
i hope you can make a full video tut:laugh:
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
Yes, but that tutorial applies to installing "some" other release with the PPT installer found .

PPT alone doesn't require any other download, and doesn't require any instruction on how to install it. (stick CD in drive, if autorun isn't enabled open CD from "My Computer" and double click setup, follow wizard until the end, job done)

The thread you point to uses Sacreds' (aka xiangsho) 619 server release as an example replacement for PPT and updates it with the resources from Shagpubs' KPT ET 2 v2 update. So clearly, you need to get those downloads, delete the server files PPT would normally install, replace them with the ones from those releases then burn the disc after you have made the necessary changes before following the normal installation procedure.

So... do you really want to just see someone clicking "Next >" until PPT is installed, or do you want to see the disc being rearranged for 619, or would you like to see some other release?
 
Junior Spellweaver
Joined
Mar 10, 2009
Messages
194
Reaction score
2
well after i installed the ppt i cant go in pt cus i cant connect
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
I've been attempting this on Windows 7 and there are many problems. I designed the Personal Priston Tale Server installation to work on anything from 2000 (with no service pack) up to the latest and greatest... which, at the time was 2008 server.

I don't really expect people to run server software on a workstation / home OS... but then again, I know a lot of people do. I had tested it on XP and Server 2008, (I really wanted to try it on Windows Home Server, but have never been able to get my hands on a copy) but only tested the client on Vista.(where there was no problem)

I suspect the server would have similar difficulties on Vista, which it does not have on Server 2008.

I'm working on it... and can see a need to improve the system (which always was Beta) because many of the advanced setup options cause problems if they are actually used.

I will get it running on Win7, and run the guide. I don't think it's difficult to do, but it certainly does require you to know your OS... and I still prefer Vista, as 7 is diverting me away from the options I need even more than Vista did. :(: (and I really hate the "new look" of Explorer and the desktop in Win7 :wink:)
 
Last edited:
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
I can't see why it shouldn't.
If you configure the PC to disable most of the newer securities. Remember this is a Win9x client converted to an NT4 server application with little Win 2K/XP patching that we are now forcing on to much newer OS.

I did run it successfully on 2008 Server... which expects you to run applications providing network services with a high privileged access level. Where Vista and Windows 7 expect to be run on Workstations and Home machines and will often consider such activity as "potentially unwanted" and certainly a security risk.​
But I am experiencing more difficulties than I would expect from Win7.
 
Last edited:
Junior Spellweaver
Joined
Mar 10, 2009
Messages
194
Reaction score
2
i have now a windows 2003 vps 32 bit is the ppt installer of you good for this?
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
I have a 2003 install which works... but I suspect I was trying out SQL 2008 Express.

My normal way to install would be via the PPT setup, even when using another server repack, (as documented elsewhere) but actually installing SQL 2005 Express is an "optional component", so I may have installed SQL 2008 first, and PPT after with the SQL database installation disabled.

I would then have used one of my Automated Database setup tools (released on RZ, one command line and one GUI) to get the DB up and running.

One thing I can say for sure, is that the ODBC control tool works in Windows 7, where it is really temperamental on 2K, XP, 2003 and Vista. I don't think I tried it out on 2008 Server, and would have set up ODBC via my "safe" (but not recommended) direct registry manipulation.

I just don't understand why the server won't "start" in Win 7. It installs, I can access the database via MDAC or ODBC or WHY, and the server application runs... but never "starts" serving.

It looks exactly as if you leave out the *AUTOSTART line from HOTUK.INI, except you can't even manually start it from the menu.

Very odd.
 
Newbie Spellweaver
Joined
Feb 27, 2011
Messages
10
Reaction score
0
@bobsobol
Would you please upload this video to "megaupload"?
I can't Visit it!
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
but ofc it doesn't support subtitles. (soft subs)

I could hard sub it (encode the subtitles as part of the video) but I would then have to upload each different set of subs as a different video. :(:

Additionally, for a site that claims to host HD video, this looks better encoded as a standard Definition DVD and watched on an old CRT TV set. :lol: I can't read a freaking thing.

Vimeo is usually much clearer, if you can see that.
That's readable, even in SD, but you can go to the Vimeo page (just click Vimeo in the player UI) and from there you can watch it in full HD... only lacking the subtitles. :D:

If you really need a file you can watch on your media player with subtitles included, I've encoded to an MVK (Матрешка) file here:-
To read the subtitles your media player, or any installed filters for it, must support multiple embedded subtitles in UTF-8LE textural format, and your system must have a font that supports the national characters of your chosen language, *and* such a font must be selected for use in subtitles.​

Windows Media Player (with various DirectShow filters... read pack) *can* do this.
MediaPlayer Classic / (with a few DirectShow filters... probably still Shark007, but you don't need all of it enabled with MPC-HC) will do this.
(with the correct settings and fonts) will do this.
(with the right extensions... read , also note that Perian only supports OS X) can do this.
will do this. (but you have to press V on the keyboard to see the subtitles and J to cycle through the languages)

All of which leads me to believe that a web-page with a streaming media player which supports soft-subs is the "right" way to go. Please petition your ISP / Govt. to allow YT, or find a streaming video host that supports subtitles which your ISP/Govt. will allow. :D:

I've , but I think Megauploads MegaVideo have a lot of other problems to fix before they need to worry about soft-subs. XD
 
Last edited:
Back
Top