Re: Priston Tale Updater server creator.
I don't have permission to share Moons work. But it is hardly different from the one in the afore mentioned thread. The differences that exist, I have stated.
How did you "force setfile.lst to download game.exe"? It should do so anyway, but you can move the game.exe record (complete with all fields, date and CRC most importantly) to be at the front of the list.
If any fields are wrong... the updater will just keep downloading the same file. XD
Re: Priston Tale Updater server creator.
I just edited the game.exe name inside the setfile.lst file, but it doesnt want to download, I deleted two files, my updater shows that it have to download 2 files, but it just closes suddenly without downloading anything. >.<
--
I deleted another file, EPT updater shows for a short period of time. [0/3] in the download status, but it doesnt even start downloading anything...
Re: Priston Tale Updater server creator.
Well... changing the string, clearly, will not work. At the very least, for the reasons I gave above... but it may present other problems reading the file too.
Moons edit at 0042D0E0, you will see three occurrences of the repeating sequence:-
Code:
97 8B 8B 8F C5 D0 D0 9A 8A 8F 9B 9E 8B 9A D1 8F
8D 96 8C 8B 90 91 8B 9E 93 9A D1 9C 90 92 D0 8F
8C 8B 9E 93 9A D0 8A 8F 9B 9E 8B 9A D1 9E 8C 8F
which he replaced with sequences of
Code:
97 8B 8B 8F C5 A3 A3 8B 96 8D A3 8A 8F 9B 9E 8B
9A D1 97 8B 92 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
That should enable you to make EPT.exe exactly equivalent to Moons LunarPT psupdate.exe.
If you can figure out exactly what that change does (if it's important) please share with us. :D:
Re: Priston Tale Updater server creator.
I should look that in EPT.exe ?
this is what I have for that offset in ept.exe:
Code:
0042D0E0 0100 ADD DWORD PTR DS:[EAX],EAX
0042D0E2 0000 ADD BYTE PTR DS:[EAX],AL
0042D0E4 F0:F2: LOCK PREFIX REPNE: ; LOCK prefix is not allowed
0042D0E6 41 INC ECX
0042D0E7 00D4 ADD AH,DL
0042D0E9 F2: PREFIX REPNE: ; Superfluous prefix
0042D0EA 41 INC ECX
0042D0EB 00ACF2 4100978B ADD BYTE PTR DS:[EDX+ESI*8+8B970041],CH
0042D0F2 8B8F C5D0D09A MOV ECX,DWORD PTR DS:[EDI+9AD0D0C5]
0042D0F8 8A8F 9B9E8B9A MOV CL,BYTE PTR DS:[EDI+9A8B9E9B]
0042D0FE D18F 8D968C8B ROR DWORD PTR DS:[EDI+8B8C968D],1
0042D104 90 NOP
0042D105 91 XCHG EAX,ECX
0042D106 8B9E 939AD19C MOV EBX,DWORD PTR DS:[ESI+9CD19A93]
0042D10C 90 NOP
0042D10D 92 XCHG EAX,EDX
0042D10E D08F 8C8B9E93 ROR BYTE PTR DS:[EDI+939E8B8C],1
0042D114 9A D08A8F9B 9E8B CALL FAR 8B9E:9B8F8AD0 ; Far call
0042D11B 9A D19E8C8F 0000 CALL FAR 0000:8F8C9ED1 ; Far call
you mean this one?
Code:
0042D170 97 XCHG EAX,EDI
0042D171 8B8B 8FC5D0D0 MOV ECX,DWORD PTR DS:[EBX+D0D0C58F]
0042D177 9A 8A8F9B9E 8B9A CALL FAR 9A8B:9E9B8F8A ; Far call
0042D17E D18F 8D968C8B ROR DWORD PTR DS:[EDI+8B8C968D],1
0042D184 90 NOP
0042D185 91 XCHG EAX,ECX
0042D186 8B9E 939AD19C MOV EBX,DWORD PTR DS:[ESI+9CD19A93]
0042D18C 90 NOP
0042D18D 92 XCHG EAX,EDX
0042D18E D08F 8C8B9E93 ROR BYTE PTR DS:[EDI+939E8B8C],1
0042D194 9A D08A8F9B 9E8B CALL FAR 8B9E:9B8F8AD0 ; Far call
0042D19B 9A D19E8C8F 0000 CALL FAR 0000:8F8C9ED1 ; Far call
Re: Priston Tale Updater server creator.
Top one, very close to the Address quoted, yes.
Should not be code, since it's in the .data section... but that could be to fool us.
Re: Priston Tale Updater server creator.
the data you gave is is this:
Code:
0012FC00 68 74 74 70 3A 5C 5C 74 69 72 5C 75 70 64 61 74 http:\\tir\updat
0012FC10 65 2E 68 74 6D 00 e.htm.
Also, I saw this IP:
004201AC=EPT.004201AC (ASCII "http://74.200.4.139/updateURL/update.asp")
ESI=00400000 (EPT.00400000)
moons server?
those sequence of bytes can be easily decrypted by something like this:
Code:
byte[] new = new byte[sizeof(byte_array)];
for(int i=0;i<sizeof(byte_array);i++)
{
new[i] = !byte_array[i]; // NOT DL
}
the reverse process to encrypt is valid too.
---------- Post added at 06:29 PM ---------- Previous post was at 06:23 PM ----------
I would be very grateful if you can make it work bob =p
Re: Priston Tale Updater server creator.
I presume that is binary NOT, rather than logical NOT then. Since !0 = -1, !1=0, !2=0, !3=0, !4=0 etc. XD (logically NOTed, not Binary NOTed) So, more of a shorthand from XOR -1 then really. :wink:
"http://74.200.4.139/updateURL/update.asp" is the EPT server, not Luna.
And the "data" I gave was :-
Code:
97 8B 8B 8F C5 D0 D0 9A 8A 8F 9B 9E 8B 9A D1 8F 8D 96 8C 8B 90 91 8B 9E 93 9A D1 9C 90 92 D0 8F 8C 8B 9E 93 9A D0 8A 8F 9B 9E 8B 9A D1 9E 8C 8F
Not sure where you got http://tir/update.htm, but that was the last host I set up for getting patches. It would only work my side of my LAN firewall, of course "tir" is not a registered internet domain name, it's just the host name of my web server. :wink:
--- EDIT ---
Or, you mean that repeating string is http://tir/update.htm NOTed? (XOR -1) XD That makes sense. Thanks. :D:
Re: Priston Tale Updater server creator.
yes, its a binary NOT, I guess NOT is ! in C#.
--edit
Code:
for (var i = 0; i < j.Length; i++)
{
var not_temp = Convert.ToInt32(j[i]) + 1;
nv[i] = Convert.ToByte( (not_temp * -1) & 0xFF );
}
the BITWISE NOT is just (number + 1) * -1
I made a program to encrypt and decrypt the strings.
here is the link.
to decrypt, fill the textbox with the byte sequence. ie: "978B8B8F"
I already changed the link but the updater doesnt want to download my missing file >.<
here is my PTBr.exe that I got from bobsobol's ptdownloaders thread.
http://www.sendspace.com/file/cqkp8m
it is configured to read from http://127.0.0.1/pstale/update.asp I'd like someone to test it to see if everything is working fine or if it is just here that it doesnt work.
Re: Priston Tale Updater server creator.
Quote:
Originally Posted by
bobsobol
There is a maximum file count of 20013 files... this is enforced in MakeUps.exe, and I'm sure you can hack it out, but the reason it's there is that the psupdate.exe I tried would crash horribly if you try to include more files in the updater than that. (they don't allocate enough memory to hold the indexes of more files)
Dear bro,
The currently my client is 28k~29k file, but makeups supported maximum 20k, i can't created complete for setfile va setdir for client.Please help us, upgrade the MakeUps ? thank you.
Re: Priston Tale Updater server creator.
Quote:
Originally Posted by
msft
Dear bro,
The currently my client is 28k~29k file, but makeups supported maximum 20k, i can't created complete for setfile va setdir for client.Please help us, upgrade the MakeUps ? thank you.
Just use your noggin.
Make one single installer exe that people download to get the game, then only use the updater for the EXTRA files you add in to update the game.
Use the updater as an updater, not a full game downloader.
The updater is shyte and should never be used to send 30,000 files.
Even on a direct lan connection it took 2 days for it to download and unzip all 30k+ files.
So, just use it for it's intended purpose, as an updater.
Re: Priston Tale Updater server creator.
Quote:
Originally Posted by
SunnyZ
Just use your noggin.
Make one single installer exe that people download to get the game, then only use the updater for the EXTRA files you add in to update the game.
Use the updater as an updater, not a full game downloader.
The updater is shyte and should never be used to send 30,000 files.
Even on a direct lan connection it took 2 days for it to download and unzip all 30k+ files.
So, just use it for it's intended purpose, as an updater.
Dear Bro,
Thanks for relpy. Okay, I just create the setfile and setdir in the update versions.