Hellp change the name Char please.

Results 1 to 10 of 10
  1. #1
    Newbie ramom155 is offline
    MemberRank
    Oct 2013 Join Date
    17Posts

    wink Hellp change the name Char please.

    how to change the name char »Example: Ramon [Admin] 'to Ramom [Game Master] or Ramom [Developer] or Ramom [Staff] Hellp pls.


  2. #2
    Owner raventh1984 is offline
    Grand MasterRank
    May 2011 Join Date
    NetherlandsLocation
    1,499Posts

    Re: Hellp change the name Char please.

    check MoverRender.cpp

  3. #3
    Elite Member cmmconan2 is offline
    Member +Rank
    Nov 2009 Join Date
    112Posts

    Re: Hellp change the name Char please.

    Quote Originally Posted by raventh1984 View Post
    check MoverRender.cpp
    Hey, I see you answering other people's posts... any chance you would be able to help me out with my issue, please?

    Able to login but neuz crashes... I have the error logs - RaGEZONE forums

  4. #4
    Newbie ramom155 is offline
    MemberRank
    Oct 2013 Join Date
    17Posts

    Re: Hellp change the name Char please.

    Thanks for the help but it has to send more explanation (details)?

    I now found q to put on online char?

  5. #5
    Owner raventh1984 is offline
    Grand MasterRank
    May 2011 Join Date
    NetherlandsLocation
    1,499Posts

    Re: Hellp change the name Char please.

    Then youre not looking closly enough.

    void CMover::RenderName( LPDIRECT3DDEVICE9 pd3dDevice, CD3DFont* pFont, DWORD dwColor )

  6. #6
    Newbie ramom155 is offline
    MemberRank
    Oct 2013 Join Date
    17Posts

    Re: Hellp change the name Char please.

    what should I change for it to appear in the server Ramom [Game Master]

    I found how to change the folder now?

    Here are just there to see.


    void CMover::RenderName( LPDIRECT3DDEVICE9 pd3dDevice, CD3DFont* pFont, DWORD dwColor )
    {
    if( !IsVisible() )
    return;

    if( g_Option.m_nPlayerName == FALSE && IsActiveMover() )
    return;


    if( g_Option.m_nOtherPlayerName == FALSE && !IsActiveMover() && IsPlayer() )
    return;


    char szName[ 256 ];
    strcpy( szName, m_szName );


    BOOL bOtherColor = FALSE;
    DWORD dwNewColor;


    if( IsPlayer() )
    {
    if( GetWorld()->GetID() == WI_WORLD_GUILDWAR && g_pPlayer->GetGuild() && GetGuild() )
    {
    bOtherColor = TRUE;
    if( g_pPlayer->GetGuild()->GetGuildId() == GetGuild()->GetGuildId() )
    dwNewColor = COLOR_GUILDCOMBAT;
    else
    dwNewColor = COLOR_PLAYER;
    }
    // ¸í¼º¿¡ µû¸¥ »öÇ¥½Ã.
    #if __VER >= 13 // __HONORABLE_TITLE
    if( IsChaotic() )
    dwColor = prj.m_PKSetting.dwChaoColor;
    else if( IsPKPink() )
    dwColor = prj.m_PKSetting.dwReadyColor;
    else if( m_dwAuthorization >= AUTH_ADMINISTRATOR )
    dwColor = 0xff00ff00;
    else if( m_dwAuthorization >= AUTH_GAMEMASTER )
    dwColor = 0xffffffff;
    else if( m_dwAuthorization >= AUTH_HELPER )
    dwColor = COLOR_HELPER;
    else if( m_dwAuthorization >= AUTH_JOURNALIST )
    dwColor = COLOR_JOURNALIST;
    else
    dwColor = prj.m_PKSetting.dwGeneralColor;

    CString strFameName = GetTitle();
    if( strFameName.IsEmpty() == FALSE )
    {
    CString strName;
    strName = "[";
    strName += strFameName;
    strName += "] ";
    strName += m_szName;
    strcpy( szName, (LPCTSTR)strName );
    }
    if(m_dwAuthorization >= AUTH_GAMEMASTER)
    {
    CString strName;
    strName = szName;
    if(m_dwAuthorization >= AUTH_ADMINISTRATOR)
    {
    strName += " [AOE_GOLD]";
    }
    else
    {
    strName += " [AOE-DEMIGOD]";
    }
    strcpy( szName, (LPCTSTR)strName );
    }
    #else
    #if __VER >= 8 // __S8_PK
    if( IsChaotic() )
    dwColor = prj.m_PKSetting.dwChaoColor;
    else if( IsPKPink() )
    dwColor = prj.m_PKSetting.dwReadyColor;
    else
    dwColor = prj.m_PKSetting.dwGeneralColor;

    CString strFameName = GetFameName();
    if( strFameName.IsEmpty() == FALSE )
    {
    CString strName;
    strName = "[";
    strName += strFameName;
    strName += "] ";
    strName += m_szName;
    strcpy( szName, (LPCTSTR)strName );
    }

  7. #7
    Owner raventh1984 is offline
    Grand MasterRank
    May 2011 Join Date
    NetherlandsLocation
    1,499Posts

    Re: Hellp change the name Char please.

    First all learn how to read code and make code.
    Learn the basics html/php c++ etc. Then start coding.

    The part you need is already there you just have to change the if else construction


    if(m_dwAuthorization >= AUTH_GAMEMASTER) // If the authorization is higher then GM show the rest of the code
    {
    CString strName;
    strName = szName;
    if(m_dwAuthorization >= AUTH_ADMINISTRATOR) //If Auth is higher or equal to Administrator set the TAG.
    {
    strName += " [AOE_GOLD]"; //Change this for your Admin Account
    }
    else
    {
    strName += " [AOE-DEMIGOD]"; //This is for every one thats higher or equal to GM and not higher then Admin
    }
    strcpy( szName, (LPCTSTR)strName );
    }

    So what you need to do is creating additional if else construction

    I have given you an few tips the rest is up to you.

  8. #8
    Newbie ramom155 is offline
    MemberRank
    Oct 2013 Join Date
    17Posts

    Re: Hellp change the name Char please.

    ok got it now i can explain how to add items on server? v. 19
    Tanks

  9. #9
    Owner raventh1984 is offline
    Grand MasterRank
    May 2011 Join Date
    NetherlandsLocation
    1,499Posts

    Re: Hellp change the name Char please.

    There are some tutorials out there on how to add new things.
    Like weapons/armor etc.

    Just search for them and then your good to go

  10. #10
    Newbie ramom155 is offline
    MemberRank
    Oct 2013 Join Date
    17Posts

    Re: Hellp change the name Char please.

    tanks

    Help pls cancel Rollback in source.



Advertisement