Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] ```c++

[DiscordArchive] ```c++

[DiscordArchive] ```c++

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
07-17-2022, 03:36 PM
#11
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:36:32.138000+00:00
Original source

with or without grids it dies
rektbyfaith
07-17-2022, 03:36 PM #11

Archived author: eldwarvo0001 • Posted: 2022-07-17T15:36:32.138000+00:00
Original source

with or without grids it dies

rektbyfaith
Administrator
0
07-17-2022, 03:37 PM
#12
Archived author: Anchy • Posted: 2022-07-17T15:37:09.879000+00:00
Original source

I just went with:
```cpp
bool EnchantItem(Player* player, Item* item, EnchantmentSlot slot, uint32 enchantId, bool overwrite)
{
if (item->GetEnchantmentId(slot) && !overwrite)
{
return false;
}

player->ApplyEnchantment(item, false);
item->SetEnchantment(EnchantmentSlot(slot), enchantId, 0, 0);
player->ApplyEnchantment(item, true);

return true;
}```
rektbyfaith
07-17-2022, 03:37 PM #12

Archived author: Anchy • Posted: 2022-07-17T15:37:09.879000+00:00
Original source

I just went with:
```cpp
bool EnchantItem(Player* player, Item* item, EnchantmentSlot slot, uint32 enchantId, bool overwrite)
{
if (item->GetEnchantmentId(slot) && !overwrite)
{
return false;
}

player->ApplyEnchantment(item, false);
item->SetEnchantment(EnchantmentSlot(slot), enchantId, 0, 0);
player->ApplyEnchantment(item, true);

return true;
}```

rektbyfaith
Administrator
0
07-17-2022, 03:37 PM
#13
Archived author: Revision • Posted: 2022-07-17T15:37:13.550000+00:00
Original source

If I'm not reading it wrong, it crashes when trying to load grid for map 571.
rektbyfaith
07-17-2022, 03:37 PM #13

Archived author: Revision • Posted: 2022-07-17T15:37:13.550000+00:00
Original source

If I'm not reading it wrong, it crashes when trying to load grid for map 571.

rektbyfaith
Administrator
0
07-17-2022, 03:37 PM
#14
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:37:42.132000+00:00
Original source


[Image: unknown.png?ex=690c1805&is=690ac685&hm=7...920940647&]
rektbyfaith
07-17-2022, 03:37 PM #14

Archived author: eldwarvo0001 • Posted: 2022-07-17T15:37:42.132000+00:00
Original source


[Image: unknown.png?ex=690c1805&is=690ac685&hm=7...920940647&]

rektbyfaith
Administrator
0
07-17-2022, 03:37 PM
#15
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:37:42.441000+00:00
Original source

aha!
rektbyfaith
07-17-2022, 03:37 PM #15

Archived author: eldwarvo0001 • Posted: 2022-07-17T15:37:42.441000+00:00
Original source

aha!

rektbyfaith
Administrator
0
07-17-2022, 03:37 PM
#16
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:37:51.485000+00:00
Original source

but now...it shows the actionhouse
rektbyfaith
07-17-2022, 03:37 PM #16

Archived author: eldwarvo0001 • Posted: 2022-07-17T15:37:51.485000+00:00
Original source

but now...it shows the actionhouse

rektbyfaith
Administrator
0
07-17-2022, 03:37 PM
#17
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:37:54.108000+00:00
Original source

i did use AHbot
rektbyfaith
07-17-2022, 03:37 PM #17

Archived author: eldwarvo0001 • Posted: 2022-07-17T15:37:54.108000+00:00
Original source

i did use AHbot

rektbyfaith
Administrator
0
07-17-2022, 03:37 PM
#18
Archived author: Revision • Posted: 2022-07-17T15:37:56.367000+00:00
Original source

That looks nice, I would remove the curly brackets myself since it only has 1 row but that's just personal
rektbyfaith
07-17-2022, 03:37 PM #18

Archived author: Revision • Posted: 2022-07-17T15:37:56.367000+00:00
Original source

That looks nice, I would remove the curly brackets myself since it only has 1 row but that's just personal

rektbyfaith
Administrator
0
07-17-2022, 03:38 PM
#19
Archived author: eldwarvo0001 • Posted: 2022-07-17T15:38:10.862000+00:00
Original source

maybe something there is wrong, although i deleted the modules
rektbyfaith
07-17-2022, 03:38 PM #19

Archived author: eldwarvo0001 • Posted: 2022-07-17T15:38:10.862000+00:00
Original source

maybe something there is wrong, although i deleted the modules

rektbyfaith
Administrator
0
07-17-2022, 03:38 PM
#20
Archived author: Revision • Posted: 2022-07-17T15:38:17.045000+00:00
Original source

I'm using the AH bot module without issues.
rektbyfaith
07-17-2022, 03:38 PM #20

Archived author: Revision • Posted: 2022-07-17T15:38:17.045000+00:00
Original source

I'm using the AH bot module without issues.

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