Makeing a Auto-Updater ?

11/13/2011 17:59 _P_auf_K_#1
1. Open your SMC Folder an create 2 Folder named:

First: Patch_Internal
Second: Patch_Internal_Comp

2. Open ServiceManager.cfg

It look like this:


Quote:
ModulePatch
{
SrcPath ".\Patch_Internal"
DestPath ".\Patch_Internal_Comp"
}
3. In Patch_Internal make a Folder named "media".

Put all Subfolder from the Media.pk2 with all files that are used to be in there.

Example:

Quote:
You want to patch your client with a new abusefilter.txt file.
You simply create in media folder the following subfolders.
server_dep\silkroad\textdata
Now you just copy your new absulefilter.txt into the textdata folder.
4. Launch your SMC and click onthe Modulepatch Button
Now rightclick on SR_Client, then left click on Patch:SR_Client 22.

You can see now the latest version and below the patch version with an empty field to the right. Here you just add the current year, month, day and an additional _1 if this is the first patch you will do today. If you patch more patches the same day you just give them a _2 or _3 and so on.

Now click Read Patch Data and SMC will check the files and remove any unknown formats if found. Now click Analyze patch data and finally Start Upload.
Once done click Server control and start common service again.


11/13/2011 19:38 mido2222005#2
yes it works
11/13/2011 19:52 Bаne#3
Re- moved to guides hacks bots and cheats! and title changed!
11/13/2011 20:30 Dragonz2105#4
okey its good and i did all but i have a small probelm

its upload correct and all done but when update in luncher after update done and going to save the update its getting Error_code7

any help?
11/13/2011 21:17 _P_auf_K_#5
Quote:
Originally Posted by Dragonz2105 View Post
okey its good and i did all but i have a small probelm

its upload correct and all done but when update in luncher after update done and going to save the update its getting Error_code7

any help?
Try this:

Go to SRO_VT_ACCOUNT in ur db >>> dbo._ModuleVersionFile

scroll to the end and search for version (example 189 in nVersion column))

and in column nToBePacked change 0 to 1 (make this at all entries from this nVersion of update)

Than make a right click and execute.

Close downloadserver.exe and gatewayserver.exe

Open them again and start they service in SMC

Open your client an it will update well =D

Tell me when it works =D
11/13/2011 21:50 penelopee#6
Could someone help me to edit the silkprices in Media and Server?
11/14/2011 11:45 grayfox1#7
work with vsro or what
11/14/2011 15:37 _P_auf_K_#8
Quote:
Originally Posted by grayfox1 View Post
work with vsro or what
It work in vSRO 100%
On Otter Files i don't know Test it it Suizid Be the same


Quote:
Originally Posted by penelopee View Post
Could someone help me to edit the silkprices in Media and Server?
Wrong Topic atk someone other
11/15/2011 15:43 grayfox1#9
Quote:
Originally Posted by _P_auf_K_ View Post
It work in vSRO 100%
On Otter Files i don't know Test it it Suizid Be the same




Wrong Topic atk someone other
yes this is god i have test it with vsro and work god
11/15/2011 18:57 Dragonz2105#10
not work bro
11/16/2011 15:52 grayfox1#11
Quote:
Originally Posted by Dragonz2105 View Post
not work bro
it work fine
i test it with vsro fills
11/16/2011 16:23 _P_auf_K_#12
Quote:
Originally Posted by Dragonz2105 View Post
not work bro
Tell me.....
You get an error?
Or it happens nothing?
11/16/2011 16:32 Dragonz2105#13
Quote:
Originally Posted by _P_auf_K_ View Post
Tell me.....
You get an error?
Or it happens nothing?
its creating in game folder Folder name " media\server_dep\silkroad\textdata\refshopgoods.tx t" already compress

and when start game luncher its update well ..
but after finish update and going to save it msg box apper " Update Failed Error_7"
11/16/2011 17:45 _P_auf_K_#14
Quote:
Originally Posted by Dragonz2105 View Post
not work bro
Quote:
Originally Posted by Dragonz2105 View Post
its creating in game folder Folder name " media\server_dep\silkroad\textdata\refshopgoods.tx t" already compress

and when start game luncher its update well ..
but after finish update and going to save it msg box apper " Update Failed Error_7"

Quote:
Originally Posted by _P_auf_K_ View Post
Try this:

Go to SRO_VT_ACCOUNT in ur db >>> dbo._ModuleVersionFile

scroll to the end and search for version (example 189 in nVersion column))

and in column nToBePacked change 0 to 1 (make this at all entries from this nVersion of update)

Than make a right click and execute.

Close downloadserver.exe and gatewayserver.exe

Open them again and start they service in SMC

Open your client an it will update well =D

Tell me when it works =D
You try this?
11/17/2011 03:08 Dragonz2105#15
yes