Jump to content

Very big problem with Talent Points on classes. Please Help


Auntie Mangos

Recommended Posts

  • 41 years later...

Hello dear Mangos community,

i have got a very big problem with the talent points rewarded for a custom quest I made. The problem is when I'm making a quest (mostly on wow-v.com) and add it to my database, after I complete it I do get the money I set, I do get the XP I set, but I do not get the 15 talent points i set as a reward for that quest.

When I complete my quest as a Deathknight, I do get those 15 talent points, but no other class can get them. The strange thing about this: In the chatbox stands "You've got 15 Talent Points" but I don't have them in my Talent Tree. (Except for Deathknight)

I've searched the whole Internet for an answer, my whole database and i don't want to let you know how much time that took. Unfortunately it still does not work.

Any kind of help would be so much appreciated.

Best regards

George

Link to comment
Share on other sites

I don't believe getting talent points through quests is supported for non-DKs. See uint32 Player::CalculateTalentsPoints() const.

Thanks for your reply,

I can't find that entry "uint32 Player::CalculateTalentsPoints() const" in my database. I'm an absolute zero in C++/coding and so on. May you explain it a little better please? =)

And in case that there is no possibility for a non-DK-Class, do you think it's possible to add TP through an item or so? If i could code i would make one of course somehow....

Well all in all this is very very important for my server because i planed that players have all talent trees skilled when they are Lvl 80

Best regards

George

PS: And no, i do not want to set the talent points you gain per level to 2 or 3 because Lowlvlchars would be to overpowered then. ;D

Link to comment
Share on other sites

I made a Quest for Char transfer with level 80 DK's and works pretty.

