Welcome to the RaGEZONE - MMORPG development forums.

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; What they said, stop flaming this thread. Source edits are or will be a big thing in this section eventually. ...

Page 4 of 18 FirstFirst 12345678910111214 ... LastLast
Results 46 to 60 of 267
  1. #46
    Azure subscription
    Rank
    Subscriber
    Join Date
    Feb 2009
    Posts
    3,460
    Liked
    1115

    Re: Source code Edits

    Click
    What they said, stop flaming this thread. Source edits are or will be a big thing in this section eventually.

    iStick this.

  2. #47
    Member
    Rank
    Member
    Join Date
    Nov 2008
    Posts
    54
    Liked
    47

    Re: Source code Edits

    Gay/Lesbian Marriage xD

    delete If statements in couplehelper.cpp at line 62

    if( pUser == pTarget )
    {
    pUser->AddDefinedText( TID_GAME_COUPLE_E01 ); // ´ë»óÀÌ ºÎÀûÇÕ ÇÕ´Ï´Ù. Ä¿ÇÃÀÌ ¾Æ´Ñ À̼º ij¸¯ÅÍ¿¡°Ô¸¸ °¡´ÉÇÕ´Ï´Ù.
    return;
    }
    if( pUser->GetSex() == pTarget->GetSex() )
    {
    pUser->AddDefinedText( TID_GAME_COUPLE_E01 ); // ´ë»óÀÌ ºÎÀûÇÕ ÇÕ´Ï´Ù. Ä¿ÇÃÀÌ ¾Æ´Ñ À̼º ij¸¯ÅÍ¿¡°Ô¸¸ °¡´ÉÇÕ´Ï´Ù.
    return;
    }
    http://178.63.84.77/marry.jpg
    Last edited by Kyubinoyoko; 17-10-10 at 12:43 PM.

  3. #48
    Member
    Rank
    Member
    Join Date
    Aug 2010
    Location
    Finland
    Posts
    94
    Liked
    9

    Re: Source code Edits

    Quote Originally Posted by Kyubinoyoko View Post
    Gay/Lesbian Marriage xD

    delete If statements in couplehelper.cpp at line 62


    http://178.63.84.77/marry.jpg
    Deleting the "if( pUser == pTarget )" statement lets you marry yourself unless I'm totally wrong. That would be a bug in my opinion.

  4. #49
    Member
    Rank
    Member
    Join Date
    Nov 2008
    Posts
    54
    Liked
    47

    Re: Source code Edits

    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:

    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 ) );
    }
    Last edited by Kyubinoyoko; 17-10-10 at 01:47 PM.

  5. #50
    Member
    Rank
    Member
    Join Date
    Aug 2010
    Location
    Finland
    Posts
    94
    Liked
    9

    Re: Source code Edits

    Quote Originally Posted by Kyubinoyoko View Post
    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:
    Isn't that client's code? It can be bypassed by the player by sending custom packets or just modifying the client.

    It's most important to make sure the server checks everything well. Client should not be trusted to filter invalid info.
    Last edited by Henry; 17-10-10 at 02:01 PM.

  6. #51
    Member
    Rank
    Member
    Join Date
    Nov 2008
    Posts
    54
    Liked
    47

    Re: Source code Edits

    Yes thats the clients source but i removed the if statement in the worldserver and I am unable to marry myself butI'm able to marry the same gender ^^

  7. #52
    Darkness is Rising
    Rank
    Member +
    Join Date
    Aug 2008
    Location
    on your CPU
    Posts
    343
    Liked
    258

    Re: Source code Edits

    Making Disguise Command work again:

    Comment out this Line:

    PHP 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 
    FALSE;
                }                
            
    #endif // __CLIENT 

    Another thing:

    Add this to your VersionCommon.h of the Neuz:

    PHP Code:
    #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 Code:
    #define        __BS_CONSOLE 
    To change teh Quality of the Bloom effect from 16 bit to 64 bit change this:


    PHP Code:
    if( g_Option.m_nBloom == )
        {
            if( 
    m_d3dCaps.PixelShaderVersion >= D3DPS_VERSION(1,1) )
                
    g_Glare.Createm_pd3dDeviceD3DFMT_R5G6B5], g_Option.m_nResWidthg_Option.m_nResHeight 48 );
            else
                
    g_Option.m_nBloom 0

    to this

    PHP Code:
    if( g_Option.m_nBloom == )
        {
            if( 
    m_d3dCaps.PixelShaderVersion >= D3DPS_VERSION(1,1) )
                
    g_Glare.Createm_pd3dDeviceD3DFMT_A16B16G16R16Fg_Option.m_nResWidthg_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 ^^
    Last edited by Aries; 18-10-10 at 05:16 AM.

  8. #53
    Member
    Rank
    Member
    Join Date
    Nov 2008
    Posts
    54
    Liked
    47

    Re: Source code Edits

    @Aries

    You can't just enable Autologin, if you do you will get errors.

    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''

  9. #54
    XorNetwork
    Rank
    Moderator
    Join Date
    Feb 2009
    Location
    Banana.
    Posts
    1,227
    Liked
    956

    Re: Source code Edits

    Quote Originally Posted by Aries View Post
    Making Disguise Command work again:

    Comment out this Line:

    PHP 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 
    FALSE;
                }                
            
    #endif // __CLIENT 

    Another thing:

    Add this to your VersionCommon.h of the Neuz:

    PHP Code:
    #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 Code:
    #define        __BS_CONSOLE 
    To change teh Quality of the Bloom effect from 16 bit to 64 bit change this:


    PHP Code:
    if( g_Option.m_nBloom == )
        {
            if( 
    m_d3dCaps.PixelShaderVersion >= D3DPS_VERSION(1,1) )
                
    g_Glare.Createm_pd3dDeviceD3DFMT_R5G6B5], g_Option.m_nResWidthg_Option.m_nResHeight 48 );
            else
                
    g_Option.m_nBloom 0

    to this

    PHP Code:
    if( g_Option.m_nBloom == )
        {
            if( 
    m_d3dCaps.PixelShaderVersion >= D3DPS_VERSION(1,1) )
                
    g_Glare.Createm_pd3dDeviceD3DFMT_A16B16G16R16Fg_Option.m_nResWidthg_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 ^^
    Aeonsoft has to be the worst company in the universe for removing some of their greatest features ever for no logical reason whatsoever.

  10. #55
    Hardcore Member
    Rank
    Member
    Join Date
    Sep 2008
    Location
    France
    Posts
    103
    Liked
    40

    Re: Source code Edits

    they don't earn money with this feature so they remove it $_$

  11. #56
    Ultimate Member
    Rank
    Member
    Join Date
    Oct 2010
    Posts
    186
    Liked
    15

    Re: Source code Edits

    Quote Originally Posted by Kyubinoyoko View Post
    @Aries

    You can't just enable Autologin, if you do you will get errors.
    for me its works perfect...
    i login to my server with this.
    and thanx alot aries about the /dis /nodis really thanx ^_^

  12. #57
    Hey , I'm A Noob.
    Rank
    Gamma
    Join Date
    Jun 2009
    Location
    127.0.0.1/Dev
    Posts
    3,388
    Liked
    428

    Re: Change your window's title - Source

    Quote Originally Posted by Jcdacez View Post
    I was especially tickled when i saw his ttle under his name saying ''sucka at C++'' then he does a basic edit :P 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++" :D
    Still, I lolled.
    I don't know it that much I started watching videos , so basically those edits were easy to make.
    Probably taking up Java.

  13. #58
    Ultimate Member
    Rank
    Member
    Join Date
    Mar 2009
    Location
    Belgium
    Posts
    157
    Liked
    33
    Gamertag: None

    Re: Source code Edits

    Quote Originally Posted by Kyubinoyoko View Post
    @Aries

    You can't just enable Autologin, if you do you will get errors.
    You also have to define '__BS_CONSOLE' if you want to use AutoLogin.
    Last edited by manneke; 19-10-10 at 05:10 PM.

  14. #59
    Ultimate Member
    Rank
    Member
    Join Date
    Oct 2010
    Posts
    186
    Liked
    15

    Re: FlyFF v15 Source Code + Source Edits

    lets keep this topic alive:
    its only some edits i start to learn c++ 3 weeks ago but im a starter so its ok ^_^:
    1:change the max you can buy from shop from 99 to xxxx:
    go to your folder source/_interface
    now open WndShop.cpp
    and find this:
    const int MAX_BUY_ITEMCOUNT = 99;
    now change the number to what you want and enjoy.
    2:change that normal players again can see the level of other players:
    go to _interface
    open WndWorld.cpp
    and then find this:
    #if __VER >= 8 // __CSC_VER8_1

    and you will see this text:
    PHP Code:
    #if __VER >= 8 // __CSC_VER8_1
                            // 8ֲק GMְֿ °ז¿ל¸¦ ֱ¦¿ַֿ°ם »ף´כ¹זְַ ·¹÷§ְ» ÷¼¼צ ¾רְ½ 
                            
    if( g_pPlayer->IsAuthHigherAUTH_GAMEMASTER ) == TRUE 
    Then Change The AUTH_GAMEMASTER TO AUTH_GENERAL .
    then in the same file find this:
    #endif //__CSC_VER11_1

    and then you will see this text:

    PHP Code:
    #endif //__CSC_VER11_1
    #else
                            // ֵ¸°ְּ ְ½ֵ÷¸´ 10·¹÷§ ְַּֿ¸י ·¹÷§ְ» ÷¼¼צ ְײְ½.
                            
    if( g_pPlayer->IsAuthHigherAUTH_GAMEMASTER ) == TRUE || g_pPlayer->GetLevel() + 10 pMover->GetLevel() )
                                
    sprintfszText"%s<Lv.%d>"pMover->GetName(), pMover->GetLevel() );
                            else
                                
    sprintfszText"%s<Lv.\?\?>"pMover->GetName() );
    #endif //__CSC_VER8_1 
    AGAIN CHANGE HERE THE AUTH_GAMEMASTER TO AUTH_GENERAL .
    THAT ALL ENJOY ^_^
    Last edited by WrongWay; 21-10-10 at 10:00 PM.

  15. #60
    i sell platypus
    Rank
    Alpha Member
    Join Date
    Jun 2009
    Location
    Denmark
    Posts
    2,957
    Liked
    1284
    Gamertag: DeadlyFlames

    Re: FlyFF v15 Source Code + Source Edits

    Nao Fantasy suddently isn't unique =O

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •