- Joined
- Jun 26, 2009
- Messages
- 2,640
- Reaction score
- 1,326
Re: Source code Edits
Sigh... I'm alot against this thread though :-/
Sigh... I'm alot against this thread though :-/
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Sigh... I'm alot against this thread though :-/
Then I guess you'd be against the release of the source code in general?Sigh... I'm alot against this thread though :-/
Then I guess you'd be against the release of the source code in general?
These threads are making the Flyff section a REAL development section.
Even if somebody doesn't know poop about programming, looking at the source and doing changes forms questions in people's minds; it gets people interested in the language, and some feel the need to start learning the language as well. Thus, more people feel the need to contribute their findings and start contributing to the section in general.
This is what I love about open-source development.
For those who just copy, paste, and build, they'll get left behind in the race eventually.
Couldn't have said it any better.
Just like what I replied to WebSpiders post with. Everyone has to start somewhere, no one becomes a pro just by picking up a keyboard.
if( pUser == pTarget )
{
pUser->AddDefinedText( TID_GAME_COUPLE_E01 ); // ´ë»óÀÌ ºÎÀûÇÕ ÇÕ´Ï´Ù. Ä¿ÇÃÀÌ ¾Æ´Ñ À̼º ij¸¯ÅÍ¿¡°Ô¸¸ °¡´ÉÇÕ´Ï´Ù.
return;
}
if( pUser->GetSex() == pTarget->GetSex() )
{
pUser->AddDefinedText( TID_GAME_COUPLE_E01 ); // ´ë»óÀÌ ºÎÀûÇÕ ÇÕ´Ï´Ù. Ä¿ÇÃÀÌ ¾Æ´Ñ À̼º ij¸¯ÅÍ¿¡°Ô¸¸ °¡´ÉÇÕ´Ï´Ù.
return;
}
Gay/Lesbian Marriage xD
delete If statements in couplehelper.cpp at line 62
You must be registered to see links
if( pFocus && pFocus->GetType() == OT_MOVER && ((CMover*)pFocus)->IsPlayer() )
{
// ÇÁ·¯Æ÷Áî º¸³¾ ¸Þ¼¼Áö â Ãâ·Â
if(g_WndMng.m_pWndCoupleMessage)
SAFE_DELETE(g_WndMng.m_pWndCoupleMessage);
g_WndMng.m_pWndCoupleMessage = new CWndCoupleMessage;
if(g_WndMng.m_pWndCoupleMessage)
{
CString strText;
strText.Format(prj.GetText(TID_GAME_PROPOSETO), ((CMover*)pFocus)->GetName());
g_WndMng.m_pWndCoupleMessage->SetMessageMod(strText, CWndCoupleMessage::CM_SENDPROPOSE, pFocus);
g_WndMng.m_pWndCoupleMessage->Initialize(NULL);
}
}
else
{
g_WndMng.PutString( prj.GetText( TID_GAME_NOTCOUPLETARGET ), NULL, prj.GetTextColor( TID_GAME_NOTCOUPLETARGET ) );
}
No i already tested it if i try to marry myself, a NPC or a monster there is th error "The target is supposed to be a player"
Edit: In THIS code you could edit that you can marry a mover or yourself:
#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 FALSE;
}
#endif // __CLIENT
#define __CON_AUTO_LOGIN
Account test
Password test
n2ndPassword 1234
nServer 1
nCharacter 1
#define __BS_CONSOLE
if( g_Option.m_nBloom == 1 )
{
if( m_d3dCaps.PixelShaderVersion >= D3DPS_VERSION(1,1) )
g_Glare.Create( m_pd3dDevice, D3DFMT_R5G6B5], g_Option.m_nResWidth, g_Option.m_nResHeight - 48 );
else
g_Option.m_nBloom = 0;
if( g_Option.m_nBloom == 1 )
{
if( m_d3dCaps.PixelShaderVersion >= D3DPS_VERSION(1,1) )
g_Glare.Create( m_pd3dDevice, D3DFMT_A16B16G16R16F, g_Option.m_nResWidth, g_Option.m_nResHeight - 48 );
else
g_Option.m_nBloom = 0;
Bloom 1
1
1
1
C:\Users\NeuroSource\Desktop\source\Public Source\FlyFF v15 Source\_Interface\WndTitle.cpp(2096): error C2065: 'g_Console' : undeclared identifier
C:\Users\NeuroSource\Desktop\source\Public Source\FlyFF v15 Source\_Interface\Wnd2ndPassword.cpp(403): error C2065: 'g_Console' : undeclared identifier
C:\Users\NeuroSource\Desktop\source\Public Source\FlyFF v15 Source\_Interface\Wnd2ndPassword.cpp(403): error C2228: left of '._nPasswordReal' must have class/struct/union type
type is ''unknown-type''
C:\Users\NeuroSource\Desktop\source\Public Source\FlyFF v15 Source\_Interface\Wnd2ndPassword.cpp(409): error C2228: left of '._nPasswordFigure' must have class/struct/union type
type is ''unknown-type''
C:\Users\NeuroSource\Desktop\source\Public Source\FlyFF v15 Source\_Interface\Wnd2ndPassword.cpp(409): error C3861: 'g_Console': identifier not found, even with argument-dependent lookup
C:\Users\NeuroSource\Desktop\source\Public Source\FlyFF v15 Source\_Interface\WndTitle.cpp(2096): error C2228: left of '._nPasswordFigure' must have class/struct/union type
type is ''unknown-type''
Making Disguise Command work again:
Comment out this Line:
PHP:#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 FALSE; } #endif // __CLIENT
Another thing:
Add this to your VersionCommon.h of the Neuz:
PHP:#define __CON_AUTO_LOGIN
Create an ini in the Main folder of Flyff and call it Autologin.ini add this in it and you will auto log into the Game
Code:Account test Password test n2ndPassword 1234 nServer 1 nCharacter 1
Or this for the Neuz Console which contains additional commands (VersionCommon.h--> Neuz)
PHP:#define __BS_CONSOLE
To change teh Quality of the Bloom effect from 16 bit to 64 bit change this:
PHP:if( g_Option.m_nBloom == 1 ) { if( m_d3dCaps.PixelShaderVersion >= D3DPS_VERSION(1,1) ) g_Glare.Create( m_pd3dDevice, D3DFMT_R5G6B5], g_Option.m_nResWidth, g_Option.m_nResHeight - 48 ); else g_Option.m_nBloom = 0;
to this
PHP:if( g_Option.m_nBloom == 1 ) { if( m_d3dCaps.PixelShaderVersion >= D3DPS_VERSION(1,1) ) g_Glare.Create( m_pd3dDevice, D3DFMT_A16B16G16R16F, g_Option.m_nResWidth, g_Option.m_nResHeight - 48 ); else g_Option.m_nBloom = 0;
The Bloom effect will apply In much sharper Quality now
To activate Bloom jsut wirte bloom into the ini like this
Code:Bloom 1
if you get an CEffectEnviroment error just make a file in the ResourceFolder called EnvironmentEffect.txt and insert this into it
Code:1 1 1
Hope this helps ^^
@Aries
You can't just enable Autologin, if you do you will get errors.
I was especially tickled when i saw his ttle under his name saying ''sucka at C++'' then he does a basic edit Sucka sounds a bit like slang for someone who is good at somethin idk xD
unless it was a typo and he really meant "Sucks at C++"
Still, I lolled.
@Aries
You can't just enable Autologin, if you do you will get errors.
#if __VER >= 8 // __CSC_VER8_1
// 8ֲק GMְֿ °ז¿ל¸¦ ֱ¦¿ַֿ°ם »ף´כ¹זְַ ·¹÷§ְ» ÷¼¼צ ¾רְ½
if( g_pPlayer->IsAuthHigher( AUTH_GAMEMASTER ) == TRUE )
#endif //__CSC_VER11_1
#else
// ֵ¸°ְּ ְ½ֵ÷¸´ 10·¹÷§ ְַּֿ¸י ·¹÷§ְ» ÷¼¼צ ְײְ½.
if( g_pPlayer->IsAuthHigher( AUTH_GAMEMASTER ) == TRUE || g_pPlayer->GetLevel() + 10 > pMover->GetLevel() )
sprintf( szText, "%s<Lv.%d>", pMover->GetName(), pMover->GetLevel() );
else
sprintf( szText, "%s<Lv.\?\?>", pMover->GetName() );
#endif //__CSC_VER8_1