Forums WoW Modding Support Archives WoWModding Support Archives [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?

[DiscordArchive] Does this only work for TSWoW cores or can this make EXEs that work regardless of the core used?

rektbyfaith
Administrator
0
07-15-2023, 08:24 PM
#1
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?
rektbyfaith
07-15-2023, 08:24 PM #1

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?

rektbyfaith
Administrator
0
07-15-2023, 09:10 PM
#2
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
rektbyfaith
07-15-2023, 09:10 PM #2

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

rektbyfaith
Administrator
0
07-15-2023, 10:10 PM
#3
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>
rektbyfaith
07-15-2023, 10:10 PM #3

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>

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)