[Question] Multiple Items for Quest Reward

07/15/2015 07:56 witchymoo#1
Hello, how do I set multiple items for quest reward?, tried to set "OptionalItemCode" and "OptionalItemCnt" in _RefQuestRewardItems, but it doesn't work.

[Only registered and activated users can see links. Click Here To Register...]

thank you.
07/15/2015 13:20 WickedNite.#2
Have you tried going to RefQuestReward and enable SelectionCnt column?
07/15/2015 16:28 witchymoo#3
Quote:
Originally Posted by TheWickedNite View Post
Have you tried going to RefQuestReward and enable SelectionCnt column?
Yep, already, i tried to put "2" and above, i even tried changing RewardType, even set SelectionCnt to 2 and above, doesn't add new item in the confirmation box...
07/15/2015 18:50 WickedNite.#4
You don't need to write 2, 1 = enabled, 0 = disabled.
07/15/2015 19:41 witchymoo#5
Quote:
Originally Posted by TheWickedNite View Post
You don't need to write 2, 1 = enabled, 0 = disabled.
Yep, the same, for example:

in [_RefQuestReward] table: (selectable)
Code:
IsItemReward = 1, IsCheckCondition = 1, ItemRewardType = 1, SelectionCnt = 1
I tried most possible combination of those field values, same result, if IsCheckCondition = 0 and ItemRewardType = 0 and SelectionCnt = 0 we get all items showed in the selection box. Also, if I put wrong combinations it gave me error "cannot receive reward due to unknown error"

in [_RefQuestRewardItems] table:
Code:
ItemCodeName = 'ITEM_ETC_HP_POTION_01', OptionalItemCodeName = 'ITEM_COS_C_HORSE1', OptionalItemCnt = 1
the optional item 'ITEM_COS_C_HORSE1' never showed.

Do we need to change something in the lua file for this to work?
07/15/2015 20:06 WickedNite.#6
No, lua scripts have nothing to do with the reward, I will restore a db tomorrow(if you didn't figure the solution by then) when I get home from work and see what I can do to help.
07/15/2015 20:56 witchymoo#7
many thanks :), in the meantime i'll try some more combinations on those 2 tables.