• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved NPC private channel shove up time configuration

Status
Not open for further replies.

richux

Tibera.org
Joined
Aug 18, 2008
Messages
3,666
Reaction score
26
Location
---------
Hello! I would like to know how to decrase the time between player saying HI and NPC channel showing up, so you could say fast HI THAIS(for example) YES?


Its probably not hard, just have to change an value somewere. I searched but couldnt find where. Does someone know?


Thank you!:thumbup:
 
Last edited:
data\npc\lib\npcsystem\npchandler.lua

For me, it's line 75 (I'm using TFS 0.2 ^,^):

Code:
talkDelayTime = 1, -- Seconds to delay outgoing messages
change to
Code:
talkDelayTime = 0, -- Seconds to delay outgoing messages

Hope that's it ^^
 
data\npc\lib\npcsystem\npchandler.lua

For me, it's line 75 (I'm using TFS 0.2 ^,^):

Code:
talkDelayTime = 1, -- Seconds to delay outgoing messages
change to
Code:
talkDelayTime = 0, -- Seconds to delay outgoing messages

Hope that's it ^^

Tested this today, still having delay.


----


The only way to make it works was modifying:

Code:
            npcHandler:say({
                "Fine, though it takes more then a mere lip service to join our ranks. To prove your dedication to the cause you will have to acquire an item for us ...",
                "The mission should be simple to fulfil. For our excavations we have ordered a sturdy pickaxe in Kazordoon. You would have to seek out this trader Uzgod and get the pickaxe for us ...",
                "Simple enough? Are you interested in this task?"
            }, cid, false, true, 0)

As you can see put flase on publicize, true on shallDelay and 0 to interval and it worked... But I would like to leave those values as false.

So went to the npchandler.lua and after function NpcHandler:say just defined shallDelay as true and delay es 0, but still not working.
 
Last edited:
Status
Not open for further replies.
Back
Top