WineHQ
Bug Tracking Database – Bug 30546

 Bugzilla

 

Last modified: 2015-06-12 18:10:08 CDT  

League of Legends' patcher has anormal behavior.

Bug 30546 - League of Legends' patcher has anormal behavior.
League of Legends' patcher has anormal behavior.
Status: CLOSED INVALID
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
1.5.3
x86 Linux
: P2 minor
: ---
Assigned To: Mr. Bugs
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-04-29 08:12 CDT by nob.dir.info
Modified: 2015-06-12 18:10 CDT (History)
7 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Terminal output (launcher functioned) (2.76 KB, text/plain)
2012-04-30 12:03 CDT, nob.dir.info
Details
Terminal output (launcher didn't function) (645 bytes, text/plain)
2012-04-30 12:05 CDT, nob.dir.info
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nob.dir.info 2012-04-29 08:12:45 CDT
Hello.

I'm not an expert of wine, but i tried to find how to let the LoL patch (this window with a big button "Play") always work : because of some error (or not implemented functions) in wine, the patcher stays blocked at 0% or 33% of loading and the "Play" button stays in grey. I have to open it ten times to get it function. But curiously when in write "WINEDEBUG=+ntdll" before the launch command (wine "rads_user_kernel.exe" run lol_launcher 0.0.0.54 LoLLauncher.exe), the patcher function correctly.

That's why i think there is some error in the ntdll code (can't be sure on something, i'm not a wine developper) and i report that painful bug (painful because starting LoL with WINEDEBUG=+ntdll decrases the performances with freezes of 1 sec or more ingame).

Cordially.
Comment 1 Austin English 2012-04-30 11:55:48 CDT
Please attach plain terminal output (without WINEDEBUG set).
Comment 2 nob.dir.info 2012-04-30 12:03:42 CDT
Created attachment 39971 [details]
Terminal output (launcher functioned)

Here the launcher functions.
Comment 3 nob.dir.info 2012-04-30 12:05:33 CDT
Created attachment 39972 [details]
Terminal output (launcher didn't function)

Here the launcher didn't show the Play button in orange : i was unable to play.
Comment 4 Radu 2012-10-27 13:25:26 CDT
This has something to do with a connection between the update server and the launcher. Anyway it's just a guess . What if we can bypass the updates? Something like running on the PC a virtual update server or simply modify the launcher in a way that the play button is always available. That download part is just a list that the game compares to it's own to see if it's up to date...
Comment 5 Kaspar 2013-02-05 12:34:43 CST
Same thing here, League of legends launched when I first intalled it but as I was unable to close it in the normal way (LoL window is so big that the Gnome 3 top bar hides the X button and I am also unable to drag it elsewhere thanks to that) so I had to close it with the X shaped cursor. 
Then after that it would not launch at all anymore and after a restart I am stuck on the same problem, launcher is stuck on checking for patches or w/e.
Comment 6 Kaspar 2013-02-05 12:45:11 CST
Debugging window in PlayOnLinux shows this line getting spammed like 100 times in a second when this bug occurs:
fixme:d3d:swapchain_gl_present Render-to-fbo with WINED3D_SWAP_EFFECT_FLIP

(In reply to comment #5)
> Same thing here, League of legends launched when I first intalled it but as I
> was unable to close it in the normal way (LoL window is so big that the Gnome 3
> top bar hides the X button and I am also unable to drag it elsewhere thanks to
> that) so I had to close it with the X shaped cursor. 
> Then after that it would not launch at all anymore and after a restart I am
> stuck on the same problem, launcher is stuck on checking for patches or w/e.
Comment 7 Kaspar 2013-02-05 13:54:32 CST
Hey!

I fixed the problem for my self by just deleting every file in RADS folder which is inside LOL instal directorty. Every log and versions file must be deleted and then it will launch good.
Comment 8 nob.dir.info 2013-02-06 08:34:31 CST
(In reply to comment #4)
> This has something to do with a connection between the update server and the
> launcher. Anyway it's just a guess . What if we can bypass the updates?
> Something like running on the PC a virtual update server or simply modify the
> launcher in a way that the play button is always available. That download part
> is just a list that the game compares to it's own to see if it's up to date...

In fact I think it's more like a thread/data transfer problem: inserting the +ntdll debugging  channel slows the program (writing things in the console needs time). Maybe the launcher is waiting for a message which was already sent but that the launcher didn't receive at the right time.
Comment 9 nob.dir.info 2013-02-06 08:38:21 CST
(In reply to comment #7)
> Hey!
> 
> I fixed the problem for my self by just deleting every file in RADS folder
> which is inside LOL instal directorty. Every log and versions file must be
> deleted and then it will launch good.

You like erasing all things, don't you? Because your method is a bit extreme... And this is only a work-around (by the way I don't know how you managed to launch LoL without the rads subdir, which contains the core launcher), we are trying here to _resolve_ a bug in Wine.
Comment 10 a.metaphysical.drama 2013-02-06 10:45:14 CST
I guess he suggested to remove all rads_user_kernel.log* and rads_lol_launcher.log files, and not RADS subdirectories
Comment 11 tordu 2013-02-07 21:28:34 CST
I did some logging with wireshark and WINEDEBUG:

When the launcher works or it stops at 33% these URLs get opened:
l3cdn.riotgames.com/releases/live/system/rads_user_kernel.exe.version
ll.leagueoflegends.com/pages/launcher/eune?lang=en
l3cdn.riotgames.com/releases/live/projects/lol_air_client/releases/releaselisting_EUNE
l3cdn.riotgames.com/releases/live/projects/lol_air_client_config_eune/releases/releaselisting_EUNE
l3cdn.riotgames.com/releases/live/solutions/lol_game_client_sln/releases/releaselisting_EUNE

When it stops at 0%:
l3cdn.riotgames.com/releases/live/system/rads_user_kernel.exe.version
l3cdn.riotgames.com/releases/live/solutions/lol_game_client_sln/releases/releaselisting_EUNE OR l3cdn.riotgames.com/releases/live/projects/lol_air_client/releases/releaselisting_EUNE
ll.leagueoflegends.com/pages/launcher/eune?lang=en

Apparently the launcher can't load all URLs when it stops at 0% but it seems to be working fine for 33% (at least with wireshark there are no errors).

Next I tried some logging with wine: WINEDEBUG=+urlmon,+crypt,+secur32,+wintrust,+wininet,+winsock,+text,+seh,+chain

Stops at 0%:
http://pastebin.com/rwQx9HFh

Stops at 33%
http://pastebin.com/L2UM7M4F

When it works:
http://pastebin.com/9ds8JEJi

I did a diff between the log for 33% and 100% the only difference seems to be that at one point the client receives 2089 bytes while in the working launcher we get 1440 bytes + 667 = 2107. I tested it again with new logs but then it was correct. So I have no clue and my logs don't help much I guess.

When I add +ntdll it really works more often. My workaround is deleting RADS/projects/lol_air_client/releases/0.0.0.237/S_OK to force a recheck but still it is not ideal...
Comment 12 hanska2 2014-08-13 21:41:09 CDT
Can you say if this is still an issue?
Comment 13 nob.dir.info 2014-08-15 13:32:03 CDT
The issue is not totally solved, since it still happens once in a while, but it has been really mitigated for a few month.
Comment 14 Someone 2015-01-23 17:18:40 CST
It is not a wine bug, as it also affects windows user.Look :


http://forums.na.leagueoflegends.com/board/showthread.php?t=2727844

http://forums.eune.leagueoflegends.com/board/showthread.php?t=663756

http://forums.euw.leagueoflegends.com/board/showthread.php?t=1603441


And any google result of "leagues of legends update stuck"



The fix for this error : go in RADS -> projects -> lol_air_client_config_euw -> releases -> and here create a file called S_OK

Then the problem is solved.




This bug should be marked closed as Invalid.
Comment 15 Ken Sharp 2015-06-03 14:49:22 CDT
As above.
Comment 16 Bruno Jesus 2015-06-12 18:10:08 CDT
Closing invalid bugs.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to privacy@winehq.org

Hosted By CodeWeavers