http://bugs.winehq.org/show_bug.cgi?id=26570
Summary: Maestia | Das Fantasy-MMORPG Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: devil77329@yahoo.de
This is my bugreport to the support team of Maestia (german)
Nach der Installation und bei jedem Aufrufen des Programmstarters mit "root - Rechten" Meldung No.1:
* ! Verbindung zum Patchserver fehlgeschlagen [ OK ] *
ein separates öffnen der MaestiaUpdater.exe unter Wine bringt das gleiche Ergebnis
Meldung No.2
* Programm Fehler Im Programm MaestiaUpdater.exe traten schwerwiegende Fehler auf und es muss beendet werden. Wir entschuldigen uns für die Unannehmlichkeit.
Die Ursache kann ein Problem im Programm oder ein Fehler in Wine sein. Sie können unter http://appdb.winehq.org Tips zum Ausführen der Anwendung einholen.
Tritt dieses Problem unter Windows nicht auf und wurde es noch nicht gemeldet, können Sie unter http://bugs.winehq.org einen Eintrag hinterlassen. [ Schließen ] *
http://bugs.winehq.org/show_bug.cgi?id=26570
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2011-03-28 00:41:32 CDT --- Please try again after reading http://wiki.winehq.org/Bugs and use english.
http://bugs.winehq.org/show_bug.cgi?id=26570
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://maestia.bigpoint.com | |/ CC| |focht@gmx.net Component|-unknown |wininet Version|unspecified |1.3.16 Summary|Maestia | Das |Maestia MMORPG updater |Fantasy-MMORPG |fails due to | |wininet.InternetSetFilePoin | |ter() stub
--- Comment #2 from Anastasius Focht focht@gmx.net 2011-03-28 16:13:38 CDT --- Hello,
updating some fields, helping initial bug reporter ;-)
The website provides a small bootstrap-downloader with builtin p2p (bittorrent) client which downloads ~2.5 GiB game installer data. Running the patch updater after installation fails.
The problem is wininet InternetSetFilePointer() being a stub.
--- snip --- ... 0009:Call wininet.InternetOpenUrlW(00000005,003212f0 L"http://maestiafiles.l3.cdn.bigpoint.net/maestia_files/version/patch/_MthInf....) ret=0043c104 ... 0009:trace:wininet:HTTP_HttpSendRequestW Request header -> L"GET /maestia_files/version/patch/_MthInf.mvd HTTP/1.1\r\nAccept: */*\r\nHost: maestiafiles.l3.cdn.bigpoint.net\r\nUser-Agent: \r\n\r\n" ... 0009:trace:wininet:HTTP_GetResponseHeaders raw headers: L"HTTP/1.1 200 OK\r\nDate: Mon, 28 Mar 2011 19:31:48 GMT\r\nLast-Modified: Thu, 24 Mar 2011 11:38:50 GMT\r\nContent-Type: application/application\r\nETag: "22e8abb18eacb1:0"\r\nAccept-Ranges: bytes\r\nServer: Microsoft-IIS/7.5\r\nContent-Length: 16359\r\n\r\n" ... 0009:trace:wininet:CreateUrlCacheEntryW (L"http://maestiafiles.l3.cdn.bigpoint.net/maestia_files/version/patch/_MthInf....", 0x00003fe7, (null), 0x31d38e, 0x00000000) ... 0009:Call KERNEL32.CreateFileW(0017ac48 L"C:\users\focht\Local Settings\Temporary Internet Files\Content.IE5\2O6AVCNT\_MthInf[5]",40000000,00000003,00000000,00000002,00000080,00000000) ret=681dfcc4 0009:Ret KERNEL32.CreateFileW() retval=00000068 ret=681dfcc4 0009:Call ntdll.RtlFreeHeap(00110000,00000000,0017c258) ret=681e0bce 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=681e0bce 0009:trace:wininet:HTTP_HttpSendRequestW <-- 0009:trace:wininet:WININET_Release object 0x17af08 refcount = 1 0009:trace:wininet:INTERNET_InternetOpenUrlW 0x7 <-- 0009:trace:wininet:WININET_Release object 0x17a8a0 refcount = 2 0009:trace:wininet:InternetOpenUrlW 0x7 <-- 0009:Ret wininet.InternetOpenUrlW() retval=00000007 ret=0043c104 0009:Call wininet.InternetSetFilePointer(00000007,00000000,00000000,00000002,00000000) ret=0043c703 0009:fixme:wininet:InternetSetFilePointer stub 0009:Ret wininet.InternetSetFilePointer() retval=00000000 ret=0043c703 0009:Call wininet.InternetSetFilePointer(00000007,00000000,00000000,00000000,00000000) ret=0043c703 0009:fixme:wininet:InternetSetFilePointer stub 0009:Ret wininet.InternetSetFilePointer() retval=00000000 ret=0043c703 0009:Call KERNEL32.GetLastError() ret=0046c692 0009:Ret KERNEL32.GetLastError() retval=00002ee6 ret=0046c692 0009:Call KERNEL32.GetLastError() ret=0046c692 0009:Ret KERNEL32.GetLastError() retval=00002ee6 ret=0046c692 0009:Call KERNEL32.OutputDebugStringW(0031d2cc L"InternetDownloader::Open - url 'http://maestiafiles.l3.cdn.bigpoint.net/maestia_files/version/patch/_MthInf....', length 0\n") ret=0041cfc3 0009:warn:debugstr:OutputDebugStringA "InternetDownloader::Open - url 'http://maestiafiles.l3.cdn.bigpoint.net/maestia_files/version/patch/_MthInf....', length 0\n" ... 0009:trace:msgbox:MSGBOX_OnInit L"Patch server connection failed" --- snip ---
With proper impl, the patcher downloads the patch metadata file, I already verified. The first InternetSetFilePointer( .., 0, FILE_END) call should return pos == content-length which the app uses to fetch the data using InternetReadFile call(s).
Regards
http://bugs.winehq.org/show_bug.cgi?id=26570
Rockfire rockfire.redmoon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rockfire.redmoon@gmail.com
--- Comment #3 from Rockfire rockfire.redmoon@gmail.com 2011-04-14 10:38:51 CDT --- It looks like the updater for Mythos has the same problem.
@Anastasius, you say "With proper impl, the patcher downloads the patch metadata file, I already verified.". Does that mean you have created a patch for this problem? If so I would love to try it out.
http://bugs.winehq.org/show_bug.cgi?id=26570
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |nerv@dawncrow.de Ever Confirmed|0 |1
--- Comment #4 from André H. nerv@dawncrow.de 2011-11-13 12:04:47 CST --- confirming
http://bugs.winehq.org/show_bug.cgi?id=26570
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #5 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-07-14 17:50:58 CDT --- Still an issue in latest wine (1.6-rc5 or later)?
http://bugs.winehq.org/show_bug.cgi?id=26570
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com 2013-07-14 17:53:07 CDT --- Yes, the function is still unimplemented. http://source.winehq.org/source//dlls/wininet/internet.c#L2165
https://bugs.winehq.org/show_bug.cgi?id=26570
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #7 from hanska2@luukku.com --- http://source.winehq.org/git/wine.git/blob/b10b39185dd91d53bae47ab63c852abd7...
2227 DWORD WINAPI InternetSetFilePointer(HINTERNET hFile, LONG lDistanceToMove, 2228 PVOID pReserved, DWORD dwMoveContext, DWORD_PTR dwContext) 2229 { 2230 FIXME("(%p %d %p %d %lx): stub\n", hFile, lDistanceToMove, pReserved, dwMoveContext, dwContext); 2231 return FALSE; 2232 }
wine 1.7.26
https://bugs.winehq.org/show_bug.cgi?id=26570
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |super_man@post.com
--- Comment #8 from super_man@post.com --- msdn
https://msdn.microsoft.com/en-us/library/windows/desktop/aa385113%28v=vs.85%...
still valid 1.9.1
https://bugs.winehq.org/show_bug.cgi?id=26570
Thomas Kowaliczek linuxdonald@posteo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linuxdonald@posteo.de
--- Comment #9 from Thomas Kowaliczek linuxdonald@posteo.de --- Closing Bug because the game is dead. Service is now closed for more than an year.
https://bugs.winehq.org/show_bug.cgi?id=26570
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|download |
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Thomas Kowaliczek from comment #9)
Closing Bug because the game is dead. Service is now closed for more than an year.
Despite not being able to reproduce the bug the function is still a stub in Wine 2.8, to avoid new bugs being opened about the same problem I vote to leave this one open.
https://bugs.winehq.org/show_bug.cgi?id=26570
--- Comment #11 from Nikolay Sivov bunglehead@gmail.com --- I agree.
https://bugs.winehq.org/show_bug.cgi?id=26570
Jason Kuo j20001970@yahoo.com.tw changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |j20001970@yahoo.com.tw
--- Comment #12 from Jason Kuo j20001970@yahoo.com.tw --- I have other game application that can reproduce the same InternetSetFilePointer bug, how can I provide the backtraces to help devs fixing the problem?