Sorry I am opening too much title.
I am provide item from kalin for sell, I want to go to town and sell items to NPC.
I can record waypoint to town from at the front of kalin, and then ? How I can sell from my bag II. page III.page IV.page V.page VI. page ?
In I. page has got impotant items it will not sell them.
thanx guys
I want to sell items to npc
Re: I want to sell items to npc
in the meantime It must go town for sell items when bag is full...
Re: I want to sell items to npc
At your waypoint where it should sell the items put this command and fill in the name of the NPC .
In the <onLoad> add
Now you can change the values (this example would sell the slots 1 to 180 = all 6 bags and it would sell items of all qualities between white and purple)
Code: Select all
player:merchant(npcName)In the <onLoad> add
Code: Select all
changeProfileOption("INV_AUTOSELL_ENABLE", true)
changeProfileOption("INV_AUTOSELL_FROMSLOT", 1)
changeProfileOption("INV_AUTOSELL_TOSLOT", 180)
changeProfileOption("INV_AUTOSELL_QUALITY", "white, green, blue, purple")Re: I want to sell items to npc
thanx, how to sort ? vertical horzinal ? for exampla whichever is 56. slotAlterEgo95 wrote:At your waypoint where it should sell the items put this command and fill in the name of the NPC.Code: Select all
player:merchant(npcName)
In the <onLoad> addNow you can change the values (this example would sell the slots 1 to 180 = all 6 bags and it would sell items of all qualities between white and purple)Code: Select all
changeProfileOption("INV_AUTOSELL_ENABLE", true) changeProfileOption("INV_AUTOSELL_FROMSLOT", 1) changeProfileOption("INV_AUTOSELL_TOSLOT", 180) changeProfileOption("INV_AUTOSELL_QUALITY", "white, green, blue, purple")
and how is when bag is full go to npc ?
Re: I want to sell items to npc
You have to count horizontal
You could add
something like this should work. You can use __WPL:setWaypointIndex(__WPL:findWaypointTag("vendor")); too instead of the loadpath and then make some waypoints to the npc. The first waypoint to the vendor have to get a tag="vendor"> if you want to use my example.
AlterEgo95
You could add
Code: Select all
function settings.profile.events.onSkillCast()
inventory:update()
If 1 > inventory:itemTotalCount(0) then
loadPaths("WaypointFileToSell");
end
end
AlterEgo95
Re: I want to sell items to npc
AlterEgo95 wrote:You have to count horizontal
You could addsomething like this should work. You can use __WPL:setWaypointIndex(__WPL:findWaypointTag("vendor")); too instead of the loadpath and then make some waypoints to the npc. The first waypoint to the vendor have to get a tag="vendor"> if you want to use my example.Code: Select all
function settings.profile.events.onSkillCast() inventory:update() If 1 > inventory:itemTotalCount(0) then loadPaths("WaypointFileToSell"); end end
AlterEgo95
when invertory is full in kalin, char is trying to go for sell and char is going to wall and stuck.
I want to go for sell after leave to the kalin
How I set it ?
Re: I want to sell items to npc
I gues, whan you farm KS you are in party, so you can try thisand go to vendor from res point.
Code: Select all
function settings.profile.events.onSkillCast()
inventory:update()
If 1 > inventory:itemTotalCount(0) then
RoMScript("LeaveParty()")
waitForLoadingScreen()
__WPL:setWaypointIndex(__WPL:findWaypointTag("vendor"));
end
endLife is a journey, not destination 