Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] You set what, a name, body and icon?

[DiscordArchive] You set what, a name, body and icon?

[DiscordArchive] You set what, a name, body and icon?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-30-2025, 09:11 PM
#1
Archived author: Natrist • Posted: 2025-05-30T21:11:25.790000+00:00
Original source

You set what, a name, body and icon?
rektbyfaith
05-30-2025, 09:11 PM #1

Archived author: Natrist • Posted: 2025-05-30T21:11:25.790000+00:00
Original source

You set what, a name, body and icon?

rektbyfaith
Administrator
0
05-30-2025, 09:12 PM
#2
Archived author: Kaev • Posted: 2025-05-30T21:12:24.744000+00:00
Original source

yes
rektbyfaith
05-30-2025, 09:12 PM #2

Archived author: Kaev • Posted: 2025-05-30T21:12:24.744000+00:00
Original source

yes

rektbyfaith
Administrator
0
05-30-2025, 09:13 PM
#3
Archived author: Peacy • Posted: 2025-05-30T21:13:37.863000+00:00
Original source

yeah
rektbyfaith
05-30-2025, 09:13 PM #3

Archived author: Peacy • Posted: 2025-05-30T21:13:37.863000+00:00
Original source

yeah

rektbyfaith
Administrator
0
05-30-2025, 09:43 PM
#4
Archived author: Natrist • Posted: 2025-05-30T21:43:34.922000+00:00
Original source

```C++
void __cdecl CGUIMacros::EditMacro(int index, const char *name, const char *iconPath, const char *body)
{
MACRONODE *macro;

macro = TSHashTable<MACRONODE,HASHKEY_NONE>:Tonguetr(&CGUIMacros::m_macros, index);
if (macro)
{
if (name)
SStrCopy(macro->m_name, name, 64u);
if (iconPath)
SStrCopy(macro->m_text, iconPath, 256u);
if (body)
CGUIMacros::SetMacroBody(macro, body);
CGUIMacros::m_saveMacros = 1;
CGUIMacros::SortMacros();
CGActionBar::UpdateMacro(index);
}
}
```
rektbyfaith
05-30-2025, 09:43 PM #4

Archived author: Natrist • Posted: 2025-05-30T21:43:34.922000+00:00
Original source

```C++
void __cdecl CGUIMacros::EditMacro(int index, const char *name, const char *iconPath, const char *body)
{
MACRONODE *macro;

macro = TSHashTable<MACRONODE,HASHKEY_NONE>:Tonguetr(&CGUIMacros::m_macros, index);
if (macro)
{
if (name)
SStrCopy(macro->m_name, name, 64u);
if (iconPath)
SStrCopy(macro->m_text, iconPath, 256u);
if (body)
CGUIMacros::SetMacroBody(macro, body);
CGUIMacros::m_saveMacros = 1;
CGUIMacros::SortMacros();
CGActionBar::UpdateMacro(index);
}
}
```

rektbyfaith
Administrator
0
05-30-2025, 09:46 PM
#5
Archived author: Peacy • Posted: 2025-05-30T21:46:35.978000+00:00
Original source

Thanks! ❤️
rektbyfaith
05-30-2025, 09:46 PM #5

Archived author: Peacy • Posted: 2025-05-30T21:46:35.978000+00:00
Original source

Thanks! ❤️

rektbyfaith
Administrator
0
05-30-2025, 09:49 PM
#6
Archived author: Natrist • Posted: 2025-05-30T21:49:23.106000+00:00
Original source

Maybe double check the icon path thing because I didn’t really confirm it, but at first glance that’s what it should be… I think.
rektbyfaith
05-30-2025, 09:49 PM #6

Archived author: Natrist • Posted: 2025-05-30T21:49:23.106000+00:00
Original source

Maybe double check the icon path thing because I didn’t really confirm it, but at first glance that’s what it should be… I think.

rektbyfaith
Administrator
0
05-30-2025, 09:49 PM
#7
Archived author: Natrist • Posted: 2025-05-30T21:49:53.854000+00:00
Original source

The thing I don’t get is why it’s set to 256 because file paths are usually 260 wide…
rektbyfaith
05-30-2025, 09:49 PM #7

Archived author: Natrist • Posted: 2025-05-30T21:49:53.854000+00:00
Original source

The thing I don’t get is why it’s set to 256 because file paths are usually 260 wide…

rektbyfaith
Administrator
0
05-30-2025, 09:50 PM
#8
Archived author: Peacy • Posted: 2025-05-30T21:50:15.048000+00:00
Original source

yea, I just get unable to read string
rektbyfaith
05-30-2025, 09:50 PM #8

Archived author: Peacy • Posted: 2025-05-30T21:50:15.048000+00:00
Original source

yea, I just get unable to read string

rektbyfaith
Administrator
0
05-30-2025, 09:50 PM
#9
Archived author: Peacy • Posted: 2025-05-30T21:50:19.812000+00:00
Original source

when I try to test it out
rektbyfaith
05-30-2025, 09:50 PM #9

Archived author: Peacy • Posted: 2025-05-30T21:50:19.812000+00:00
Original source

when I try to test it out

rektbyfaith
Administrator
0
05-30-2025, 09:50 PM
#10
Archived author: Natrist • Posted: 2025-05-30T21:50:39.930000+00:00
Original source

Sometimes different devs worked on different systems that tied in together and they implemented things differently. Maybe that’s one such case.
rektbyfaith
05-30-2025, 09:50 PM #10

Archived author: Natrist • Posted: 2025-05-30T21:50:39.930000+00:00
Original source

Sometimes different devs worked on different systems that tied in together and they implemented things differently. Maybe that’s one such case.

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