Open Need help regarding custom lvl 60 heroic dungeon

AG

New member
AG Rep
0
0
0
Rep
0
AG Vouches
0
0
0
Vouches
0
Posts
4
Likes
0
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
Heya!
First of all, I am using the 4.3.4 TrinityCore i.e. The-Cataclysm-Preservation-Project
Also I want to say that I am very new, so my knowledge is very limited :)

I have created a heroic version of Stratholme, which seems to be working fine.
What I have done so far is just editing the access_requirement table inside the world DB where I added a new row for Stratholme with the difficulty set to heroic. Same thing with MapDifficulty.dbc and of course added it to the server dbc folder as well as created a custom patch with it.

I am facing two issues.
  1. When I type the following in my custom heroic dungeon:
    Code:
    /run print(GetInstanceInfo())
    this is what I get:
    1678024291045.png
    Where if I type it in a non-custom heroic dungeon, I get this:
    1678024369246.png
    GetInstanceInfo() returns Name, InstanceType, difficultyID, difficultyName, maxPlayers, dynamicDifficulty, isDynamic. More info here.
    For some reason my custom HC dungeon returns an empty string or null(?) for difficultyName and 0 for maxPlayers, even though I have specified these two things in the MapDifficulty.dbc. Do I need to specify this in other places too or what am I missing?

  2. When players hit lvl 65 they are able to change dungeon and raid difficulty by right-clicking on their character portrait. How can I change, so this becomes an option at level 60 instead?
    I was told that this is a clientside restriction, but so far I haven't found any way to change it.
    1678025006806.png
Hope someone is able to help!
Cheers :)
 

MrSolid

Sadge
Divine
MrSolid Rep
0
0
0
Rep
0
MrSolid Vouches
0
0
0
Vouches
0
Posts
31
Likes
18
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
Don't know much about the first issue however I believe you can modify the requirements to change dungeon and raid difficulty through addons, preferably if you can get Eluna running with the cata core and then install AIO you'd be able to send the addon data directly from the server to the client - so the players wouldn't have to download a new addon each time - do the dungeon difficulty changing logic server side after its been toggled.

I guess another method would be to make an addon/patch and distribute it and whenever the difficulty is changed from the addon make it communicate with the server somehow (maybe an invisible command/special string) to do the dungeon difficulty changing logic

Best of luck!
 

AG

New member
AG Rep
0
0
0
Rep
0
AG Vouches
0
0
0
Vouches
0
Posts
4
Likes
0
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 1 105 XP
Hey, thank you for your response! That sounds like a lot of work for such a small change tho ? I was hoping it would just be a single value somewhere, that had to be changed ? Then again, Eluna and AIO (for what I know) could probably ease the work for a lot of other things as well. But that raises a new problem for me - I have no clue how to implement these things ?
 

laurczt

Emulation/Cracking & Hacking enthusiast
laurczt Rep
0
0
0
Rep
0
laurczt Vouches
0
0
0
Vouches
0
Posts
20
Likes
12
Bits
2 YEARS
2 YEARS OF SERVICE
LEVEL 5 220 XP
it's much more complex than changing values inside db and dbc files. client must be altered to also the emu since you added a new difficulty. the simplest way to do this i guess is to create an npc to teleport players to that location and set the phase for your custom difficulty. beside this i cannot think of a simpler way to do it.
changing values in db and dbc and also make the client custom patch seems a lot of work when you can make it much simpler :D

hope this helps.

cheers!
 

3,392

1,271

9,555

428

Top