I think the "autoTalkCont" is good enough for auto-detect "next" during talknpc sequences !
The r8844 seems unnecessary !!
About the r8844 !!
Moderator: Moderators
-
- Moderators
- Posts: 208
- Joined: 01 Feb 2010, 17:37
- Noob?: No
- Location: Brazil - MG
- Contact:
Re: About the r8844 !!
With r8844 you can use talknpc sequences without autoTalkCont and without "c" parameters. It becomes a lot less tedious to write macros. "c" parameter is still allowed, but I don't find it necessary anymore.
With this patch you can write "talknpc x y r0 r1 r0" instead of "talknpc x y c c c c c c c c c c r0 c c r1 c c c r0".
If using autoTalkCont alone, "talknpc x y r0 r1 r0" would result in errors and DCs.
With this patch you can write "talknpc x y r0 r1 r0" instead of "talknpc x y c c c c c c c c c c r0 c c r1 c c c r0".
If using autoTalkCont alone, "talknpc x y r0 r1 r0" would result in errors and DCs.
Re: About the r8844 !!
Actually !!
Just, you set the "autoTalkCont" to "1" in config.txt, then, you do not need any "c" in "talknpc", even in tables/portals.txt.
Because, in src/Task/TalkNPC.pm, there are following code lines:This meanse, with "autoTalkCont 1" setting, event you add "c" in talknpc sequences, the "c"'s will be trimed !
When I set "autoTalkCont 1", I'm experiencing never any errors or DCs without "c" in talknpc sequence !!
For example: the general opening the storage talknpc sequence is "c r1 n".
With "autoTalkCont 1" setting, I just use "talknpc r1 n", the storage still is opened correctly !!
Just, you set the "autoTalkCont" to "1" in config.txt, then, you do not need any "c" in "talknpc", even in tables/portals.txt.
Because, in src/Task/TalkNPC.pm, there are following code lines:
Code: Select all
if ($config{autoTalkCont}) {
while ($self->{steps}[0] =~ /^c$/i) {
shift @{$self->{steps}};
}
}
When I set "autoTalkCont 1", I'm experiencing never any errors or DCs without "c" in talknpc sequence !!
For example: the general opening the storage talknpc sequence is "c r1 n".
With "autoTalkCont 1" setting, I just use "talknpc r1 n", the storage still is opened correctly !!
-
- Moderators
- Posts: 208
- Joined: 01 Feb 2010, 17:37
- Noob?: No
- Location: Brazil - MG
- Contact:
Re: About the r8844 !!
But we shouldn't be forced to set autoTalkCont to 1 only to use that feature. It's also a pending feature: http://wiki.openkore.com/index.php/NPC_ ... codes#TODO
What i'm trying to do is make "c" an extremely optional parameter. That way, if someone puts a portal entry without "c" parameters, it'll work with any configuration.
What i'm trying to do is make "c" an extremely optional parameter. That way, if someone puts a portal entry without "c" parameters, it'll work with any configuration.
Re: About the r8844 !!
I think the "autoTalkCont" is a switch for talking npc contunue.
Sometimes in Macro using the "talk" not "talknpc", We need "pause" for talking npc with turn-off "autoTalkCont".
What your modification will make "talking npc contunue" no waiting !
Sometimes in Macro using the "talk" not "talknpc", We need "pause" for talking npc with turn-off "autoTalkCont".
What your modification will make "talking npc contunue" no waiting !
-
- The Way Of Human
- Posts: 150
- Joined: 24 Mar 2012, 04:13
- Noob?: Yes
Re: About the r8844 !!
i never use "pause" when talking to npc as i remembered, so when i first read this, i don't care.
but now i have this old novice macro
with that "step" macro, my novice will teleport to novice training ground(new_1-3) and start leveling.
but now, i don't want to leveling on training ground, i want to break talking step after the second "c", i want this step
but it doesn't work with autoTalkCont 1, only work with autoTalkCont 0. so this is part of my macro now
so this r8844 will broke my macro, right???
about portals, people must learn how to use it correctly, including the "c" sequence, it is very easy to learn it right?
no one edit src or tables folder except they understand it. ( or copy from someone )
but now i have this old novice macro
Code: Select all
do talknpc 33 172 c c c c c c
but now, i don't want to leveling on training ground, i want to break talking step after the second "c", i want this step
Code: Select all
do talknpc 33 172 c c a=relog n
Code: Select all
do conf autoTalkCont 0
do talknpc 33 172 c c e
do relog 2
do conf autoTalkCont 1
about portals, people must learn how to use it correctly, including the "c" sequence, it is very easy to learn it right?
no one edit src or tables folder except they understand it. ( or copy from someone )
Re: About the r8844 !!
Dear c4c1n6kr3m1:
Yes, some thine like that !!
You could rollback the update of r8844 !!
Yes, some thine like that !!
You could rollback the update of r8844 !!