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

Page 2 of 22 FirstFirst 1234567891012 ... LastLast
Results 16 to 30 of 328
  1. #16
    Alpha Member starstrokers is offline
    MemberRank
    Jun 2009 Join Date
    PC FRONTLocation
    1,815Posts

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

    hahaha, editing ep7 skill.ssf using neo`s tools are working...

  2. #17
    Member PrinceOfPersia2 is offline
    MemberRank
    Jun 2011 Join Date
    84Posts

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

    Anyway let us just continue sharing the correct coding guides just to move this forward and forget about the hindrances for now. It will be resolved someday...

  3. #18
    Banned zentrixph is offline
    BannedRank
    May 2011 Join Date
    67Posts

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

    Quote Originally Posted by starstrokers View Post
    hahaha, editing ep7 skill.ssf using neo`s tools are working...
    I think boss PrinceOfPersia is right, so if you know something tell it or post it, instead saying "hahaha"

  4. #19
    Member PrinceOfPersia2 is offline
    MemberRank
    Jun 2011 Join Date
    84Posts

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

    Here is my share, not sure if this has been shared, this is just simple changes for newbie as well as the title says...

    File name: ..\RanClientLib\G-Logic\GLogicData.h

    Code:
    enum GLCONST
    {
    	MAX_SERVERCHAR		= MAX_ONESERVERCHAR_NUM,
    	MAX_SELECTCHAR		= 4, 
    	MAX_VIEWRANGE		= 300, 
    
    	MAX_HEAD			= 20, // adjust face selection, need xml changes
    	MAX_HAIR			= 20, //adjust hair selection in game, need to adjust xml 
    
    	MAX_SCHOOL			= 10,
    	MAX_LEVEL			= 300, // if you want to adjust max level in game, change experience table after doing so
    
    	MAX_CLUBSTORAGE		= 5,
    	MAX_CLUBRANK		= 10,
    
    	GRADE_NORMAL		= 4,
    	GRADE_HIGH			= 9,
    	GRADE_LIMIT_MAX		= 15, // if you want upgrading in game to exceed +15, you need to change 
    change default charclass - wDAMAGE_GRADE, fDAMAGE_GRADE_TOP, fDEFENSE_GRADE_TOP
    
    };
    Last edited by PrinceOfPersia2; 27-02-12 at 04:43 PM.

  5. #20
    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)

    Edit First post :
    add some link to PrinceofPersia2 post about editing source..
    thanks for the help..^^b

  6. #21
    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 geger009 View Post
    Edit First post :
    add some link to PrinceofPersia2 post about editing source..
    thanks for the help..^^b
    You can copy the code instead and place it as part of your first post just to make it easier to find.

  7. #22
    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)

    hehehe..ok..i'll update it later..:)

  8. #23
    Member PrinceOfPersia2 is offline
    MemberRank
    Jun 2011 Join Date
    84Posts

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

    Please add this as well, Good luck to your developments :)

    File: ..\RanClientLib\G-Logic\GLItemMan.h
    Code:
    class GLItemMan
    {
    public:
    	enum
    	{
    		ENCODE_VER		= 0x0100,
    
    		VERSION			= 0x0100,
    		MAX_MID			= 1024,  //Max Item Main Id
    		MAX_SID			= 512, //Max Item Sub Id
    
    		MONEYMESH_NUM	= 3,
    		SPECID_NUM		= 600, //Gen Num of item, what to drop in game using the .genitem files 
    		SHUFFLE_NUM		= 5,
    		MAX_NUM			= 8 
    	};

  9. #24
    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)

    Update first post..
    hope this guide can make you all can develop your own server with your own uniqe features..

  10. #25
    Enthusiast DemiGods is offline
    MemberRank
    Jan 2012 Join Date
    nonthaburiLocation
    48Posts

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

    @geger009 how about the upgrade color effect where can i/we edit that in the source code ... do you know where..???

  11. #26
    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 DemiGods View Post
    @geger009 how about the upgrade color effect where can i/we edit that in the source code ... do you know where..???
    still dont know about that..

  12. #27
    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)

    i hope someone will share how to add new class in game.

  13. #28
    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
    i hope someone will share how to add new class in game.
    Adding class is a bit difficult since there will be a lot of changes needed in order to succeed.

  14. #29
    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 PrinceOfPersia2 View Post
    Adding class is a bit difficult since there will be a lot of changes needed in order to succeed.
    ya..i already try it..and i got "out of memory" only..:D
    game wont play..even it just emulator..>.<

  15. #30
    Wazup fucckerrsss the_eliter is offline
    MemberRank
    Jan 2008 Join Date
    blackest holeLocation
    936Posts

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

    Heres my small share :) Hope you like it

    If you are bored on +15 color and want to add more. This is what you need.

    Heres what you need to find at dxeffcharlevel.cpp
    Code:
        //    Level : 11 (+15) ³ë¶û  // 11 (+15) Means this is +15 color upgrade
    
        dwColorG = D3DCOLOR_ARGB( 200,143,143,112 );    // ±Û·Î¿ì ¿ë (Color to be change using ARBG just check it on google)
        dwColorA = D3DCOLOR_ARGB( 255, 78, 78, 41 );    // Ambient  (Color to be change using ARBG just check it on google)
        dwColorR = D3DCOLOR_ARGB( 255, 128,128,0 );    // ±× ¿Ü  (Color to be change using ARBG just check it on google)
    
        m_OpLEVEL[11].m_Ambient.m_bUse            = TRUE; //  m_OpLEVEL[11] means this is +15 color upgrade. Just check the corresponding OpLEVEL above so you can have the idea.
        m_OpLEVEL[11].m_Ambient.m_fBaseColor        = 0.5f;
        m_OpLEVEL[11].m_Ambient.m_fDynamicColor    = 1.5f;
        m_OpLEVEL[11].m_Ambient.m_cColor            = D3DXCOLOR ( dwColorA );
    
        m_OpLEVEL[11].m_Glow.m_bUse                = TRUE;
        m_OpLEVEL[11].m_Glow.m_cColor            = D3DXCOLOR ( dwColorG );
    
        m_OpLEVEL[11].m_Reflect.m_bUse            = TRUE;
        m_OpLEVEL[11].m_Reflect.m_fPower            = 14.f;
        m_OpLEVEL[11].m_Reflect.m_dwColorOP        = D3DTOP_MODULATE2X;
        m_OpLEVEL[11].m_Reflect.m_cColor            = D3DXCOLOR ( dwColorR );
    
        m_OpLEVEL[11].m_Flow.m_bUse                = TRUE;
        m_OpLEVEL[11].m_Flow.m_cColor            = D3DXCOLOR ( dwColorR );
    Copy the whole code and paste it below of the 11 OpLEVEL then just change OpLEVEL to 12 and up, its up to you if how many color you want to add. You have to change the 11 lines of OpLEVEL to determine the color level.


    On limiting, heres what you need to find at dxeffcharlevel.h
    Code:
        enum
        {
            LEVEL_LIMIT = 11,    //5, //Means 11 = +15 upgrade depend on level
            LEVEL_ARRAY = 12,    //6,    // LEVEL_LIMIT+1 // You always need +1 ahead to the limit.
        };
    
        DXOPTION            m_OpLEVEL [ LEVEL_ARRAY ];    // ±âº» 0 LEVEL 1~5 ±îÁö
    Cpp and Header can be found at Source\EngineLib\DxEffect\Char



Page 2 of 22 FirstFirst 1234567891012 ... LastLast

Advertisement