When you make a daily quest how I can a Speech to tell players to come back after 24h when they complete the quest
Thanks in advance
Thanks in advance
it's called Ask the Experts so u can tell me to use the regular search engine ? are you drunkQuote:
An npc gets its own speech lines firstly declared inside the respective Lua script.
They will be defined by the textquest_***.txt files.
If you want to add new lines, go for the Lua files first, if you want to change them, get directly into the text files and use the regular search engine.
You can adjusting the "Good bye" string on that specific NPC as a "come back again in 24 hours!".Quote:
Text file doesn't have anything for that there is not in Silkroad Quest any code for Daily MSG when you done it so i'm asking if anyone here is good enough at lua to tell me what to type in my script for that
you more than right but what I mean is after the Quest is ACHIEVEDQuote:
You can adjusting the "Good bye" string on that specific NPC as a "come back again in 24 hours!".
The lua parameter you are looking for (which you could've easily obtained by literally just doing a quest and comprehending the structure of that quest entry):
BASIC_MENUSTRING_ACHIEVED / BASIC_MENUSTRING_ACHIEVED_NOW
Set it as e.g. SN_TALK_QNO_TEN_DAILYITEM_CH_120_06 and put that one down to the regular text files regarding quest stuff.
If you want people to remind about a daily quest via the server notice (blue background, regular announcement text) right on the spot, if the daily quest is available, then you might use a filter instead.
Check people's quest history of that specific quest > finished quest date + 24 hours > send the package "Reminding: Daily quest available!"
Or send a regular reminder (easier to code) as a repetitive 1-hour-spammer, which everyone will see (like those "We are Joymax. We enforce anti-bot policy and scamming people with it"-notices).
Well, that "dump" player should start to read, I would recommend :PQuote:
you more than right but what I mean is after the Quest is ACHIEVED
if a dump player trying to take the quest again thinking it a repeatable quest the NPC will show no text or words then ok and blink so he will think the quest is broken cuz he is more than a dump XD
so I want to handle that Thank in advance
well, I have my own filter I could do that but is there is op for quests !!Quote:
Well, that "dump" player should start to read, I would recommend :P
There is no other option that someone trying to reobtain that quest might see a "You already have had this quest done today, come back tomorrow"-message, afaik.
The best bet is either showing that said "good bye" message or a filter handling server broadcast stuff and sending quest-status updates to respective players.