Register for your free account! | Forgot your password?

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

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

Advertisement



ItemProp inside ModelMng.cpp

Discussion on ItemProp inside ModelMng.cpp within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
ItemProp inside ModelMng.cpp

Hi elitepvpers,

I have reduced some of my files an bit by removing the m/f parts inside mdldyna.inc for the Armor models.

Example:
So instead of II_ARM_M_VAG_BOOTS and II_ARM_F_VAG_BOOTS i now have only II_ARM_VAG_BOOTS.

inside ModelMng.cpp i have insert an snippet at MakeParts name so that it checks on what to load for male and or female.

Now i run in an bit of an snag.

The cloaks doesnt work the same cause some have MaleCloak instead of mCloak.

So i thought well how about an check if an item is an cloack or not.

So i put it like this
ItemProp* pItemProp;
if(pItemProp != NULL) { Do the rest of the Code }
However the pItemProp is always NULL.

Am i missing somewhat? Atm i dont see it haha.

Hope you guys/girls can put me in the right direction.

With kind regards.
raventh1984 is offline  
Old 09/30/2016, 17:44   #2
 
Mike Oxmaul's Avatar
 
elite*gold: 50
Join Date: Feb 2014
Posts: 288
Received Thanks: 245
initializing the pItemProp pointer?
thanks please
Mike Oxmaul is offline  
Thanks
2 Users
Old 09/30/2016, 18:24   #3
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
ItemProp* _prop = prj.GetItemProp(iObject);
alfredico is offline  
Old 09/30/2016, 18:28   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Solved. Thanks Jupsi haha. Missed that

Edit: Jupsi was first Alfredico xD. But indeed it was this
ItemProp* pItemProp = prj.GetItemProp(dwIndex)
raventh1984 is offline  
Closed Thread




All times are GMT +1. The time now is 11:01.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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