Two related questions

tamian

New Member
Joined
Feb 3, 2018
Messages
7
First, thank you in advance for any guidance here!

My questions are in regards to:

uint32 itemCrc = ( player->getSpecies() != CreatureObject::ITHORIAN ) ? 0x5DDC4E5D : 0x6C191FBB;

1) Where are those numbers found? I have checked the crc and strings files, and there are no corresponding entries, and they neither match the entries expected NOR any other entry. I suspect I am looking in the wrong place.

2) What is starting this question is really attempting to understand why the Chiss cannot wear an apron. All related files seem to indicate that is feasible, so any guidance where to look?

Tamian
 

Sytner

Administrator
Staff member
Administrator
Joined
Sep 18, 2010
Messages
426
First, thank you in advance for any guidance here!

My questions are in regards to:

uint32 itemCrc = ( player->getSpecies() != CreatureObject::ITHORIAN ) ? 0x5DDC4E5D : 0x6C191FBB;

1) Where are those numbers found? I have checked the crc and strings files, and there are no corresponding entries, and they neither match the entries expected NOR any other entry. I suspect I am looking in the wrong place.

2) What is starting this question is really attempting to understand why the Chiss cannot wear an apron. All related files seem to indicate that is feasible, so any guidance where to look?

Tamian
1) Look at the comment right above that line in the code -

//"object/tangible/wearables/apron/apron_chef_s01.iff"//"object/tangible/wearables/ithorian/apron_chef_jacket_s01_ith.iff"
It's the crc of those paths.

2) No idea on this one sorry.
 

tamian

New Member
Joined
Feb 3, 2018
Messages
7
I am assuming you are referring to the CRC associated with those files - the CRC noted to the right in SIE? Thus my confusion, I thought so too .. yet that seems not to be the case.

Thanks!

Tamian
 

Sytner

Administrator
Staff member
Administrator
Joined
Sep 18, 2010
Messages
426
No the CRC of the path not the file, you can use this window in SIE to calculate them:

1564590737323.png
 

Rabiator

New Member
Joined
Dec 1, 2016
Messages
27
about 2.
might be related to that: datatables/appearance/appearance_table.tab
 

tamian

New Member
Joined
Feb 3, 2018
Messages
7
Synter,

Followed your guidance, and was able to calculate CRC's that matched - thank you.

Rabiator,

I checked datatables/appearance/appearance_table.tab, and seems only (ever) includes the original species. The Chiss test character is able to wear many items attempted, but - for this example - unable to wear the apron.

All,

One help to this is to understand why getSpecies() returns a 0 (zero), notating it is a human -- perhaps part of the problem lies in this?

Thank you,

Tamian
 
Top Bottom