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!

MPT Server/Client/Admin Files

Elite Diviner
Joined
Aug 10, 2006
Messages
429
Reaction score
119
This code below, its passed to the game.exe to allow it to run?
Code:
Dump - PsTale:.mpt
Address   Hex dump                                         ASCII
00704120                             36 36 30|39 37 30 42|          660970B
00704130  34 34 38 30|42 43 39 37|34 39 35 30|34 36 44 39| 4480BC97495046D9
00704140  42 34 34 43|46 45 38 36|32 33 34 44|46 35 37 31| B44CFE86234DF571
00704150  35 43 44 30|38 31 41 35|33 35 41 35|42 45 46 43| 5CD081A535A5BEFC
00704160  45 32 30 45|35 37 30 34|34 33 42 46|33 36 30 38| E20E570443BF3608
00704170  41 39 43 33|30 46 32 35|37 46 43 46|32 36 39 36| A9C30F257FCF2696
00704180  35 32 33 37|46 44 38 32|43 35 31 37|34 45 43 41| 5237FD82C5174ECA
00704190  30 36 31 36|31 30 42 32|32 30 35 36|37 44 44 46| 061610B220567DDF
007041A0  34 44 39 41|39 43 44 37|46 30 46 37|44 30 34 32| 4D9A9CD7F0F7D042
007041B0  34 35 32 34|36 45 34 30|33 41 41 36|32 30 33 35| 45246E403AA62035
007041C0  32 44 34 35|31 37 33 34|33 45 41 41|35 38 42 37| 2D4517343EAA58B7
007041D0  39 44 31 42|43 31 42 46|35 42 44 36|35 35 45 46| 9D1BC1BF5BD655EF
007041E0  45 41 38 36|30 39 36 32|33 30 43 31|31 32 41 30| EA86096230C112A0
007041F0  32 34 30 38|35 43 33 37|31                       24085C371

the problem you are experiencing is the level restriction, also if you open it up in olly and check it against other maps it may have the same value set as BC castle inside has if you are not in the clan, these maps were never populated and i believe as this server has issues of handling too many mobs, with a load of 30 users all xping the server struggles to handle each user's xp gain, my prognosis- too many redirects to alternate memory addresses in the server.
 
Last edited:
Newbie Spellweaver
Joined
Mar 5, 2008
Messages
93
Reaction score
29
Thanks for the info on the level restriction. That's simple enough then and explains why the map is there lol. Okay secondly, gzuz, as far as that code goes, it's suppose to allow the use of the settings tab in-game? Becuase I just tried it and it's not working. I tried entering the code manually at first, triple checking to ensure proper entry, nothing. I then copy and pasted line by line, nothing.

If anything this REALLY needs a launcher update that has a configurable ip. I'm using Vormav's oracle virtual machine setup so the ip wouldn't be 127.0.0.1. Another reason I need this working is below.


My third issue for the life of me, I CANNOT get the BGM to play in-game. And im pretty sure it's this **** launcher. Most launchers have a bgm on or off feature. Well I don't exactly have the one included working lol. Now is there a way to manually configure bgm in the ptreg.rgx and ldata.bmp or am I missing something here? I doubt it's the client itself because it plays the intro and char select just fine. -.-

Help would most definately be appreciated here, and thanks guys for the earlier responses.
 
Joined
Jul 24, 2006
Messages
883
Reaction score
581
With the Admin exe, it uses a different setting file than ptreg.rgx
The admin settings are stored in folder sky/a.rgx
That's is why the launcher does not work for the admin client. The admin exe and regular client exe have different locations for the settings file.

I should also note the admin activation file aka hotuk.ini is now renamed to LocalPT.ini, and is stored in the savedata folder. (Thanks to Bobsobol for finding this out)
 
Last edited:
Elite Diviner
Joined
Aug 10, 2006
Messages
429
Reaction score
119
that data i sent to you is not regarding the settings button- its about getting the original game client to connect with the pstale launcher. that string is (much like the operation of the rpt launcher) injected into the game.exe as an argument so that it will activate, without it will not load, try using shell commands with that arg behind it.

a repack will be with you all shortly with perfect config for MPT Server ;)
 
Newbie Spellweaver
Joined
Mar 5, 2008
Messages
93
Reaction score
29
With the Admin exe, it uses a different setting file than ptreg.rgx
The admin settings are stored in folder sky/a.rgx
That's is why the launcher does not work for the admin client. The admin exe and regular client exe have different locations for the settings file.

