I'm trying to send items in tw version, but if I send more than 32 items the game does not open (black screen).
Anyone know why?
Sorry for my English
with 32 items or less it works ok
Printable View
I'm trying to send items in tw version, but if I send more than 32 items the game does not open (black screen).
Anyone know why?
Sorry for my English
with 32 items or less it works ok
that version is akcore or snaity version?or Dev yourself?
Can you tell me how to fix for load the item from db?i can not load TT
Well lets see....you know your max inventory space is 32 right?(based on your 2 x 16 capsule inventory)
@Xanu can you answer me for one question?
for the struct sItem_profile(TW) is the same data for kr or need to add some data
?
Thank you :/
can u paste here your struct sITEM_PROFILE ?
Attachment 157400 @Xanu
if i do that<//SendCharItemInfo> ,then can not load the bag,and load the iteminfo incorrect,what i need to change in the source?Can you help?
I think I already have the structure of item_profile
Attachment 157422Code:typedef struct{
uint16_t type;
uint32_t value;
} dbo_item_effect;
typedef struct{
uint16_t type;
uint32_t value;
} dbo_item_extra_effect;
typedef struct
{
HANDLEID handle;
DBOID id;
uint8_t place;
uint8_t pos;
uint8_t stack_count;
uint8_t rank;
uint8_t durability;
bool need_identify;
uint8_t grade;
uint8_t battle_attribute;
uint8_t restrict_type;
WCHAR creator[DBO_CHAR_NAME_LEN + 1]; //DBO_CHAR_NAME_LEN = 16
DBOID options[DBO_ITEM_OPTION_MAX]; //DBO_ITEM_OPTION_MAX = 2
dbo_item_effect effect[DBO_ITEM_EFFECT_MAX]; //DBO_ITEM_EFFECT_MAX = 6
dbo_item_extra_effect extra_effect[DBO_ITEM_EXTRA_EFFECT_MAX]; //DBO_ITEM_EXTRA_EFFECT_MAX = 2 (Green effects)
uint8_t duration_type;
time_t start_time;
time_t end_time;
} dbo_item_profile;
that is dbo_common_item.h:glare:?
can you tell me how to use that file?...i dont know how to use it,then make item working
- - - Updated - - -
How to replace NtlItem.h?:love:
What is dbo_common_item.h? In sources on Snaity is NtlItem.h where sITEM_PROFILE looks like that:
where unknown1[48]; is new structure for TWCode:HOBJECT handle; // 아이템 handle
TBLIDX tblidx; // item table index
BYTE byPlace; // eCONTAINER_TYPE
BYTE byPos;
BYTE byStackcount;
BYTE byRank;
BYTE byCurDur; // 내구도
bool bNeedToIdentify;
BYTE byGrade; // 아이템 업그레이드 등급
BYTE byBattleAttribute; // 진기맹여락 cf) NtlBattle.h eBATTLE_ATTRIBUTE
BYTE byRestrictType; // 귀속상태 eITEM_RESTRICT_TYPE
WCHAR awchMaker[NTL_MAX_SIZE_CHAR_NAME_UNICODE + 1]; // 제작자
TBLIDX aOptionTblidx[NTL_MAX_OPTION_IN_ITEM];
BYTE byDurationType; //eDURATIONTYPE
DBOTIME nUseStartTime;// 인벤토리에 들어온 날짜
DBOTIME nUseEndTime;// 사용만료 기간
BYTE unknown1[48];