problem with autobuying from indoor places from portal

International

Moderator: Moderators

jrockfever
Human
Human
Posts: 20
Joined: 25 Jul 2008, 22:39
Noob?: No

problem with autobuying from indoor places from portal

#1 Post by jrockfever »

Code: Select all

buyAuto Red Potion {
	npc ama_in01 24 30
	standpoint
	distance 5
	price
	minAmount 2
	maxAmount 300
}
the coordinates above are the npc coordinates. The portal coordinates are 33 24. I'm using Iro Valkrie.

My bot refuses to enter the portal unless I have the portal coordinates imputed. However, if I have just the portal coordinates then it is unable to find the npc because it thinks the portal coordinates are the npc coordinates. I'm wondering why I'm having problems with this. thanks.
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: problem with autobuying from indoor places from portal

#2 Post by Technology »

<Technology> imagine you enter a building with only doors and you need to find the oracle which is located in one of the rooms to which one of the doors lead
<Technology> but you don't know which door it is
<Technology> kore is only human there and doesn't know either :P
<Technology> unless you teach it which door it has to enter
<Technology> kore learns new portals automatically when it enters one
<Technology> so make kore enter the portal there and it will learn that the portals leads to this destination
<Technology> if kore has learned this portal already and still does not enter it to reach the npc, then there is a flaw in its logic
<Technology> but i see people doing this autosell/buy in koreRO so..
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!
Sid
Noob
Noob
Posts: 11
Joined: 19 May 2010, 09:03
Noob?: Yes

Re: problem with autobuying from indoor places from portal

#3 Post by Sid »

Try to make your kore move one time into portals so that it get saved.

Type this once when you are on that map when bot try to auto buy.

Code: Select all

move 33 24
I hope it will help.
Visit My Blog
Image
jrockfever
Human
Human
Posts: 20
Joined: 25 Jul 2008, 22:39
Noob?: No

Re: problem with autobuying from indoor places from portal

#4 Post by jrockfever »

yeah, another problem is that even when my character is already inside the building it can't find the npc. But when I tried what you said to do it still isn't registering in the new portals. Also my character walks back out of the portal right after I command him to walk in. And I don't have any lock maps at the moment just the npc.
Sid
Noob
Noob
Posts: 11
Joined: 19 May 2010, 09:03
Noob?: Yes

Re: problem with autobuying from indoor places from portal

#5 Post by Sid »

if you will put your config.txt in code box then it might help to find out problem
Visit My Blog
Image
User avatar
twist3d
Testers Team
Testers Team
Posts: 94
Joined: 09 Sep 2009, 04:34
Noob?: No
Location: USA

Re: problem with autobuying from indoor places from portal

#6 Post by twist3d »

post your portals.txt in your tables folder, the problem is in there.
Member since 09/09/09, botter since its first creation days. Thanks Kura for the original Kore.