Jump to content

Recommended Posts

Posted

OneDayReward for protocol 109/110, Grand Crusade version only
 

Classic DDF:

// updated to protocol 110 by Sioner
FS = "\t";
RECCNT = OFF;
HEADER = YES;
MTXCNT_OUT = YES;
MATCNT_OUT = YES;
MAGIC = 0;
ORD_IGNORE = NO;

{
	UINT id;
	UINT reward_id;
	ASCF reward_name;
	UINT reward_count;
	ASCF mission_summary;
	ASCF receive_cond;
	CNTR cnt;
	INT class_filter[cnt];
	INT reward_type;
	INT reward_subtype;
	INT min_level_get;
	INT min_level_show;
	INT max_level;
	INT reserved_32;
	INT reserved_64;
	CNTR cnt2;
	INT category[cnt2];
	INT item_id_0;
        ENBBY = [(reward_count:-1,1)];
		ENBBY = [(reward_count:-2,2)];
		ENBBY = [(reward_count:-4,4)];
		ENBBY = [(reward_count:-8,8)];
	INT item_num_0;
        ENBBY = [(reward_count:-1,1)];
		ENBBY = [(reward_count:-2,2)];
		ENBBY = [(reward_count:-4,4)];
		ENBBY = [(reward_count:-8,8)];
	INT item_id_1;
		ENBBY = [(reward_count:-2,2)];
		ENBBY = [(reward_count:-4,4)];
		ENBBY = [(reward_count:-8,8)];
	INT item_num_1;
		ENBBY = [(reward_count:-2,2)];
		ENBBY = [(reward_count:-4,4)];
		ENBBY = [(reward_count:-8,8)];
	INT item_id_2;
		ENBBY = [(reward_count:-1,3)];
		ENBBY = [(reward_count:-4,4)];
		ENBBY = [(reward_count:-8,8)];
	INT item_num_2;
		ENBBY = [(reward_count:-1,3)];
		ENBBY = [(reward_count:-4,4)];
		ENBBY = [(reward_count:-8,8)];
	INT item_id_3;
		ENBBY = [(reward_count:-4,4)];
		ENBBY = [(reward_count:-8,8)];
	INT item_num_3;
		ENBBY = [(reward_count:-4,4)];
		ENBBY = [(reward_count:-8,8)];
	INT item_id_4;
		ENBBY = [(reward_count:-1,5)];
		ENBBY = [(reward_count:-2,6)];
		ENBBY = [(reward_count:-8,8)];
	INT item_num_4;
		ENBBY = [(reward_count:-1,5)];
		ENBBY = [(reward_count:-2,6)];
		ENBBY = [(reward_count:-8,8)];
	INT item_id_5;
		ENBBY = [(reward_count:-2,6)];
		ENBBY = [(reward_count:-8,8)];
	INT item_num_5;
		ENBBY = [(reward_count:-2,6)];
		ENBBY = [(reward_count:-8,8)];
	INT item_id_6;
		ENBBY = [(reward_count:-1,7)];
		ENBBY = [(reward_count:-8,8)];
	INT item_num_6;
		ENBBY = [(reward_count:-1,7)];
		ENBBY = [(reward_count:-8,8)];
	INT item_id_7;
		ENBBY = [(reward_count:-8,8)];
	INT item_num_7;
		ENBBY = [(reward_count:-8,8)];
}

 

L2ClientDat (remember to include to your structure file):

	<file pattern="kor_grand_crusade_p3" isSafePackage="true">
		<!-- updated to protocol 110 by Sioner -->
		<node name="data" reader="UINT" />
		<for name="onedayreward" size="#data" hidden="false">
			<node name="id" reader="UINT" />
			<node name="reward_id" reader="UINT" />
			<node name="reward_name" reader="ASCF" />
			<node name="reward_item" reader="UINT" />
			<node name="reward_desc" reader="ASCF" />
			<node name="reward_period" reader="ASCF" />
			<node name="class_filter" reader="CNTR" />
			<for name="class_filter" size="#class_filter">
				<node name="param_class_filter1" reader="UINT" />
			</for>
			<node name="reward_type" reader="UINT" />
			<node name="reward_subtype" reader="UINT" />
			<node name="min_level_get" reader="UINT" />
			<node name="min_level_show" reader="UINT" />
			<node name="max_level" reader="UINT" />
			<node name="reserved_32" reader="UINT" />
			<node name="reserved_64" reader="UINT" />
			<node name="category_count" reader="CNTR" />
			<for name="category" size="#category_count">
				<node name="param_category1" reader="UINT" />
			</for>
			<for name="reward_item" size="#reward_item">
				<node name="param_reward_item_id" reader="UINT" />
				<node name="param_reward_item_count" reader="UINT" />
			</for>
		</for>
	</file>

 

  • 3 months later...
Posted

L2ClientDat  worked fine! Thank you!
.
but ddf it does not work i dont know why.

22 minutes ago, MrUnzO said:

L2ClientDat  worked fine! Thank you!
.
but ddf it does not work i dont know why.

sorry my bad. it work!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...