Register for your free account! | Forgot your password?

You last visited: Today at 15:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[RELEASE] Perin inventory Count

Discussion on [RELEASE] Perin inventory Count within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old 05/27/2015, 19:27   #16


 
- Major's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,462
Received Thanks: 3,213
Quote:
Originally Posted by Tobi95as View Post
Weezy can you reupload the inventory?
you was blind ? XD
Check this bra .. :
- Major is offline  
Thanks
1 User
Old 05/28/2015, 17:12   #17
 
elite*gold: 0
Join Date: Oct 2010
Posts: 147
Received Thanks: 6
/edit

Works done!
Tobi95as is offline  
Old 06/08/2015, 23:08   #18
 
adeilson123's Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 129
Received Thanks: 257
nos temos isso..so que no meu o perin "não aparece no inventario" igual a penya
adeilson123 is offline  
Old 07/09/2015, 20:29   #19
 
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
Füge es immer in der resdata.inc rein aber klappt nicht weiß einer wieso?in der source ging es mit dem compielen benutze die files von arma
Spraystar is offline  
Old 07/11/2015, 06:37   #20
 
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
Habe es bis jetzt hinbekommen ich will aber das der Red Chips anzeigt weiß einer wie?
Spraystar is offline  
Old 07/12/2015, 19:36   #21
 
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
Push weiß keiner wie ich das komplett mit red chip ändern muss?
Quote:
#ifdef __PERIN_TO_INVENTORY
CString strPerinNum;
CWndStatic* pPerinNum = (CWndStatic*) GetDlgItem( WIDC_PERIN_NUM );
strPerinNum.Format( _T( "%d" ), g_pPlayer->GetPerinNum() );
pPerinNum->SetTitle( strPerinNum );
#endif //__PERIN_TO_INVENTORY
Spraystar is offline  
Old 07/12/2015, 23:15   #22
 
elite*gold: 0
Join Date: Jan 2014
Posts: 773
Received Thanks: 373
Naja du musst halt g_pPlayer->GetPerinNum() ändern und dir eine Funktion machen die dir die anzahl der Red chips gibt.
Drabur is offline  
Old 07/13/2015, 06:21   #23
 
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
Quote:
Originally Posted by Drabur View Post
Naja du musst halt g_pPlayer->GetPerinNum() ändern und dir eine Funktion machen die dir die anzahl der Red chips gibt.
Das Problem ist was soll ich reinschreiben, weil wenn ich da redchip oder so rein schreibe klappt das alles nicht
Spraystar is offline  
Old 07/13/2015, 13:38   #24
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
WndField.cpp

Code:
char szRedChip[64];

	sprintf( szRedChip, "%d", g_pPlayer->GetChipNum() );

	CWndStatic* pRedChipNum = (CWndStatic*) GetDlgItem( WIDC_RED_NUM );
	pRedChipNum->SetTitle( GetNumberFormatEx(szRedChip) );
Mover.cpp
Code:
int CMover::GetChipNum()
{
	int nCount	= 0;
	for( int i = 0; i < m_Inventory.GetMax(); i++ )
	{
		CItemElem* pItem	= static_cast<CItemElem*>( GetItemId( i ) );
		if( pItem && ::IsUsableItem( pItem ) )
		{
			if( pItem->GetProp()->dwID == II_CHP_RED )
				nCount	+= pItem->m_nItemNum;
		}
	}
	return nCount;
}
Mover.h
Code:
int   GetChipNum();
Preview
raventh1984 is offline  
Thanks
4 Users
Old 07/13/2015, 19:01   #25
 
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
Ich spiel wird es im Inventar angezeigt aber immer nur 0 und habe im inventar die red chips weiß einer wieso?
Spraystar is offline  
Old 07/13/2015, 19:53   #26
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
I have made the WndInventory with photoshop.

Be sure to check your resdata.
raventh1984 is offline  
Old 11/19/2015, 20:09   #27
 
guiieduardo's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 110
Received Thanks: 4
I change the ResData.inc
yet the error of Neuz
When I open the game I try to open the inventory the game closes
guiieduardo is offline  
Old 11/20/2015, 13:24   #28
 
Rhyder`'s Avatar
 
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
useless!

what if you make your perin like penya? it counts.. without showing in your inventory slot?

a blind kid can do this..
Rhyder` is offline  
Old 11/20/2015, 15:52   #29
 
