Hello Harry; sorry for not writing a post and asking you this directly, but i saw that you already answered this and it would be a waste of time.I've seen that you succesfully removed the tier talent requirements ("You need 5 talent points in Arms tree"). But the only thing you said about it was a piece of Lua code that I tried to fit into TalentBaseFrame.lua but it made no difference.It would be grateful if you could explain me how to do it or at least give me some advice as i'm really lost at this point.Thanks for your help and I hope you can give me a hand.
Thanks for your reply and sorry for making you answering me from your phone. There's no need to answer back to this message immediately.Then what you did is rewriting TalentBaseFrame.lua?I'll check it but it seems ain't gonna be easy; it doesn't matter how hacky is it, as it works as I need and the players don't notice anything weird.
You would make me the biggest favour ever if you check which files I need to edit. I'm trying to make a complex talent system and I really need to remove the 5 points per tier requirement otherwise i'm gonna have to change it completely.Thanks for your time.
Thank you for the help, i'm downloading the client right now and i'm gonna check the addon part. I'm not sure if i'm gonna be able to obtain what i'm looking for but i hope so.PD: HDD sucks hahaha, I had a computer with just 60 GB HDD and it was a pain in the ass Do u know if there's any problem with the rar itself? 7-zip is giving me the error "Invalid compression method for this file" when I try to extract the client :s. I've tried several ways but none of them worked properly.Sorry for the trouble i'm causing you.
Yes, you were right, both files were corrupted; downloaded it three more times and it finally worked properly. Had to install an EnGB client to install the patch and I finally got it to test it.Such an awesome work you did there, love the login screen and all the functionalities. Buut, i'm in trouble with the talent interface; It says <Click to learn> but as soon as I click it to learn the talent it will show the "You require 5 talent points in..." tooltip and it won't learn anything.Do u know if i need some modifications in the core to make it run properly?
Then I should be missing something. http://www.firedrive.com/file/2D25E6E13105A0CEThis is the link for the Interface folder of your patch. I removed the Icons folder as it was three times heavier than the whole Interface folder itself and it shouldn't make any difference.And again, thank you so much for your time, you're really helping me out with this issue.
function PlayerTalentFrameTalent_OnEnter(self)
Yes, I tried it in different ways. Just by including an MPQ with Blizzard_TalentUI.lua & Blizzard_TalentUI.xml: I can't add any talent point at all, if I click on any talent, it won't do anything.I've also tried to use your whole patch to check what it does.This is how it's supposed to work and what i'm trying to achieve, but, when I try to learn anything from the second talent tier, I get this.Do u have any idea of why is this working like this?
That's what i'm missing then, though i'm not sure where it is, i'll try to find it.PD: i'm running TrinityCore
Yes! Finally got it working! I had to remove some checkings from the core and now it works as I intended.Thank you very much for the help Stoneharry. If you ever need help with anything i'll try to help you as much as I can.
QuoteYes! Finally got it working! I had to remove some checkings from the core and now it works as I intended.Thank you very much for the help Stoneharry. If you ever need help with anything i'll try to help you as much as I can.What core checkings did he remove?
Quote from: "xzetaxx"QuoteYes! Finally got it working! I had to remove some checkings from the core and now it works as I intended.Thank you very much for the help Stoneharry. If you ever need help with anything i'll try to help you as much as I can.What core checkings did he remove?What core do you need ?
if (talentInfo->DependsOn > 0) { if (TalentEntry const* depTalentInfo = sTalentStore.LookupEntry(talentInfo->DependsOn)) { bool hasEnoughRank = false; for (uint8 rank = talentInfo->DependsOnRank; rank < MAX_TALENT_RANK; rank++) { if (depTalentInfo->RankID[rank] != 0) if (HasSpell(depTalentInfo->RankID[rank])) hasEnoughRank = true; } if (!hasEnoughRank) return; } }
uint32 spentPoints = 0; uint32 tTab = talentInfo->TalentTab; if (talentInfo->Row > 0) { uint32 numRows = sTalentStore.GetNumRows(); for (uint32 i = 0; i < numRows; i++) // Loop through all talents. { // Someday, someone needs to revamp const TalentEntry* tmpTalent = sTalentStore.LookupEntry(i); if (tmpTalent) // the way talents are tracked { if (tmpTalent->TalentTab == tTab) { for (uint8 rank = 0; rank < MAX_TALENT_RANK; rank++) { if (tmpTalent->RankID[rank] != 0) { if (HasSpell(tmpTalent->RankID[rank])) { spentPoints += (rank + 1); } } } } } } }
Bumping this because the full fix was never fully clarified.Also, if the server-side check is removed, what's stopping someone from just manually removing their own client-side check and placing talent points however they want?
if (spentPoints < (talentInfo->Row * MAX_TALENT_RANK))
if (spentPoints < (talentInfo->Row * (MAX_TALENT_RANK - 2) ))
if (spentPoints < (talentInfo->Row * MAX_PET_TALENT_RANK))
006226E5 85FF TEST EDI,EDI006226E7 0F94C0 SETE AL006226EA 8D4400 03 LEA EAX,[EAX+EAX+3]
006226E5 /E9 0B010000 JMP 006227F5006226EA |8D40 04 LEA EAX,[EAX+petreq]006226ED |90 NOP
006227F5 CC INT3006227F6 CC INT3006227F7 CC INT3006227F8 CC INT3006227F9 CC INT3006227FA CC INT3006227FB CC INT3006227FC CC INT3006227FD CC INT3006227FE CC INT3006227FF CC INT3
006227F5 85FF TEST EDI,EDI006227F7 74 02 JNE SHORT 006227FB006227F9 B0 05 MOV AL,difference006227FB ^ E9 EAFEFFFF JMP 006226EA
005C7468 0F94C2 SETE DL005C746B 0358 04 ADD EBX,DWORD PTR DS:[EAX+4]005C746E 894D EC MOV DWORD PTR SS:[EBP-14],ECX005C7471 8D5412 03 LEA EDX,[EDX+EDX+3]
005C7468 /75 02 JNE SHORT 005C746C005C746A |B2 02 MOV DL,difference005C746C 358 04 ADD EBX,DWORD PTR DS:[EAX+4]005C746F 894D EC MOV DWORD PTR SS:[EBP-14],ECX005C7472 8D52 07 LEA EDX,[EDX+petreq]
Actually I was wrong. Server side requirement has been set, but server still says "Nope, not gonna let you put that point in there"Must be another line of code somewhere that needs to be changed.
// not have required min points spent in talent tree if (spentPoints < (talentInfo->Row * (MAX_TALENT_RANK - 2) )) return;