Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 16:04

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help]World Crash

Discussion on [Help]World Crash within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2016
Posts: 7
Received Thanks: 0
Exclamation [Help]World Crash

i try to debug and it's show


ItemProp* pProp = pItemElem->GetProp();

from this function

PHP Code:
void CMover::ActivateEatPetCItemElempItemElem )
{
    
ItemProppProp    pItemElem->GetProp(); <---------- This line that debug show.
    if( !
pProp )
        return;

#ifdef __QUIZ
    
if( GetWorld() && GetWorld()->GetID() == WI_WORLD_QUIZ )
        return;
#endif // __QUIZ

    
if( IsFly() )
    {
        
static_cast<CUser*>( this )->AddDefinedTextTID_GAME_CANNOT_CALL_PET_ON_FLYING );
        return;
    }
//        ASSERT( pItemProp->dwLinkKind != NULL_ID )
#ifdef __LAYER_1015
    
CMover *pEatPet    CreateMoverGetWorld(), pProp->dwLinkKindGetPos(), GetLayer() );
#else    // __LAYER_1015
    
CMover *pEatPet    CreateMoverGetWorld(), pProp->dwLinkKindGetPos() );
#endif    // __LAYER_1015
    
if( pEatPet )
    {
        
CAIPet *pAIPet    static_cast<CAIPet*>( pEatPet->m_pAIInterface );
        if( 
pAIPet )
        {
            
pAIPet->SetOwnerGetId() );
            
SetEatPetIdpEatPet->GetId() );
#if __VER >= 12 // __PET_0519
            
pAIPet->SetItemthispItemElem );        // 
#endif    // __PET_0519
#ifdef __EATPET_STATS
            
for( int i 03; ++)
            {
                if( 
pProp->dwDestParam[i] != NULL_ID )
                {
                    
SetDestParam(pProp->dwDestParam[i], pProp->nAdjParamVal[i], pProp->dwChgParamVal[i]);
                }
            }
#endif
#if __VER >= 15 // __PETVIS
            
if( pItemElem->IsVisPet() )
            {
                if( 
pItemElem->GetPiercingSize() <= )    // 
                    
UpdateItem( (BYTE)( pItemElem->m_dwObjId ), UI_PETVIS_SIZEPETVIS_DEFAULT_VIS_SLOT_SZIE );

                
SetVisPetItempItemElem->m_dwObjId );    // 
                
SetPetVisDSTpItemElem );
                
pEatPet->m_dwMoverSfxId pItemElem->GetVisPetSfxId();
                
static_cast<CUser*>(this)->AddActivateVisPetpItemElem->m_dwObjIdGetEatPetId() );
            }
#endif // __PETVIS
        
}
    }



lordwoldermal is offline  
Old 06/19/2016, 02:52   #2
 
elite*gold: 0
Join Date: Mar 2008
Posts: 333
Received Thanks: 284
pItemElem is NULL?
Nortix is offline  
Old 06/19/2016, 04:56   #3
 
elite*gold: 0
Join Date: May 2016
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by Nortix View Post
pItemElem is NULL?
you know how to fix it sir ?
lordwoldermal is offline  
Old 06/19/2016, 12:41   #4



 
Sedrika's Avatar
 
elite*gold: 18
The Black Market: 103/0/0
Join Date: Sep 2009
Posts: 20,174
Received Thanks: 14,475
Check if it's null and return. If you don't know how to do it delete all please.
Sedrika is offline  
Thanks
3 Users
Old 06/20/2016, 01:59   #5
 
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
Quote:
Originally Posted by Sedrika View Post
Check if it's null and return. If you don't know how to do it delete all please.
Thank you ^_^ I deleted and it ran perfectly!
Avalion is offline  
Old 06/20/2016, 04:23   #6
 
banktakung's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 306
Received Thanks: 59
PHP Code:
if(!pItemElem)
return; 
banktakung is offline  
Reply


Similar Threads Similar Threads
World Crash
02/06/2014 - Flyff Private Server - 1 Replies
I think the problem is lack of RAM, but I'm not sure, so I would like to get a second opinion, if someone could help me so much agradeseria! C:\Users\Administrator\Desktop\Files Drax\Program\7-WorldServer.exe caused ACCESS_VIOLATION (0xc0000005) in module C:\Users\Administrator\Desktop\Files Drax\Program\7-WorldServer.exe at 0023:004488ec. Error occurred at 2014/2/5 22:19:14. C:\Users\Administrator\Desktop\Files Drax\Program\7-WorldServer.exe, run by Administrator. Operation system...
World Crash Beim Einloggen In World
07/07/2011 - Flyff Private Server - 4 Replies
Hey Leute Ich habe mir letztens einen v17 p server erstellt(mit den v17 ready files). Heute wollte ich ummappen mit dem beast editor der auch in den files iss. Dann habe ich gleich 1klick jobchange auch rein getan und flaris n bisl umgestaltet. Jetzt habe ich den world server gestartet : Alles ging reibungslos er hat auch so um die 19 000 objekte geladen. Ich dachte es klappt endlich doch dann will ich mich einloggen. Login->Channel-Auswahl->Char->World=Worl dserver iss abgeschmiert...



All times are GMT +1. The time now is 16:05.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.