Old v15 source + Source addons This is a discussion on Old v15 source + Source addons within the Flyff Archive forums, part of the Flyff category; I'm back FlyFF people, this time I'm bringing you the FlyFF 15 Source, courtesy of Misterkid
FlyffV15.rar
Enjoy....
Registered
Old v15 source + Source addons
I'm back FlyFF people, this time I'm bringing you the FlyFF 15 Source, courtesy of Misterkid FlyffV15.rar
Enjoy.
Ultimate Member
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:
4. Build solution.
Last edited by manneke; 05-10-10 at 04:05 PM .
Ultimate Member
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!
ϠϪϡ
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?
Ultimate Member
Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit
Originally Posted by
WrongWay 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 manneke; 05-10-10 at 04:47 PM .
ϠϪϡ
Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit
Originally Posted by
manneke 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..
Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit
Looks like you know a few fixie stuff, I'd suggest making a development thread :x.
Hardcore Member
Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit
the /dis command works good, i don't know why dev's disabled it
Ultimate Member
Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit
Originally Posted by
Improved 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 manneke; 05-10-10 at 05:53 PM .
Member
Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit
Hmmm... Development on offi sources started? Good job, manneke.
Member
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
Ultimate Member
Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit
Originally Posted by
Cookiezzz 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?
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...
Member
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
Hardcore Member
Re: Official Source: aroundkillcrit/aroundpk/aroundpkcrit
Nice Guide might use this.
Posting Permissions
You may not post new threads You may not post replies You may not post attachments You may not edit your posts Forum Rules