Quest Speech

02/03/2018 17:55 TrashBag#1
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
02/03/2018 22:40 NorseGodTyr#2
Quote:
Originally Posted by TrashBag View Post
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
you can do it by textquest_speech&name ( is what the npc say )
02/03/2018 23:17 TrashBag#3
Quote:
Originally Posted by mialuisa View Post
you can do it by textquest_speech&name ( is what the npc say )
I KNOW THAT textquest_queststring not Speech btw
but how there is no code for it?
02/04/2018 01:11 NorseGodTyr#4
Quote:
Originally Posted by TrashBag View Post
I KNOW THAT textquest_queststring not Speech btw
but how there is no code for it?
idk i have only on my quest script repeat after done
02/04/2018 02:50 TrashBag#5
Quote:
Originally Posted by mialuisa View Post
idk i have only on my quest script repeat after done
in the daily quest, i need a code control the speech for that

for example: BASIC_MENUSTRING_REQUEST_ACCEPT_QUEST", "SN_TALK_QNO_JURI_01 this for Accpet
02/04/2018 09:50 blapanda#6
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.
02/04/2018 17:54 TrashBag#7
Quote:
Originally Posted by blapanda View Post
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.
it's called Ask the Experts so u can tell me to use the regular search engine ? are you drunk
02/04/2018 19:18 blapanda#8
Quote:
Originally Posted by TrashBag View Post
it's called Ask the Experts so u can tell me to use the regular search engine ? are you drunk
You should try to read more carefully.

Quote:
... get directly into the text files and use the regular search engine.
02/04/2018 20:27 TrashBag#9
Quote:
Originally Posted by blapanda View Post
You should try to read more carefully.
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
02/04/2018 21:19 blapanda#10
Quote:
Originally Posted by TrashBag View Post
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 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).
02/04/2018 21:41 TrashBag#11
Quote:
Originally Posted by blapanda View Post
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).
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
02/04/2018 21:44 blapanda#12
Quote:
Originally Posted by TrashBag View Post
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, 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.
02/04/2018 22:12 TrashBag#13
Quote:
Originally Posted by blapanda View Post
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.
well, I have my own filter I could do that but is there is op for quests !!