About daily quest

12/14/2016 16:45 DJ__#1
Hi all how can ı add daily quest ? Can you explain me please ı wanna quest every 24h like magic lamp quest
12/14/2016 17:19 EdwardTeach+-#2
i don't really remember but in the lua script it's optional like u gonna edit (0) to (1) to make it daily
12/14/2016 18:00 WickedNite.#3
I don't see you capable of understanding lua scripts, so don't bother.
12/14/2016 18:56 NoIdeaForAName#4
Quote:
Originally Posted by WickedNite. View Post
I don't see you capable of understanding lua scripts, so don't bother.
Maybe he's just at the beginning ?
12/14/2016 19:24 leo2111#5
Quote:
Originally Posted by WickedNite. View Post
I don't see you capable of understanding lua scripts, so don't bother.
;o Holy crap man. You must be a fattie behind the pc.

Quote:
Originally Posted by DJ__ View Post
Hi all how can ı add daily quest ? Can you explain me please ı wanna quest every 24h like magic lamp quest
LuaSetAchievementLimit(1)
LuaSetDivideType(5)
LuaSetRealTime()

24 hours delay
12/14/2016 19:32 DJ__#6
Quote:
Originally Posted by leo2111 View Post
;o Holy crap man. You must be a fattie behind the pc.



LuaSetAchievementLimit(1)
LuaSetDivideType(5)
LuaSetRealTime()

24 hours delay
what ı will write LuaSetRealTime(?)
12/14/2016 19:35 leo2111#7
Quote:
Originally Posted by DJ__ View Post
what ı will write LuaSetRealTime(?)
nothing, just copy the lines as they are, without any modification.
12/14/2016 19:42 DJ__#8
Quote:
Originally Posted by leo2111 View Post
nothing, just copy the lines as they are, without any modification.
ah ok thank you bro
12/14/2016 20:41 leo2111#9
Quote:
Originally Posted by DJ__ View Post
ah ok thank you bro
you are welcome but the credits goes to
12/15/2016 05:37 EdwardTeach+-#10
[Only registered and activated users can see links. Click Here To Register...]
>
LuaSetAchievementLimit(1)
LuaSetDivideType(5)
LuaSetRealTime()
12/15/2016 08:31 DJ__#11
Quote:
Originally Posted by leo2111 View Post
you are welcome but the credits goes to
Can we limit level the quest ? E.g between 20~30 level
12/15/2016 10:26 leo2111#12
Quote:
Originally Posted by DJ__ View Post
Can we limit level the quest ? E.g between 20~30 level
yes
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 100)

you can replace " 100 " with whatever start lvl you want
12/15/2016 10:34 DJ__#13
Quote:
Originally Posted by leo2111 View Post
yes
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 1, 100)

you can replace " 100 " with whatever start lvl you want
i knew it but i wanted to finish level e.g starting 20 finish 30 level
12/15/2016 10:42 leo2111#14
Quote:
Originally Posted by DJ__ View Post
i knew it but i wanted to finish level e.g starting 20 finish 30 level
LuaSetStartCodition(2, QSC_QUEST, QSC_LEVEL, 20, 30)

not sure, you have to test it
12/15/2016 11:30 blapanda#15
For the "finish" one, just a bypass, could be set as a procedure, triggering every 6 hours for checking (if highrate server, every 15 minutes, or something like that), if someone passes lv 30, which in this case, the system removes the quest from the _CharQuest table, and thus, it will be unobtainable from the NPC (quest giver) nor available for rewards (quest rewarder).