[Tutorial]Getting the autoupdate via SMC to work

06/24/2012 00:33 Haze*#1
Hello e*pvpers!

As I haven't really found a thread with a proper guide on how to do so, and you guys probably don't want to browse through thousands of pages in other threads, I'll write a guide on how to enable the autoupdater via SMC for your vSRO private server.

The very first step you need to do is to go to the SMC folder and create two simple folders named the way you see below:

Code:
Patch_Internal
Patch_Internal_Comp
Open up your smc_updater.cfg file and change the IP that is there to your server IP - this way the update will be done for your server.

After creating these two folders and figuring out what you want for your users to get when they launch your server client launcher, extract the necessary files from your client and place them into the Patch_Internal folder.

Make sure to create proper subfolders in the Patch_Internal folder - most likely you don't know how to do so, therefore I will provide an example based on a Media.pk2 file update, which is textuisystem.txt file. As you might or might not know, the file is located in Media.pk2 under the server_dep/textdata entry, so you have to recreate the categories in your Patch_Internal folder.

When done properly, it should look like that:
[Only registered and activated users can see links. Click Here To Register...]

So if you want to patch a file in your client, let's take textuisystem.txt for an example, you put it in the right path that is exactly the same as in media.pk2 or any other file you want to update.

After you have placed the files in the right folder, next thing you have to do is of course run your server. After your server is running, launch SMC and click on the ModulePatch tab and then SR_Client entry, next right click on it and select SR_Patch:22. Read the patch data(using a button, as there is a button you need to click in order to do so), click Analyze, specify your new client version, for example if you want your update to be marked as v1.202 then you type 202 as the version.

[Only registered and activated users can see links. Click Here To Register...]

When you've done all the stuff above, just simply upload the patch by clicking the Upload button. While you're done with SMC, let's head to the database then. In the SRO_VT_ACCOUNT database, open up the table named ModuleVersionFile. In that table you will find a record named as nToBePacked with the number of 0 for your newly uploaded files. Change 0 -> 1 and you're almost there.

The very last steps that you need to follow are really simple - close your DownloadServer & GatewayServer and simple re-run them. Once you've done that proprely, your new patch should be downloaded if user's client version is lower than the one specified in SMC & database.

I hope this tutorial helped you to enable the autoupdate function for your server client.

Thanks for reading!
06/24/2012 00:58 PortalDark#2
#approved
06/24/2012 01:22 Over-Limit#3
cool one
but what about BR SMC?
06/24/2012 01:28 Haze*#4
Quote:
Originally Posted by Over-Limit View Post
cool one
but what about BR SMC?
I will post a guide as soon as I figure out how to get the autoupdater working for BlackRogue server files.
06/24/2012 10:22 Haxor#5
You also need check smc_updater.cfg inside SMC that have server ip
06/24/2012 11:37 Haze*#6
Quote:
Originally Posted by saif1999 View Post
You also need check smc_updater.cfg inside SMC that have server ip
True, I forgot to add that one.
Thanks for reminding me ;)
06/24/2012 13:12 zando#7
Hey after i done all my Client will update but later i got this error...

[Only registered and activated users can see links. Click Here To Register...]

anybody can help me please?
06/24/2012 13:36 Haze*#8
Quote:
Originally Posted by zando View Post
Hey after i done all my Client will update but later i got this error...

[Only registered and activated users can see links. Click Here To Register...]

anybody can help me please?
Are you sure you've done it properly? Are the update paths created properly?
The error says your file is somehow damaged - maybe your client version is higher than the one set in SMC when sending an update?

No idea honestly.
06/24/2012 14:32 Over-Limit#9
Change Media folder to media ^^
10/18/2012 15:55 SayedKate#10
or Delete Media Folder In Sro Folder And Delete also temp and rerun silkroad.exe :)
10/18/2012 17:34 ~Untouchable~#11
Just a little remind;Also you gotta write the correct path of Patch_Internal and Patch_Internal_Comp through ServiceManager otherwise it won't work
08/28/2013 02:35 tihoo#12
hello guys, i did everything in this guide to update the client through SMC but when i open the launcher i get this error does anybody know how i can fix it plz?
[Only registered and activated users can see links. Click Here To Register...]

is this forum dead or all the experts quit?
07/13/2014 18:34 killerflood#13
Veeery nice =)
07/13/2014 19:24 Anonymous-9238#14
Quote:
Originally Posted by killerflood View Post
Veeery nice =)
Goodjob! You just replied to a 2 year old thread!
07/13/2014 21:38 killerflood#15
Nice, Want a price for your comment?

Poor kid... =)