Forum > Serverside Modding

[HELP] Remove Talent Point Requirement

(1/5) > >>

Quincent:
I edited my talent.dbc and changed 'PLAYER_TALENTS_PER_TIER = 5 to 1 in 'Talentframebase.xml, but it looks like a missing a step. I cant click the second tier spells.

Ascathos:
Skill*.dbcs have requirements. You have to remove these.

stoneharry:
I'm quoting a PM history I have on the subject:


--- Quote ---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.
--- End quote ---

No computer access till next week and it'd hard to reply from my phone. Basically I overwrite the tooltip with my own text which is incredibly hacky.


--- Quote ---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.
--- End quote ---

It was a really complicated rewrite in the end. I can't remember which files and I can't check until I am back home after the weekend. I reply now because otherwise I will forget, the notification system on here is not that good.


--- Quote ---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.
--- End quote ---


Apparently those files are no longer in my Dropbox.

You will have to look the talent addon changes I did in my EoC project. I cannot look because the files are too big for me to download - I only have < 1GB free on my computer. :P

http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-emulator-servers/wow-emu-general-releases/470299-edge-of-chaos-expansion.html


--- Quote ---
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 :P

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.

--- End quote ---

If both files have been downloaded, are in the same directory, and the file sizes match up with what they should be, then it should be as simple as right clicking either one, 7zip, extract here. You may have got a corrupt download.


--- Quote ---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?
--- End quote ---


No, the patch should work fine and if you extract the installed interface folder in patch-4.mpq you should see all the related code. If you send that to me I can test it (just the interface folder).


--- Quote ---Then I should be missing something.

http://www.firedrive.com/file/2D25E6E13105A0CE

This 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. :)

--- End quote ---

Just had a look at the code, this gets complicated fast.

The main logic is handled in InterfaceAddonsBlizzard_TalentUIBlizzard_TalentUI.lua

You can see this function:


--- Code: ---function PlayerTalentFrameTalent_OnEnter(self)
--- End code ---


This handles the game tooltip generation. And I really can't understand it from a glance. I said it was hacked together.

Have you tested to see what happens when you include this file in your MPQ?


--- Quote ---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?

--- End quote ---

Did you change the server side requirement too?


--- Quote ---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

--- End quote ---

--- Quote ---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.
--- End quote ---

xzetaxx:

--- Quote ---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.
--- End quote ---

What core checkings did he remove?

Ascathos:

--- Quote from: "xzetaxx" ---
--- Quote ---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.
--- End quote ---

What core checkings did he remove?
--- End quote ---
What core do you need ?

Navigation

[0] Message Index

[#] Next page

Go to full version