Closed V-Cyberpunk closed 2 months ago
need more information about what you did to launch the client: did you change /etc/hosts (or C:\Windows\System32\drivers\etc\hosts ) or set up a dns server to write the hostname instead of the ip address in Config.wtf, also need examples of bnetserver.conf, worldserver.conf, realmlist tables in auth database and how you installed the certificate.
@hwis I also couldn't connect to the server.
LoginREST.Port = 8081 LoginREST.ExternalAddress=[ip of the server] LoginREST.LocalAddress=127.0.0.1 LoginREST.TicketDuration=3600 BindIP = "0.0.0.0"
BindIP = "0.0.0.0"
address: [ip of the server] localAddress: 127.0.0.1
the easiest way would be, that someone, who got it to work, write down and documentate the steps in detail.
@V-Cyberpunk Okay, I finally made it working. Here's my workflow (the wow server is on a Linux server):
LoginREST.ExternalAddress=[your_cool_domain]
, CertificatesFile = "[location_to_your_public_crt]"
and PrivateKeyFile = "location_to_your_private_key"
.
4.1 DO NOT USE THE DEFAULT BNETSERVER CERTIFICATE, because Windows won't trust it no matter what (No subjectAlternativeName given)!
address: [your_cool_domain]
.Trusted Root Certification Authorities
.
6.1 For Mac users: open your Keychain Access, click to System
, then under File
-> Import items...
add the certificate. Then double click the imported certificate and Trust
-> When using this certificate
-> Always trust
.C:\Windows\System32\drivers\etc\hosts
and add your server's IP and your cool domain there.
7.1 For me, Windows always overwrites the hosts file, so I had to make it read only. If all of a sudden the method doesn't work, this might be the cause of it...
7.2 For Mac users: the hosts file is located in /etc/hosts
.Note for Mac ARM users: You will need to modify and rebuild TrinityCore, so it will be compatible with your device. You can find the author's pull request with the required modifications here.
THIS was it! great!
yeah it works! tested on dragonflight and tww ))))))))))))))))))))))))))))))))))))))))))))))
Hey folks, let me know if this guide would've solved your confusion: https://github.com/motivewc/wowpatch/pull/5/files#diff-1edc61efa1102d153eb683e512d30a1e31fd0a4e2f9ac62f5044c0ff43685058
I didn't mention the TrinityCore patch, as I expect to work with Shauren to merge that soon.
Hi,
very good, that you code an alternative for the launcher! messed with this topic around, too.
tested on windows x64, but not working. converted the tc cert to pfx and imported. tested with dragonflight, but rsa modulus and ed25519 pubkey are the same in df and war within. there must be something additional to patch for windows x64.
btw, the old legion connection_patcher is good inspiration, too. https://github.com/TrinityCore/TrinityCore/tree/7f2b7dc9c2165d2608742473a931f55b1c1a753a/src/tools/connection_patcher