[DiscordArchive] The coinage thing, you mean like there already is?
[DiscordArchive] The coinage thing, you mean like there already is?
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..
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
Archived author: functorism • Posted: 2024-01-07T00:26:31.325000+00:00
Original source
width, height, x_offset, y_offset
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
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
tring(args), ' ');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:
tring(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;
}```
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
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
Archived author: Foe • Posted: 2024-01-07T00:30:47.931000+00:00
Original source
Same goes for creatures
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.