I'm trying to update I get a gunzlauncher.exe desconteo 9 seconds and open the launcher is not updated, and I work the update1.mrs but do not work.
why is this happening?.
Printable View
I'm trying to update I get a gunzlauncher.exe desconteo 9 seconds and open the launcher is not updated, and I work the update1.mrs but do not work.
why is this happening?.
You need to fix your updater.exe to update launcher by itself.
and
Whenever you make update1 file , always keep your files open and not encrypted in update1.
means if you are adding lobby.xml , just do this
Update1 (folder) -> Interface(folder) --> Default (folder) -> Lobby.xml
and then Encrypt Update1 to .mrs file. put in client and start. it works.
I've done all that and I did well, but do not understand what the update.exe tell me how I fix it?.
I want to know if the code is correct, this function here has to do with the function of update1.mrs.
Log LauncherPHP Code:bool MZFileSystem::AddItem(MZFILEDESC* pDesc)
{
char key[_MAX_PATH];
strcpy(key,pDesc->m_szFileName);
strlwr(key);
_RPT1(_CRT_WARN,"%s\n",key);
ZFLISTITOR it=m_ZFileList.find(key);
if(it!=m_ZFileList.end())
{
MZFILEDESC *pOld=it->second;
// Function
double diff=difftime(dos2unixtime(pDesc->m_modTime),dos2unixtime(pOld->m_modTime));
if(diff<0) // UltraGunZ
{
// Files Update
int nOldPkgNum=GetUpdatePackageNumber(pOld->m_szZFileName);
int nNewPkgNum=GetUpdatePackageNumber(pDesc->m_szZFileName);
_ASSERT(nOldPkgNum>nNewPkgNum);
return false;
}
// MAIET
delete pOld;
m_ZFileList.erase(it);
}
m_ZFileList.insert(ZFLIST::value_type(string(key), pDesc));
return true;
}
Code:Log start : Wed May 01 10:59:55 2013
Current Directory : C:\Users\Jordy\Desktop\GunZ\GunZ 3.0
10:59:55:668 [APP] OS version : Professional (Build 7600)
10:59:56:231 [APP] Window created successfully.
10:59:58:372 [ZUpdate] Create.
10:59:58:372 [ZFileTransfer] Create.
10:59:58:372 [ZFileTransfer] Create successfully complete.
10:59:58:372 [ZFileTransfer] Open connection.
10:59:58:387 [ZFileTransfer] Open connection successfully complete.
10:59:58:387 [ZFileTransfer] Change directory.
10:59:58:387 [ZFileTransfer] Change directory successfully complete.
10:59:58:387 [ZUpdate] Create successfully compete.
10:59:58:403 [APP] Download patch info file
10:59:58:403 [ZUpdate] Start update.
10:59:58:403 [ZFileTransfer] Download file : ./patch.xml to ./patch.xml
10:59:58:403 [ZFileTransfer] Download successfully complete.
10:59:58:403 [ZUpdate] Get update info.
10:59:58:418 [ZUpdate] Get update info successfully complete.
10:59:58:418 [ZUpdate] Check valid from patch list.
11:00:24:872 [ZUpdatePatchNode] Needs to update : ./Gunz.exe
11:00:24:918 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './model.mrs'
11:00:24:934 [ZUpdatePatchNode] Needs to update : ./model.mrs
11:00:25:043 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './Update1.mrs'
11:00:25:043 [ZUpdatePatchNode] Needs to update : ./Update1.mrs
11:00:25:043 [ZUpdate] Check valid from patch list successfully complete.
11:00:25:043 [ZUpdate] + Total patch file count : 3
11:00:25:043 [ZUpdate] + Total patch file size : 31925925 bytes
11:00:25:043 [APP] Exist patch file(s)
11:00:25:231 [APP] Start file updating...
11:00:25:231 [ZUpdate] Patch files.
11:00:25:231 [ZFileTransfer] Download file : ./Gunz.exe to C:\Users\Jordy\Desktop\GunZ\GunZ 3.0 New\PATCH\Gunz.exe_
11:00:27:028 [ZFileTransfer] Download successfully complete.
11:00:27:028 [ZUpdate] Successfully download '.\PATCH\Gunz.exe_'
11:00:27:075 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\model.mrs_'
11:00:27:122 [ZFileTransfer] Download file : ./model.mrs to C:\Users\Jordy\Desktop\GunZ\GunZ 3.0 New\PATCH\model.mrs_
11:00:30:250 [ZFileTransfer] Download successfully complete.
11:00:30:250 [ZUpdate] Successfully download '.\PATCH\model.mrs_'
11:00:30:250 [ZFileTransfer] Download file : ./Update1.mrs to C:\Users\Jordy\Desktop\GunZ\GunZ 3.0 \PATCH\Update1.mrs_
11:00:30:375 [ZFileTransfer] Download successfully complete.
11:00:30:375 [ZUpdate] Successfully download '.\PATCH\Update1.mrs_'
11:00:30:375 [ZUpdate] Patch files successfully complete.
11:00:30:375 [ZUpdate] Move patch files.
11:00:40:078 [ZUpdate] Copy patch file from '.\PATCH\Gunz.exe_' to '.\Gunz.exe'
11:00:52:015 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\model.mrs_'
11:00:52:015 [ZUpdate] ERROR : Invalid CRC '.\PATCH\model.mrs_'
11:00:52:015 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\Update1.mrs_'
11:00:52:015 [ZUpdate] ERROR : Invalid CRC '.\PATCH\Update1.mrs_'
11:00:52:031 [ZUpdate] Move patch files successfully complete.
11:00:52:031 [ZUpdate] ERROR : Cannot move patch files.
11:00:52:031 [APP] ERROR - Update fail
11:00:52:031 [APP] Updater error message :
This file is corrupt or missing : '.\PATCH\model.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
This file is corrupt or missing : '.\PATCH\model.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\model.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
This file is corrupt or missing : '.\PATCH\Update1.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\Update1.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
11:00:52:031 [App] File transfer error message :
how to fix these coment up.
replace this thing in NewAppDlg.cpp of Update.exe source !
NewAppDlg.cpp :
Spoiler:
these is the solution?, okey me tested.
This has helped me big time, thanks Ronny.. now perhaps you could be kind enough to help me on my other thread :S?
Now does not detect modified mrs files and have not updated the GunzLauncher, and does not replace the file you want to upgrade?.
and GunzLauncher continues even in the "PATCH/GunzLauncher.exe_" well and does not leave that folder.
This also happens when I use "TheDuelZPatchBuilder" I get all these errors:
and when I use "ZPatchBuilder" does not give me much mistakes, but the launcher is not updated and does not detect the old files to be easily upgradeable, the checksum I think no works.Code:Log start : Wed May 01 10:59:55 2013
Current Directory : C:\Users\Jordy\Desktop\GunZ\GunZ 3.0
10:59:55:668 [APP] OS version : Professional (Build 7600)
10:59:56:231 [APP] Window created successfully.
10:59:58:372 [ZUpdate] Create.
10:59:58:372 [ZFileTransfer] Create.
10:59:58:372 [ZFileTransfer] Create successfully complete.
10:59:58:372 [ZFileTransfer] Open connection.
10:59:58:387 [ZFileTransfer] Open connection successfully complete.
10:59:58:387 [ZFileTransfer] Change directory.
10:59:58:387 [ZFileTransfer] Change directory successfully complete.
10:59:58:387 [ZUpdate] Create successfully compete.
10:59:58:403 [APP] Download patch info file
10:59:58:403 [ZUpdate] Start update.
10:59:58:403 [ZFileTransfer] Download file : ./patch.xml to ./patch.xml
10:59:58:403 [ZFileTransfer] Download successfully complete.
10:59:58:403 [ZUpdate] Get update info.
10:59:58:418 [ZUpdate] Get update info successfully complete.
10:59:58:418 [ZUpdate] Check valid from patch list.
11:00:24:872 [ZUpdatePatchNode] Needs to update : ./Gunz.exe
11:00:24:918 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './model.mrs'
11:00:24:934 [ZUpdatePatchNode] Needs to update : ./model.mrs
11:00:25:043 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : './Update1.mrs'
11:00:25:043 [ZUpdatePatchNode] Needs to update : ./Update1.mrs
11:00:25:043 [ZUpdate] Check valid from patch list successfully complete.
11:00:25:043 [ZUpdate] + Total patch file count : 3
11:00:25:043 [ZUpdate] + Total patch file size : 31925925 bytes
11:00:25:043 [APP] Exist patch file(s)
11:00:25:231 [APP] Start file updating...
11:00:25:231 [ZUpdate] Patch files.
11:00:25:231 [ZFileTransfer] Download file : ./Gunz.exe to C:\Users\Jordy\Desktop\GunZ\GunZ 3.0 New\PATCH\Gunz.exe_
11:00:27:028 [ZFileTransfer] Download successfully complete.
11:00:27:028 [ZUpdate] Successfully download '.\PATCH\Gunz.exe_'
11:00:27:075 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\model.mrs_'
11:00:27:122 [ZFileTransfer] Download file : ./model.mrs to C:\Users\Jordy\Desktop\GunZ\GunZ 3.0 New\PATCH\model.mrs_
11:00:30:250 [ZFileTransfer] Download successfully complete.
11:00:30:250 [ZUpdate] Successfully download '.\PATCH\model.mrs_'
11:00:30:250 [ZFileTransfer] Download file : ./Update1.mrs to C:\Users\Jordy\Desktop\GunZ\GunZ 3.0 \PATCH\Update1.mrs_
11:00:30:375 [ZFileTransfer] Download successfully complete.
11:00:30:375 [ZUpdate] Successfully download '.\PATCH\Update1.mrs_'
11:00:30:375 [ZUpdate] Patch files successfully complete.
11:00:30:375 [ZUpdate] Move patch files.
11:00:40:078 [ZUpdate] Copy patch file from '.\PATCH\Gunz.exe_' to '.\Gunz.exe'
11:00:52:015 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\model.mrs_'
11:00:52:015 [ZUpdate] ERROR : Invalid CRC '.\PATCH\model.mrs_'
11:00:52:015 [ZUpdate:GetCRC] ERROR : Cannot initialize this file : '.\PATCH\Update1.mrs_'
11:00:52:015 [ZUpdate] ERROR : Invalid CRC '.\PATCH\Update1.mrs_'
11:00:52:031 [ZUpdate] Move patch files successfully complete.
11:00:52:031 [ZUpdate] ERROR : Cannot move patch files.
11:00:52:031 [APP] ERROR - Update fail
11:00:52:031 [APP] Updater error message :
This file is corrupt or missing : '.\PATCH\model.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
This file is corrupt or missing : '.\PATCH\model.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\model.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
This file is corrupt or missing : '.\PATCH\Update1.mrs_'
[Tip] Please check for file authorization
[Tip] Try delete this file
Invalid CRC from the downloaded patch file. : .\PATCH\Update1.mrs_
[Tip] Please check for anti-virus program or firewall running on your system.
11:00:52:031 [App] File transfer error message :
I want a launcher and repaired, please where I can get one.