Updater Remake - A Updater work for windows 7/8
Hey all,
I have found in my old server code, i have remake(very fast) a updater for windows 7/8 because the original can't remplace flyff.exe for a unknow raison ... work in xp too it think
Place updater.exe in your client , when he called, he kill flyff.exe , delete flyff.exe , remplace with newflyff.exe and run it
I release because lot's of people ask to me
Source ( C++) include (crappy by the way xD )
Use Visual Studio 2008 + v110 for xp for build
Téléchargement : http://uploaded.net/file/107bmf67
miroir : http://jheberg.net/captcha/updater-dd-source/
Password : liberateyourdemon
Virustotal of the updater.exe
https://www.virustotal.com/fr/file/b...is/1424437802/
Re: Updater Remake - A Updater work for windows 7/8
Re: Updater Remake - A Updater work for windows 7/8
Quote:
Originally Posted by
andreitajai
Virustotal?
Virustotal suxxs, Source Code is inside (A few textfiles). Its safe to use. Maybe if you dont trust him compile it yourself. But its alright.
Who is davedevils?
Code:
========================================================================
LIBERATE YOUR DEMON
========================================================================
Updater:
Permet de mettre a jour votre flyff.exe
Created by : davedevils
Re: Updater Remake - A Updater work for windows 7/8
JTB1 --> 2000-->2013
JTB1 = Dave Devil's
It's my new pseudo used 2013-2015
Look all of my release i use dave devil's pseudo or look my french forum x')
exemple -> http://forum.ragezone.com/f457/sourc...16-8-a-767267/
Quote:
A thank to all LTD team (davedevils , tox82, and all people have been help to make it)
and if you want virus total i add it but all of my release are clean
Re: Updater Remake - A Updater work for windows 7/8
Although I will not use it, thanks for contributing with the community!
Re: Updater Remake - A Updater work for windows 7/8
Simple C# Implementation I had lying around:
Code:
using System;
using System.IO;
namespace Updater
{
class Program
{
static void Main(string[] args)
{
// Call Updater.exe with 2 parameters or it won't do anything
// Possibilities:
// - Simply restart the launcher -> Updater.exe reboot Flyff.exe
// - Take a newer patcher, replace the old one and launch it -> Updater.exe FlyffNew.exe Flyff.exe
if (args.Length > 0)
{
if (args[0] == "reboot")
{
// Only launch it if the file exists
if (File.Exists(args[1]))
System.Diagnostics.Process.Start(args[1]);
else
return;
}
else
{
// Simple retry mechanism for IOExceptions being caused by file still being in use
bool bRetry = true;
while (bRetry)
{
try
{
DateTime init = DateTime.Now;
// Retry while it doesn't yet exist
string Temp = Path.GetFullPath(args[0]);
while (!File.Exists(Temp))
{
if (DateTime.Now.Subtract(init).TotalSeconds > 5)
return;
}
// Wait for a little, again, to avoid stupid IO errors
System.Threading.Thread.Sleep(500);
// Finally move the new file to the patcher location and launch it
File.Copy(Temp, args[1], true);
if (File.Exists(args[1]))
System.Diagnostics.Process.Start(args[1]);
bRetry = false;
}
catch (Exception e)
{
if (e is IOException)
bRetry = true;
else
bRetry = false;
}
}
}
}
else if (args.Length != 2)
{
Console.Write("Hi there!");
}
}
}
}