• 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!

My NPC's do not say anything if players say 'bye' or walkaway (Solved)

LucasFerraz

Systems Analyst
Joined
Jun 10, 2010
Messages
2,857
Reaction score
96
Location
Brazil
My NPC's do not say anything if players say bye or walkaway. Help me please?:huh:
Here is my npcsystem.
 
Last edited:
It's default of dev 0.4, rev3884.
Can you tell me what I must change? I don't want to change it because I fixed a critical bug (cloning runes with 40k, without bot)
 
Last edited:
edit your npchandler.lua, try removing these lines:
Code:
[B][COLOR="red"]						if(self:isFocused(speech.cid) and talkStart == speech.start) then[/COLOR][/B]
							if(NPCHANDLER_CONVBEHAVIOR ~= CONVERSATION_DEFAULT) then
								selfSay(speech.message, speech.cid)
							else
								selfSay(speech.message)
							end
[B][COLOR="red"]						end[/COLOR][/B]
 
it's not the best solution, but merely a "hack" (it should've been made in a better way but I don't think you mind, if it works)
 
the delay message parameter for npcHandler:say won't work properly anymore, but it doesn't matter since you probably don't even use it

are you getting errors if you logout before the npc says the message?
 
Back
Top