Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] The coinage thing, you mean like there already is?

[DiscordArchive] The coinage thing, you mean like there already is?

[DiscordArchive] The coinage thing, you mean like there already is?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
01-07-2024, 12:24 AM
#11
Archived author: functorism • Posted: 2024-01-07T00:24:24.638000+00:00
Original source

It works with the example I found in that codebase, now I just need to figure out how to find the right paths for the icons I want..
rektbyfaith
01-07-2024, 12:24 AM #11

Archived author: functorism • Posted: 2024-01-07T00:24:24.638000+00:00
Original source

It works with the example I found in that codebase, now I just need to figure out how to find the right paths for the icons I want..

rektbyfaith
Administrator
0
01-07-2024, 12:25 AM
#12
Archived author: functorism • Posted: 2024-01-07T00:25:05.585000+00:00
Original source

`|TInterface\\ICONS\\Achievement_PVP_A_A:13:13:0:-3|t`

That works... but is quite cryptic
rektbyfaith
01-07-2024, 12:25 AM #12

Archived author: functorism • Posted: 2024-01-07T00:25:05.585000+00:00
Original source

`|TInterface\\ICONS\\Achievement_PVP_A_A:13:13:0:-3|t`

That works... but is quite cryptic

rektbyfaith
Administrator
0
01-07-2024, 12:26 AM
#13
Archived author: functorism • Posted: 2024-01-07T00:26:31.325000+00:00
Original source

width, height, x_offset, y_offset
rektbyfaith
01-07-2024, 12:26 AM #13

Archived author: functorism • Posted: 2024-01-07T00:26:31.325000+00:00
Original source

width, height, x_offset, y_offset

rektbyfaith
Administrator
0
01-07-2024, 12:26 AM
#14
Archived author: Foe • Posted: 2024-01-07T00:26:41.557000+00:00
Original source

What we did for our project is add an additional variable for hot reloading. ie. .reload item_template itemId
rektbyfaith
01-07-2024, 12:26 AM #14

Archived author: Foe • Posted: 2024-01-07T00:26:41.557000+00:00
Original source

What we did for our project is add an additional variable for hot reloading. ie. .reload item_template itemId

rektbyfaith
Administrator
0
01-07-2024, 12:26 AM
#15
Archived author: Foe • Posted: 2024-01-07T00:26:58.190000+00:00
Original source

If the itemId is supplied, then we live reload the data for that specific item
rektbyfaith
01-07-2024, 12:26 AM #15

Archived author: Foe • Posted: 2024-01-07T00:26:58.190000+00:00
Original source

If the itemId is supplied, then we live reload the data for that specific item

rektbyfaith
Administrator
0
01-07-2024, 12:28 AM
#16
Archived author: Foe • Posted: 2024-01-07T00:28:44.856000+00:00
Original source

```C++
static bool HandleReloadItemTemplateCommand(ChatHandler* handler, char const* args)
{
if (!*args)
return false;

Tokenizer entries(std:Confusedtring(args), ' ');
std::ostringstream oss;
oss << "item template entries ";
for (Tokenizer::const_iterator itr = entries.begin(); itr != entries.end(); ++itr)
{
uint32 entry = uint32(atoi(*itr));

sObjectMgr->LoadItemTemplate(entry);
if (const ItemTemplate* reloadItem = sObjectMgr->GetItemTemplate(entry))
{
oss << entry << " ";
WorldPacket response = reloadItem->BuildQueryData(LOCALE_enUS);
sWorld->SendGlobalMessage(&response);
}

}
oss << "reloaded.";
handler->SendGlobalGMSysMessage(oss.str().c_str());
return true;
}```
rektbyfaith
01-07-2024, 12:28 AM #16

Archived author: Foe • Posted: 2024-01-07T00:28:44.856000+00:00
Original source

```C++
static bool HandleReloadItemTemplateCommand(ChatHandler* handler, char const* args)
{
if (!*args)
return false;

Tokenizer entries(std:Confusedtring(args), ' ');
std::ostringstream oss;
oss << "item template entries ";
for (Tokenizer::const_iterator itr = entries.begin(); itr != entries.end(); ++itr)
{
uint32 entry = uint32(atoi(*itr));

sObjectMgr->LoadItemTemplate(entry);
if (const ItemTemplate* reloadItem = sObjectMgr->GetItemTemplate(entry))
{
oss << entry << " ";
WorldPacket response = reloadItem->BuildQueryData(LOCALE_enUS);
sWorld->SendGlobalMessage(&response);
}

}
oss << "reloaded.";
handler->SendGlobalGMSysMessage(oss.str().c_str());
return true;
}```

rektbyfaith
Administrator
0
01-07-2024, 12:28 AM
#17
Archived author: Foe • Posted: 2024-01-07T00:28:58.311000+00:00
Original source

It's for Trinity, but should be easy to port. Most of the stuff is 1:1
rektbyfaith
01-07-2024, 12:28 AM #17

Archived author: Foe • Posted: 2024-01-07T00:28:58.311000+00:00
Original source

It's for Trinity, but should be easy to port. Most of the stuff is 1:1

rektbyfaith
Administrator
0
01-07-2024, 12:30 AM
#18
Archived author: Foe • Posted: 2024-01-07T00:30:05.858000+00:00
Original source

LoadItemTemplate is pretty much the exact same thing as LoadItemTemplates but with an entry supplied
rektbyfaith
01-07-2024, 12:30 AM #18

Archived author: Foe • Posted: 2024-01-07T00:30:05.858000+00:00
Original source

LoadItemTemplate is pretty much the exact same thing as LoadItemTemplates but with an entry supplied

rektbyfaith
Administrator
0
01-07-2024, 12:30 AM
#19
Archived author: Foe • Posted: 2024-01-07T00:30:47.931000+00:00
Original source

Same goes for creatures
rektbyfaith
01-07-2024, 12:30 AM #19

Archived author: Foe • Posted: 2024-01-07T00:30:47.931000+00:00
Original source

Same goes for creatures

rektbyfaith
Administrator
0
01-07-2024, 12:34 AM
#20
Archived author: functorism • Posted: 2024-01-07T00:34:05.795000+00:00
Original source

For some reason it's very hard to track down the icons for the coinage... there are icons of g/s/c. But I want the proper ones that are just symbols.
rektbyfaith
01-07-2024, 12:34 AM #20

Archived author: functorism • Posted: 2024-01-07T00:34:05.795000+00:00
Original source

For some reason it's very hard to track down the icons for the coinage... there are icons of g/s/c. But I want the proper ones that are just symbols.

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