Closed hi563145 closed 2 years ago
I'm not sure about this. You can try if that works. As for me, I'm in a limited connection area and have to use mobile internet. I cannot even update the game :disappointed: . Sorry I cannot test it myself now
@hi563145 I have cited issues with how it doesn't work as of rn
I have raised a request recently as to how it isn't completely working yet.
Essentially, Wine and Garena are acting funny which is leading to next to no communication b/w client and garena servers. In the same post as that, I have mentioned that issue.
Also check out my reddit post regarding the same
Edit: I will also add that there is a bug that the screen goes black and all and the solution to it being disabling DXVK, which leaves performance on the table. Granted it may be smth like 30 FPS, but for lower end PCs, everything counts. So IMO, I am still a bit pissy that it doesn't work for me AT ALL and I am not the only one who can't play. Atleast in r/leagueoflinux, every garena player(like 3-4 ppl?) I have come across has cited similar issues. The solution isn't perfect and not even stable.
@nhubaotruong if possible, can u preserve the current launchhelper.sh u have rn? i think we need to keep it while they figure out the garena stuff
@VihagChaturvedi I don't have this issue it just works for me. I ran into that issue once and it is when I am connected to a vpn. I am a complete noob here but I have theory. Previously I we launch the game using the garena token. The garena token only last for like 5 minutes. So my theory is the token might have expired as it takes too long for your computer to connect to the port or something which is what the launchhelper is doing.
The Garena token is needed for client-server connection while playing, after the connection has been established, the token isn't needed(ie when u are actually playing)
And no, the config file doesn't add any arguments in the Runner Options, so I believe it isn't creating a token at all.
Previously, u didn't need lol-ge-6.16-2, the Garena script (aka this repo), handled only the launching LoL part.
Networking was never an issue.
Edit: I also have opened a thread in r/leagueoflinux
If possible, pls also attach your log file so I can have a look at why it may not be working for me
@hi563145
Also, the script is free to vet, so I believe the better solution would be to add the .py as a launch script while keeping the older runner
Atleast until the current 6.16-2 runner is figured out
Hi @hi563145 , indeed Garena will not connect when using a VPN, we can't do anything about it
@VihagChaturvedi Here's the current launcherhelper.sh
that I have on my system
#!/bin/bash
$(dirname "$0")/syscall_check.sh
process=LeagueClientUx.exe
uxpid=$(timeout 4m sh -c "until pidof ${process}; do sleep 1; done")
if [[ ! -n $uxpid ]]; then
echo "Could not find process ${process}"
exit 1
fi
echo "LeagueClientUx pid: ${uxpid}"
port=$(xargs -0 < /proc/${uxpid}/cmdline \
| sed -n 's/.*--app-port=\([[:digit:]]*\).*/\1/p')
if [[ ! -n $port ]]; then
echo "Could not find port"
exit 1
fi
echo "Waiting for port ${port}"
kill -STOP ${uxpid}
timeout 5m /bin/bash -c "
until openssl s_client -connect :${port} <<< Q > /dev/null 2>&1; do
sleep 1
done"
kill -CONT ${uxpid}
Oh u are back home? @nhubaotruong
Yes, I just got back in the morning
yay we can get back at fixing stuff now
god this IS A PAIN THE ASS
ok i think this is an issue on my end
[0923/232208:ERROR:network_change_notifier_win.cc(153)] WSALookupServiceBegin failed with: 8
i am not sure where to start, WineHQ forums don't seem to have much info
Did you use the script to launch the game, without connecting to any VPN ? I started just fine last night ?
Turns out it is some sort of "out of memory" issue, according to a guy in Linux Gaming discord server
Not a VPN thing, ig
It's weird how this is an "out of memory" issue though
i am gonna create a new issue for this
I don't know how github work for this kinda of thing but I just want to say the if you are using the lutris-ge-lol you can just use that wine version and launch the garena client with it and it will work. Do keep in mind you still need launchhelper.sh but I never really tested without it, so feel free to try. https://teddit.net/r/leagueoflinux/comments/plzb3x/great_news_for_garena_players_repost/