Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Hello comunity the azeoth core, Can someone help me tell me how to fix these errors?

[DiscordArchive] Hello comunity the azeoth core, Can someone help me tell me how to fix these errors?

[DiscordArchive] Hello comunity the azeoth core, Can someone help me tell me how to fix these errors?

rektbyfaith
Administrator
0
04-18-2023, 12:45 AM
#1
Archived author: • Posted: 2023-04-18T00:45:59.999000+00:00
Original source

Hello comunity the azeoth core, Can someone help me tell me how to fix these errors?
rektbyfaith
04-18-2023, 12:45 AM #1

Archived author: • Posted: 2023-04-18T00:45:59.999000+00:00
Original source

Hello comunity the azeoth core, Can someone help me tell me how to fix these errors?

rektbyfaith
Administrator
0
04-18-2023, 12:46 AM
#2
Archived author: • Posted: 2023-04-18T00:46:54.529000+00:00
Original source


[Image: image-1.png?ex=690beffe&is=690a9e7e&hm=b...fa466f463&]

[Image: image-3.png?ex=690beffe&is=690a9e7e&hm=a...9811d6513&]

[Image: image-2.png?ex=690beffe&is=690a9e7e&hm=d...411921c1d&]
rektbyfaith
04-18-2023, 12:46 AM #2

Archived author: • Posted: 2023-04-18T00:46:54.529000+00:00
Original source


[Image: image-1.png?ex=690beffe&is=690a9e7e&hm=b...fa466f463&]

[Image: image-3.png?ex=690beffe&is=690a9e7e&hm=a...9811d6513&]

[Image: image-2.png?ex=690beffe&is=690a9e7e&hm=d...411921c1d&]

rektbyfaith
Administrator
0
04-18-2023, 02:55 AM
#3
Archived author: Anchy • Posted: 2023-04-18T02:55:12.175000+00:00
Original source

not sure if its really relevant but during my testing of my hardmode module sometimes when I would deactivate a mode on my gossip npc it would be off by 1 index and deactivate the wrong mode
rektbyfaith
04-18-2023, 02:55 AM #3

Archived author: Anchy • Posted: 2023-04-18T02:55:12.175000+00:00
Original source

not sure if its really relevant but during my testing of my hardmode module sometimes when I would deactivate a mode on my gossip npc it would be off by 1 index and deactivate the wrong mode

rektbyfaith
Administrator
0
04-18-2023, 02:56 AM
#4
Archived author: Anchy • Posted: 2023-04-18T02:56:16.310000+00:00
Original source

I can replicate it quite easily, as it happens while I am running
rektbyfaith
04-18-2023, 02:56 AM #4

Archived author: Anchy • Posted: 2023-04-18T02:56:16.310000+00:00
Original source

I can replicate it quite easily, as it happens while I am running

rektbyfaith
Administrator
0
04-18-2023, 02:56 AM
#5
Archived author: Anchy • Posted: 2023-04-18T02:56:33.042000+00:00
Original source

so it could be an off-by-one error
rektbyfaith
04-18-2023, 02:56 AM #5

Archived author: Anchy • Posted: 2023-04-18T02:56:33.042000+00:00
Original source

so it could be an off-by-one error

rektbyfaith
Administrator
0
04-18-2023, 03:03 AM
#6
Archived author: Anchy • Posted: 2023-04-18T03:03:37.914000+00:00
Original source

not really sure if it's in relation to my gossip script though
rektbyfaith
04-18-2023, 03:03 AM #6

Archived author: Anchy • Posted: 2023-04-18T03:03:37.914000+00:00
Original source

not really sure if it's in relation to my gossip script though

rektbyfaith
Administrator
0
04-18-2023, 03:13 AM
#7
Archived author: Anchy • Posted: 2023-04-18T03:13:39.381000+00:00
Original source

actually it's not an off-by-one, and it's due to this line of code here:
```cpp
uint32 GossipMenu::GetMenuItemAction(uint32 menuItemId) const
{
GossipMenuItemContainer::const_iterator itr = _menuItems.find(menuItemId);
if (itr == _menuItems.end())
return 0; // The culprit

return itr->second.OptionType;
}```
rektbyfaith
04-18-2023, 03:13 AM #7

Archived author: Anchy • Posted: 2023-04-18T03:13:39.381000+00:00
Original source

actually it's not an off-by-one, and it's due to this line of code here:
```cpp
uint32 GossipMenu::GetMenuItemAction(uint32 menuItemId) const
{
GossipMenuItemContainer::const_iterator itr = _menuItems.find(menuItemId);
if (itr == _menuItems.end())
return 0; // The culprit

return itr->second.OptionType;
}```

rektbyfaith
Administrator
0
04-18-2023, 03:13 AM
#8
Archived author: Anchy • Posted: 2023-04-18T03:13:44.504000+00:00
Original source

I'll update the issue I guess
rektbyfaith
04-18-2023, 03:13 AM #8

Archived author: Anchy • Posted: 2023-04-18T03:13:44.504000+00:00
Original source

I'll update the issue I guess

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)