Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] You're talking to an NPC right there, no?

[DiscordArchive] You're talking to an NPC right there, no?

[DiscordArchive] You're talking to an NPC right there, no?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
02-07-2025, 01:39 PM
#11
Archived author: Honey • Posted: 2025-02-07T13:39:53.017000+00:00
Original source

If else fails, try invisible dummies. Or fix the code if you don't want to hack it.
rektbyfaith
02-07-2025, 01:39 PM #11

Archived author: Honey • Posted: 2025-02-07T13:39:53.017000+00:00
Original source

If else fails, try invisible dummies. Or fix the code if you don't want to hack it.

rektbyfaith
Administrator
0
02-07-2025, 01:45 PM
#12
Archived author: OUTRAKE • Posted: 2025-02-07T13:45:36.670000+00:00
Original source

currently eluna `SendTrainerList` is used to send trainer list if npc is an actual trainer
rektbyfaith
02-07-2025, 01:45 PM #12

Archived author: OUTRAKE • Posted: 2025-02-07T13:45:36.670000+00:00
Original source

currently eluna `SendTrainerList` is used to send trainer list if npc is an actual trainer

rektbyfaith
Administrator
0
02-07-2025, 01:47 PM
#13
Archived author: OUTRAKE • Posted: 2025-02-07T13:47:47.855000+00:00
Original source

we are missing the action i think in eluna
rektbyfaith
02-07-2025, 01:47 PM #13

Archived author: OUTRAKE • Posted: 2025-02-07T13:47:47.855000+00:00
Original source

we are missing the action i think in eluna

rektbyfaith
Administrator
0
02-07-2025, 01:47 PM
#14
Archived author: OUTRAKE • Posted: 2025-02-07T13:47:56.215000+00:00
Original source

```
int SendTrainerList(lua_State* L, Player* player)
{
Creature* obj = Eluna::CHECKOBJ<Creature>(L, 2);

player->GetSession()->SendTrainerList(obj->GET_GUID());
return 0;
}

```
rektbyfaith
02-07-2025, 01:47 PM #14

Archived author: OUTRAKE • Posted: 2025-02-07T13:47:56.215000+00:00
Original source

```
int SendTrainerList(lua_State* L, Player* player)
{
Creature* obj = Eluna::CHECKOBJ<Creature>(L, 2);

player->GetSession()->SendTrainerList(obj->GET_GUID());
return 0;
}

```

rektbyfaith
Administrator
0
02-07-2025, 03:58 PM
#15
Archived author: OUTRAKE • Posted: 2025-02-07T15:58:48.159000+00:00
Original source

not even that works,
```
Creature* trainer = GetPlayer()->SummonCreature(trainerEntry, x, y, z, 0.0f, TEMPSUMMON_TIMED_DESPAWN, 5000);

ObjectGuid trainerGuid = trainer->GetGUID();

std:Confusedtring str = GetAcoreString(LANG_NPC_TAINER_HELLO);
GetPlayer()->GetSession()->SendTrainerList(trainerGuid, str);
```
rektbyfaith
02-07-2025, 03:58 PM #15

Archived author: OUTRAKE • Posted: 2025-02-07T15:58:48.159000+00:00
Original source

not even that works,
```
Creature* trainer = GetPlayer()->SummonCreature(trainerEntry, x, y, z, 0.0f, TEMPSUMMON_TIMED_DESPAWN, 5000);

ObjectGuid trainerGuid = trainer->GetGUID();

std:Confusedtring str = GetAcoreString(LANG_NPC_TAINER_HELLO);
GetPlayer()->GetSession()->SendTrainerList(trainerGuid, str);
```

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)