Forum > Miscellaneous
[QUESTION:Wrath] New Dungeon Difficulty
(1/5) > >>
Nupper:
I found code for a third Dungeon Difficulty in the client i was woundering how i could enable it on trinitycore.
--- Code: ---DUNGEON_DIFFICULTY3 = "Epic (Unused)"; --- End code ---
--- Code: ---UnitPopupButtons["DUNGEON_DIFFICULTY3"] = { text = DUNGEON_DIFFICULTY3, dist = 0 }; --- End code ---
I managed to make it visable in-game but atm the button is a dud (I renamed it to Mythic) :)
Grymskvll:
In worldserver.conf, I enabled network debug logging by setting this value:
--- Code: ---Logger.network=2,Console Server --- End code ---
With this, any time the server runs WorldSession::HandleSetDungeonDifficultyOpcode(WorldPacket& recvData) (in gameHandlersMiscHandlers.cpp), it prints some debug info in the worldserver console. Then I used /run SetDungeonDifficulty(#). It worked for values of 1 and 2 (normal and heroic), but it didn't seem to send anything to the server with a difficulty value of 3.
That means you probably need to use AIO to send a request to set dungeon difficulty to 3. Hopefully you don't need to otherwise mess with the client to fix the unused difficulty. TrinityCore should be able to set your difficulty to 3 if it receives the request. You'll also need to increment the MAX_DUNGEON_DIFFICULTY constant. Not sure what else you'd need.
Nupper:
--- Quote from: "Grymskvll" ---In worldserver.conf, I enabled network debug logging by setting this value:
--- Code: ---Logger.network=2,Console Server --- End code ---
With this, any time the server runs WorldSession::HandleSetDungeonDifficultyOpcode(WorldPacket& recvData) (in gameHandlersMiscHandlers.cpp), it prints some debug info in the worldserver console. Then I used /run SetDungeonDifficulty(#). It worked for values of 1 and 2 (normal and heroic), but it didn't seem to send anything to the server with a difficulty value of 3.
That means you probably need to use AIO to send a request to set dungeon difficulty to 3. Hopefully you don't need to otherwise mess with the client to fix the unused difficulty. TrinityCore should be able to set your difficulty to 3 if it receives the request. You'll also need to increment the MAX_DUNGEON_DIFFICULTY constant. Not sure what else you'd need. --- End quote ---
Its a new discovery i think why make something for something unused...if you know what i mean i doubt trinity would have anything related to a third Difficulty.
Grymskvll:
Right, but if you wanted to make the button work, you would need to add a way to send the request to change the difficulty (using AIO, probably).
I don't know how dungeon difficulties themselves are implemented.
Nupper:
--- Quote from: "Grymskvll" ---Right, but if you wanted to make the button work, you would need to add a way to send the request to change the difficulty (using AIO, probably).
I don't know how dungeon difficulties themselves are implemented. --- End quote ---
Yeah a part from the UnitPop.lua i cannot find anything else so far.
Navigation
[0] Message Index
[#] Next page
|