Page 2 of 2

Re: talknpc response

Posted: 26 Nov 2019, 11:21
by chiky
c4c1n6kr3m1 wrote:

Code: Select all

[Nov 25 23:36:15 2019.53] Unknown #110010737: [ Gold Room ]
[Nov 25 23:36:15 2019.54] Unknown #110010737: I know you want to become FAMOUS|RICH|POWERFUL well i have a Good Place where you can find a very rare Birds.
if these lines are talking steps ,
than you have problem

did u see this Unknown #110010737 ???
npc talking to you is different with npc you clicked , and probably don't exist in your screen

similar issue already solved in github , but the person asked about unknown npc delete his post, only left mine

and i'm in lazy mode
https://github.com/OpenKore/openkore/issues/2836
the only way to solve my problem is to make macro? :roll:

Re: talknpc response

Posted: 26 Nov 2019, 14:18
by c4c1n6kr3m1
:)

Re: talknpc response

Posted: 26 Nov 2019, 21:58
by fadreus
chiky wrote:the only way to solve my problem is to make macro?
It's not the only way but it's the easiest way; for you at least.
As long as you can manually done it with openkore, just implement the steps with macro.

Re: talknpc response

Posted: 26 Nov 2019, 22:48
by chiky
here's my macro, the thing is its the same as if i using it manually. im still working on my code :cry: :cry:
automacro talking {
location payon
run-once 1

call {
do talknpc 186 222
pause 2
do talk cont 1
pause 1
release talking
}
}

Re: talknpc response

Posted: 26 Nov 2019, 23:19
by c4c1n6kr3m1
dude,
if npc not exist on your screen, than you can not reply with normal method ( talknpc or talk command )
you test manual first than implement using automacro

Re: talknpc response

Posted: 27 Nov 2019, 10:56
by chiky
i think there's no hope for this problem since NPC is hidden somewhere and i cant use the usual command to talk the hidden npc :( :( :(

Re: talknpc response

Posted: 27 Nov 2019, 11:53
by c4c1n6kr3m1
you should read the link i gave you, the solution is there

Re: talknpc response

Posted: 27 Nov 2019, 12:38
by Mortimal

Code: Select all

reactOnNPC talk  cont{ 
type continue
msg_0 /\[\sGOLD\sROOM\s\]/
} 
this will be first reactOnNPC block for example... u must specify such for each of

Code: Select all

c c c c r0

Re: talknpc response

Posted: 27 Nov 2019, 13:44
by chiky
c4c1n6kr3m1 wrote:you should read the link i gave you, the solution is there
while reading your post i've seen you put "x" in the commands sequence
automacro talking {
location prontera
run-once 1

call {
do talknpc 156 192 x c c c c r0
pause 2
do talk cont 1
pause 1
release talking
}
}
Image
Mortimal wrote:

Code: Select all

reactOnNPC talk  cont{ 
type continue
msg_0 /\[\sGOLD\sROOM\s\]/
} 
this will be first reactOnNPC block for example... u must specify such for each of

Code: Select all

c c c c r0
im noob when i comes to plugins this may hard for me to understand :roll: :roll:

Re: talknpc response

Posted: 27 Nov 2019, 22:57
by fadreus
Troubleshooting method (what it meant by doing manual)

1st- Use your game client and check NPC coordinate that you normally clicked.
2nd- Run Kore and type nl, then check what NPC at the same coordinate (read commanddescription.txt inside tables folder).
  • Note: If there is 2 NPC in same coordinate, use index.
    Note: From how you appear into them map, the index usually remain the same. Run few test to confirm it.
3rd- Type talk #(index)
  • Note: By all mean, this is just replicating in-game behavior.
4th- If necessary, set automacro to trigger (console condition) on the last message from NPC either to cont or choose option.
chiky wrote:im noob when i comes to plugins this may hard for me to understand
It's fine.
No one born with all knowledge in this world.
Take a baby step, 1 step at a time to understand.

I doubt anyone on this planet at age of 2 can do something like SQL perfectly.
What matters is efforts, being smart or dumb is just irrelevant.
Even dog can do trick when trained and it can't even speak.

Just don't give up easily.
Good luck.