crash

Results 1 to 5 of 5
  1. #1
    Enthusiast ghPer is offline
    MemberRank
    Jul 2013 Join Date
    32Posts

    crash

    I'm compiled source in vs 2010, and click on login crash
    and gunz.dmp size is 0, can't analyze.

    fixed

    /close


  2. #2
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: crash

    How did you fix?

  3. #3
    Enthusiast ghPer is offline
    MemberRank
    Jul 2013 Join Date
    32Posts

    Re: crash

    CheckReturnCallStack.h
    Code:
    #pragma once
    
    
    
    
    
    
    #ifdef _DEBUG
    #define CHECK_RETURN_CALLSTACK(FuncName)            DWORD ret_ptr_dlrjsTmwlakdy    = 0; \
                                                        DWORD *dwI = NULL; \
                                                        __asm {pushad} \
                                                        __asm {mov eax, ebp} \
                                                        __asm {add eax, 4} \
                                                        __asm {mov eax, dword ptr ds:[eax]}    \
                                                        __asm {mov ret_ptr_dlrjsTmwlakdy, eax}    \
                                                        __asm {mov eax, FuncName} \
                                                        __asm {mov dwI, eax}    \
                                                        __asm {popad}; \
                                                            DWORD top        = (DWORD)0x00401000 + 0x246000; \
                                                            DWORD bottom    = (DWORD)0x00401000; \
                                                            if( (ret_ptr_dlrjsTmwlakdy <= bottom) || (ret_ptr_dlrjsTmwlakdy >= top) ) { \
                                                            MCommand* pC=ZNewCmd(MC_REQUEST_GIVE_ONESELF_UP); ZPostCommand(pC); } 
    #else
    #define CHECK_RETURN_CALLSTACK(FuncName)
    #endif
    
    
    
    
    // ÇÔ¼ö ÁøÀԽà ESP üũÇÏ·Á´Â Àǵµ·Î ¸¸µç µíÇÑ ¸ÅÅ©·Î (±×·¯³ª ¾ÆÁ÷ Á¦´ë·Î ±¸ÇöµÇ¾î ÀÖÁö ¾Ê´Ù)
    #ifdef _DEBUG
    #define CHECK_RETURN_CALLSTACK_ESP(FuncName)        DWORD ret_ptr_dlrjsTmwlakdy    = 0; \
                                                        DWORD *dwI = NULL; \
                                                        __asm {pushad} \
                                                        __asm {mov eax, esp} \
                                                        __asm {add eax, 4} \
                                                        __asm {mov eax, dword ptr ds:[eax]}    \
                                                        __asm {mov ret_ptr_dlrjsTmwlakdy, eax}    \
                                                        __asm {mov eax, FuncName} \
                                                        __asm {mov dwI, eax}    \
                                                        __asm {popad}; \
                                                        DWORD top        = (DWORD)0x00401000 + 0x246000; \
                                                        DWORD bottom    = (DWORD)0x00401000; \
                                                        if( (ret_ptr_dlrjsTmwlakdy <= bottom) || (ret_ptr_dlrjsTmwlakdy >= top) ) { \
                                                        MCommand* pC=ZNewCmd(MC_REQUEST_GIVE_ONESELF_UP); ZPostCommand(pC); } 
    #else
    #define CHECK_RETURN_CALLSTACK_ESP(FuncName)
    #endif
    
    
    
    
    
    
    // mlog("callstack : 0x%X~0x%X, 0x%X\n", bottom, top, ret_ptr_dlrjsTmwlakdy ); \
    // mlog("func addr : 0x%x\n", dwI ); \
    // printf("callstack hack : 0x%X~0x%X, 0x%X\n", bottom, top, ret_ptr_dlrjsTmwlakdy ); \
    
    
    
    
    
    
    // #define CHECK_RETURN_CALLSTACK(FuncName)            NULL;

  4. #4
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: crash

    ^ Sahar posted something like that in one of my topic that I needed help with.

  5. #5
    Enthusiast ghPer is offline
    MemberRank
    Jul 2013 Join Date
    32Posts

    Re: crash

    Quote Originally Posted by Anju View Post
    ^ Sahar posted something like that in one of my topic that I needed help with.
    This fix have on challeng quest source.



Advertisement