[DiscordArchive] All right, for charactershandlers.cpp, I just need to put this on the last line?
[DiscordArchive] All right, for charactershandlers.cpp, I just need to put this on the last line?
Archived author: Nano • Posted: 2020-11-28T08:39:46.578000+00:00
Original source
All right, for charactershandlers.cpp, I just need to put this on the last line?
Archived author: Harbynger • Posted: 2020-11-28T08:40:09.247000+00:00
Original source
You need to disable the achievement and expansion check. The patch just always sets them to be present
Archived author: Harbynger • Posted: 2020-11-28T08:40:32.772000+00:00
Original source
- raceUnlock.HasExpansion = GetAccountExpansion() >= requirement.second.Expansion;
+ raceUnlock.HasExpansion = 1;
+ raceUnlock.HasAchievement = 1;
Archived author: Harbynger • Posted: 2020-11-28T08:40:45.400000+00:00
Original source
So the first line needs to be replaced with the next 2
Archived author: Harbynger • Posted: 2020-11-28T08:40:53.318000+00:00
Original source
(sans the plus and minus, obviously)
Archived author: Nano • Posted: 2020-11-28T08:42:52.998000+00:00
Original source
```
WorldPackets::Character::EnumCharactersResult::RaceUnlock raceUnlock;
raceUnlock.RaceID = requirement.first;
raceUnlock.HasExpansion = GetAccountExpansion() >= requirement.second.Expansion;
raceUnlock.HasExpansion = 1;
raceUnlock.HasAchievement = 1;
charEnum.RaceUnlockData.push_back(raceUnlock);
```
Archived author: Nano • Posted: 2020-11-28T08:43:07.243000+00:00
Original source
Here, I added what you gave me
Archived author: Harbynger • Posted: 2020-11-28T08:44:03.683000+00:00
Original source
So you should be able to recompile it and if the database entries already exist, you should be able to make allied races
Archived author: MaxtorCoder • Posted: 2020-11-28T08:50:43.638000+00:00
Original source
Just but true everywhere
Archived author: Nano • Posted: 2020-11-28T09:13:35.576000+00:00
Original source
It worked great, thank you very much!