WowLegacyCore/HermesProxy

Why can't I log in to the game by compiling my own program

Closed this issue · 4 comments

After downloading the source code and using vs2022 to compile and generate the program, I received the following error message:

15:42:56.59 | Server | Server | Version 2023-06-04 3.8.0
15:42:56.71 | Debug | Server | Debug logging enabled
15:42:56.71 | Server | Server | Modern (Client) Build: V1_14_2_42597
15:42:56.71 | Server | Server | Legacy (Server) Build: V1_12_1_5875
15:42:56.71 | Storage | GameData | Loading data files...
15:42:56.74 | Server | VersionChecker | Loaded 833 legacy opcodes.
15:42:56.81 | Server | VersionChecker | Loaded 1727 modern opcodes.
15:42:57.08 | Storage | GameData | Finished loading data.
15:42:57.08 | Network | Server | External IP: 127.0.0.1
15:42:57.08 | Server | Server | Starting BnetTcpSession service on 127.0.0.1:1119...
15:42:57.10 | Network | NetworkThread | Network Thread Starting
15:42:57.16 | Server | Server | Starting BnetRestApiSession service on 127.0.0.1:8081...
15:42:57.16 | Network | NetworkThread | Network Thread Starting
15:42:57.22 | Server | Server | Starting RealmSocket service on 127.0.0.1:8084...
15:42:57.23 | Network | NetworkThread | Network Thread Starting
15:42:57.28 | Server | Server | Starting WorldSocket service on 127.0.0.1:8086...
15:42:57.29 | Network | NetworkThread | Network Thread Starting
15:43:20.20 | Server | BnetTcpSession | Accepting connection from 127.0.0.1:53167.
15:43:20.43 | Debug | BnetServices | [BnetTcp][127.0.0.1:53167] Client requested service ConnectionService/m:1
15:43:20.45 | Debug | BnetServices | [BnetTcp][127.0.0.1:53167] Client requested service AuthenticationService/m:1
15:43:45.38 | Debug | BnetServices | [BnetTcp][127.0.0.1:53167] Client requested service ConnectionService/m:5
15:44:04.40 | Debug | BnetServices | [BnetTcp][127.0.0.1:53167] Client requested service ConnectionService/m:5
15:44:31.86 | Debug | BnetServices | [BnetTcp][127.0.0.1:53167] Client requested service ConnectionService/m:5
15:44:36.78 | Network | AuthClient | C P>S | Connecting to auth server... (realmlist addr: asia.everlook-wow.net:3724) (resolved as: 207.226.219.90:3724)
15:44:36.88 | Debug | AuthClient | C P<S | Received opcode LOGON_CHALLENGE size 119.
15:44:36.92 | Debug | AuthClient | C P<S | Received opcode LOGON_PROOF size 2.
15:44:36.93 | Error | AuthClient | Login failed. Reason: FAIL_VERSION_INVALID

Go into the server folder, open realmd.conf with notepad, change StrictVersionChecking to 0, and then restart the realmd process and you should be able to login.

I didn't set up the server myself, I was playing on an N-server (https://cn.everlook-wow.net/) ,I can log in using the file compiled by the author. However, when I downloaded the source code and compiled the program myself, I encountered the login error mentioned above

0blu commented

@andywy119
If you play on everlook you have to use their own launcher https://cn.everlook-wow.net/
(It comes prepackaged with HermesProxy)

@andywy119 Well it happens because Everlook uses something to auth the trusted hermes proxy (build by the author) on the server side to prevent using exploits which can be achieved by hermes proxy.