[Question] Talent Points menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Talent Points

    I was looking into the player.cpp of ArcEmu and could find how can I earn talents points from level 2 and not from level 10. The closest i got was that at level 10 the game give 9 talents points.

    How can I earn talents points from your first level up?

    [Question] Talent Points
  2. #2
    TheParadiseServer's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well u can change the xp rates to get level 10 instantly in ur world folder..otherwise idk

  3. #3
    lilbdiablo12's Avatar Active Member
    Reputation
    40
    Join Date
    Feb 2008
    Posts
    535
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm sure its something else, i'm not sure, once i start compiling again ill see ifi can find it for you, im waiting for a 3.0.2 and im going to work on a repack )

  4. #4
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, no problem I will wait, meanwhile I will dig more into this to find a solution.

  5. #5
    darkmagishin's Avatar Active Member
    Reputation
    16
    Join Date
    May 2008
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    in the player.cpp you have to change these lines


    MAKE SURE THAT YOUR players all begin at a lvl at least above 10!

    these will give you 220 talent points when you start a new character, now since i shared this, go to my thread and tell me whats wrong with my compiler :<


    also i noticed you want to start giving out talent points at lvl 2??

    all you need to do is change the lines that say

    "if level =10 or 9 whateva" blah blah blah, change those to a "2"

    http://www.mmowned.com/forums/emulat...ing-error.html

    Code:
    /*	if(sWorld.start_level >= 10 && sWorld.start_level <= PLAYER_LEVEL_CAP)
    		{int startingTalents;
    		startingTalents = sWorld.start_level - 9;
    		SetUInt32Value(PLAYER_CHARACTER_POINTS1,startingTalents);}*/
    
    change it to
    
    
    	if(sWorld.m_startLevel >= 10 && sWorld.m_startLevel <= 70)
    		{uint32 startingTalents;
    		startingTalents = sWorld.start_level - 9;
    		SetUInt32Value(PLAYER_CHARACTER_POINTS1, 220);}

    Code:
    	//PLAYER_BYTES_3						   DRUNKENSTATE				 PVPRANK
    	SetUInt32Value(PLAYER_BYTES_3, ((gender) | (0x00 << 8) | (0x00 << 16) | (GetPVPRank() << 24)));
    	SetUInt32Value(PLAYER_NEXT_LEVEL_XP, 400);
    	SetUInt32Value(PLAYER_FIELD_BYTES, 0x08 );
    	SetUInt32Value(PLAYER_CHARACTER_POINTS2,2);
    	SetFloatValue(UNIT_MOD_CAST_SPEED, 1.0f);
    	SetUInt32Value(PLAYER_FIELD_MAX_LEVEL, sWorld.m_levelCap);
    
    change to
    
    
    	//PLAYER_BYTES_3						   DRUNKENSTATE				 PVPRANK
    	SetUInt32Value(PLAYER_BYTES_3, ((gender) | (0x00 << 8) | (0x00 << 16) | (GetPVPRank() << 24)));
    	SetUInt32Value(PLAYER_NEXT_LEVEL_XP, 400);
    	SetUInt32Value(PLAYER_FIELD_BYTES, 0x08 );
    	SetUInt32Value(PLAYER_CHARACTER_POINTS2, 220);
    	SetFloatValue(UNIT_MOD_CAST_SPEED, 1.0f);
    	SetUInt32Value(PLAYER_FIELD_MAX_LEVEL, sWorld.m_levelCap);




    Code:
    if (m_uint32Values[PLAYER_CHARACTER_POINTS1] > 61 &&  ! GetSession()->HasGMPermissions())
                SetUInt32Value(PLAYER_CHARACTER_POINTS1, 61);
    	ss << m_uint32Values[PLAYER_CHARACTER_POINTS1] << ","
    	<< load_health << ","
    	<< load_mana << ","
    	<< uint32(GetPVPRank()) << ","
    	<< m_uint32Values[PLAYER_BYTES] << ","
    	<< m_uint32Values[PLAYER_BYTES_2] << ","
    	<< player_flags << ","
    	<< m_uint32Values[PLAYER_FIELD_BYTES] << ",";
    
    
    
    change to 
    
    
    	if (m_uint32Values[PLAYER_CHARACTER_POINTS1] > 220 &&  ! GetSession()->HasGMPermissions())
                SetUInt32Value(PLAYER_CHARACTER_POINTS1, 220);
    	ss << m_uint32Values[PLAYER_CHARACTER_POINTS1] << ","
    	<< load_health << ","
    	<< load_mana << ","
    	<< uint32(GetPVPRank()) << ","
    	<< m_uint32Values[PLAYER_BYTES] << ","
    	<< m_uint32Values[PLAYER_BYTES_2] << ","
    	<< player_flags << ","
    	<< m_uint32Values[PLAYER_FIELD_BYTES] << ",";



    Code:
    else
    	{
    		SetUInt32Value(PLAYER_CHARACTER_POINTS1, 0); 
    	}
    
    
    
    change to 
    
    
    
    {
    		SetUInt32Value(PLAYER_CHARACTER_POINTS1, 220); 
    
    
    
    
    	}

    Code:
    	SetUInt32Value(UNIT_FIELD_ATTACK_POWER, info->attackpower );
    	SetUInt32Value(PLAYER_CHARACTER_POINTS1,0);
    	SetUInt32Value(PLAYER_CHARACTER_POINTS2,2);
    
    
    change to
    
    
    	SetUInt32Value(UNIT_FIELD_ATTACK_POWER, info->attackpower );
    	SetUInt32Value(PLAYER_CHARACTER_POINTS1, 220);
    	SetUInt32Value(PLAYER_CHARACTER_POINTS2, 220);


    Code:
    	// Calculate talentpoints
    	uint32 TalentPoints = 0;
    	if(Level >= 10)
    		TalentPoints = Level - 9;
    
    	SetUInt32Value(PLAYER_CHARACTER_POINTS1, TalentPoints);
    
    
    change to
    
    	// Calculate talentpoints
    	uint32 TalentPoints = 0;
    	if(Level >= 10)
    		TalentPoints = Level - 9;
    
    	SetUInt32Value(PLAYER_CHARACTER_POINTS1, 220);

  6. #6
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm thanks anyway but you didn't get the idea, I was trying to get talent points from the first lvl up and not from the 10 lvlup, Also is completely wrong the way you just changed the values to 220 in every formula and PLAYER_CHARACTER_POINTS2 refers to available professions points not talents points so as far as I know in can't be past 10.
    Last edited by marcelo_20xx; 10-17-2008 at 12:41 AM.

  7. #7
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    heres what you gotta change, you need to delete/comment out whats in red, the rest you dont need to change:
    Code:
        // Calculate talentpoints
        uint32 TalentPoints = 0;
        if(Level >= 10)//delete this because this gives the tp only if your greater than or equal to level 10.
            TalentPoints = Level - 9;//delete this because it gives talent points based on you being level 10
    
        SetUInt32Value(PLAYER_CHARACTER_POINTS1, TalentPoints);


  8. #8
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still nothing, no matter what I change the game refused to give talents points until lvl10

  9. #9
    darkmagishin's Avatar Active Member
    Reputation
    16
    Join Date
    May 2008
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by marcelo_20xx View Post
    Hmm thanks anyway but you didn't get the idea, I was trying to get talent points from the first lvl up and not from the 10 lvlup, Also is completely wrong the way you just changed the values to 220 in every formula and PLAYER_CHARACTER_POINTS2 refers to available professions points not talents points so as far as I know in can't be past 10.
    idk, i changed all those and it did work lalwlalwlalwllalwl


    if you dont trust me make a copy of your player.cpp before making any changes, but im 100% sure that it does work, even if i changed a few that werent suppose to be changed hahaha


    also yes, i did understand what you meant

    Code:
    also i noticed you want to start giving out talent points at lvl 2??
    
    all you need to do is change the lines that say
    
    "if level =10 or 9 whateva" blah blah blah, change those to a "2"

    like the other guy said

    Code:
        // Calculate talentpoints
        uint32 TalentPoints = 0;
        if(Level >= 10)//delete this because this gives the tp only if your greater than or equal to level 10.
            TalentPoints = Level - 9;//delete this because it gives talent points based on you being level 10
    
        SetUInt32Value(PLAYER_CHARACTER_POINTS1, TalentPoints);
    thats the way they look, if there are more than 1 look around, ima look once i get home, ill tell you if there are more.

  10. #10
    darkmagishin's Avatar Active Member
    Reputation
    16
    Join Date
    May 2008
    Posts
    190
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by marcelo_20xx View Post
    Still nothing, no matter what I change the game refused to give talents points until lvl10
    that blows hard cock, did you look around for more bro?


    like make a backup of the whole file, then look for more that say something like

    10 or 9 and change those to a 2

    if there arent anymore lines that say talent points and a 10 or 9 then srry idk man

    im @ skool right now so dont have my player.cpp here to look for you

  11. #11
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    theres more you gotta edit, get rid of whats in red:
    Code:
            if( level > 9)
            {
                //Give Talent Point
                uint32 curTalentPoints = GetUInt32Value(PLAYER_CHARACTER_POINTS1);
                SetUInt32Value(PLAYER_CHARACTER_POINTS1,curTalentPoints+1);
            }
    what you were trying to edit was calculating talentpoints for if the players started off at a level higher than 1. like if they started at 70, then it would calculate that and give it to the players, and yours are starting at level 1 so thatts why it wasnt working, enjoy


  12. #12
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok but in Arcemu that part is commented

    Code:
    	/*
    	uint32 curXP = GetUInt32Value(PLAYER_XP);
    	uint32 nextLvlXP = GetUInt32Value(PLAYER_NEXT_LEVEL_XP);
    	uint32 newXP = curXP + xp;
    	uint32 level = GetUInt32Value(UNIT_FIELD_LEVEL);
    	bool levelup = false;
    
    	if(m_Summon != NULL && m_Summon->GetUInt32Value(UNIT_CREATED_BY_SPELL) == 0)
    		m_Summon->GiveXP(xp);
    
    	uint32 TotalHealthGain = 0, TotalManaGain = 0;
    	uint32 cl=getClass();
    	// Check for level-up
    	while (newXP >= nextLvlXP)
    	{
    		levelup = true;
    		// Level-Up!
    		newXP -= nextLvlXP;  // reset XP to 0, but add extra from this xp add
    		level ++;	// increment the level
    		if( level > 9)
    		{
    			//Give Talent Point
    			uint32 curTalentPoints = GetUInt32Value(PLAYER_CHARACTER_POINTS1);
    			SetUInt32Value(PLAYER_CHARACTER_POINTS1,curTalentPoints+1);
    		}
    	}
    	*/
    and the working part look like this:

    Code:
    	int32 newxp = m_uint32Values[PLAYER_XP] + xp;
    	int32 nextlevelxp = lvlinfo->XPToNextLevel;
    	uint32 level = m_uint32Values[UNIT_FIELD_LEVEL];
    	LevelInfo * li;
    	bool levelup = false;
    
    	while(newxp >= nextlevelxp && newxp > 0)
    	{
    		++level;
    		li = objmgr.GetLevelInfo(getRace(), getClass(), level);
    		if (li == NULL) return;
    		newxp -= nextlevelxp;
    		nextlevelxp = li->XPToNextLevel;
    		levelup = true;
    
    		if(level > 9)
    			ModUnsigned32Value(PLAYER_CHARACTER_POINTS1, 1);
    
    		if(level >= GetUInt32Value(PLAYER_FIELD_MAX_LEVEL))
    			break;
    	}

  13. #13
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    int32 newxp = m_uint32Values[PLAYER_XP] + xp;
    int32 nextlevelxp = lvlinfo->XPToNextLevel;
    uint32 level = m_uint32Values[UNIT_FIELD_LEVEL];
    LevelInfo * li;
    bool levelup = false;

    while(newxp >= nextlevelxp && newxp > 0)
    {
    ++level;
    li = objmgr.GetLevelInfo(getRace(), getClass(), level);
    if (li == NULL) return;
    newxp -= nextlevelxp;
    nextlevelxp = li->XPToNextLevel;
    levelup = true;

    if(level > 9)
    ModUnsigned32Value(PLAYER_CHARACTER_POINTS1, 1);

    if(level >= GetUInt32Value(PLAYER_FIELD_MAX_LEVEL))
    break;
    }
    Can you see it now?

  14. #14
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I see it but I already set that to 1 but like I said the game still refuses to give the talents points until level 10, surely dont know why....but thx anyway +rep for all the help, I already gived up.

  15. #15
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try creating a new level 1 character and .mod talentpoints <somenumber> to it. Perhaps it's a client limit

Page 1 of 2 12 LastLast

Similar Threads

  1. start with talent points?
    By Ballwinkle in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 01-13-2008, 01:55 PM
  2. Talent Point "Joke"
    By Ukrainia in forum World of Warcraft General
    Replies: 7
    Last Post: 12-31-2007, 05:45 AM
  3. extra talent points?
    By SuperNinjaBob in forum World of Warcraft General
    Replies: 1
    Last Post: 05-31-2007, 06:04 PM
  4. Get your talent-points back for free!
    By needmorerep in forum World of Warcraft Exploits
    Replies: 13
    Last Post: 09-25-2006, 12:55 PM
  5. Hit points and talent points? Please help
    By hankusdankus in forum World of Warcraft General
    Replies: 6
    Last Post: 05-04-2006, 02:00 PM
All times are GMT -5. The time now is 12:03 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search