I should also note the admin activation file aka hotuk.ini is now renamed to LocalPT.ini, and is stored in the savedata folder.

That's some very enlightening information there and saved me some headache, I can't help but think what the hell. I haven't had an admin client setup like that before, but I see from a certain perspective why it was done that way. Regardless, thanks Sunny I appreciate you taking a few mins out of your day to answer that question for me.

that data i sent to you is not regarding the settings button- its about getting the original game client to connect with the pstale launcher. that string is (much like the operation of the rpt launcher) injected into the game.exe as an argument so that it will activate, without it will not load, try using shell commands with that arg behind it.

Alright now that I know exactly what that code is supposed to do, I have tried running the orginal game.exe with the launcher after patching the launcher with the code you specified. The game still will not open, as for shell commands i'm not sure what you mean by that part. I have a hard time trying to figure out how you would use a shell command for anything pt related lol. A mini-guide or some more detailed info would be appreciated. And thanks again for taking some time out of your day for that info.

Bit offtopic: Btw, I now realise what some of that code in your launcher about SysWOW64 is in referance to. I thought it had to do with some world of warcraft project that just got thrown in there... lol -.-
 
Last edited:
Elite Diviner
Joined
Aug 10, 2006
Messages
429
Reaction score
119
syswow64 is the default operating directory of 64 bit windows operating system. That bit checking for that specifies whether the registry should use regular 32 bit registry or 6432node ;) i understand there are better ways to check this, but at 3am(when most of my coding is actually done) you arent thinking of alternate methods to a working idea :p

Shell Commmands:
Code:
Shell("C:\MagicPT\Game.exe",'argument')

alternately in vb.net can be used:
Process.start("C:\magicpt\game.exe",'argument','accountname','password','server')

You can modify my launcher with the process.start command so that it throws the right argument.

On a separate note, has anyone noticed that this server will only run between certain time of day?
 
Last edited:
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
The config files for Admin client where holding the release up, and it was me that pointed out where they where to SunnyZ. I'm *very* surprised you haven't seen an admin client like this before, because even the original Admin client uses this method, and most private servers which run a separate admin and release clients do *something* like this. (otherwise there is no point in doing it... really)

I'm also *very* interested to know how any extra options on the menu may have been implemented. I would be forever grateful to anyone who could tell us how to proceed in implementing such a thing in a regular client. ^_^
 
