openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Automatic DC when talking to an NPC

Open FireflySkye opened this issue 9 years ago • 41 comments

[iRO server] The recent update makes my bot dc when it talk to the NPC.

config.txt npcTimeResponse 100 (set it to 1 still the same) npcWrongStepsMethod 0

timeout.txt ai_route_calcRoute 1 ai_route_npcTalk 100 ai_npcTalk 100

ugh..

23

FireflySkye avatar Jul 10 '17 15:07 FireflySkye

Are you using a profiles folder? They are not updated from github, if so please add these to your timeouts.txt

# These timeouts are used in npc conversation (Task::TalkNPC)
ai_npc_talk_wait_to_answer 1.5
ai_npc_talk_wait_after_close_to_cancel 0.5
ai_npc_talk_wait_after_cancel_to_destroy 0.5

Henrybk avatar Jul 10 '17 16:07 Henrybk

Didn't dc but new error 234

FireflySkye avatar Jul 10 '17 17:07 FireflySkye

What console command are you using to talk to this npc? and which npc is it?

Henrybk avatar Jul 10 '17 18:07 Henrybk

move [insertmap] or when it autofollow. any NPC that can teleport. Gramps, Eden Teleporter etc.

FireflySkye avatar Jul 11 '17 12:07 FireflySkye

Sorry for the inconvenience, many updates were made on openkore in the last day regarding this problem, would you please update your openkore to the last version, set logConsole 1 and debug 2 in config.txt and reproduce the error and after give me (post here) the console.txt generated in your logs folder.

This way I'll be able to take a closer look at the problem.

Henrybk avatar Jul 11 '17 17:07 Henrybk

up for this, wthe new update keep disconnecting us when talking to npcs.

ShishieYo avatar Jul 12 '17 02:07 ShishieYo

Henrybk commented

Sorry for the inconvenience, many updates were made on openkore in the last day regarding this problem, would you please update your openkore to the last version, set logConsole 1 and debug 2 in config.txt and reproduce the error and after give me (post here) the console.txt generated in your logs folder.

This way I'll be able to take a closer look at the problem.

Did you do this?

kaliwanagan avatar Jul 12 '17 04:07 kaliwanagan

Hi,

Please see the attached console log:

ShishieYo avatar Jul 12 '17 05:07 ShishieYo

Hi sir. I have same problem in lastest version. Hope you fix it, love you :x.

angelwell1 avatar Jul 12 '17 05:07 angelwell1

I got Henrybk's TalkNPC.pm! hihi It works now. :) https://raw.githubusercontent.com/Henrybk/openkore/master/src/Task/TalkNPC.pm

ShishieYo avatar Jul 12 '17 06:07 ShishieYo

@edited by henrybk : Thanks, I'll take a look

FireflySkye avatar Jul 12 '17 12:07 FireflySkye

@FireflySkye How is your autoTalkCont set in config.txt? Also, your talk talk sequence seems wrong, your npc has 3 next interactions and you talk sequence only has 2.

I pointed it in this image: https://i.gyazo.com/e428193f33973f4e39e2a2a0ad76539b.png

If your autoTalkCont set in config.txt is set to 0 you could fix your problem by setting it to 1 or by fixing your talk sequence.

Henrybk avatar Jul 12 '17 12:07 Henrybk

@Henrybk While talking to kafra in payon archer village. it keeps on repeating and cancel talking. Im using yung talkNPC.pm.

ShishieYo avatar Jul 12 '17 12:07 ShishieYo

@ShishieYo You seem to not have updated your timeouts.txt. As you can see here: https://github.com/OpenKore/openkore/commit/bade3aa44b74ca7449a87c80cc771c0facf07e58#diff-542f08fdaa211722f8f3d071e2cbcabc

3 new keys were added.

Henrybk avatar Jul 12 '17 12:07 Henrybk

@Henrybk, I see.. I'll try the code you posted above.

ShishieYo avatar Jul 12 '17 12:07 ShishieYo

Here are my portals

portals.txt

works before... with no error.

I'm always using xKore 1, so I disable autoTalkCont to 0 Cause if I miss click an NPC I'll get dc.

FireflySkye avatar Jul 12 '17 12:07 FireflySkye

here. Change my autoTalkCont to 1 console.txt

FireflySkye avatar Jul 12 '17 12:07 FireflySkye

In the first part of this last console you sent you did not have your autoTalkCont set to 1 when you talked to NPC Aperture#acolytewarp and in the second part you were using xKore 1.

Plase correct me if I am wrong.

We might have an issue with xKore but I have got to determine if the talk continuation is working properly, would you please set autoTalkCont to 1 and talk to NPC Aperture#acolytewarp using the same sequence you were using before?

Henrybk avatar Jul 12 '17 18:07 Henrybk

Yes xKore 1, autoTalkCont 0 Here: console.txt

FireflySkye avatar Jul 12 '17 22:07 FireflySkye

@FireflySkye You used the sequence c c r0 c n with only 1 response, but the npc needed 2 responses, the first one being

# Response 0 Yes 1 No 2 Cancel Chat

and the second one being # Response 0 Prontera -> 600z 1 Izlude -> 600z 2 Geffen -> 1200z 3 Payon -> 1200z 4 Morroc -> 1200z 5 Alberta -> 1800z 6 Aldebaran -> 2200z 7 Comodo -> 2200z 8 Umbala -> 2200z 9 Juno -> 1800z 10 Einbroch -> 2200z 11 Lighthalzen -> 2200z 12 Hugel -> 2200z 13 Rachel -> 2200z 14 Cancel 15 Cancel Chat

Henrybk avatar Jul 12 '17 22:07 Henrybk