How to add some extra function on Source Code (Newbie Coder)

Page 5 of 22 FirstFirst 1234567891011121315 ... LastLast
Results 61 to 75 of 328
  1. #61
    Apprentice SoulWeaver is offline
    MemberRank
    Feb 2012 Join Date
    6Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    Quote Originally Posted by sceon View Post
    oh no!!!

    no cp and bullet me =,=

    open GLItemDef.h search text "Sceon" =,=
    yeah i saw that too now someone give me this file and i dont know to do this sorry sceon if this your file

  2. #62
    ... dmc0105 is offline
    MemberRank
    Jun 2006 Join Date
    MalaysiaLocation
    378Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    How to change folder location/name

    Like ran2,they have RData instead of data...This is where u do that...

    Enginelib > Common > SUBPATH.cpp

    Code:
    	TCHAR CACHE[MAX_PATH]				= _T("\\cache\\");
    
    	TCHAR OBJ_FILE_ROOT[MAX_PATH]		= _T("\\Data\\");
    	TCHAR OBJ_FILE_EDIT[MAX_PATH]		= _T("\\Data\\Editor\\");
    	TCHAR OBJ_FILE_PIECE[MAX_PATH]		= _T("\\Data\\Piece\\");
    	TCHAR OBJ_FILE_PIECEEDIT[MAX_PATH]	= _T("\\Data\\Piece\\Edit\\");
    	TCHAR OBJ_FILE_SKIN[MAX_PATH]		= _T("\\Data\\Skin\\");
    	TCHAR OBJ_FILE_SKELETON[MAX_PATH]	= _T("\\Data\\Skeleton\\");
    	TCHAR OBJ_FILE_ANIMATION[MAX_PATH]	= _T("\\Data\\Animation\\");
    	TCHAR OBJ_FILE_SKINOBJECT[MAX_PATH]	= _T("\\Data\\SkinObject\\");
    
    	TCHAR MAP_FILE[MAX_PATH]			= _T("\\Data\\Map\\");
    	TCHAR GLMAP_FILE[MAX_PATH]			= _T("\\Data\\GLMap\\");
    	TCHAR GLOGIC_FILE[MAX_PATH]			= _T("\\Data\\GLogic\\");
    	TCHAR GLOGIC_SERVER_FILE[MAX_PATH]	= _T("\\Data\\GLogicServer\\");
    
    	TCHAR TILE_FILE_DATA[MAX_PATH]		= _T("\\Data\\Tiles\\");
    	TCHAR TILE_FILE_TEXTURE[MAX_PATH]	= _T("\\Textures\\Tiles\\");
    
    	TCHAR OBJ_FILE_OBJECT[MAX_PATH]		= _T("\\Data\\Object\\");
    	TCHAR OBJ_FILE_STATICMESH[MAX_PATH]	= _T("\\Data\\StaticMesh\\");
    
    	TCHAR TEXTURE_FILE_ROOT[MAX_PATH]	= _T("\\Textures");
    	TCHAR TEXTURE_FILE_SHADOW[MAX_PATH]	= _T("\\Textures\\Shadow\\");
    	TCHAR TEXTURE_FILE_CLUB[MAX_PATH]	= _T("\\Textures\\Club\\");
    	TCHAR TEXTURE_FILE_EFF[MAX_PATH]	= _T("\\Textures\\Effect\\");
    	TCHAR SHADER_FILE_ROOT[MAX_PATH]	= _T("\\Shaders\\");
    
    	TCHAR EFF_FILE_SINGLE[MAX_PATH]		= _T("\\Data\\Effect\\");
    	TCHAR EFF_FILE_CHAR[MAX_PATH]		= _T("\\Data\\Effect\\Char\\");
    
    	TCHAR GUI_FILE_ROOT[MAX_PATH]		= _T("\\Data\\GUI\\");
    	TCHAR NTK_FILE_ROOT[MAX_PATH]		= _T("\\Data\\GLogic\\NPCTALK\\");
    	TCHAR QST_FILE_ROOT[MAX_PATH]		= _T("\\Data\\GLogic\\Quest\\");
    
    	TCHAR SOUND_FILE_ROOT[MAX_PATH]		= _T("\\Sounds\\Sfx\\");
    	TCHAR BGM_FILE_ROOT[MAX_PATH]		= _T("\\Sounds\\BGM\\");

  3. #63
    Account Upgraded | Title Enabled! navirius is offline
    MemberRank
    Feb 2010 Join Date
    309Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    anyone can give guide to add invite party from friendlist or from guild member?

  4. #64
    Enthusiast ozli512 is offline
    MemberRank
    Dec 2011 Join Date
    28Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    server hp rate = ranclientilb - g-logic - glcharacter.cpp
    float fCONFT_POINT_RATE(1.0f); <- 1.0f
    if ( m_sCONFTING.IsCONFRONTING() ) fCONFT_POINT_RATE = m_sCONFTING.sOption.fHP_RATE;

  5. #65
    Member f4idol is offline
    MemberRank
    Oct 2011 Join Date
    97Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    where can i see this? DxPieceDefine.h

  6. #66
    Enthusiast ozli512 is offline
    MemberRank
    Dec 2011 Join Date
    28Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    HP MAX

    float fHPPercent = 0.0f;
    if( pMember->m_sHP.wMax != 0 )
    {
    fHPPercent = float(pMember->m_sHP.wNow) / float(pMember->m_sHP.wMax);
    }

    pPartySlot->SetHP( fHPPercent );
    }
    }

    minipatrywindow.cpp

    Quote Originally Posted by f4idol View Post
    where can i see this? DxPieceDefine.h
    DxPieceDefine.h = Source\enginelib\Meshs

  7. #67
    Member f4idol is offline
    MemberRank
    Oct 2011 Join Date
    97Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    Quote Originally Posted by ozli512 View Post
    HP MAX

    float fHPPercent = 0.0f;
    if( pMember->m_sHP.wMax != 0 )
    {
    fHPPercent = float(pMember->m_sHP.wNow) / float(pMember->m_sHP.wMax);
    }

    pPartySlot->SetHP( fHPPercent );
    }
    }

    minipatrywindow.cpp



    DxPieceDefine.h = Source\enginelib\Meshs
    is there any specific folder to look for?

    i want to make a new item type = wings :)

    but im really a newbie in coding.

    hope you guys have a time to teach me

    thank you

    EDIT :

    seems coding is alot of things to learn :)

    anyways is it posible for you guys to create a new item type for me?

    i want wings please :( so that i wont put wings on bracelet anymore.. thank you :)
    Last edited by f4idol; 02-03-12 at 11:13 PM.

  8. #68
    Enthusiast ozli512 is offline
    MemberRank
    Dec 2011 Join Date
    28Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    hp max
    Last edited by ozli512; 03-03-12 at 03:26 AM.

  9. #69
    Account Upgraded | Title Enabled! tobets2000 is offline
    MemberRank
    Sep 2007 Join Date
    East BlueLocation
    256Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    Quote Originally Posted by ozli512 View Post
    hp max
    ozli is that the code to bypass the max hp?

  10. #70
    Member PrinceOfPersia2 is offline
    MemberRank
    Jun 2011 Join Date
    84Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    Quote Originally Posted by tobets2000 View Post
    ozli is that the code to bypass the max hp?
    Definitely not.

  11. #71
    Proficient Member DarkEagle is offline
    MemberRank
    May 2004 Join Date
    In your heartLocation
    177Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    thank you very much
    Last edited by DarkEagle; 04-03-12 at 07:58 AM.

  12. #72
    Tired. IamDJDRB is offline
    MemberRank
    May 2011 Join Date
    PHLocation
    702Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    @All
    Does anyone knows how to configure the Club War Time ?
    As in to set the Club War as Everyday ?

    How to increase the Day of Club War < ---- That's my Question :)
    Hope who knows this can share it.
    Thanks.

  13. #73
    sapadia.net geger009 is online now
    DeveloperRank
    Mar 2011 Join Date
    IndonesiaLocation
    1,007Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    Quote Originally Posted by essaeypride View Post
    @All
    Does anyone knows how to configure the Club War Time ?
    As in to set the Club War as Everyday ?

    How to increase the Day of Club War < ---- That's my Question :)
    Hope who knows this can share it.
    Thanks.
    you mean add more battle time right??
    so we can add more day for CW instead just 4 day right??

    maybe this the way..not to sure but you can try it

    Open GLGuidance.h file and change this :

    Code:
    class GLGuidance
    {
    public:
    	enum { MAX_TIME = 4, };<--change 4 to 7 so you can add more battle time in your guid.ini
    hope this answer is correct..

  14. #74
    Tired. IamDJDRB is offline
    MemberRank
    May 2011 Join Date
    PHLocation
    702Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    Quote Originally Posted by geger009 View Post
    you mean add more battle time right??
    so we can add more day for CW instead just 4 day right??

    maybe this the way..not to sure but you can try it

    Open GLGuidance.h file and change this :

    Code:
    class GLGuidance
    {
    public:
    	enum { MAX_TIME = 4, };<--change 4 to 7 so you can add more battle time in your guid.ini
    hope this answer is correct..

    HOPE This will be helped ;)
    BTW. Thanks for the Tip !

  15. #75
    Proficient Member DarkEagle is offline
    MemberRank
    May 2004 Join Date
    In your heartLocation
    177Posts

    Re: How to add some extra function on Source Code (Newbie Coder)

    Does anyone knows how to make normal class for have 2 slot of weapon with tab for swich weapon like extream class?

    I hope who knows this can share it.
    Thanks you.



Advertisement