Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] Im trying to add a mythic 10/25 mode in my serv...

[DiscordArchive] Im trying to add a mythic 10/25 mode in my serv...

[DiscordArchive] Im trying to add a mythic 10/25 mode in my serv...

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
05-09-2025, 03:18 PM
#11
Archived author: Algardo • Posted: 2025-05-09T15:18:27.904000+00:00
Original source

i added it to mapdifficulty but it doesnt work sadly
rektbyfaith
05-09-2025, 03:18 PM #11

Archived author: Algardo • Posted: 2025-05-09T15:18:27.904000+00:00
Original source

i added it to mapdifficulty but it doesnt work sadly

rektbyfaith
Administrator
0
05-09-2025, 03:19 PM
#12
Archived author: Algardo • Posted: 2025-05-09T15:19:52.038000+00:00
Original source

probably its my code, but wanted to know 100% if its the .exe or not, because i was touching the client .lua and though it was my code too and then a guy came and told me it was the .exe and dadaaa it worked
rektbyfaith
05-09-2025, 03:19 PM #12

Archived author: Algardo • Posted: 2025-05-09T15:19:52.038000+00:00
Original source

probably its my code, but wanted to know 100% if its the .exe or not, because i was touching the client .lua and though it was my code too and then a guy came and told me it was the .exe and dadaaa it worked

rektbyfaith
Administrator
0
05-09-2025, 03:22 PM
#13
Archived author: Rev • Posted: 2025-05-09T15:22:46.982000+00:00
Original source

have you edited UnitPopup.lua?
rektbyfaith
05-09-2025, 03:22 PM #13

Archived author: Rev • Posted: 2025-05-09T15:22:46.982000+00:00
Original source

have you edited UnitPopup.lua?

rektbyfaith
Administrator
0
05-09-2025, 03:28 PM
#14
Archived author: Algardo • Posted: 2025-05-09T15:28:55.749000+00:00
Original source

unitpopup and globalstrings
i added in globalstrings
RAID_DIFFICULTY5 = "10 Player (Mythic)";
RAID_DIFFICULTY6 = "25 Player (Mythic)";
RAID_DIFFICULTY_10PLAYER_MYTHIC = "10 Player (Mythic)";
RAID_DIFFICULTY_25PLAYER_MYTHIC = "25 Player (Mythic)";

and unitpopup
UnitPopupButtons["RAID_DIFFICULTY5"] = { text = RAID_DIFFICULTY5, dist = 0 };
UnitPopupButtons["RAID_DIFFICULTY6"] = { text = RAID_DIFFICULTY6, dist = 0 };
UnitPopupMenus["RAID_DIFFICULTY"] = { "RAID_DIFFICULTY1", "RAID_DIFFICULTY2", "RAID_DIFFICULTY3", "RAID_DIFFICULTY4", "RAID_DIFFICULTY5", "RAID_DIFFICULTY6" };

UnitPopupShown = {};
UnitPopupShown[1] = {};
UnitPopupShown[2] = {};
UnitPopupShown[3] = {};
UnitPopupShown[4] = {};
UnitPopupShown[5] = {}; // 4,5 this part AI told me to add but it was like "test this, go go"

also added a print so i know if its entering there

elseif ( strsub(button, 1, 15) == "RAID_DIFFICULTY" and (strlen(button) > 15) ) then
local raidDifficulty = tonumber( strsub(button,16,16) );
print("Ha entrado en el UnitPopup.lua:", raidDifficulty);
rektbyfaith
05-09-2025, 03:28 PM #14

Archived author: Algardo • Posted: 2025-05-09T15:28:55.749000+00:00
Original source

unitpopup and globalstrings
i added in globalstrings
RAID_DIFFICULTY5 = "10 Player (Mythic)";
RAID_DIFFICULTY6 = "25 Player (Mythic)";
RAID_DIFFICULTY_10PLAYER_MYTHIC = "10 Player (Mythic)";
RAID_DIFFICULTY_25PLAYER_MYTHIC = "25 Player (Mythic)";

and unitpopup
UnitPopupButtons["RAID_DIFFICULTY5"] = { text = RAID_DIFFICULTY5, dist = 0 };
UnitPopupButtons["RAID_DIFFICULTY6"] = { text = RAID_DIFFICULTY6, dist = 0 };
UnitPopupMenus["RAID_DIFFICULTY"] = { "RAID_DIFFICULTY1", "RAID_DIFFICULTY2", "RAID_DIFFICULTY3", "RAID_DIFFICULTY4", "RAID_DIFFICULTY5", "RAID_DIFFICULTY6" };

UnitPopupShown = {};
UnitPopupShown[1] = {};
UnitPopupShown[2] = {};
UnitPopupShown[3] = {};
UnitPopupShown[4] = {};
UnitPopupShown[5] = {}; // 4,5 this part AI told me to add but it was like "test this, go go"

also added a print so i know if its entering there

elseif ( strsub(button, 1, 15) == "RAID_DIFFICULTY" and (strlen(button) > 15) ) then
local raidDifficulty = tonumber( strsub(button,16,16) );
print("Ha entrado en el UnitPopup.lua:", raidDifficulty);

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