guiieduardo's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 110
Received Thanks: 4
Code:
2015/11/20   12:33:56   FileName ResData.inc(22123) : APP_EVT_PVPMEMBERS Not Found. : APP_EVT_PVPMEMBERS "WndTile00.tga" 1 208 304 0x2410000 26

{

// Title String



2015/11/20   12:34:17   g_pPlayer is ready

2015/11/20   12:34:20   CWndTaskBar::SetTaskBarTexture : Leles 2010

2015/11/20   12:34:20   CWndTaskBar::SetTaskBarTexture : Leles 581

2015/11/20   12:34:29   Flyff v1.0.0 Nov 20 2015 rCnt=1

Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:0056F0E4, CWndInventory::OnInitialUpdate()+0292 byte(s), c:\flyff\source\_interface\wndfield.cpp, line 2749+0017 byte(s)

 - Registers

EAX=123E7270  EBX=7EFDE000  ECX=0C78B0DC  EDX=00000020  ESI=00000000
EDI=75031245  EBP=00187B68  ESP=00187AB0  EIP=0056F0E4  FLG=00210212
CS=0023   DS=002B  SS=002B  ES=002B   FS=0053  GS=002B

0023:0056F0E4 Neuz.exe, CWndInventory::OnInitialUpdate()+0292 byte(s)
0023:0051193D Neuz.exe, CWndBase::Create()+0413 byte(s)
0023:004DB3BF Neuz.exe, CWndNeuz::InitDialog()+0335 byte(s)
0023:0056F915 Neuz.exe, CWndInventory::Initialize()+0133 byte(s)
0023:004C52F9 Neuz.exe, CWndMgr::CreateApplet()+0297 byte(s)
0023:0041565B Neuz.exe, CDPClient::OnOpenShopWnd()+0299 byte(s)
0023:0040EE39 Neuz.exe, CDPClient::OnSnapshot()+2921 byte(s)
0023:0040E210 Neuz.exe, CDPClient::UserMessageHandler()+0176 byte(s)
0023:007D115B Neuz.exe, CDPMng::ReceiveMessage()+0219 byte(s)
0023:00470D7A Neuz.exe, CNeuzApp::FrameMove()+0106 byte(s)
0023:00492A50 Neuz.exe, CD3DApplication::Render3DEnvironment()+0384 byte(s)
0023:00492891 Neuz.exe, CD3DApplication::Run()+0305 byte(s)
0023:0047886C Neuz.exe, WinMain()+0332 byte(s)
0023:0092892C Neuz.exe, WinMainCRTStartup()+0388 byte(s)
0023:750333CA kernel32.dll, BaseThreadInitThunk()+0018 byte(s)
0023:770D9ED2 ntdll.dll, RtlInitializeExceptionChain()+0099 byte(s)
0023:770D9EA5 ntdll.dll, RtlInitializeExceptionChain()+0054 byte(s)

Code:
void CWndInventory::OnInitialUpdate()
{
	CWndNeuz::OnInitialUpdate();

	m_bLButtonDownRot = FALSE;
	m_fRot = 0.0f;

	LPWNDCTRL lpWndCtrl1 = GetWndCtrl( WIDC_CUSTOM1 );
	LPWNDCTRL lpWndCtrl2 = GetWndCtrl( WIDC_CUSTOM2 );
	LPWNDCTRL lpWndCtrl3 = GetWndCtrl( WIDC_CUSTOM3 );
	LPWNDCTRL lpWndCtrl4 = GetWndCtrl( WIDC_CUSTOM4 );
	LPWNDCTRL lpWndCtrl5 = GetWndCtrl( WIDC_CUSTOM5 );
	LPWNDCTRL lpWndCtrl6 = GetWndCtrl( WIDC_CUSTOM6 );
	LPWNDCTRL lpWndCtrl7 = GetWndCtrl( WIDC_CUSTOM7 );
	LPWNDCTRL lpWndCtrl8 = GetWndCtrl( WIDC_CUSTOM8 );
	LPWNDCTRL lpWndCtrl9 = GetWndCtrl( WIDC_CUSTOM9 );
	LPWNDCTRL lpWndCtrl10 = GetWndCtrl( WIDC_CUSTOM10 );
	
	m_InvenRect[6] = m_InvenRect[14] = lpWndCtrl1->rect;
	m_InvenRect[2] = m_InvenRect[15] = lpWndCtrl2->rect;
	m_InvenRect[4] = m_InvenRect[17] = lpWndCtrl3->rect;
	m_InvenRect[5] = m_InvenRect[18] = lpWndCtrl4->rect;

	m_InvenRect[10] = lpWndCtrl5->rect;
	m_InvenRect[9] = m_InvenRect[11] = lpWndCtrl6->rect;
	m_InvenRect[25] = lpWndCtrl7->rect;
	m_InvenRect[8] = lpWndCtrl8->rect;
	m_InvenRect[12] = lpWndCtrl9->rect;
	m_InvenRect[13] = lpWndCtrl10->rect;

	lpWndCtrl1 = GetWndCtrl( WIDC_CUSTOM11 );
	lpWndCtrl2 = GetWndCtrl( WIDC_CUSTOM12 );
	lpWndCtrl3 = GetWndCtrl( WIDC_CUSTOM13 );
	lpWndCtrl4 = GetWndCtrl( WIDC_CUSTOM14 );
	lpWndCtrl5 = GetWndCtrl( WIDC_CUSTOM15 );
	lpWndCtrl6 = GetWndCtrl( WIDC_CUSTOM16 );
	lpWndCtrl7 = GetWndCtrl( WIDC_CUSTOM17 );
	lpWndCtrl8 = GetWndCtrl( WIDC_CUSTOM18 );
	lpWndCtrl9 = GetWndCtrl( WIDC_CUSTOM19 );
	
	m_InvenRect[20] = lpWndCtrl1->rect;
	m_InvenRect[22] = lpWndCtrl2->rect;
	m_InvenRect[19] = lpWndCtrl3->rect;
	m_InvenRect[23] = lpWndCtrl4->rect;
	m_InvenRect[21] = lpWndCtrl5->rect;

	m_InvenRect[26] = lpWndCtrl6->rect;
	m_InvenRect[27] = lpWndCtrl7->rect;
	m_InvenRect[28] = lpWndCtrl8->rect;
	m_InvenRect[29] = lpWndCtrl9->rect;

	SAFE_DELETE( m_pModel );

	int nMover = (g_pPlayer->GetSex() == SEX_MALE ? MI_MALE : MI_FEMALE);
	m_pModel = (CModelObject*)prj.m_modelMng.LoadModel( g_Neuz.m_pd3dDevice, OT_MOVER, nMover, TRUE );
	prj.m_modelMng.LoadMotion( m_pModel,  OT_MOVER, nMover, MTI_STAND );
	UpdateParts();
	m_pModel->InitDeviceObjects( g_Neuz.GetDevice() );

	CWndTabCtrl* pTabCtrl = (CWndTabCtrl*) GetDlgItem( WIDC_INVENTORY );
	m_wndItemCtrl.Create( WLVS_ICON, CRect( 0, 0, 250, 250 ), pTabCtrl, 11 );
	m_wndItemCtrl.InitItem( &g_pPlayer->m_Inventory, APP_INVENTORY );

	WTCITEM tabTabItem;
	tabTabItem.mask = WTCIF_TEXT | WTCIF_PARAM;
	tabTabItem.pszText = GETTEXT( TID_GAME_ITEM );//"아이템";
	tabTabItem.pWndBase = &m_wndItemCtrl;
	pTabCtrl->InsertItem( 0, &tabTabItem );

	LPWNDCTRL lpWndCtrl = GetWndCtrl( WIDC_GOLD );
	m_wndGold.Create( "g", WBS_NODRAWFRAME, lpWndCtrl->rect, this, WIDC_GOLD );
	m_wndGold.AddWndStyle( WBS_NODRAWFRAME );

	CWndStatic* pGoldNum = (CWndStatic*) GetDlgItem( WIDC_GOLD_NUM );
	pGoldNum->AddWndStyle(WSS_MONEY);

	m_pUpgradeItem = NULL;
	m_pUpgradeMaterialItem = NULL;
	m_bIsUpgradeMode = FALSE;
	m_dwEnchantWaitTime = 0xffffffff;

	m_TexRemoveItem = m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, MakePath( DIR_THEME, "WndInventoryGarbage.dds" ), 0xffff00ff );
	
	CRect rectRoot = m_pWndRoot->GetLayoutRect();
	CRect rectWindow = GetWindowRect();
	CPoint point( rectRoot.right - rectWindow.Width(), 112 + 48 );
	Move( point );
}
I do not know but might be some lacking in this part and I can not solve
Help me pls
guiieduardo is offline  
Old 11/21/2015, 23:46   #30
 
