[DiscordArchive] is trap summoner friendly to the player?
[DiscordArchive] is trap summoner friendly to the player?
Archived author: Tea • Posted: 2023-08-11T21:00:33.339000+00:00
Original source
is trap summoner friendly to the player?
Archived author: leonis35 • Posted: 2023-08-11T21:01:14.655000+00:00
Original source
yes its only for the player, but the trap appear near a target, even if there is some distance
Archived author: leonis35 • Posted: 2023-08-11T21:02:03.377000+00:00
Original source
ah well the summoner IS the player
Archived author: leonis35 • Posted: 2023-08-11T21:02:36.081000+00:00
Original source
i want the summoner AND the trigger being the player, only
ocket* socket = tmpSocket;
ystem::error_code error)
ystem:
ystem_error const& err)Archived author: Darade • Posted: 2023-08-11T21:20:52.887000+00:00
Original source
```Error C2102 '&' requires l-value game ```
``` template<AcceptCallback acceptCallback>
void AsyncAcceptWithCallback()
{
auto [tmpSocket, tmpThreadIndex] = _socketFactory();
// TODO: get rid of temporary variables (clang 15 cannot handle variables from structured bindings as lambda captures)
boost::asio::ip::tcp:
ocket* socket = tmpSocket;
uint32 threadIndex = tmpThreadIndex;
_acceptor.async_accept(*socket, [this, socket, threadIndex](boost:
ystem::error_code error)
{
if (!error)
{
try
{
socket->non_blocking(true);
acceptCallback(std::move(*socket), threadIndex);
}
catch (boost:
ystem:
ystem_error const& err)
{
TC_LOG_INFO("network", "Failed to initialize client's socket {}", err.what());
}
}
if (!_closed)
this->AsyncAcceptWithCallback<acceptCallback>();
});
}
``` Line 59 AsyncAcceptor.h
Archived author: Tea • Posted: 2023-08-11T21:21:39.292000+00:00
Original source
branch and msvc version?
Archived author: Darade • Posted: 2023-08-11T21:22:23.226000+00:00
Original source
Master, and vs162019
Archived author: Tea • Posted: 2023-08-11T21:23:14.976000+00:00
Original source
i have no idea how you achieved that, vs 2022 is REQUIRED (17.2 at least)
Archived author: Darade • Posted: 2023-08-11T21:23:43.249000+00:00
Original source
got it! lol I'll switch to vs2022 lmfao
That was exactly the reason, thank you Shauren!