Register for your free account! | Forgot your password?

You last visited: Today at 22:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[C#] Downloadserver.

Discussion on [C#] Downloadserver. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
chea77er's Avatar
 
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 193
[C#] Downloadserver.

Video:

Here a little explanation:

You saw a 256.patch file, well, thatīs a simple format which contains path/filename + file size in csv format. Its for the Gatewayserver, so the gateway and the downloadserver haven't to be on the same server/root.

You saw a 256 folder. it just contain the zlib compressed file to patch. Its for the downloadserver.


DL:

I will upload the source soon.

BTW: The *.patch files can be created with the Make_Patch Program.


Features:
- Create patches. with many many files.
- Create more than one patch.
- SilkroadHandshake/Security API (by pushedx)
- You havenīt to host them on the same pc/rootserver.

Credits: me and Pushedx(he made the first proof of concept)

First files are the binaries, second are the source.
Attached Files
File Type: rar Server.rar (44.9 KB, 154 views)
File Type: rar Teemo_SR.rar (381.4 KB, 181 views)
File Type: rar Server without db.rar (44.8 KB, 105 views)
chea77er is offline  
Thanks
6 Users
Old 05/25/2011, 13:06   #2
 
Rokky93's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 27
Received Thanks: 7
nice work
Rokky93 is offline  
Old 05/25/2011, 18:43   #3
 
elite*gold: 0
Join Date: May 2011
Posts: 764
Received Thanks: 519
thx this will be very useful for some pk editors ^_^
[H2K] ^ LordyK is offline  
Old 05/25/2011, 19:00   #4
 
Kape7's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 3,210
Received Thanks: 6,288
You need to be running an emulator in order to make it work? It sucks a bit, I only want the download server without have an emulator db configured.

Nice work through.
Kape7 is offline  
Old 05/25/2011, 21:00   #5
 
chea77er's Avatar
 
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 193
Ah no, itīs not really an database, i just added it. If want it without db, you have to edit the source..

But I will upload one without database. in some minutes.

Edit: Its done.
chea77er is offline  
Old 05/25/2011, 21:09   #6
 
chea77er's Avatar
 
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 193
Quote:
Originally Posted by [H2K] ^ LordyK View Post
thx this will be very useful for some pk editors ^_^
nah, you should now that the client automatically creates a new sv.t (version file of silkroad) so after applying a patch, the orginal server will not let you connect.

But still you could edit the sv.t version again. There are already some releases which could generate the Sv.T file.
chea77er is offline  
Old 05/25/2011, 21:39   #7
 
elite*gold: 0
Join Date: May 2011
Posts: 764
Received Thanks: 519
Quote:
Originally Posted by chea77er View Post
nah, you should now that the client automatically creates a new sv.t (version file of silkroad) so after applying a patch, the orginal server will not let you connect.

But still you could edit the sv.t version again. There are already some releases which could generate the Sv.T file.
then i can edit source when apply patch , the sv.t version to be untouched , already created this kind of auto-updater but was instable and take time to load all pk files and check and etc ...
[H2K] ^ LordyK is offline  
Old 05/25/2011, 21:54   #8
 
chea77er's Avatar
 
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 193
no you canīt stop sv.t generation, its clientside, I said you can make a backup of the sv.t file and after a patch you just add the old one again to media.pk2
chea77er is offline  
Thanks
1 User
Old 05/26/2011, 03:28   #9
 
elite*gold: 0
Join Date: Mar 2010
Posts: 5
Received Thanks: 0
will i still dont know what is this can some one till me
mossy0mylove is offline  
Old 05/26/2011, 04:02   #10
 
elite*gold: 0
Join Date: Aug 2009
Posts: 6
Received Thanks: 0
nice Work
qweasd20055 is offline  
Old 05/29/2011, 02:35   #11
 
elite*gold: 0
Join Date: Jan 2008
Posts: 38
Received Thanks: 27
How exactly do i use this? Its used by the launcher correct?
killerlk is offline  
Old 06/14/2011, 21:38   #12
 
elite*gold: 0
Join Date: May 2011
Posts: 764
Received Thanks: 519
can you give some support for it ? because i can't patch anything and i did same as in video ...

try to put bg_4.dat but where to edit path or ? ... because say patches failed
[H2K] ^ LordyK is offline  
Old 06/14/2011, 21:57   #13
 
chea77er's Avatar
 
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 193
you have to create a "{new-version}.patch" file, which contains the path and filename and Size (split with a tab):
sample: "Media/fileinpk2.dat 123"

then save this file (version-num.patch) into the patches folder.

In the Files Folder you have to create following file.
EmuFolder/files/{new-version}/Media/fileinpk2.dat
this fileinpk2.dat have to compress with lzma or zlib... (lzma used in isro)

And of course you can add multiple files in the *.patch file.

BTW: make sure the *.patch file contain the exact size of the compressed file to patch (in this sample, fileinpk2.dat).

Then edit CurrentVersion in the XML Configs (configs/global.xml)
chea77er is offline  
Thanks
1 User
Old 06/14/2011, 23:00   #14
 
elite*gold: 0
Join Date: May 2011
Posts: 764
Received Thanks: 519
Quote:
Originally Posted by chea77er View Post
you have to create a "{new-version}.patch" file, which contains the path and filename and Size (split with a tab):
sample: "Media/fileinpk2.dat 123"

then save this file (version-num.patch) into the patches folder.

In the Files Folder you have to create following file.
EmuFolder/files/{new-version}/Media/fileinpk2.dat
this fileinpk2.dat have to compress with lzma or zlib... (lzma used in isro)

And of course you can add multiple files in the *.patch file.

BTW: make sure the *.patch file contain the exact size of the compressed file to patch (in this sample, fileinpk2.dat).

Then edit CurrentVersion in the XML Configs (configs/global.xml)
with patch things i figured out how to do but can you give me compress lzma and decompress lzma for isro ? i really appreciate that because bin of pushedx don't work for me and idk to much about coding ...
[H2K] ^ LordyK is offline  
Old 06/15/2011, 08:38   #15
 
chea77er's Avatar
 
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 193
Quote:
Originally Posted by [H2K] ^ LordyK View Post
with patch things i figured out how to do but can you give me compress lzma and decompress lzma for isro ? i really appreciate that because bin of pushedx don't work for me and idk to much about coding ...
You can use for compress and decompress.

Look into lzma.txt there is a small "how to"

BTW: lzma.exe is the compiled binary.
chea77er is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
SilkroadPatchUtilites - DownloadServer Tools
07/08/2011 - SRO Hacks, Bots, Cheats & Exploits - 48 Replies
This is a thread about one of my current projects, SilkroadPatchUtilities. This project is a collection of tools to help with creating your own DownloadServer (mostly relevant to emu projects). In other words, people will now be able to create their own "updates" through Silkroad.exe without having to redistribute modified PK2 files manually. In addition, new PK2 tools can be created using these concepts that are more friendly to other operating systems since there is no longer a reliance of...
.:#°DownloadServer°#:.
03/26/2011 - elite*gold Trading - 15 Replies
Heyho Leute, Ich Biete euch hier einen Downloadserver an! http://icons.iconarchive.com/icons/gakuseisean/iv ista-2/72/Alarm-Help-and-Support-icon.png Meine Preise sind Verhandelbar!
[SERVICE]Hoste Clients gratis auf Highspeed-Downloadserver!
12/20/2010 - Metin2 Private Server - 15 Replies
Hallo, ich hoste für Rootserver ihren Client auf einem Highspeed-Downloadserver Es sollten nur Rootserver sein, welche bekannt sind! Weiteres im Thread oder PN! mfg Zander #Edit # deleted
Sro DownloadServer Demo
07/05/2010 - SRO Private Server - 5 Replies
YouTube - Silkroad Online DownloadServer Demo Credits: pushedx



All times are GMT +1. The time now is 22:33.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.