DELETE FROM `creature_questrelation` WHERE `quest` = 1000000;
DELETE FROM `gameobject_questrelation` WHERE `quest` = 1000000;
UPDATE `item_template` SET `StartQuest`=0 WHERE `StartQuest` = 1000000;
INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES
(1000000, 1000000);
UPDATE `creature_template` SET `npcflag`=`npcflag`|2 WHERE `entry` = 1000000;
DELETE FROM `creature_involvedrelation` WHERE `quest` = 1000000;
DELETE FROM `gameobject_involvedrelation` WHERE `quest` = 1000000;
INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES
(1000000, 1000000);
UPDATE `creature_template` SET `npcflag`=`npcflag`|2 WHERE `entry`=1000000;
REPLACE INTO `quest_template` (`entry`, `Method`, `ZoneOrSort`, `MinLevel`, `QuestLevel`, `Type`, `RequiredClasses`, `RequiredRaces`, `RequiredSkill`, `RequiredSkillValue`, `RepObjectiveFaction`, `RepObjectiveValue`, `RequiredMinRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepFaction`, `RequiredMaxRepValue`, `SuggestedPlayers`, `LimitTime`, `QuestFlags`, `SpecialFlags`, `CharTitleId`, `PlayersSlain`, `BonusTalents`, `PrevQuestId`, `NextQuestId`, `ExclusiveGroup`, `NextQuestInChain`, `RewXPId`, `SrcItemId`, `SrcItemCount`, `SrcSpell`, `Title`, `Details`, `Objectives`, `OfferRewardText`, `RequestItemsText`, `EndText`, `CompletedText`, `ObjectiveText1`, `ObjectiveText2`, `ObjectiveText3`, `ObjectiveText4`, `ReqItemId1`, `ReqItemId2`, `ReqItemId3`, `ReqItemId4`, `ReqItemId5`, `ReqItemId6`, `ReqItemCount1`, `ReqItemCount2`, `ReqItemCount3`, `ReqItemCount4`, `ReqItemCount5`, `ReqItemCount6`, `ReqSourceId1`, `ReqSourceId2`, `ReqSourceId3`, `ReqSourceId4`, `ReqSourceCount1`, `ReqSourceCount2`, `ReqSourceCount3`, `ReqSourceCount4`, `ReqCreatureOrGOId1`, `ReqCreatureOrGOId2`, `ReqCreatureOrGOId3`, `ReqCreatureOrGOId4`, `ReqCreatureOrGOCount1`, `ReqCreatureOrGOCount2`, `ReqCreatureOrGOCount3`, `ReqCreatureOrGOCount4`, `ReqSpellCast1`, `ReqSpellCast2`, `ReqSpellCast3`, `ReqSpellCast4`, `RewChoiceItemId1`, `RewChoiceItemId2`, `RewChoiceItemId3`, `RewChoiceItemId4`, `RewChoiceItemId5`, `RewChoiceItemId6`, `RewChoiceItemCount1`, `RewChoiceItemCount2`, `RewChoiceItemCount3`, `RewChoiceItemCount4`, `RewChoiceItemCount5`, `RewChoiceItemCount6`, `RewItemId1`, `RewItemId2`, `RewItemId3`, `RewItemId4`, `RewItemCount1`, `RewItemCount2`, `RewItemCount3`, `RewItemCount4`, `RewRepFaction1`, `RewRepFaction2`, `RewRepFaction3`, `RewRepFaction4`, `RewRepFaction5`, `RewRepValueId1`, `RewRepValueId2`, `RewRepValueId3`, `RewRepValueId4`, `RewRepValueId5`, `RewRepValue1`, `RewRepValue2`, `RewRepValue3`, `RewRepValue4`, `RewRepValue5`, `RewHonorAddition`, `RewHonorMultiplier`, `RewOrReqMoney`, `RewMoneyMaxLevel`, `RewSpell`, `RewSpellCast`, `RewMailTemplateId`, `RewMailDelaySecs`, `PointMapId`, `PointX`, `PointY`, `PointOpt`, `DetailsEmote1`, `DetailsEmote2`, `DetailsEmote3`, `DetailsEmote4`, `DetailsEmoteDelay1`, `DetailsEmoteDelay2`, `DetailsEmoteDelay3`, `DetailsEmoteDelay4`, `IncompleteEmote`, `CompleteEmote`, `OfferRewardEmote1`, `OfferRewardEmote2`, `OfferRewardEmote3`, `OfferRewardEmote4`, `OfferRewardEmoteDelay1`, `OfferRewardEmoteDelay2`, `OfferRewardEmoteDelay3`, `OfferRewardEmoteDelay4`, `StartScript`, `CompleteScript`) VALUES
(1000000, 2, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46, 0, 0, 0, 0, 0, 0, 0, 0, 'DK', '', '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

and for NPC 4 Quest

REPLACE INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES
(1000000, 0, 0, 0, 0, 0, 21514, 0, 0, 0, 'dk', 'homo', '', 0, 70, 70, 6986, 6986, 0, 0, 6740, 35, 35, 3, 1, 1.14286, 1, 0, 260, 390, 0, 98, 1, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 208, 312, 78, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 331, 0, 0, 0, 2, '');

Link to comment
Share on other sites

I made a Quest for Char transfer with level 80 DK's and works pretty.

Thank you for your idea, but i guess you misunderstood me.

I did not want a quest for DK's to get Talent Points because that works already without any problems.

I wanted any possibility for OTHER classes except DK to get Talent Points of quests.

But you can still prove me wrong. ;D

Link to comment
Share on other sites

Code work will not have problems as i think if we rewrite it for allow have quest talent points for any classes.

Without custom data in DB it anyway will work only for appropriate class. Done in [11195]

If it's not to much can you please write something like that. Like I can put it in my database and then it will work...

I don't know about stuff like that because i can't code at all.

Another alternative would be an item that adds Talent Points. (if that is possible for non-DK classes)

It would just be so awesome if you can find a solution for my problem. =)

Link to comment
Share on other sites

If you re-read my post then you will see that changes already added to mangos repo.

At first thank you VERY MUCH. Now i got what you meant.

The last problem i have got now (at least i hope so) is how to get the repo to my server/repack?

I saw the line you added on that site https://github.com/mangos/mangos/commit/d7828a574473d2dd1efcc67ee7e1cc70ea5e1965#diff-0 but i do not know what to do with that.

Please help me again. =)

Thanks for your efforts

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use