Elite Diviner
Joined
Aug 10, 2006
Messages
429
Reaction score
119
Here is the query needed to make itemlogdb work properly run this query on itemlogdb
Code:
USE [ItemLogDb]
GO
/****** Object:  Table [dbo].[il]    Script Date: 09/13/2012 00:08:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[il](
	[userid] [varchar](50) NULL,
	[charname] [varchar](50) NULL,
	[ip] [varchar](50) NULL,
	[flag] [varchar](50) NULL,
	[itemcount] [varchar](50) NULL,
	[itemcode] [varchar](50) NULL,
	[itemino] [varchar](50) NULL,
	[itemino_1] [varchar](50) NULL,
	[registday] [varchar](50) NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO

no items were ever added to the Mpt menu, it was a simple menu that had been altered by reproducing the first 2 menu items, when there is 1 its gonna be a bit hard, but it had 2 already. The settings menu never worked in mpt, but ill dig into it.

Also on the matter of clans, dont bother hexing out the info back to servermain and clan, just create 2 aditional virtual directories that point to the location of the originals, much less time consuming and i suppose more secure...

Me and cloak are working together on this to create some stable files -
Cloak is creating the files to work with vormaav's virtual machine, i am creating those to run directly on a pc or a server. So far, im having issues with the mpt files, they are so damn buggy!
 
Newbie Spellweaver
Joined
Jun 4, 2012
Messages
18
Reaction score
2
Hello!

I need your thoughts, ideas and suggestions regarding my thoughts.. I know that all of these files around here are copyrighted to YD but any MOD is still credited to the ones responsible.. Now, regarding with this release, since most of the people who were playing MPT were from the Philippines, maybe I could use these files if I will host a server exclusive only to players from the Philippines.. however, all credits will go to the Original owners, DEV's and people who helped or will help with the said project.. maybe we could use the name MysteryPT Philippines since MysteryPT is not legally copyrighted but to the original developer and the people who give their counterparts for these files, all credits goes to you. I don't want to take these files for profiteering but will use this for my fellow Filipino players who are hoping that MPT will go back online.

And btw, maybe you got me wrong.. I'm not into only take these as a leecher.. I am more willing to contribute/help to any team that willing to work with this release. I am felt guilty of what gzuz said.. I had a server for around 3 months and still aren't able to keep it up now. I greatly believe of what he had said that maybe if we could make a team with more open-minded individuals, it's not impossible to have the greatest file in hand.
 
Last edited:
Newbie Spellweaver
Joined
Mar 5, 2008
Messages
93
Reaction score
29
I never have nor will I ever really support the implementation of most public servers. Primarily because of the "donation" part of them. But if you don't plan to "profit" from it, then hats off to you. As it stands right now, there are a lot of bugs with these files. If you're planning on using these files I highly suggest you prepare to bugfix a lot of things.
 
Newbie Spellweaver
Joined
Sep 14, 2009
Messages
39
Reaction score
12
what kind of bugs?

Edit: i dont mean u should mention all of them, just in general :p
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
I wonder how much these bugs (more prevalent on Windows than Wine?) may be attached to ?
 
Elite Diviner
Joined
Aug 10, 2006
Messages
429
Reaction score
119
Windows has infinitely more bugs. However, that being said, i have had the server running now for 48 hours without a crash on win server 2003. Im going to do a few more bug fixes and clean up the files some and then i will be ready to re-release them as a repack.

PS. i am going to have to add in ice mine, ad1,ad2,ad3,ft1 and ft2 to these files as they are currently unsupported in the admin client.

Also, the 108 items are not implemented either so that will need done also =/
 
Custom Title Activated
Loyal Member
Joined
Jan 28, 2009
Messages
1,320
Reaction score
616
I wonder how much these bugs (more prevalent on Windows than Wine?) may be attached to ?

Wine makes you drunk so you see less bugs ;)

I would say that wine is more "delicate". You can't have bad configuration files or else server will crash at start trying to process them.
It's "kinda" good thing because bad data will not back stab you later.
 
Elite Diviner
Joined
Aug 10, 2006
Messages
429
Reaction score
119
vormav, have you tried editing the admin.exe? using your writefield? tried it earlier to no end but that damn client will not accept what i offer it.


-Edit
NVM me being stupid, i rebuilt the pe header and made it inaccessible >.<
 
Last edited:
Newbie Spellweaver
Joined
Sep 25, 2012
Messages
5
Reaction score
0
I apaligise for this post and let the past as it is. We can't change it and let's move on with our life.
 
Last edited:
Elite Diviner
Joined
Aug 10, 2006
Messages
429
Reaction score
119
i dont understand what part of that post u had a problem with, just the part in red? or also saying sunnyz went down. If that is the case tygron then i firmly dissagree with you. Sunnyz has performed a great action here and it was something of true generosity. I however agree with the expulsion of rova from magicpt but feel the matter should have been dealt with more privately than it was, not a professional move (i say professional, as they claimed they were a company, and were trading with users for rlcash) however, the whole thing has carried on long enough now. The dust has blown up in everyones face and has now settled, lets leave it that way and use this forum for its true purpose which is developing the great gift that sunnyz has left with us here, much to the dismay of others or not, the ruling has been made and the files are here, lets stop the ugly talk and get to it.
 
Newbie Spellweaver
Joined
Sep 25, 2012
Messages
5
Reaction score
0
I apaligise for this post and let the past as it is. We can't change it and let's move on with our life.
 
Last edited:
Elite Diviner
Joined
Aug 10, 2006
Messages
429
Reaction score
119
I have messaged baris personally on ragezone, and via email. He is fully aware of the situation and i have told him that i will not release a repack if it goes against his wishes. I dont want to cause any problems for him, but as it seems, he has bowed out of the priston tale dev community. He has not replied and doesnt seem like he is going to.

If you truely cared about the players you would respect the files being here as the players can then continue their good times on another server with the same features and functions as mpt had. Certain servers have available the old character data of mpt so some players may even manage to get most of their characters and items back that they lost when mpt went down.

Your gripe with the files being here in that respect makes absolutely no sense.
 
Newbie Spellweaver
Joined
Sep 25, 2012
Messages
5
Reaction score
0
I apaligise for this post and let the past as it is. We can't change it and let's move on with our life.
 
Last edited:
Back
Top