Forum > Serverside Modding

[HELP] Remove Talent Point Requirement

<< < (3/5) > >>

Vortalex:
Now THAT is what I call clarification. Good fuckin job bro.

I tried it exactly how you described and it worked perfectly. This was very easy to do, took me like 10 minutes. Awesome tutorial bro. If I could rep I would.

Vortalex:
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.

Grymskvll:

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

That's odd. For me it works even if the only change is in Player.cpp. Did you recompile? If not, I think you can just build "game" and "worldserver" to save time. If you did, can you post what you changed the line to in Player.cpp?

Also, you might need to reset talents on the character you're testing it on. Forgot to mention that earlier, but I vaguely remember that being something when I was trying it out.

Vortalex:

--- Quote ---    // not have required min points spent in talent tree
    if (spentPoints < (talentInfo->Row * (MAX_TALENT_RANK - 2) ))
        return;
--- End quote ---

Ain't doin shit.

Grymskvll:
I just tried that code and it worked as expected. According to Git Extensions, that's the only change I've made to the source.

I don't know what the problem could be so I'll just ask you to follow these steps exactly:

* make sure you don't have worldserver.exe running
* Open TrinityCore.sln in (hopefully, for the sake of parity) Visual Studio
* Double check that Player.cpp has the correct modification
* In the solution explorer window of Visual Studio, click "game" and ctrl+click "worldserver". While they're both highlighted, right click either and click "Build Selection"
* When it's done, check that the worldserver.exe that you use has been modified in the last few minutes
* Log into your server and make a new character. Level it up and try to spend talent points. Make sure you're not being tricked by the buttons staying grayed out (if you haven't made client-side changes)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version