[DiscordArchive] Hello again i did a compilation but when I t...
[DiscordArchive] Hello again i did a compilation but when I t...
Archived author: Algardo • Posted: 2025-05-12T09:56:26.596000+00:00
Original source
i found this error
Loading Instances...
Floating point exception
im trying to add 2 new raid difficulty and increased max_raid_difficulty to 6 (was 4), and added 10m_mythic and 25m_mythic in the code
i also created new ids in mapdifficulty.dbc with mythic difficulty
![[Image: image.png?ex=690c721e&is=690b209e&hm=418...02ac64e83&]](https://cdn.discordapp.com/attachments/1371249013193576579/1371427207846690816/image.png?ex=690c721e&is=690b209e&hm=4189817a7531351919d86c6a9f062a27d363c54faee7ecdeee6046902ac64e83&)
Archived author: Algardo • Posted: 2025-05-12T10:02:06.231000+00:00
Original source
![[Image: image.png?ex=690c721e&is=690b209e&hm=418...02ac64e83&]](https://cdn.discordapp.com/attachments/1371249013193576579/1371427207846690816/image.png?ex=690c721e&is=690b209e&hm=4189817a7531351919d86c6a9f062a27d363c54faee7ecdeee6046902ac64e83&)
Archived author: Algardo • Posted: 2025-05-12T10:05:28.015000+00:00
Original source
it does nothing, anyway it looked like stucked but it was giving an error but for some reason not showing it there
Archived author: Travven • Posted: 2025-05-12T12:39:08.029000+00:00
Original source
See inside Errors.log
Archived author: Algardo • Posted: 2025-05-12T13:27:09.074000+00:00
Original source
#define MAX_RAID_DIFFICULTY 6
#define MAX_DIFFICULTY 6
i changed max_difficulty to 6 too, and it gave me this error in server.log
Initialize Data Stores...
Size of 'SpellDifficulty.dbc' set by format string (20) not equal size of C++ structure (28).
but i changed the size to max_difficulty-2
struct SpellDifficultyEntry
{
uint32 ID; // 0
int32 SpellID[MAX_DIFFICULTY-2];
};
and now it works
probably it will pop me 1329381 errors in the future, but at least its some progress for me
![[Image: image.png?ex=690ca25c&is=690b50dc&hm=b41...06e349288&]](https://cdn.discordapp.com/attachments/1371249013193576579/1371479006859366410/image.png?ex=690ca25c&is=690b50dc&hm=b41b8c43f5a6833dc6813a64b407f60f95b1475580fcb97db40deea06e349288&)
Archived author: Algardo • Posted: 2025-05-12T13:27:56.079000+00:00
Original source
now i must find why i cannot change to mythic in the menu, like core not receiving that difficulty
![[Image: image.png?ex=690ca25c&is=690b50dc&hm=b41...06e349288&]](https://cdn.discordapp.com/attachments/1371249013193576579/1371479006859366410/image.png?ex=690ca25c&is=690b50dc&hm=b41b8c43f5a6833dc6813a64b407f60f95b1475580fcb97db40deea06e349288&)
Archived author: Algardo • Posted: 2025-05-12T13:28:30.455000+00:00
Original source
someone told me its restricted in the .exe, allowing only 4 difficulties, can someone confirm this?
Archived author: Algardo • Posted: 2025-05-12T13:29:19.791000+00:00
Original source
its frustrating to change many things and see its not working and thinking its my code and then realizing there is a prohibition in the .exe
Archived author: Algardo • Posted: 2025-05-12T13:57:04.342000+00:00
Original source
void WorldSession::HandleSetRaidDifficultyOpcode(WorldPacket& recv_data)
{
LOG_ERROR("server", "Inside HandleSetRaidDifficultyOpcode");
i found that function and added the LOG_ERROR to see if my new mythic buttons are entering the function, but they are not, its like some data is not sending from the client to the server, and i dont know if there is a prohibition in the .exe for it
![[Image: image.png?ex=690ca953&is=690b57d3&hm=db0...73ce82db6&]](https://cdn.discordapp.com/attachments/1371249013193576579/1371486487069200444/image.png?ex=690ca953&is=690b57d3&hm=db0855f997d49aaf1811d849e037ba254d823f8f39830b9775f34cd73ce82db6&)
Archived author: Algardo • Posted: 2025-05-12T13:57:39.578000+00:00
Original source
this pops in server.log when i click on default modes, but not with the new ones
![[Image: image.png?ex=690ca953&is=690b57d3&hm=db0...73ce82db6&]](https://cdn.discordapp.com/attachments/1371249013193576579/1371486487069200444/image.png?ex=690ca953&is=690b57d3&hm=db0855f997d49aaf1811d849e037ba254d823f8f39830b9775f34cd73ce82db6&)