View Full Version : Hive loot seller?
zezztah
01-26-2016, 01:28 PM
Hello everyone. Does anyone got a loot seller script for Hive in gray island?
I got 2 bp's weighting over 100k both bps and man i dont feel like walking back and forth selling that stuff.
anyone got a lua code or a full script which sells the loot? I'd be eternaly grateful if anyone could provide me with such a script!
Oscagi
01-26-2016, 10:20 PM
elseif (labelName == "Seller") then
setWalkerEnabled(false)
Self.SayToNpc({"hi", "trade"}, 65)
wait(1000, 2500)
Self.ShopSellItem(Item.GetID("War Hammer"), Self.ShopGetItemSaleCount(Item.GetID("War Hammer")))
wait(1000, 2500)
Self.ShopSellItem(Item.GetID("Calopteryx Cape"), Self.ShopGetItemSaleCount(Item.GetID("Calopteryx Cape")))
wait(1000, 2500)
Self.SayToNpc({"bye"}, 65)
setWalkerEnabled(true)
Just put the other items, btw u can find in the forum a script which u can withdraw from inbox.
/Oscagi
elseif (labelName == "Seller") then
setWalkerEnabled(false)
Self.SayToNpc({"hi", "trade"}, 65)
wait(1000, 2500)
Self.ShopSellItem(Item.GetID("War Hammer"), Self.ShopGetItemSaleCount(Item.GetID("War Hammer")))
wait(1000, 2500)
Self.ShopSellItem(Item.GetID("Calopteryx Cape"), Self.ShopGetItemSaleCount(Item.GetID("Calopteryx Cape")))
wait(1000, 2500)
Self.SayToNpc({"bye"}, 65)
setWalkerEnabled(true)
Just put the other items, btw u can find in the forum a script which u can withdraw from inbox.
/Oscagi
it doesnt work, when I copied it to notepad and wanted to insert via scripts I get that message:
10:28 XenoScript Error:
Script: Czougista Config.lua
Line #: 1
Chunk: C:?Users?Tomek?DOCUME?1?XenoBot?Scripts??CZOUGI?1. LUA
Error: unexpected symbol near 'ď'
This is an error with user-input and should not be reported as a bug with XenoBot.
Oscagi
01-29-2016, 12:10 PM
Mhmmm, I need see all script for fix the error. I PM u.
Mhmmm, I need see all script for fix the error. I PM u.
thanks for trying help though, any other ideas?
Jontor
01-30-2016, 12:33 PM
thanks for trying help though, any other ideas?
What's on the first line in your .lua file?
What's on the first line in your .lua file?
elseif (labelName == "Seller") then
thats it. Its a bit strange thought...
Jontor
01-30-2016, 08:00 PM
Make sure to fill the list with items to sell and make sure the keywords are correct
local itemsToSell = {"war hammer", "calopteryx cape"}
registerEventListener(WALKER_SELECTLABEL, "onLabel")
function onLabel(labelName)
if (labelName == "sellLoot") then
Walker.Stop()
Self.SayToNpc({"hi", "trade"}, 65)
for i = 1, #itemsToSell do
Self.ShopSellAllItems(itemsToSell[i])
end
Walker.Start()
end
end
Make sure to fill the list with items to sell and make sure the keywords are correct
local itemsToSell = {"war hammer", calopteryx cape"}
registerEventListener(WALKER_SELECTLABEL, "onLabel")
function onLabel(labelName)
if (labelName == "sellLoot") then
Walker.Stop()
Self.SayToNpc({"hi", "trade"}, 65)
for i = 1, #itemsToSell do
Self.ShopSellAllItems(itemsToSell[i])
end
Walker.Start()
end
end
I opened notepad, copied that, and when I wanted to load it in client, I see that:
10:29 XenoScript Error:
Script: sellhive.lua
Line #: 1
Chunk: C:?Users?Tomek?DOCUME?1?XenoBot?Scripts??sellhive. lua
Error: '}' expected near 'cape'
Jontor
01-31-2016, 10:44 AM
I opened notepad, copied that, and when I wanted to load it in client, I see that:
10:29 XenoScript Error:
Script: sellhive.lua
Line #: 1
Chunk: C:?Users?Tomek?DOCUME?1?XenoBot?Scripts??sellhive. lua
Error: '}' expected near 'cape'
I missed one quotation mark, sorry
Here's how the first line should look:
local itemsToSell = {"war hammer", "calopteryx cape"}
I missed one quotation mark, sorry
Here's how the first line should look:
local itemsToSell = {"war hammer", "calopteryx cape"}
he comes, says 'trade' and nothing sells, just goes to the next waypoint. wrrrrrrrr :(
Jontor
01-31-2016, 01:15 PM
he comes, says 'trade' and nothing sells, just goes to the next waypoint. wrrrrrrrr :(
You're supposed to fill that table with items you want to sell
For example:
local itemsToSell = {"eye of a deepling", "deepling staff", "necklace of the deep", "deepling axe", "ornate chestplate", "depth lorica", "depth galea", "depth ocrea", "depth calcei", "depth scutum", "ornate legs", "ornate shield", "ornate mace", "spellsinger's seal", "key to the drowned library", "deepling guard belt buckle", "deepling breaktime snack", "deepling warts", "deeptags", "deepling scales", "warrior's axe", "deepling ridge", "warrior's shield", "guardian axe", "deepling claw", "swarmer antenna", "kollos shell", "spitter nose", "crawler head plating", "waspoid claw", "waspoid wing", "spidris mandible", "compound eye", "calopteryx cape", "grasshopper legs", "carapace shield", "hive scythe", "dung ball", "hive bow", "ornate crossbow", "deepling squelcher"}
I think these are all items you can sell there, so feel free to copy-paste it
ok guys i`ll help you guys out, you all try to find the error in the code but it's (mostlikely) not.
The guy buying stuff reacts on different words instead of trade.
Local equipment < items like hive scythe etc...
Creature products < items like dung ball etc...
ok guys i`ll help you guys out, you all try to find the error in the code but it's (mostlikely) not.
The guy buying stuff reacts on different words instead of trade.
Local equipment < items like hive scythe etc...
Creature products < items like dung ball etc...
you would be right, if I was playing on real, but on an OTS its like hi trade and I am able to sell/buy whatever I want
You're supposed to fill that table with items you want to sell
For example:
local itemsToSell = {"eye of a deepling", "deepling staff", "necklace of the deep", "deepling axe", "ornate chestplate", "depth lorica", "depth galea", "depth ocrea", "depth calcei", "depth scutum", "ornate legs", "ornate shield", "ornate mace", "spellsinger's seal", "key to the drowned library", "deepling guard belt buckle", "deepling breaktime snack", "deepling warts", "deeptags", "deepling scales", "warrior's axe", "deepling ridge", "warrior's shield", "guardian axe", "deepling claw", "swarmer antenna", "kollos shell", "spitter nose", "crawler head plating", "waspoid claw", "waspoid wing", "spidris mandible", "compound eye", "calopteryx cape", "grasshopper legs", "carapace shield", "hive scythe", "dung ball", "hive bow", "ornate crossbow", "deepling squelcher"}
I think these are all items you can sell there, so feel free to copy-paste it
I did it but nothing has changed, he still says trade and nothing, goes to the next waypoint :/
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.