4.3.4 bnetserver not starting realm

I recently found the Trinity Cataclsym Preservation Project and thought I will try it out.

I am already running 3.3.5a and Master - both server run great

Pulled 4.3.4 down using Git and built it same way as others:

[ul][li]boost_1_73_0[/li]
[li]cmake 3.17.2[/li]
[li]Mysql 5.7.30[/li]
[li]VS Community 2019[/li]
[/ul]
Built fine - no issue. Used ‘Extractor.bat’ to run all the map extractors - worked great!

Noticed there was extra file 'connection_patcher.exe`, ran that - worked great! Now have “wow_patched” and use this to launch client

MySQL runs in standalone mode, -initialize, added base sql files, imported, auth and character sql files

Configured both the .conf files and passwords, IPs etc are all in place.

Note: When loading the exe and built conf file, bnetserver complain about these items missing, so I add them:

[ul][li]Updates.AutoSetup = 1[/li]
[li]Updates.EnableDatabases = 0[/li]
[li]LoginDatabase.SynchThreads = 1[/li]
[/ul]
Load up Mysql - loads fine

Load up bnetserver and appears to load ok - last few lines look like this:

Connected to MySQL database at 127.0.0.1
DatabasePool ‘auth’ opened successfully. 2 total connections running.
Started auth database connection pool.
Listening on connections from worldservers on port 1118…

Load up worldserver and it adds the FULL world and hotfixes, then applied all updates (confirmed archived in SQL) - last few lines look like this:

Calculate next monthly quest reset time…
Calculate random battleground reset time…
Calculate guild limitation(s) reset time…
Calculate next currency reset time…
World initialized in 0 minutes 13 seconds
TrinityCore rev. d0c7bbab40bc 2020-05-06 00:01:21 +0200 (master branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon) ready…

There are no db errors in logs.

Config.wtf contain portal, realmlist as remote server and patchlist as localhost.

When I try to connecting using “user@local” and password I get immediately disconnected.

What I did noticed different is that the bnetserver doesnt add “Added realm “Battle for Azeroth” at 192.168.10.213:8085.” (From my Master log)

3.3.5a also have this line as last line in authserver - but 4.3.4 is not giving me this one.

Realmlist table is accurate with right information.

Anyone know why bnetserver is not starting me realm?

Update:

I can see in client logs:

5/7 16:36:16.436 GRUNT: state: LOGIN_STATE_CONNECTING result: LOGIN_OK
5/7 16:36:16.661 Failed to resolve 192.168.10.211.logon.battle.net
5/7 16:36:16.678 GRUNT: state: LOGIN_STATE_FAILED result: DISCONNECTED

But I have already patched! I use Wow_Patched and I can also see Battle.net_Patched.dll

What else is different about 4.3.4 that I need to know that might cause client to not connect?

Internal and external IP in realm table (auth db)

all ports, needed for bnetserver (in firewall or redirecting on router)

realmlist.wtf in client & config files for bnetserv + wrldserv

Also try The Cataclysm Preservation Project or (C)mangos

My source IS the Cataclysm Preservation Project (TrinityCore rev. d0c7bbab40bc 2020-05-06 00:01:21 +0200) latest commit

Realmlist is good:

“1” “Trinity” “192.168.10.211” “127.0.0.1” “255.255.255.0” “8085” “0” “0” “1” “0” “0” “15595” “2” “1”

All firewall ports created using the exe so ALL ports open

Config.wtf AND realmlist.wtf in the data locale directory are set to IP of server

And yes, the conf files for both the bnet and world servers are spot on.

After my testing I think the issue is the client locale - even after patching the wow.exe successfully, the client still has:

5/7 16:36:16.436 GRUNT: state: LOGIN_STATE_CONNECTING result: LOGIN_OK 5/7 16:36:16.661 Failed to resolve 192.168.10.211.logon.battle.net5/7 16:36:16.678 GRUNT: state: LOGIN_STATE_FAILED result: DISCONNECTED

I am testing a enUS client at the moment - no working yet - patching it gives different problem

The connection_patcher with current 4.3.4 says it patched successfully, but its behavior is not

Issue was problem with 32bit WOW.EXE

I got some help in Discord

Thank you Kisshu.

Client is now connecting using a 64bit client

This can be closed

Good Evening Uee,

I am having the same problem you have been, and I hope that I might be able to replicate that solution. Could you tell me what you did, or else let me know where I can find the discussion?

The only supported & developed version is TCPP. But I can’t patch the original wow & wow64 exe & dll files by TCPP patcher. It’s too bad that this fork uses the bnetserver authentication system and not the old way (authserver).

so sad,

Personally, I missed the part in the wiki on the TCPP github page where they state about the TCPP patcher. However, after going through some old version of the Atlassian wiki for TC I found this:

[ul][li]Get latest connection_patcher (from your build/RelWithDebInfo folder when compiling with tools) and apply wow.exe and/or wow64.exe on it by using the command console or drag&drop the exe files over the connection_patcher. [/li]WoW_Patched.exe or Wow-64_Patched.exe have been created, use this from now on.

[li]Change [B]Config.wtf[/B]: SET portal "[B]<IP address used in realmlist table>[/B]"[/li]		The IP in the Config.wtf file should be exactly the same as the IP address you entered in the realmlist table above. (Example: [B]SET portal "127.0.0.1"[/B])

NOTE YOU MUST RUN CONNECTION PATCHER ON EVERY CLIENT PC.

[/ul]
https://trinitycore.atlassian.net/wiki/pages/viewpage.action?pageId=74006268&pageVersion=1

Besides that I renamed the patched files back to their original names (wow.exe)

Can уou upload wow or wow-64 and Battle.net.dll or Battle.net-64.dll to any filehosting?

			I get a patch error and the client does not connect to the server 

			
				[https://imgur.com/a/k3zjQKa](https://imgur.com/a/k3zjQKa)

Ehm, I prefer not to share it in public. However, what I notice with the old cata (not giving any names to prevent down takes too soon for you) mini file, they had an extra zip file to upgrade the cinematics part and add a bunch of .dll files to the mini client. This extra part is still available for download here https://mega.nz/file/BYpwyKpJ#1H4ZZ0BQc7VEb8IXUbc611ZZk7Km7c7WIMgW3eekhmQ (after some webcrawling I found this one) They removed the download for the mini client.

The succesfull return I get then is the following picture:

[ATTACH]2537._xfImport[/ATTACH]

One thing I do notice between the screen shots provided above is that Lucian_by is running the patch from Unix, while Not-A-Potato is running this from Windows. Personally I’m now running into the same issue as Lucian - I get the same error message when I run the connection_patcher from Ubuntu 20.04 command line for the client I am using in the build - Map extraction, etc. The connection_patcher won’t run in the windows environment, and neither will it complete the patch work on the client I’ve copied across.

I’m trying to setup a server VM using Ubuntu 20.04 while using Windows 10 for the client-side things. Is there anything I can do to patch out the executable short of downloading and compiling the code - and therefore the connection_patcher in windows as well?

So I bit the bullet and setup my Windows PC to compile the connection_patcher software, and it worked! At least the 32 bit did. When I got to the 64 bit stuff I had some problems. I’m getting a message of “EX: unable to find pattern” when I try to run connection patcher with Wow-64.exe. I do have Battle.net-64.dll present by the way. Any thoughts?

Hello, did you manage to solve it? because i have the same problem and i can’t solve it