![]() |
|
[C++] Own Launcher Update Part - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Programmers Gateway (https://lckb.dev/forum/forumdisplay.php?fid=196) +---- Forum: Coders Talk (https://lckb.dev/forum/forumdisplay.php?fid=192) +---- Thread: [C++] Own Launcher Update Part (/showthread.php?tid=1158) |
- Wahrheit - 09-27-2012 So i started to learn C++ some days ago. My first Project was to write my own Last Chaos Launcher. All works perfect but now i need help with the update part. would be realy nice if anyone could help me to solve this problem . Maybe some of u got this Problem too. Have a nice day - HateMe - 09-27-2012 ok u need to read out the version info of the client vtm.brn and the lccnct.dta for the update URL and how to save a new vtm.brn after u have this information for example vtm.brn info is = 1559 lccnct.dta info is 2 then u need to connect to this 2 and check if the ip.txt exist if it exist then u need read it out the info can be this 1 2 then u need to connect to this url 2 and check if the version.txt exist if it exist u need to read it out for example in it is 1576 now you know the maximum version its 1576 and your current version is 1559 so ur download will start at 1560 till 1576 the download url is 2 to get the files is 21560.zip this u need to download and extract after extracting it u need to write the vtm.brn with versininfo 1560 then u go on with download next patch 21561.zip this u need to download and extract after extracting it u need to write the vtm.brn with versininfo 1561 and so on till you the maximum version - SeaLife - 09-28-2012 i've write a own LC-Launcher too, but with AutoIT and a complete own update server My Updateserver needs: admins.txt (For Team-List) news.txt (For the News) lc-version.txt (versions number (e.g.: v1.1) lc-files.txt (files that must the launcher download, e.g.: "files/v1.zip,files/v2.zip,") if your client (data.dll) had the version (v1.0) installed, the client will download the new version. I dont want to advertise my server here but you can see this launcher in work at: "2". (If a admin means, this is advertiseing, delete this link and warn me, thanks!) -SeaLife- - Wahrheit - 09-28-2012 ahh ok thx HateMe for this infos @Sea nice but i want to use the existing data in the client I will try to write this in C++ if i have sucess i will post about it A BIG THX FOR THIS HELP - SeaLife - 09-28-2012 Good Luck ... i would help you, but i cant program in C++ - Wahrheit - 10-04-2012 Thx |