Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] is trap summoner friendly to the player?

[DiscordArchive] is trap summoner friendly to the player?

[DiscordArchive] is trap summoner friendly to the player?

rektbyfaith
Administrator
0
08-11-2023, 09:00 PM
#1
Archived author: Tea • Posted: 2023-08-11T21:00:33.339000+00:00
Original source

is trap summoner friendly to the player?
rektbyfaith
08-11-2023, 09:00 PM #1

Archived author: Tea • Posted: 2023-08-11T21:00:33.339000+00:00
Original source

is trap summoner friendly to the player?

rektbyfaith
Administrator
0
08-11-2023, 09:01 PM
#2
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
rektbyfaith
08-11-2023, 09:01 PM #2

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

rektbyfaith
Administrator
0
08-11-2023, 09:02 PM
#3
Archived author: leonis35 • Posted: 2023-08-11T21:02:03.377000+00:00
Original source

ah well the summoner IS the player
rektbyfaith
08-11-2023, 09:02 PM #3

Archived author: leonis35 • Posted: 2023-08-11T21:02:03.377000+00:00
Original source

ah well the summoner IS the player

rektbyfaith
Administrator
0
08-11-2023, 09:02 PM
#4
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
rektbyfaith
08-11-2023, 09:02 PM #4

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

rektbyfaith
Administrator
0
08-11-2023, 09:20 PM
#5
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:Confusedocket* socket = tmpSocket;
uint32 threadIndex = tmpThreadIndex;
_acceptor.async_accept(*socket, [this, socket, threadIndex](boost:Confusedystem::error_code error)
{
if (!error)
{
try
{
socket->non_blocking(true);

acceptCallback(std::move(*socket), threadIndex);
}
catch (boost:Confusedystem:Confusedystem_error const& err)
{
TC_LOG_INFO("network", "Failed to initialize client's socket {}", err.what());
}
}

if (!_closed)
this->AsyncAcceptWithCallback<acceptCallback>();
});
}
``` Line 59 AsyncAcceptor.h
rektbyfaith
08-11-2023, 09:20 PM #5

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:Confusedocket* socket = tmpSocket;
uint32 threadIndex = tmpThreadIndex;
_acceptor.async_accept(*socket, [this, socket, threadIndex](boost:Confusedystem::error_code error)
{
if (!error)
{
try
{
socket->non_blocking(true);

acceptCallback(std::move(*socket), threadIndex);
}
catch (boost:Confusedystem:Confusedystem_error const& err)
{
TC_LOG_INFO("network", "Failed to initialize client's socket {}", err.what());
}
}

if (!_closed)
this->AsyncAcceptWithCallback<acceptCallback>();
});
}
``` Line 59 AsyncAcceptor.h

rektbyfaith
Administrator
0
08-11-2023, 09:21 PM
#6
Archived author: Tea • Posted: 2023-08-11T21:21:39.292000+00:00
Original source

branch and msvc version?
rektbyfaith
08-11-2023, 09:21 PM #6

Archived author: Tea • Posted: 2023-08-11T21:21:39.292000+00:00
Original source

branch and msvc version?

rektbyfaith
Administrator
0
08-11-2023, 09:22 PM
#7
Archived author: Darade • Posted: 2023-08-11T21:22:23.226000+00:00
Original source

Master, and vs162019
rektbyfaith
08-11-2023, 09:22 PM #7

Archived author: Darade • Posted: 2023-08-11T21:22:23.226000+00:00
Original source

Master, and vs162019

rektbyfaith
Administrator
0
08-11-2023, 09:23 PM
#8
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)
rektbyfaith
08-11-2023, 09:23 PM #8

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)

rektbyfaith
Administrator
0
08-11-2023, 09:23 PM
#9
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!
rektbyfaith
08-11-2023, 09:23 PM #9

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!

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)