[DiscordArchive] Does this only work for TSWoW cores or can this make EXEs that work regardless of the core used?
[DiscordArchive] Does this only work for TSWoW cores or can this make EXEs that work regardless of the core used?
Archived author: Deleted User • Posted: 2023-07-15T20:24:12.772000+00:00
Original source
Does this only work for TSWoW cores or can this make EXEs that work regardless of the core used?
Archived author: Deleted User • Posted: 2023-07-15T21:10:39.044000+00:00
Original source
Guide_on_How_to_solve_the_Maps_Extractor_error.pdf
Archived author: <o> • Posted: 2023-07-15T22:10:57.817000+00:00
Original source
you can port it pretty easily, you can use this as reference: <https://github.com/tswow/tswow/blob/d0ea943fdee0fa3656a508e2359092e5310ef871/tswow-scripts/util/ClientPatches.ts#L64-L73>
the first offset is a 32-byte array, 1 byte per class, set bit 1 for leader, bit 2 for tank, bit 3 for healer, bit 4 for dps, other bits unused. xrefs just point at that offset so can write without modification
but this only fixes the client, you'll also need to edit LFGMgr on the server to accept the new roles (or if you use old trinitycore it will just work without edit because it wasn't checked). You can use this pr for reference on where the new check happens (in tswow we use a different patch to do it automatically): <https://github.com/TrinityCore/TrinityCore/pull/27348/files>