interesting. can give some hint?
fix column on auth and also use query from the release for the website query and fix the phpmailer something like that to make it work
SET @AR_VERIFY =0x29
IF @rauthtype = 15 BEGIN COMMIT TRAN SELECT @AR_VERIFY RETURN END
Mini Video Tutorial configuration Launcher PT-BR!
You must be registered to see links
Well, even though none of what you said holds any relevence to Visual Studio itself, the problem is that the reference paths are for C++/CLI when you use the #using directive. For .h files you need to set the Include paths, this will add paths to what VC looks in when you use the #include directive.
anyone can help with this?
when I press start the launcher opens itself and not the game
I had/have same problem....Why updates doesn't extract at all?
I used 7zip with its password. After all set and run launcher, it didn't update or extract.
Anyone can help me with this? Thank you.
Note:
7Character + Update Number or whatever on 7z file.
private void btn_check_Click(object sender, RoutedEventArgs e)
{
int i = 1;
downloadable_files.Clear();
foreach (var items in mgr_cfg.ConfigRemote.Hashes.Hash)
{
if (items.hash != App.GetMd5HashFromFile(items.file))
{
downloadable_files.Add(i, items.file);
Console.WriteLine("Index: {0} File: {1}", i, items.file);
ViewModel.FileDownloader.SetSource(client_hostname + "client/" + items.file);
ViewModel.FileDownloader.SetTarget(items.file);
ViewModel.FileDownloader.Download();
ViewModel.ReportStatus.Report("Update completed.");
while (ViewModel.FileDownloader.IsRunning())
{
Thread.Sleep(50);
Process.GetCurrentProcess().Kill();
}
}
ViewModel.ReportProgess.Progess(i, mgr_cfg.ConfigRemote.Hashes.count);
ViewModel.ReportStatus.Report("Checking Files " + i + " de " +
mgr_cfg.ConfigRemote.Hashes.count);
i++;
ViewModel.ReportStatus.Report("Already for play...");
if (i == mgr_cfg.ConfigRemote.Hashes.count)
{
uptodate = false;
}
else
{
if (App.GetMd5HashFromFile(client_cabalmain) !=
mgr_cfg.ConfigRemote.Settings.CabalMainHash)
{
ViewModel.FileDownloader.SetSource(client_hostname + "client/" + client_cabalmain);
ViewModel.FileDownloader.SetTarget(client_cabalmain);
ViewModel.FileDownloader.Download();
ViewModel.ReportStatus.Report("Update completed.");
while (ViewModel.FileDownloader.IsRunning())
{
Thread.Sleep(50);
}
ViewModel.ReportStatus.Report("Update completed.");
uptodate = true;
Process.GetCurrentProcess().Kill();
}
else
{
uptodate = true;
}
}
}
not work for meOkey after reading code million time figured it out... So updater works when Cabalmain version on remote server is higher then local one. Also update need to be named same as cabalmain version. Example if you used Cabalmain version 374 and if you want to make update change cabalamain version to 375, make updates375.7z file generate new resources.xml file upload everything and it should work...
I had/have same problem....
//
CheckFiles of Launcher:
private void btn_check_Click(object sender, RoutedEventArgs e)
{
}
does anyone know the code line of CheckFiles compare and download?
I have created this, but it is not fully apt to interface
he check hashs = files of launcher/client.
launcher close and download files of hash is correct
Code:private void btn_check_Click(object sender, RoutedEventArgs e) { int i = 1; downloadable_files.Clear(); foreach (var items in mgr_cfg.ConfigRemote.Hashes.Hash) { if (items.hash != App.GetMd5HashFromFile(items.file)) { downloadable_files.Add(i, items.file); Console.WriteLine("Index: {0} File: {1}", i, items.file); ViewModel.FileDownloader.SetSource(client_hostname + "client/" + items.file); ViewModel.FileDownloader.SetTarget(items.file); ViewModel.FileDownloader.Download(); ViewModel.ReportStatus.Report("Update completed."); while (ViewModel.FileDownloader.IsRunning()) { Thread.Sleep(50); Process.GetCurrentProcess().Kill(); } } ViewModel.ReportProgess.Progess(i, mgr_cfg.ConfigRemote.Hashes.count); ViewModel.ReportStatus.Report("Checking Files " + i + " de " + mgr_cfg.ConfigRemote.Hashes.count); i++; ViewModel.ReportStatus.Report("Already for play..."); if (i == mgr_cfg.ConfigRemote.Hashes.count) { uptodate = false; } else { if (App.GetMd5HashFromFile(client_cabalmain) != mgr_cfg.ConfigRemote.Settings.CabalMainHash) { ViewModel.FileDownloader.SetSource(client_hostname + "client/" + client_cabalmain); ViewModel.FileDownloader.SetTarget(client_cabalmain); ViewModel.FileDownloader.Download(); ViewModel.ReportStatus.Report("Update completed."); while (ViewModel.FileDownloader.IsRunning()) { Thread.Sleep(50); } ViewModel.ReportStatus.Report("Update completed."); uptodate = true; Process.GetCurrentProcess().Kill(); } else { uptodate = true; } } }