|
You last visited: Today at 09:22
Advertisement
Raised Pet Problem
Discussion on Raised Pet Problem within the Flyff Private Server forum part of the Flyff category.
12/02/2012, 01:27
|
#1
|
elite*gold: 0
Join Date: Mar 2009
Posts: 61
Received Thanks: 3
|
Raised Pet Problem
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..
|
|
|
12/02/2012, 01:49
|
#2
|
elite*gold: 59
Join Date: Oct 2012
Posts: 716
Received Thanks: 465
|
A lot of people have this problem:
You can block the action so that you cant teleport with a pet( haven´t tried to fix the bug at its source)
e.g. on GM teleport:
Original part of the function (TextCmd_Teleport):
Code:
pUser->REPLACE( g_uIdofMulti, pWorld->GetID(), pUserTarget->GetPos(), REPLACE_NORMAL, pUserTarget->GetLayer() );
Edited function(checks if you are using a pet):
Code:
CPet* pPet = pUser->GetPet();
if ( pPet) { pUser->AddText( "Crash prevention -> teleporting with a pet :D!" ); } // a pet is out and youll get a message
else {
pUser->REPLACE( g_uIdofMulti, pWorld->GetID(), pUserTarget->GetPos(), REPLACE_NORMAL, pUserTarget->GetLayer() ); //if you dont have a pet you will be teleportet
}
If you got any questions, feel free to ask.
|
|
|
12/02/2012, 03:00
|
#3
|
elite*gold: 0
Join Date: Mar 2009
Posts: 61
Received Thanks: 3
|
uhmm.. I got an Idea based on your reply.. but.. unfortunately, I don't know how to code it.. How about when teleporting.. It will unsummon the pet, teleport to the place and then summon the pet again? or something like that? is it possible? Thanks for replying. oh BTW. it's not just the command teleport.. also the Teleport system and sometimes when going out of the arena and stuff.
|
|
|
12/02/2012, 11:31
|
#4
|
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
|
Quote:
Originally Posted by FlyCraft.TobiLap
A lot of people have this problem:
You can block the action so that you cant teleport with a pet( haven´t tried to fix the bug at its source)
e.g. on GM teleport:
Original part of the function (TextCmd_Teleport):
Code:
pUser->REPLACE( g_uIdofMulti, pWorld->GetID(), pUserTarget->GetPos(), REPLACE_NORMAL, pUserTarget->GetLayer() );
Edited function(checks if you are using a pet):
Code:
CPet* pPet = pUser->GetPet();
if ( pPet) { pUser->AddText( "Crash prevention -> teleporting with a pet :D!" ); } // a pet is out and youll get a message
else {
pUser->REPLACE( g_uIdofMulti, pWorld->GetID(), pUserTarget->GetPos(), REPLACE_NORMAL, pUserTarget->GetLayer() ); //if you dont have a pet you will be teleportet
}
If you got any questions, feel free to ask.
|
this is not good, cause when you teleport with teleporet / npc, whatelse it doesnt work, only for command
this will be better
mover.cpp
add under
Code:
#ifdef __LAYER_1015
BOOL CMover::Replace( u_long uIdofMulti, DWORD dwWorldID, D3DXVECTOR3 & vPos, REPLACE_TYPE type, int nLayer )
#else // __LAYER_1015
BOOL CMover::Replace( u_long uIdofMulti, DWORD dwWorldID, D3DXVECTOR3 & vPos, REPLACE_TYPE type )
#endif // __LAYER_1015
{
CWorld* pWorld = GetWorld();
if( !pWorld )
return FALSE;
if( dwWorldID == 0 || dwWorldID == NULL_ID )
return FALSE;
#ifdef __LAYER_1015
CWorld* pTargetWorld = g_WorldMng.GetWorld( dwWorldID );
if( !pTargetWorld || !pTargetWorld->m_linkMap.GetLinkMap( nLayer ) )
{
Error( "Layer not found" );
return FALSE;
}
#endif // __LAYER_1015
// Á¶°Ç°Ë»ç
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
this
Code:
if(HasActivateSystemPet())
InactivateSystempet();
this will remove the systempet first for every replace.
|
|
|
12/03/2012, 09:34
|
#5
|
elite*gold: 0
Join Date: Mar 2009
Posts: 61
Received Thanks: 3
|
ok.. so i compiled everything without any errors. but the neuz still crashes when i teleport.. especially when using the extended teleport system..
|
|
|
 |
Similar Threads
|
[Release] Action Raised Limit Executables
04/26/2014 - Dekaron Private Server - 48 Replies
Hi.
These executables are a further modification of the ones released by =Seph= (Aloken). The executables are capable of reading more action files without crashing.
I have no server to test these on so I can't be 100% sure these work the way intended but I have verified that these load my action share (2218 lines).
If you are facing action share related problems with these executables, post the error in this thread.
|
if u need ur elo raised.... i can help you do that
09/27/2012 - League of Legends Trading - 2 Replies
so my account name is zeljin and i have over 2000 games played so im very experienced i play this game basicallly every time i have free time and the highest elo iv gotten so far is 1755. i am pretty good though the only reason why my elo is 1400 right now is because on weekends i get drunk and play for fun... but if u want ur elo raised i promise ill get ur account to the elo required, WITHOUT being drunk cuz its kinda like a job. but ya... im very experienced and if u choose me ill promise ur...
|
Just raised FM 99 w/o bot OLO
06/06/2010 - Runescape - 1 Replies
FM 99 YAY!!!!
ps: w/o = without
|
All times are GMT +1. The time now is 09:22.
|
|