Hello & Welcome to our community. Is this your first visit? Register

Page 1 of 18 12345678911 ... LastLast
Results 1 to 15 of 267
  1. #1
    Registered Cerox's Avatar

    Rank
    Member
    Join Date
    Dec 2009
    Posts
    9

    Old v15 source + Source addons

    I'm back FlyFF people, this time I'm bringing you the FlyFF 15 Source, courtesy of Misterkid

    [Only registered and activated users can see links. ]

    Enjoy.

  2. # ADS
    HyperFilter
    RaGEZONE Sponsor

    Rank
      Sponsor  
    Join Date
    Sep 2013
    Posts
    9000


     

  3. #2
    Ultimate Member

    Rank
    Member
    Join Date
    Mar 2009
    Location
    Belgium
    Posts
    170

    Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    What this is:
    The title should say it all.

    What you need:
    1. Brain.exe
    2. Source Files + VS2003
    3. Understanding of the IDE and the basics of C++
    4. A GM character that can use GM commands

    How to do it:
    1. Add this under the "TextCmd_AroundKill" function in FuncTextCmd.cpp:
    Spoiler:

    Code:
    BOOL TextCmd_AroundKillCritical( CScanner & scanner )
    {
    #ifdef __WORLDSERVER
        CUser* pUser = (CUser*)scanner.dwValue;
        if( pUser->GetWeaponItem() == NULL )
            return TRUE;
    
        CWorld* pWorld    = pUser->GetWorld();
        if( pWorld )
            pUser->SendDamageAround( AF_CRITICAL2, (CMover*)pUser, OBJTYPE_MONSTER, 1, 3, 0.0, 2.0f );
    #endif // __WORLDSERVER
        return TRUE;
    }
    
    BOOL TextCmd_AroundPK( CScanner & scanner )
    {
    #ifdef __WORLDSERVER
        CUser* pUser = (CUser*)scanner.dwValue;
        if( pUser->GetWeaponItem() == NULL )
            return TRUE;
    
        CWorld* pWorld    = pUser->GetWorld();
        if( pWorld )
            pUser->SendDamageAround( AF_MAGICSKILL, (CMover*)pUser, OBJTYPE_PLAYER, 1, 3, 0.0, 1.0f );
    #endif // __WORLDSERVER
        return TRUE;
    }
    
    BOOL TextCmd_AroundPKCritical( CScanner & scanner )
    {
    #ifdef __WORLDSERVER
        CUser* pUser = (CUser*)scanner.dwValue;
        if( pUser->GetWeaponItem() == NULL )
            return TRUE;
    
        CWorld* pWorld    = pUser->GetWorld();
        if( pWorld )
            pUser->SendDamageAround( AF_CRITICAL2, (CMover*)pUser, OBJTYPE_PLAYER, 1, 3, 0.0, 2.0f );
    #endif // __WORLDSERVER
        return TRUE;
    }


    2. And this under the line that begins with "ON_TEXTCMDFUNC( TextCmd_AroundKill, ", in FuncTextCmd.cpp:

    Spoiler:

    Code:
        ON_TEXTCMDFUNC( TextCmd_AroundKillCritical,       "aroundkillcrit",     "akc",            "盔秦",           "秦",      TCM_SERVER, AUTH_GAMEMASTER3   , "绢扼款靛俊 乐绰 阁胶磐" )
        ON_TEXTCMDFUNC( TextCmd_AroundPK,               "aroundpk",           "apk",            "盔力",           "力",      TCM_SERVER, AUTH_GAMEMASTER3   , "绢扼款靛俊 乐绰" )
        ON_TEXTCMDFUNC( TextCmd_AroundPKCritical,       "aroundpkcrit",       "apkc",           "盔利",           "利",      TCM_SERVER, AUTH_GAMEMASTER3   , "绢扼款靛俊" )


    3. And replace the if/else statement in MoverSkill.cpp that checks "nDmgType == AF_MAGICSKILL" with this:

    Spoiler:

    Code:
    	if( nDmgType == AF_MAGICSKILL )
    	{
    		pProp = prj.GetSkillProp( nAttackID );		// UseSkill俊辑 荤侩茄 胶懦狼 橇肺欺萍 波晨
    		if( pProp == NULL )
    		{
    			Error( "CMover::SendDamageAround : %s. 胶懦(%d)狼 橇肺欺萍啊 诀促.", m_szName, nAttackID );
    			return;	// property not found
    		}
    	} else
    	{
    		pProp = prj.GetItemProp( nAttackID );		// 酒捞袍 橇肺欺萍波晨
    		if( pProp == NULL )
    		{
    			//Error( "CMover::SendDamageAround : %s. 酒捞袍(%d)狼 橇肺欺萍啊 诀促.", m_szName, nAttackID );
    			//Error( "CMover::SendDamageAround : Property not found on item.", m_szName, nAttackID );
    			pProp = prj.GetSkillProp( nAttackID );
    			//return;	// property not found
    		}
    	}


    4. Build solution.
    Last edited by lesderid; 05-10-10 at 04:05 PM.

  4. #3
    Ultimate Member

    Rank
    Member
    Join Date
    Oct 2010
    Posts
    183

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    nice guide ^_^.
    you know how to change the /dis /nodis to work as a command and no when you do in game example: /dis 912 its not work and say No Command!

  5. #4
    ϠϪϡ

    Rank
    True Member
    Join Date
    Dec 2009
    Posts
    305

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Not really a useful command, but still it would be nice indeed to use it!
    Simple & easy to do. What does it need to be more?

  6. #5
    Ultimate Member

    Rank
    Member
    Join Date
    Mar 2009
    Location
    Belgium
    Posts
    170

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Quote Originally Posted by WrongWay View Post
    nice guide ^_^.
    you know how to change the /dis /nodis to work as a command and no when you do in game example: /dis 912 its not work and say No Command!
    You have to be AUTH_ADMINISTRATOR to disguise.
    Edit: Oops, I was wrong. Dunno why but they have this:
    Code:
    		#ifdef __CLIENT
    			if( scanner.Token == "disguise" || scanner.Token == "dis" || scanner.Token == "函脚" || scanner.Token == "函" ||
    				scanner.Token == "noDisguise" || scanner.Token == "nodis" || scanner.Token == "函脚秦力" || scanner.Token == "函秦" )
    			{
    				g_WndMng.PutString( "Not Command!" );
    				return TRUE;
    			}				
    		#endif // __CLIENT
    I would just try removing the if statement.
    Last edited by lesderid; 05-10-10 at 04:47 PM.

  7. #6
    ϠϪϡ

    Rank
    True Member
    Join Date
    Dec 2009
    Posts
    305

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Quote Originally Posted by manneke View Post
    You have to be AUTH_ADMINISTRATOR to disguise.
    Edit: Oops, I was wrong. Dunno why but they have this:
    Code:
    		#ifdef __CLIENT
    			if( scanner.Token == "disguise" || scanner.Token == "dis" || scanner.Token == "函脚" || scanner.Token == "函" ||
    				scanner.Token == "noDisguise" || scanner.Token == "nodis" || scanner.Token == "函脚秦力" || scanner.Token == "函秦" )
    			{
    				g_WndMng.PutString( "Not Command!" );
    				return TRUE;
    			}				
    		#endif // __CLIENT
    Yea, i've noticed that too. It's probably an unfinished command or something like that..

  8. #7
    i sell platypus Improved's Avatar

    Rank
    Alpha Male
    Join Date
    Jun 2009
    Location
    Denmark
    Posts
    2,868

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Looks like you know a few fixie stuff, I'd suggest making a development thread :x.

    Spoiler:


  9. #8
    Hardcore Member Seymourfr's Avatar

    Rank
    Member
    Join Date
    Sep 2008
    Location
    France
    Posts
    117

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    the /dis command works good, i don't know why dev's disabled it

  10. #9
    Ultimate Member

    Rank
    Member
    Join Date
    Mar 2009
    Location
    Belgium
    Posts
    170

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Quote Originally Posted by Improved View Post
    Looks like you know a few fixie stuff, I'd suggest making a development thread :x.
    I just know how to use Ctrl-F. :P

    EDIT: Working on a Command List window. (with explanation of GM commands etc.)
    Last edited by lesderid; 05-10-10 at 05:53 PM.

  11. #10
    Member Devl547's Avatar

    Rank
    Member
    Join Date
    Aug 2008
    Posts
    86

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Hmmm... Development on offi sources started? Good job, manneke.

  12. #11
    Member

    Rank
    Member
    Join Date
    Oct 2010
    Posts
    79

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Nowai u ppl figured out how to add commands... Now go make a new pk system plox
    Posted via Mobile Device

  13. #12
    Ultimate Member

    Rank
    Member
    Join Date
    Mar 2009
    Location
    Belgium
    Posts
    170

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Quote Originally Posted by Cookiezzz View Post
    Nowai u ppl figured out how to add commands... Now go make a new pk system plox
    Posted via Mobile Device
    I can has cheezburger?

  14. #13
    i sell platypus Improved's Avatar

    Rank
    Alpha Male
    Join Date
    Jun 2009
    Location
    Denmark
    Posts
    2,868

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Its not hard to create new functions. I just thought that when you've been working on the source for abit you learn alot of new functions, blablabla DEVELOPMENT ALIVE...

    Spoiler:


  15. #14
    Member

    Rank
    Member
    Join Date
    Oct 2010
    Posts
    79

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Bleh, I hope you all figure out one big flaw thanks to the source. If someone fixes it wihout causing additional overhead ill be suprised :D.
    Posted via Mobile Device

  16. #15
    Hardcore Member Ragesource's Avatar

    Rank
    Member
    Join Date
    Oct 2008
    Location
    ohio
    Posts
    132

    Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit

    Nice Guide might use this.

 

 
Page 1 of 18 12345678911 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HyperFilter
Sponsored by HyperFilter , secured by Incapsula , powered by LiteSpeed.
Mods by DBTech. All times are GMT +1. The time now is 08:12 PM.
Powered by vBulletin® Copyright , Jelsoft Enterprises Ltd.