diff --git a/Stub/DiabloUI/diabloui.cpp b/Stub/DiabloUI/diabloui.cpp index 19caa2708..b44e51a7c 100644 --- a/Stub/DiabloUI/diabloui.cpp +++ b/Stub/DiabloUI/diabloui.cpp @@ -664,6 +664,7 @@ void LoadBackgroundArt(char *pszFile) { PALETTEENTRY pPal[256]; + fadeValue = 0; LoadArt(pszFile, &ArtBackground, 1, pPal); LoadPalInMem(pPal); ApplyGamma(logical_palette, orig_palette, 256); diff --git a/Stub/dvlnet/tcp_client.cpp b/Stub/dvlnet/tcp_client.cpp index 6c6380c21..ce409f914 100644 --- a/Stub/dvlnet/tcp_client.cpp +++ b/Stub/dvlnet/tcp_client.cpp @@ -5,7 +5,7 @@ using namespace dvlnet; int tcp_client::create(std::string addrstr, std::string passwd) { local_server = std::make_unique(ioc, addrstr, - default_port, passwd); + 6112, passwd); return join(local_server->localhost_self(), passwd); } @@ -13,7 +13,7 @@ int tcp_client::join(std::string addrstr, std::string passwd) { setup_password(passwd); auto ipaddr = asio::ip::make_address(addrstr); - sock.connect(asio::ip::tcp::endpoint(ipaddr, default_port)); + sock.connect(asio::ip::tcp::endpoint(ipaddr, 6112)); start_recv(); { // hack: try to join for 5 seconds randombytes_buf(reinterpret_cast(&cookie_self), diff --git a/Stub/storm_net.cpp b/Stub/storm_net.cpp index 80ea4cde8..0010e6fd2 100644 --- a/Stub/storm_net.cpp +++ b/Stub/storm_net.cpp @@ -87,7 +87,7 @@ int __stdcall SNetInitializeProvider(unsigned long provider, struct _SNETPROGRAM if (provider == 'TCPN') { dvlnet_inst = std::make_unique(); } else if (provider == 'UDPN') { - dvlnet_inst = std::make_unique(); + dvlnet_inst = std::make_unique(); } else if (provider == 'SCBL' || provider == 0) { dvlnet_inst = std::make_unique(); } else {