[DiscordArchive] modifying the client side one?
[DiscordArchive] modifying the client side one?
Archived author: Kek • Posted: 2022-06-20T11:45:41.929000+00:00
Original source
You just need to make the button clickable, and then it will send the command to the server.
I changed it to 1 per row, but you should be able to change it to 0, in theory
Archived author: Kek • Posted: 2022-06-20T11:45:57.453000+00:00
Original source
Then you'll need to change the checks on the server to allow it
Archived author: Kek • Posted: 2022-06-20T11:48:51.037000+00:00
Original source
Interface/FrameXML/TalentFrameBase.lua (found in the MPQs)
```lua
-- is this talent's tier unlocked?
if ( ((tier - 1) * (TalentFrame.pet and PET_TALENTS_PER_TIER or PLAYER_TALENTS_PER_TIER) <= tabPointsSpent) ) then
tierUnlocked = 1;
else
tierUnlocked = nil;
end```
I just changed `PLAYER_TALENTS_PER_TIER` to 1, and it worked for me.
So 0 should work client side.
Archived author: kylezzz101 • Posted: 2022-06-20T11:58:06.558000+00:00
Original source
i added that to the client do you have a idea where the checks server side would be?
![[Image: unknown.png?ex=690be4a6&is=690a9326&hm=5...d6206c395&]](https://cdn.discordapp.com/attachments/284406375495368704/988412528629534780/unknown.png?ex=690be4a6&is=690a9326&hm=5b1ddcd076575253285e98df81b04e89932a49a47db0ca84449ab40d6206c395&)
Archived author: Kek • Posted: 2022-06-20T11:58:30.898000+00:00
Original source
Yup, just tested it on my server and it works:
![[Image: unknown.png?ex=690be4a6&is=690a9326&hm=5...d6206c395&]](https://cdn.discordapp.com/attachments/284406375495368704/988412528629534780/unknown.png?ex=690be4a6&is=690a9326&hm=5b1ddcd076575253285e98df81b04e89932a49a47db0ca84449ab40d6206c395&)
Archived author: Kek • Posted: 2022-06-20T11:59:10.095000+00:00
Original source
Let me get a link to the main repo, so you can see the line for it
Archived author: kylezzz101 • Posted: 2022-06-20T11:59:45.795000+00:00
Original source
thankyou very much I appreciate it a lot
Archived author: Kek • Posted: 2022-06-20T11:59:56.471000+00:00
Original source
https://github.com/azerothcore/azerothco...639-L13641
Archived author: Kek • Posted: 2022-06-20T12:00:19.471000+00:00
Original source
Just comment out, or delete, those lines and it'll work server side
Then you'll need a cracked client so you can load a modified FrameXML file.
Then modify `PLAYER_TALENTS_PER_TIER = 5` to `0` and you'll be good
![[Image: unknown.png?ex=690be777&is=690a95f7&hm=f...5cb16598a&]](https://cdn.discordapp.com/attachments/284406375495368704/988415552932446248/unknown.png?ex=690be777&is=690a95f7&hm=f64fd00e0e9b591d70ce6314f386960696c330889d1b2baad15dcbe5cb16598a&)
Archived author: kylezzz101 • Posted: 2022-06-20T12:10:31.839000+00:00
Original source
![[Image: unknown.png?ex=690be777&is=690a95f7&hm=f...5cb16598a&]](https://cdn.discordapp.com/attachments/284406375495368704/988415552932446248/unknown.png?ex=690be777&is=690a95f7&hm=f64fd00e0e9b591d70ce6314f386960696c330889d1b2baad15dcbe5cb16598a&)