__PMA_WING Crash

07/14/2013 10:31 raventh1984#1
Hi elitepvpers,

I am using an different source by now adn i have added the PMA_WING mask system to it.

How ever when i wear an mask my neuz is crashing. I also cant enter the char selection screen.

My other source works without any problems with it. I have dubbel checked all of the code but it aint working.

This is my neuz crash log
Code:
2013/ 7/14   10:28:31   Jul 14 2013 09:54:51 1 rCnt=1

Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module ntdll.dll at 0023:775922B2, RtlEnterCriticalSection()+0018 byte(s)

 - Registers

EAX=00000024  EBX=7EFDE000  ECX=00AA0928  EDX=00000001  ESI=00000024
EDI=00000020  EBP=0018B460  ESP=0018B44C  EIP=775922B2  FLG=00010212
CS=0023   DS=002B  SS=002B  ES=002B   FS=0053  GS=002B

0023:775922B2 ntdll.dll, RtlEnterCriticalSection()+0018 byte(s)
0023:00924266 Neuz.exe, _lock_file()+0046 byte(s)
0023:0091BC6F Neuz.exe, fread()+0020 byte(s)
0023:004D55BF Neuz.exe, CFileIO::Read()+0031 byte(s)
0023:007B8C78 Neuz.exe, CResFile::Read()+0040 byte(s)
0023:007659D6 Neuz.exe, CObject3D::LoadObject()+0278 byte(s)
0023:00764644 Neuz.exe, CObject3DMng::LoadObject3D()+0388 byte(s)
0023:0075CE47 Neuz.exe, CModelObject::LoadElement()+0215 byte(s)
0023:0070E5E1 Neuz.exe, CMover::DoEquip()+3089 byte(s)
0023:0070F12E Neuz.exe, CMover::DoEquip()+0302 byte(s)
0023:00414606 Neuz.exe, CDPClient::OnDoEquip()+0214 byte(s)
0023:0040E626 Neuz.exe, CDPClient::OnSnapshot()+2566 byte(s)
0023:0040DB60 Neuz.exe, CDPClient::UserMessageHandler()+0176 byte(s)
0023:007C67EB Neuz.exe, CDPMng::ReceiveMessage()+0219 byte(s)
0023:0046F7AA Neuz.exe, CNeuzApp::FrameMove()+0106 byte(s)
0023:00491740 Neuz.exe, CD3DApplication::Render3DEnvironment()+0384 byte(s)
0023:00491581 Neuz.exe, CD3DApplication::Run()+0305 byte(s)
0023:004763EC Neuz.exe, WinMain()+0332 byte(s)
0023:0091DE4C Neuz.exe, WinMainCRTStartup()+0388 byte(s)
0023:751A33AA kernel32.dll, BaseThreadInitThunk()+0018 byte(s)
0023:775A9EF2 ntdll.dll, RtlInitializeExceptionChain()+0099 byte(s)
0023:775A9EC5 ntdll.dll, RtlInitializeExceptionChain()+0054 byte(s)
Any tips in this matter will be helpfull.
07/14/2013 11:02 Velmore#2
Debugen.
07/14/2013 11:18 raventh1984#3
Oke i run the neuz in the debug mode.

When entering the char selection screen the neuz crashed. Cause the char is wearing the blessed angel wing as an mask.

Here is the result of the debug

The only thing i can see is this
adding setitem failed // 1
adding setitem failed // 1
adding setitem failed // 1
adding setitem failed // 1
adding setitem failed // 1
adding setitem failed // 1
adding setitem failed // 1
adding setitem failed // 1
adding setitem failed // 1
adding setitem failed // 1
07/14/2013 11:23 Velmore#4
If you debug right, you see the location of the crash.

Read a tut about how to use the debug option
07/14/2013 11:42 raventh1984#5
Well i have found this.

Run-Time Check Failure #2 - Stack around the variable 'szPartsName' was corrupted.
07/14/2013 11:59 Velmore#6
Pls post a screenshot of the area
07/14/2013 15:34 raventh1984#7
Well thats the point it doesnt show the area.
It just shows me that message.
So i searched for that keyword and its in moverequip.cpp

So i used winmerge to check the moverequip.cpp with the one that is working and they are both the same.
07/14/2013 15:38 Velmore#8
Quote:
Originally Posted by raventh1984 View Post
Well thats the point it doesnt show the area.
It just shows me that message.
So i searched for that keyword and its in moverequip.cpp

So i used winmerge to check the moverequip.cpp with the one that is working and they are both the same.
Remove the system and insert it again?
07/14/2013 16:25 raventh1984#9
I have done that already with or without the system only 1 wing keeps on crashing the neuz.
And i cant remove that wing cause many players have that wing on.
Maybe it has something to do with the model itself. I will test it
07/14/2013 20:21 Pumaaa#10
I just read like 10% of the stuff you posted so I'll just make a guess.

szPartsName is limited to 32 chars, yet your Modelname is longer , this causes the program to crash.
07/14/2013 21:10 raventh1984#11
Thank you for the tip pumaaa.

I already checked that one out. However the model name is only 18 chars.
Also the one from the working source is also limited to 32 chars and i dont have any problems with that. Its only 1 Wing mask thats giving this problem. I will keep on testing it and will return with the answer. Unless someone else has the answer.