Debuging Neuz gives lpShortcut not defined.

Results 1 to 1 of 1
  1. #1
    Owner raventh1984 is offline
    Grand MasterRank
    May 2011 Join Date
    NetherlandsLocation
    1,499Posts

    Debuging Neuz gives lpShortcut not defined.

    Hi rageonzers.

    I am using the latest release of Virtuos Files 2013
    however if i run the neuz and i close it then its crashing on the Hud Slide bar.


    Spoiler:

    2014/ 1/16 07:42:51 Jan 16 2014 07:21:33 1 rCnt=1

    Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:007EF651, std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,CTexture *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,CTexture *> >,0> >::_Lbound()+0017 byte(s), c:\program files (x86)\microsoft visual studio .net 2003\vc7\include\xtree, line 0988+0008 byte(s)

    - Registers

    EAX=00000004 EBX=7EFDE000 ECX=00000000 EDX=0018FD58 ESI=00000001
    EDI=00000000 EBP=0018FCC4 ESP=0018FCB8 EIP=007EF651 FLG=00210206
    CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B

    0023:007EF651 Neuz.exe, std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,CTexture *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,CTexture *> >,0> >::_Lbound()+0017 byte(s)
    0023:007EE633 Neuz.exe, std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,CTexture *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,CTexture *> >,0> >::lower_bound()+0019 byte(s)
    0023:007EE3B9 Neuz.exe, std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,CTexture *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,CTexture *> >,0> >::find()+0025 byte(s)
    0023:007ED241 Neuz.exe, CTextureMng::RemoveTexture()+0065 byte(s)
    0023:004EDC97 Neuz.exe, CWndNeuz::~CWndNeuz()+0215 byte(s)
    0023:006366E8 Neuz.exe, CWndTaskBar_HUD_SLIDE::~CWndTaskBar_HUD_SLIDE()+0024 byte(s)
    0023:0063A8CF Neuz.exe, CWndTaskBar_HUD_SLIDE::`scalar deleting destructor'()+0015 byte(s)
    0023:005290EA Neuz.exe, CWndBase::DestroyAllWnd()+0138 byte(s)
    0023:0052460B Neuz.exe, CWndBase::~CWndBase()+0235 byte(s)
    0023:004C8B32 Neuz.exe, CWndMgr::~CWndMgr()+0674 byte(s)
    0023:009C80FD Neuz.exe, $E9()+0013 byte(s)
    0023:00954212 Neuz.exe, doexit()+0108 byte(s)
    0023:00954276 Neuz.exe, exit()+0013 byte(s)
    0023:00959BFC Neuz.exe, WinMainCRTStartup()+0404 byte(s)
    0023:7514339A kernel32.dll, BaseThreadInitThunk()+0018 byte(s)
    0023:77609ED2 ntdll.dll, RtlInitializeExceptionChain()+0099 byte(s)
    0023:77609EA5 ntdll.dll, RtlInitializeExceptionChain()+0054 byte(s)


    Uppon debuging the neuz i recieve this error

    Run-Time Check Failure #3 - The variable 'lpShortcut' is being used without being defined. However the lpShortcut is defined like this
    LPSHORTCUT lpShortcut

    Also the snippet above the error line is also using the variable lpShortcut.

    Its located here
    Spoiler:

    if( lpShortcut->m_dwShortcut == SHORTCUT_ITEM ) <----This is the error line
    {
    CItemBase* pItemBase = g_pPlayer->GetItemId( lpShortcut->m_dwId );
    if( pItemBase )
    {
    int nPart = pItemBase->GetProp()->dwParts;
    if( nPart != -1 )
    g_bSlotSwitchAboutEquipItem[ i ] = TRUE;
    }
    }


    Any help in this matter will be greatfull.




Advertisement