Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 00:28

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

Advertisement



Inventory Tabs System Problem

Discussion on Inventory Tabs System Problem within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2010
Posts: 4
Received Thanks: 1
Inventory Tabs System Problem

I've tried getting inventory tabs to work, using snippets from the source released by InteL
(apparently the snippets are from the DITS source) and they show up but not quite work.

The tabs show up but the items are not filtered into them propperly; everything goes either
into the main one OR the equipment slots, so I've tried replicating this code to make it work
with other functions that seemed to be related to inserting items into the inventory (in Mover.cpp):

Sometimes I've used this...
Code:
	if (pItemBase->GetProp()->dwItemKind2 == IK2_CLOTHETC || pItemBase->GetProp()->dwItemKind2 == IK2_CLOTH)
	{

	}
	else if (pItemBase->GetProp()->dwItemKind3 == IK3_PET || pItemBase->GetProp()->dwItemKind3 == IK3_EGG || pItemBase->GetProp()->dwItemKind3 == IK3_FEED)
	{

	}
	else if(pItemBase->GetProp()->dwItemKind2 == IK2_GEM )
	{

	}
	else 
	{

	}
But sometimes I've had to use something like this because it not always let me use pItemBase, or was inappropriate to use(?)
Code:
    if ( ((ItemProp*)m_Inventory2.GetAtId(IK2_CLOTH) || (ItemProp*)m_Inventory2.GetAtId(IK2_CLOTHETC) )== FALSE)
    {

    }
    else if (( (ItemProp*)m_Inventory3.GetAtId(IK3_PET) || (ItemProp*)m_Inventory3.GetAtId(IK3_EGG) || (ItemProp*)m_Inventory3.GetAtId(IK3_FEED) ) == FALSE)
    {

    }
    else if ( (ItemProp*)m_Inventory4.GetAtId(IK2_GEM) == FALSE)
    {

    }
    else
    {

    }
And I've put some of these in too
Code:
			m_Inventory.SetItemContainer( ITYPE_ITEM, MAX_INVENTORY, PARTS_CLOAK2+1 );
			m_Inventory2.SetItemContainer( ITYPE_ITEM, MAX_INVENTORY );
			m_Inventory3.SetItemContainer( ITYPE_ITEM, MAX_INVENTORY );
			m_Inventory4.SetItemContainer( ITYPE_ITEM, MAX_INVENTORY );
... I've used these in functions such as CMover CreateItem, InitCharacter and InitProp

I have also found some AddItem functions in Obj.cpp (Network) but i'm not sure if that
has anything to do with it... I've tried modifying that but it didn't change anything...

In fact, I'm not even sure if I know what I'm doing with this anymore.

There was this other help thread about it, but the guy seemed to have a slightly different problem than me.
You see, I'm not so bright and I'm still pretty new to C++ with a very basic knowledge, but I feel like I've
tried everything, spending almost 3 whole days on this, so I would REALLY appreciate any pointers what should I do,
where should I go with this or even some helpful snippets.

Thanks.
dudesack is offline  
Old 03/10/2012, 21:06   #2
 
max982's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 119
Received Thanks: 35
Well, i have the same problem
i tryed everything, and still the same
max982 is offline  
Old 03/10/2012, 21:41   #3
 
elite*gold: 1
Join Date: May 2010
Posts: 676
Received Thanks: 223
The Tabbed Inventory of the RoC Source etc. wont work. There are some thing which are not finished. Go and Search for a c++ coder , in this forum are many of them.

lg
dergunga
Razzer' is offline  
Old 03/11/2012, 16:11   #4
 
elite*gold: 0
Join Date: Sep 2010
Posts: 72
Received Thanks: 59
why not try me to finish the tab inventory in LTD source code ?

2 problem -->
1) lost texture for inactive tab
2) If you trade with player the player 2 --> crashed neuz




if you found how to fix mp me
jtb1 is offline  
Old 03/11/2012, 19:16   #5
 
elite*gold: 1
Join Date: May 2010
Posts: 676
Received Thanks: 223
#report

Do not add from other Forums downloadlinks.
Lg
dergunga
Razzer' is offline  
Old 03/11/2012, 19:21   #6
 
elite*gold: 0
Join Date: Sep 2010
Posts: 72
Received Thanks: 59
1) is not a forum link but one server link

2) is a french source but i can't uplaud it now. because is only beta rev 5 LTD
jtb1 is offline  
Old 03/12/2012, 23:08   #7
 
max982's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 119
Received Thanks: 35
i'm on flyff's source from 2 years ago so i dn't need to pay a coder because i'm already one
... but any help would be great.
max982 is offline  
Old 03/12/2012, 23:34   #8
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 227
Quote:
Originally Posted by max982 View Post
i'm on flyff's source from 2 years ago so i dn't need to pay a coder because i'm already one
... but any help would be great.
Sight* you are only a copy and paste leecher.
alfredico is offline  
Thanks
1 User
Old 03/14/2012, 15:12   #9
 
max982's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 119
Received Thanks: 35
Quote:
Originally Posted by alfredico View Post
Sight* you are only a copy and paste leecher.
realy?
wasn't you one too?
1st,i'm not.
2nd, i have my own FlyFF's System ...
3rd, i have my own game coded in opengl :P
4th who you think you are?, everyone need help?
and no one told you to tell us if i'm a leecher or not.
max982 is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
v17 inventory tabs
03/04/2012 - Flyff Private Server - 4 Replies
Edit: Fixed :))
Dshop problem at tabs
12/18/2011 - Dekaron Private Server - 2 Replies
hi i have search the whole forum for answers but cant fix it i can see the tab 5 and 6 but when i click on it it dont open i read on other thread and do what he says but it dont work yes i have all items in the lists
Inventory problem pls help
06/06/2011 - Grand Chase Philippines - 5 Replies
I always get this problem "You can no longer recieve items when the inventory limit is reaced. Please free up some space." but my iventory only has 185/400 i try other gc accounts but that still happen http://i54.tinypic.com/14lrmuu.jpg
problem with inventory
01/30/2010 - EO PServer Hosting - 3 Replies
my admin got problems with player's inventory... something is blocking a phew slots... dont know what but can someone help me? like reseting the whole inventory or something like... what do we need to do?
Inventory problem
05/24/2009 - Conquer Online 2 - 3 Replies
Hi Guys, I have a problem with my inventory. It holds 37 items instead of the maximum 40 allowed. Any ideas how to resolve this? Thanks.



All times are GMT +2. The time now is 00:28.


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.