How to config for "Buying to unusuall NPC's"

Discussion about everything RO and OpenKore related. This place is NOT for ANY kind of support questions.

Moderator: Moderators

akosinovice
Noob
Noob
Posts: 1
Joined: 05 Feb 2010, 11:50
Noob?: No

How to config for "Buying to unusuall NPC's"

#1 Post by akosinovice »

hello guys, can someone please help me on buying some items for Erundek? He's the npc at the battle grounds... I wanna buy lots of tasty pink rations to him and it's too tiring to buy it manually coz he only sells an item one at a time...

btw, I searched and tried to have a solution for this problem but I can't find any... I can only see "buyAuto kores" for normal npc's using zeny but this involves BG badges so I'm having a hard time making a config for this...

thanks in advance guys!
Uzah
Human
Human
Posts: 25
Joined: 04 Jun 2011, 18:29
Noob?: Yes
Location: pRO Payon

Re: How to config for "Buying to unusuall NPC's"

#2 Post by Uzah »

If I remember it right, Erundek is where you can exchange your badges for prizes only and is not related to buying. Thus, you can make a simple automacro that repeatedly talks to him. Here's an example:

Code: Select all

automacro Exchange {
	inventory "Badges" >= 10
	location geffen 101 122
	exclusive 1
	call {
		do talknpc 113 108 c r0 c c c n
		}
	}
If you know nothing about NPC conversation codes read this: http://bit.ly/s1lcLz
What have you done so far?