|
You last visited: Today at 14:24
Advertisement
chip_playershop crash after adding item in vend
Discussion on chip_playershop crash after adding item in vend within the Flyff Private Server forum part of the Flyff category.
08/05/2018, 11:48
|
#1
|
elite*gold: 0
Join Date: Apr 2011
Posts: 9
Received Thanks: 0
|
chip_playershop crash after adding item in vend
Hello,
Anyone can help me with chip_playershop?
I've been struggling with this one. I have compiled the codes without error and was able to get inside the game.
The thing is whenever I add items to sell in playershop the client freezes and then crash. Can anyone help me?
(The code is working before the addition of chip_playershop so I'm pretty sure that this is where the problem is)
Here's the error log in the client:
Code:
2018/ 8/ 5 17:38:25 g_pPlayer is ready
2018/ 8/ 5 17:38:27 CWndTaskBar::SetTaskBarTexture : test12 2010
2018/ 8/ 5 17:38:27 CWndTaskBar::SetTaskBarTexture : test12 581
2018/ 8/ 5 17:38:45 g_pPlayer is ready
2018/ 8/ 5 17:38:45 CWndTaskBar::SetTaskBarTexture : test12 581
2018/ 8/ 5 17:38:49 GetDlgItem : nID=931 not Found.
2018/ 8/ 5 17:38:49 GetDlgItem : nID=715 not Found.
2018/ 8/ 5 17:38:49 GetDlgItem : nID=708 not Found.
2018/ 8/ 5 17:38:49 Aug 5 2018 16:24:19 1 rCnt=1
Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:004B0A7D, CWndBase::SetGroup()+0013 byte(s), e:\flyffcustom\v18\blessed source\official source\_interface\wndbase.h, line 0231+0013 byte(s)
- Registers
EAX=00000000 EBX=0048A300 ECX=00000001 EDX=00000000 ESI=00000000
EDI=00000202 EBP=0019F090 ESP=0019F08C EIP=004B0A7D FLG=00210206
CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B
0023:004B0A7D Neuz.exe, CWndBase::SetGroup()+0013 byte(s)
0023:0061ED51 Neuz.exe, CWndRegVend::OnInitialUpdate()+0609 byte(s)
0023:0050C0ED Neuz.exe, CWndBase::Create()+0413 byte(s)
0023:004D5389 Neuz.exe, CWndNeuz::InitDialog()+0297 byte(s)
0023:0061EE0A Neuz.exe, CWndRegVend::Initialize()+0058 byte(s)
0023:00620DEF Neuz.exe, CWndVendor::OnChildNotify()+0623 byte(s)
0023:00624433 Neuz.exe, CWndVendorCtrl::OnDropIcon()+0371 byte(s)
0023:0050DA3E Neuz.exe, CWndBase::WindowRootProc()+1246 byte(s)
0023:0046DF62 Neuz.exe, CNeuzApp::MsgProc()+0338 byte(s)
0023:0048A324 Neuz.exe, WndProc()+0036 byte(s)
0023:765FBE6B USER32.dll, AddClipboardFormatListener()+1179 byte(s)
0023:765F833A USER32.dll, DispatchMessageW()+2426 byte(s)
0023:765F7BEE USER32.dll, DispatchMessageW()+0558 byte(s)
0023:765ECD30 USER32.dll, DispatchMessageA()+0016 byte(s)
0023:0048C5F7 Neuz.exe, CD3DApplication::Run()+0199 byte(s)
0023:0047446C Neuz.exe, WinMain()+0332 byte(s)
0023:0091728C Neuz.exe, WinMainCRTStartup()+0388 byte(s)
0023:77258484 KERNEL32.DLL, BaseThreadInitThunk()+0036 byte(s)
0023:77972FEA ntdll.dll, RtlValidSecurityDescriptor()+0282 byte(s)
0023:77972FBA ntdll.dll, RtlValidSecurityDescriptor()+0234 byte(s)
|
|
|
08/05/2018, 12:11
|
#2
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Quote:
Originally Posted by cedrickaga
Hello,
Anyone can help me with chip_playershop?
I've been struggling with this one. I have compiled the codes without error and was able to get inside the game.
The thing is whenever I add items to sell in playershop the client freezes and then crash. Can anyone help me?
(The code is working before the addition of chip_playershop so I'm pretty sure that this is where the problem is)
Here's the error log in the client:
Code:
2018/ 8/ 5 17:38:25 g_pPlayer is ready
2018/ 8/ 5 17:38:27 CWndTaskBar::SetTaskBarTexture : test12 2010
2018/ 8/ 5 17:38:27 CWndTaskBar::SetTaskBarTexture : test12 581
2018/ 8/ 5 17:38:45 g_pPlayer is ready
2018/ 8/ 5 17:38:45 CWndTaskBar::SetTaskBarTexture : test12 581
2018/ 8/ 5 17:38:49 GetDlgItem : nID=931 not Found.
2018/ 8/ 5 17:38:49 GetDlgItem : nID=715 not Found.
2018/ 8/ 5 17:38:49 GetDlgItem : nID=708 not Found.
2018/ 8/ 5 17:38:49 Aug 5 2018 16:24:19 1 rCnt=1
Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:004B0A7D, CWndBase::SetGroup()+0013 byte(s), e:\flyffcustom\v18\blessed source\official source\_interface\wndbase.h, line 0231+0013 byte(s)
- Registers
EAX=00000000 EBX=0048A300 ECX=00000001 EDX=00000000 ESI=00000000
EDI=00000202 EBP=0019F090 ESP=0019F08C EIP=004B0A7D FLG=00210206
CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B
0023:004B0A7D Neuz.exe, CWndBase::SetGroup()+0013 byte(s)
0023:0061ED51 Neuz.exe, CWndRegVend::OnInitialUpdate()+0609 byte(s)
0023:0050C0ED Neuz.exe, CWndBase::Create()+0413 byte(s)
0023:004D5389 Neuz.exe, CWndNeuz::InitDialog()+0297 byte(s)
0023:0061EE0A Neuz.exe, CWndRegVend::Initialize()+0058 byte(s)
0023:00620DEF Neuz.exe, CWndVendor::OnChildNotify()+0623 byte(s)
0023:00624433 Neuz.exe, CWndVendorCtrl::OnDropIcon()+0371 byte(s)
0023:0050DA3E Neuz.exe, CWndBase::WindowRootProc()+1246 byte(s)
0023:0046DF62 Neuz.exe, CNeuzApp::MsgProc()+0338 byte(s)
0023:0048A324 Neuz.exe, WndProc()+0036 byte(s)
0023:765FBE6B USER32.dll, AddClipboardFormatListener()+1179 byte(s)
0023:765F833A USER32.dll, DispatchMessageW()+2426 byte(s)
0023:765F7BEE USER32.dll, DispatchMessageW()+0558 byte(s)
0023:765ECD30 USER32.dll, DispatchMessageA()+0016 byte(s)
0023:0048C5F7 Neuz.exe, CD3DApplication::Run()+0199 byte(s)
0023:0047446C Neuz.exe, WinMain()+0332 byte(s)
0023:0091728C Neuz.exe, WinMainCRTStartup()+0388 byte(s)
0023:77258484 KERNEL32.DLL, BaseThreadInitThunk()+0036 byte(s)
0023:77972FEA ntdll.dll, RtlValidSecurityDescriptor()+0282 byte(s)
0023:77972FBA ntdll.dll, RtlValidSecurityDescriptor()+0234 byte(s)
|
Look this in Neuz folder
DPClient.cpp
PHP Code:
void CDPClient::OnUpdateItem( OBJID objid, CAr & ar ) { CHAR cType, cParam; BYTE nId; DWORD dwValue;
ar >> cType >> nId >> cParam >> dwValue; #if __VER >= 15 // __PETVIS DWORD dwTime; ar >> dwTime; #endif // __PETVIS
below the code add this
PHP Code:
#ifdef __CHIP_PLAYERSHOP if( cParam == UI_NUM && dwValue == 9999 ) pMover->RemoveItemId( nId ); #endif
|
|
|
08/06/2018, 11:01
|
#3
|
elite*gold: 0
Join Date: Apr 2011
Posts: 9
Received Thanks: 0
|
Quote:
Originally Posted by Ecrypter
Look this in Neuz folder
DPClient.cpp
PHP Code:
void CDPClient::OnUpdateItem( OBJID objid, CAr & ar )
{
CHAR cType, cParam;
BYTE nId;
DWORD dwValue;
ar >> cType >> nId >> cParam >> dwValue;
#if __VER >= 15 // __PETVIS
DWORD dwTime;
ar >> dwTime;
#endif // __PETVIS
below the code add this
PHP Code:
#ifdef __CHIP_PLAYERSHOP
if( cParam == UI_NUM && dwValue == 9999 )
pMover->RemoveItemId( nId );
#endif
|
Hello, first thanks for trying to help me but I already have that in my code.
Here's the cdpclient method:
Code:
void CDPClient::OnUpdateItem( OBJID objid, CAr & ar )
{
CHAR cType, cParam;
BYTE nId;
DWORD dwValue;
ar >> cType >> nId >> cParam >> dwValue;
#if __VER >= 15 // __PETVIS
DWORD dwTime;
ar >> dwTime;
#endif // __PETVIS
CMover* pMover = prj.GetMover( objid );
if( IsValidObj( (CObj*)pMover ) == FALSE )
return;
#ifdef __CHIP_PLAYERSHOP
if( cParam == UI_NUM && dwValue == 9999 )
pMover->RemoveItemId( nId );
#endif
if( cParam == UI_COOLTIME )
{
CMover* pPlayer = CMover::GetActiveMover();
if( !pPlayer )
return;
if( pMover == pPlayer )
{
CItemBase* pItemBase = pPlayer->GetItemId( nId );
if( !pItemBase )
return;
ItemProp* pItemProp = pItemBase->GetProp();
if( !pItemProp )
return;
DWORD dwGroup = g_pPlayer->m_cooltimeMgr.GetGroup( pItemProp );
if( dwGroup )
pPlayer->m_cooltimeMgr.SetTime( dwGroup, pItemProp->GetCoolTime() );
}
}
#if __VER >= 15 // __PETVIS
pMover->UpdateItem( nId, cParam, dwValue, dwTime );
#else // __PETVIS
pMover->UpdateItem( nId, cParam, dwValue );
#endif // __PETVIS
#if __VER >= 15 // __IMPROVE_QUEST_INTERFACE
CWndQuestDetail* pWndQuestDetail = g_WndMng.m_pWndQuestDetail;
if( pWndQuestDetail )
pWndQuestDetail->UpdateQuestText();
CWndQuestQuickInfo* pWndQuestQuickInfo = g_WndMng.m_pWndQuestQuickInfo;
if( pWndQuestQuickInfo )
pWndQuestQuickInfo->SetUpdateTextSwitch( TRUE );
#else // __IMPROVE_QUEST_INTERFACE
CWndQuest* pWndQuest = (CWndQuest*)g_WndMng.GetApplet( APP_QUEST );
if( pWndQuest )
pWndQuest->UpdateText();
#endif // __IMPROVE_QUEST_INTERFACE
}
|
|
|
08/06/2018, 11:24
|
#4
|
elite*gold: 0
Join Date: Aug 2014
Posts: 653
Received Thanks: 217
|
Check WndVendorBuy.cpp
|
|
|
08/08/2018, 05:08
|
#5
|
elite*gold: 0
Join Date: Apr 2011
Posts: 9
Received Thanks: 0
|
Quote:
Originally Posted by Ecrypter
Check WndVendorBuy.cpp
|
sorry for the late reply. I have checked each and every file and Am sure that all chip_player is added.
Anyhow what to check at WndVendorBuy?
|
|
|
08/12/2018, 09:01
|
#6
|
elite*gold: 0
Join Date: Mar 2009
Posts: 481
Received Thanks: 218
|
Quote:
Originally Posted by cedrickaga
sorry for the late reply. I have checked each and every file and Am sure that all chip_player is added.
Anyhow what to check at WndVendorBuy?
|
Its either you messed up something with C&P or the code that you added is a total ****. Either both.
Right Cedric Gani?
|
|
|
08/12/2018, 18:41
|
#7
|
elite*gold: 0
Join Date: Jul 2018
Posts: 434
Received Thanks: 310
|
Should check ResData.inc as you have some issues there. (Just a guess)
IE:
Code:
2018/ 8/ 5 17:38:49 GetDlgItem : nID=931 not Found.
2018/ 8/ 5 17:38:49 GetDlgItem : nID=715 not Found.
2018/ 8/ 5 17:38:49 GetDlgItem : nID=708 not Found.
|
|
|
 |
Similar Threads
|
Problem Exchange_adv/chip_playershop and __extended_currency
06/25/2016 - Flyff Private Server - 6 Replies
Hi,
I try to pet in my server the __exchange_adv/ the __chip_shopplayer and __EXTENDED_CURRENCY, but i have 1 error:
C:\Users\Official Source\_Common\ExchangeAdv.cpp(192): error C2039: 'GetItemCount' : is not a member of 'CItemContainer<T>'
with
C:\Users\Official Source\_Common\ExchangeAdv.cpp(313): error C2248: 'CWndListBox::m_wndScrollBar' : cannot access protected member declared in class 'CWndListBox'
C:\Users\Official Source\_Common\ExchangeAdv.cpp(315): error...
|
Visualize max skill / adding new npc item / adding new npc
04/10/2016 - SRO Private Server - 4 Replies
Hello !
I'm a little bit confused about disabling some skills from the client.You know if a server is cap 80 I don't want skills above to appear.I tried to make this happen some time ago and the client crashed every time I opened the skill window "S".
I know it's about disabling some skills by putting 0 instead of 1 in a line but how do I do it in the proper way because, as I said, it crashed every time.
And secondly, is there a software of an easy way to add new NPCs, add new items to...
|
Chip_playershop
05/20/2015 - Flyff Private Server - 3 Replies
Habe die files von arma aber wenn ich Shop öffne und ein item mit der zahlunsart aussuche und den Shop schließe und wieder öffne bekomme ich ein crash das das item wird angezeigt aber kein icon mit der zahlunsart aber hängt sich Dan auf weiß einer den fix dafür es kommt kein error in den logs.Kurz und knapp beim Shop neu erstellen unf das item speichert ja was vorher drin war erzeugt es einen crash Kann man es nicht so machen das er die vorigen item nicht speichert oder wenn einer den fix hat...
|
CHIP_PLAYERSHOP WARNING HELP
05/19/2015 - Flyff Private Server - 2 Replies
Hi epvpers i have problem of chip_playershop
warning on the blue color
#ifdef __CHIP_PLAYERSHOP
if( m_pItemBase->m_nBuyMode == 3 && g_pPlayer->m_Inventory.GetItemCount( II_CHP_RED ) < ((CItemElem*)m_pItemBase)->m_nCost * nBufNum )
{
g_WndMng.OpenMessageBox( _T( prj.GetText(TID_GAME_LACKMONEY)), MB_OK, this );
return TRUE;
}
|
All times are GMT +1. The time now is 14:25.
|
|