SetPiercingSize Crash (NEUZ)

10/22/2018 20:20 Olapelasd#1
When i click on view equipment of a player that have for example a suit with +10

It crash , debug:

Code:
[[noreturn]] static void _Xlength()
        {    // report a length_error
        _Xlength_error("vector<T> too long");
        }

----------

CPiercing::SetPiercingSize
Thanks
10/22/2018 22:54 - DK#2
Quote:
Originally Posted by Olapelasd View Post
When i click on view equipment of a player that have for example a suit with +10

It crash , debug:

Code:
[[noreturn]] static void _Xlength()
        {    // report a length_error
        _Xlength_error("vector<T> too long");
        }

----------

CPiercing::SetPiercingSize
Thanks

Do you have more Errors? Txt Files, more crash lines from visual studio?
10/23/2018 00:27 Olapelasd#3
Quote:
Originally Posted by - DK ACE View Post
Do you have more Errors? Txt Files, more crash lines from visual studio?
Yeah

when viewing char with +10 set effects causes neuz to crash

Debug:

Code:
 	KernelBase.dll!769d5ef8()	Unknown
 	[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]	
 	[External Code]	
 	Neuz.exe!CPiercing::SetPiercingSize(int nSize) Line 96	C++
 	Neuz.exe!CPiercing::Serialize(CAr & ar) Line 60	C++
>	Neuz.exe!CDPClient::OnQueryEquip(unsigned long objid, CAr & ar) Line 16041	C++
 	Neuz.exe!CDPClient::OnSnapshot(CAr & ar) Line 688	C++
 	Neuz.exe!CDPClient::UserMessageHandler(DPMSG_GENERIC * lpMsg, unsigned long dwMsgSize, unsigned long idFrom) Line 350	C++
 	Neuz.exe!CDPMng::ReceiveMessage() Line 180	C++
 	Neuz.exe!CNeuzApp::FrameMove() Line 1439	C++
 	Neuz.exe!CD3DApplication::Render3DEnvironment() Line 1785	C++
 	Neuz.exe!CD3DApplication::Run() Line 1676	C++
 	Neuz.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 521	C++
 	[External Code]
10/23/2018 14:51 firesqual#4
You should check that :

Neuz.exe!CPiercing::SetPiercingSize(int nSize) Line 96 C++

and check if size value >= max piercing or < 0