elite*gold: 0
Join Date: Apr 2014
Posts: 96
Received Thanks: 7
Quote:
Originally Posted by jayjei14 View Post
useless!

what if you make your perin like penya? it counts.. without showing in your inventory slot?

a blind kid can do this..
code it like penya then.
Wharsh is offline  
Reply


Similar Threads Similar Threads
[Err] 1136 - Column count doesn't match value count at row 1 [Waffen einfügen]
10/11/2014 - Metin2 Private Server - 6 Replies
Hallo hab da ein komischer Fehler 1136 - Column count doesn't match value count at row 1 INSERT INTO `item_proto` VALUES ('164500', 'Testschwert+0', 'Testschwert+0', '1', '3', '0', '3', '56', '1', '16', '', '1', '1', '164501', '0', '0', '15', '1', '65', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '-1', '-1', '-1', '-1', '-1', '-1', '0', '3', '0'); INSERT INTO `item_proto` VALUES ('164501', 'Testschwert+1', 'Testschwert+1', '1', '3', '0', '3', '56', '1', '16',...
Navicat [Err1136] - Column count doesn't match value count at row 1
02/21/2012 - Metin2 Private Server - 2 Replies
Hallöchen Liebe Com, Als ich gerade in der Querry Table auf meinem Server die 80er Rüstungen erneut einfügen wollte, stoß ich auf diesen Fehler: INSERT INTO `item_proto` VALUES ('12039', 'Auraplattenpanzer+9', 'Auraplattenpanzer +9', '2','0','0','2','300','1','1','0','3000','10000',' 1','90','0','0','8','4294967290','37','20','10','4 0','0','154','0','26','0','45','0','64944','127',' 65008','21631','4855','0','0','15','100','3'); 1136 - Column count doesn't match value count at row 1
Navicat - [Err] 1136 - Column count doesn't match value count at row 1
01/14/2012 - Metin2 Private Server - 1 Replies
Hallo x( Ich weis nicht ob ich zu doof bin ein loch in den Schnee zu pissen oder ob wirklich was falsch hier ist.. Aufjedenfall muss ich die Querry für die 12 neuen metin steine in Serverside einfügen aber jedesmal bekomme ich die meldung: INSERT INTO mob_proto VALUES(8028, 'Metin der Hoffnung', 'Metin der Hoffnung', 5, 2, 3, 95, '', 'NOMOVE', 0, '', 'STUN,SLOW,CURSE,TERROR', 0, '', 0, 0, 0, 60, 0, 0, 0, 999999, 5, 1, 184800, 92400, 540, 57, 9529, 9530, 0, 2000, 175, 0, 0, 0, 0, 0, 0, 0,...
column count doesn't match value count value at row 1 fehler beheben. wie?
12/15/2011 - Metin2 Private Server - 1 Replies
Hallo Epvp ich habe bei den 1678 serverfiles von daroo diesen fehler hier column count doesn't match value count value at row 1 wenn ich etwas in die item_proto oder in die mob_proto hinzufügen will z.B wenn ich querys einfügen will kommt dieser fehler habe schon alles ausprobiert mit 6 0en hinten dran aber es klappt einfach nichts Bitte helft mir :) Bitte helft mir :( :(
Daroo Files Lehrer [Err] 1136 - Column count doesn't match value count at row 1
12/08/2011 - Metin2 Private Server - 3 Replies
Hallo , Wollte bei den Daroo Files die LKehrer bestücken. Manche habe ich schon doch ich habe ehrlich keine Lust mehr bekommen. Und habe gehofft das es hier welche Released haben. Ich habe auch 2 Themen dazu gefunden mit den Release. Doch wenn ich sie einfügen will kommt dieser Fehler 1136 - Column count doesn't match value count at row 1



All times are GMT +2. The time now is 15:20.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.