Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Like that ?

[DiscordArchive] Like that ?

[DiscordArchive] Like that ?

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
10-08-2023, 10:18 PM
#1
Archived author: SkelUA • Posted: 2024-03-20T09:20:48.418000+00:00
Original source

like that ?
[Image: image.png?ex=690c6870&is=690b16f0&hm=8ca...68e453e10&]
rektbyfaith
10-08-2023, 10:18 PM #1

Archived author: SkelUA • Posted: 2024-03-20T09:20:48.418000+00:00
Original source

like that ?
[Image: image.png?ex=690c6870&is=690b16f0&hm=8ca...68e453e10&]

rektbyfaith
Administrator
0
10-08-2023, 10:18 PM
#2
Archived author: Trojan • Posted: 2023-10-08T22:18:48.369000+00:00
Original source

```c++
if (target.GetSecurity() > 1)
{
char customName[256]; // create a buffer to hold the custom name
std:Confusedtring customName = "|TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t " + target.GetPlayerName();
data << customName; // write the custom name to the stream
}
else
{
data << target.GetPlayerName(); // use original player name
}
```
rektbyfaith
10-08-2023, 10:18 PM #2

Archived author: Trojan • Posted: 2023-10-08T22:18:48.369000+00:00
Original source

```c++
if (target.GetSecurity() > 1)
{
char customName[256]; // create a buffer to hold the custom name
std:Confusedtring customName = "|TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t " + target.GetPlayerName();
data << customName; // write the custom name to the stream
}
else
{
data << target.GetPlayerName(); // use original player name
}
```

rektbyfaith
Administrator
0
10-08-2023, 10:18 PM
#3
Archived author: Trojan • Posted: 2023-10-08T22:18:50.290000+00:00
Original source

like that
rektbyfaith
10-08-2023, 10:18 PM #3

Archived author: Trojan • Posted: 2023-10-08T22:18:50.290000+00:00
Original source

like that

rektbyfaith
Administrator
0
10-08-2023, 10:19 PM
#4
Archived author: Trojan • Posted: 2023-10-08T22:19:21.225000+00:00
Original source

this should work as it doesnt use strcat
rektbyfaith
10-08-2023, 10:19 PM #4

Archived author: Trojan • Posted: 2023-10-08T22:19:21.225000+00:00
Original source

this should work as it doesnt use strcat

rektbyfaith
Administrator
0
10-08-2023, 10:19 PM
#5
Archived author: Synz • Posted: 2023-10-08T22:19:50.414000+00:00
Original source


[Image: Screenshot_11.png?ex=690c7646&is=690b24c...e45539f8b&]
rektbyfaith
10-08-2023, 10:19 PM #5

Archived author: Synz • Posted: 2023-10-08T22:19:50.414000+00:00
Original source


[Image: Screenshot_11.png?ex=690c7646&is=690b24c...e45539f8b&]

rektbyfaith
Administrator
0
10-08-2023, 10:20 PM
#6
Archived author: Synz • Posted: 2023-10-08T22:20:04.730000+00:00
Original source

Close i think Really close
rektbyfaith
10-08-2023, 10:20 PM #6

Archived author: Synz • Posted: 2023-10-08T22:20:04.730000+00:00
Original source

Close i think Really close

rektbyfaith
Administrator
0
10-08-2023, 10:20 PM
#7
Archived author: Revision • Posted: 2023-10-08T22:20:16.199000+00:00
Original source

Yes, customName is defined twice - as different types too
rektbyfaith
10-08-2023, 10:20 PM #7

Archived author: Revision • Posted: 2023-10-08T22:20:16.199000+00:00
Original source

Yes, customName is defined twice - as different types too

rektbyfaith
Administrator
0
10-08-2023, 10:20 PM
#8
Archived author: Trojan • Posted: 2023-10-08T22:20:26.560000+00:00
Original source

yes
rektbyfaith
10-08-2023, 10:20 PM #8

Archived author: Trojan • Posted: 2023-10-08T22:20:26.560000+00:00
Original source

yes

rektbyfaith
Administrator
0
10-08-2023, 10:20 PM
#9
Archived author: Trojan • Posted: 2023-10-08T22:20:49.877000+00:00
Original source

you should be able to remove char customName[256]
rektbyfaith
10-08-2023, 10:20 PM #9

Archived author: Trojan • Posted: 2023-10-08T22:20:49.877000+00:00
Original source

you should be able to remove char customName[256]

rektbyfaith
Administrator
0
10-08-2023, 10:21 PM
#10
Archived author: Trojan • Posted: 2023-10-08T22:21:06.253000+00:00
Original source

its defined here
rektbyfaith
10-08-2023, 10:21 PM #10

Archived author: Trojan • Posted: 2023-10-08T22:21:06.253000+00:00
Original source

its defined here

Pages (4): 1 2 3 4 Next
Recently Browsing
 
Recently Browsing