Open CHN-beta opened 1 week ago
i also encounter this problem. it seems an another anti-cheat detection, i guess.
ps. this error msg in eng. is "Failed to connect, please check your network settings. Error code: 4201".
oh i see, GI need a hot patch in game. so you should manually unblock dispatchcnglobal.yuanshen.com
domain in /etc/hosts for updating...
after updates, you may add hosts blocklist back.
oh i see, GI need a hot patch in game. so you should manually unblock
dispatchcnglobal.yuanshen.com
domain in /etc/hosts for updating... after updates, you may add hosts blocklist back.
What is the purpose of blocking dispatchcnglobal.yuanshen.com
, what if I delete the line?
oh i see, GI need a hot patch in game. so you should manually unblock
dispatchcnglobal.yuanshen.com
domain in /etc/hosts for updating... after updates, you may add hosts blocklist back.What is the purpose of blocking
dispatchcnglobal.yuanshen.com
, what if I delete the line?
I do not know. I just unblocked it and everything works fine now.
oh i see, GI need a hot patch in game. so you should manually unblock
dispatchcnglobal.yuanshen.com
domain in /etc/hosts for updating... after updates, you may add hosts blocklist back.What is the purpose of blocking
dispatchcnglobal.yuanshen.com
, what if I delete the line?
I remember it now. https://github.com/an-anime-team/an-anime-game-launcher/issues/368 remove this will cause a wine error.
This issue occured again some days ago. If i banned dispatchcnglobal.yuanshen.com
, game will complain "no network connection", but if I unbanned dispatchcnglobal.yuanshen.com
, game will crash at startup.
Don't ban that domain. Instead, disconnect the network before launching, and reconnect just before the window appears.
You can use nmcli or iptables to do it, e.g.:
sudo -v
systemd-run --user --scope --slice=genshin --unit=genshin env DXVK_FRAME_RATE=60 mangohud wine YuanShen.exe -platform_type CLOUD_THIRD_PARTY_PC -is_cloud 1 &
sudo sh -c 'iptables -A OUTPUT -p all -m cgroup --path /user.slice/user-1000.slice/user@1000.service/genshin.slice -j DROP; sleep 5; iptables -D OUTPUT -p all -m cgroup --path /user.slice/user-1000.slice/user@1000.service/genshin.slice -j DROP'
wait
After launch the game, it complains "network error: could not connect to network, please check your network settings, error code: 4201".
The following command is used in launcher:
%command% -platform_type CLOUD_THIRD_PARTY_PC