Raised Pet Problem

Status
Not open for further replies.
Skilled Illusionist
Joined
Mar 4, 2012
Messages
326
Reaction score
22
hi there,

Every time I teleport with a raise pet, the neuz always crash.. I have been searching for hours now and I can't seem to find the right fix. Here's the log..

Code:
 Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:00791871, CWorld::Process()+1217 byte(s), d:\build\program\_common\world.cpp, line 0918+0034 byte(s)

 - Registers

EAX=0244A9E4  EBX=7EFDE000  ECX=0244A9E4  EDX=00000000  ESI=00000000
EDI=75501245  EBP=0018F9D8  ESP=0018F94C  EIP=00791871  FLG=00010206
CS=0023   DS=002B  SS=002B  ES=002B   FS=0053  GS=002B

0023:00791871 Neuz.exe, CWorld::Process()+1217 byte(s)
0023:004F8733 Neuz.exe, CWndWorld::Process()+3763 byte(s)
0023:00510B9C Neuz.exe, CWndBase::Process()+0092 byte(s)
0023:004C5A1A Neuz.exe, CWndMgr::Process()+2906 byte(s)
0023:004703AB Neuz.exe, CNeuzApp::FrameMove()+0267 byte(s)
0023:00490630 Neuz.exe, CD3DApplication::Render3DEnvironment()+0384 byte(s)
0023:00490475 Neuz.exe, CD3DApplication::Run()+0245 byte(s)
0023:0047722C Neuz.exe, WinMain()+0332 byte(s)
0023:0091EF1C Neuz.exe, WinMainCRTStartup()+0388 byte(s)
0023:755033AA kernel32.dll, BaseThreadInitThunk()+0018 byte(s)
0023:77B69EF2 ntdll.dll, RtlInitializeExceptionChain()+0099 byte(s)
0023:77B69EC5 ntdll.dll, RtlInitializeExceptionChain()+0054 byte(s)

Thank you.
 
ok I guess there's no fix to this one.. but I'm trying to unsummon the pet before teleporting.. I added this code in the mover.cpp:

Code:
// Á¶°Ç°Ë»ç 
	if( type == REPLACE_NORMAL )
	{
		if( IsAuthHigher( AUTH_GAMEMASTER ) == FALSE && IsFly() ) 
			return FALSE;
	}

	// À̵¿À» ¸ØÃá´Ù.
	ClearDest();
	SendActMsg( OBJMSG_ACC_STOP );
	SendActMsg( OBJMSG_STOP_TURN );
	SendActMsg( OBJMSG_STAND );

#if __VER >= 11 // __SYS_COLLECTING
	if( IsCollecting() )
		StopCollecting();
#endif	// __SYS_COLLECTING

#if __VER >= 15 // __REACTIVATE_EATPET
	if( HasActivatedEatPet() )
		InactivateEatPet();
#endif // __REACTIVATE_EATPET

       [COLOR="#FF0000"] if(HasActivateSystemPet())
		InactivateSystempet();[/COLOR]

but im having this error:
Code:
D:\source\Program\_Common\Mover.cpp(2613): error C2660: 'CMover::InactivateSystemPet' : function does not take 0 arguments

what should i put inside the InactivateSystempet() ??
 
Here this is what i have in my mover.cpp.

#if __VER >= 15 // __REACTIVATE_EATPET
if( HasActivatedEatPet() )
InactivateEatPet();

if( HasActivatedSystemPet() )
PetRelease();
#endif // __REACTIVATE_EATPET

I think you must use the PetRelease.
I could be wrong though cause when i am using teleport it will automatic bring the pet inside the inventory again.
 
Status
Not open for further replies.
Back