As i said, that code was just a copy paste after a tested file.
I've added the strings like this:
But, the point is ... In this quest you need to choose 1 item from 5.PHP Code:PAY_ITEM_METHOD_EXACT = 1
LuaSetAchievedItem(5, 0, 0, 0, 1, "ITEM_EVENT_CH_SPEAR_01_A_RARE", 1, 1, "ITEM_EVENT_CH_TBLADE_01_A_RARE", 1, 1, "ITEM_EVENT_CH_BOW_01_A_RARE", 1, 1, "ITEM_EVENT_CH_SWORD_01_A_RARE", 1, 1, "ITEM_EVENT_CH_BLADE_01_A_RARE", 1)
When you go to take your reward, the items are there but you can't click (select) just one, it's trying to give all of the 5 items to you and since in the database it's set to only 1 it fails here.
Got any idea how to make it able to select 1 item from 5 ( just an example ) from the .lua file of the quest ?
Thank you.
Later edit: Is there a way of making a quest one time able ?
Also, is there any other documentation related to quests ? :P


Reply With Quote


