elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   Flyff Private Server (https://www.elitepvpers.com/forum/flyff-private-server/)
-   -   Mount Source (https://www.elitepvpers.com/forum/flyff-private-server/4600623-mount-source.html)

babyminion 03/20/2019 15:06

Mount Source
 
1 Attachment(s)
Help please on Mount System Codes i leech it from [Only registered and activated users can see links. Click Here To Register...]
MoverRender.cpp
Spoiler:
C:\Flyff\Source\Program\_Common\MoverRender.cpp(30 89): fatal error C1020: unexpected #endif

WndManager.cpp
Spoiler:
C:\Flyff \Source\Program\_Interface\WndManager.cpp(8067): error C2059: syntax error : 'if'

C:\Flyff\Source\Program\_Interface\WndManager.cpp( 8068): error C2447: '{' : missing function header (old-style formal list?)

DPClient.cpp
Spoiler:
c:\Flyff\Source\Program\Neuz\DPClient.cpp(1106): error C2196: case value '34966' already used


Code Entries:
WndManager.cpp
Code:

#ifdef __MOUNT
        if( pItemElem->GetProp()->dwItemKind3 == IK3_MOUNT );
        {
                if( pItemElem->GetProp()->dwID > 0 )
                {
                        MOUNT_ANIMATION* pMountAnimation = prj.GetMountAnimation( pItemElem->GetProp()->dwID );
                        if( pMountAnimation )
                        {
                                if( pMountAnimation->fGroundSpeed > 0.0f )
                                {
                                        strEdit.AddString("\n");
                                        strEdit.AddString(prj.GetText(TID_MOUNT_MODE_03));
                                        strEdit.AddString(" ");
                                       
                                        if( pMountAnimation->fGroundSpeed <= 0.12f )
                                                strEdit.AddString( prj.GetText( TID_GAME_VERYSLOW ), 0xFFFF0000, ESSTY_UNDERLINE );
                                        else if( pMountAnimation->fGroundSpeed <= 0.16f )
                                                strEdit.AddString( prj.GetText( TID_GAME_SLOW ), 0xFFFF9900, ESSTY_UNDERLINE );
                                        else if( pMountAnimation->fGroundSpeed <= 0.24f )
                                                strEdit.AddString( prj.GetText( TID_GAME_NORMALS ), 0xFFF2C900, ESSTY_UNDERLINE );
                                        else if( pMountAnimation->fGroundSpeed <= 0.32f )
                                                strEdit.AddString( prj.GetText( TID_GAME_FAST ), 0xFF43E000, ESSTY_UNDERLINE );
                                        else if( pMountAnimation->fGroundSpeed <= 0.40f )
                                                strEdit.AddString( prj.GetText( TID_GAME_VERYFAST ), 0xFF0094FF, ESSTY_UNDERLINE );
                                        else
                                                strEdit.AddString( prj.GetText( TID_GAME_FASTEST ), 0xFFFF00FF, ESSTY_UNDERLINE );
                                }
                                if( pMountAnimation->fFlightSpeed > 0.0f )
                                {
                                        strEdit.AddString("\n");
                                        strEdit.AddString(prj.GetText(TID_MOUNT_MODE_04));
                                        strEdit.AddString(" ");
                                       
                                        if( pMountAnimation->fFlightSpeed <= 0.12f )
                                                strEdit.AddString( prj.GetText( TID_GAME_VERYSLOW ), 0xFFFF0000, ESSTY_UNDERLINE );
                                        else if( pMountAnimation->fFlightSpeed <= 0.16f )
                                                strEdit.AddString( prj.GetText( TID_GAME_SLOW ), 0xFFFF9900, ESSTY_UNDERLINE );
                                        else if( pMountAnimation->fFlightSpeed <= 0.24f )
                                                strEdit.AddString( prj.GetText( TID_GAME_NORMALS ), 0xFFF2C900, ESSTY_UNDERLINE );
                                        else if( pMountAnimation->fFlightSpeed <= 0.32f )
                                                strEdit.AddString( prj.GetText( TID_GAME_FAST ), 0xFF43E000, ESSTY_UNDERLINE );
                                        else if( pMountAnimation->fFlightSpeed <= 0.40f )
                                                strEdit.AddString( prj.GetText( TID_GAME_VERYFAST ), 0xFF0094FF, ESSTY_UNDERLINE );
                                        else
                                                strEdit.AddString( prj.GetText( TID_GAME_FASTEST ), 0xFFFF00FF, ESSTY_UNDERLINE );
                                       
                                        strEdit.AddString("\n");
                                        strEdit.AddString(prj.GetText(TID_MOUNT_MODE_05), 0xFF00FF90);
                                }
                        }
                }
        }
#endif // __MOUNT

DPClient.cpp
Code:

#ifdef __MOUNT
                        case SNAPSHOTTYPE_UPDATE_MOUNT: OnUpdateMount( objid, ar ); break;
#endif // __MOUNT

MoverRender.cpp file
[Only registered and activated users can see links. Click Here To Register...]

Seigh77 03/20/2019 16:09

MoverRender
check #endif i think its missing #ifdef or #endif is over..
DPClient
check the 34966 on where SNAPSHOTTYPE_UPDATE_MOUNT is define, then change the value

can you send me the item folder on it :) on client thank you hope it help

babyminion 03/20/2019 17:55

1 Attachment(s)
Quote:

Originally Posted by Seigh77 (Post 37459636)
MoverRender
check #endif i think its missing #ifdef or #endif is over..
DPClient
check the 34966 on where SNAPSHOTTYPE_UPDATE_MOUNT is define, then change the value

can you send me the item folder on it :) on client thank you hope it help

There you go!!!
[Only registered and activated users can see links. Click Here To Register...]

( Problem Fixed! )


All times are GMT +2. The time now is 08:05.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.