sorry but what does stacksizesold mean?![]()
I tried it with an innkeeper but it doesn't open the window where you can buy stuff...
Can you please add that E?
What does "stacktobuyat" mean? I tried using this with my pally and set it to get Melon Juice from someone. YES, it was an innkeeper but the important part is it didnt even try to go to the vendor. Here are my coords, and I just set stacktobuyat blindly so that is probably the problem. Here it is:
new ItemToBuy("<Vendor Name="Innkeeper Trelayne",-10516,-1161.213,28.1005,"Melon Juice",20,320,9,5),
Also, it doesn't have the spaces and the // in front of it. Is that a problem?
this is the line i added for the trader ... and itemsPlugin eBuy hb2.0.cs could not be compiled! Compiler errors:
File: eBuy hb2.0.cs Line: 32 Error: Method must have a return type
File: eBuy hb2.0.cs Line: 32 Error: Type expected
File: eBuy hb2.0.cs Line: 36 Error: A namespace does not directly contain members such as fields or methods
File: eBuy hb2.0.cs Line: 36 Error: Expected class, delegate, enum, interface, or struct
File: eBuy hb2.0.cs Line: 37 Error: Expected class, delegate, enum, interface, or struct
File: eBuy hb2.0.cs Line: 49 Error: Expected class, delegate, enum, interface, or struct
File: eBuy hb2.0.cs Line: 54 Error: Type or namespace definition, or end-of-file expected
File: eBuy hb2.0.cs Line: 55 Error: Type or namespace definition, or end-of-file expected
File: eBuy hb2.0.cs Line: 57 Error: Expected class, delegate, enum, interface, or struct
File: eBuy hb2.0.cs Line: 59 Error: Expected class, delegate, enum, interface, or struct
File: eBuy hb2.0.cs Line: 62 Error: Expected class, delegate, enum, interface, or struct
File: eBuy hb2.0.cs Line: 62 Error: Expected class, delegate, enum, interface, or struct
File: eBuy hb2.0.cs Line: 62 Error: Type or namespace definition, or end-of-file expected
what did i do wrong ?new ItemToBuy("James Deacon",2282.29,5210.83,12.49386,"Sour Goat Cheese",100,200,6, 5),
};
if you use a addon called "automation" it will skip the gossip part for a vendor and go straight to the buy/sell this addon then works with innkeepers.
List<ItemToBuy> items = new List<ItemToBuy>()
{
//example: new ItemToBuy("Vendor Name",xLocation,yLocation,zLocation,"itemName",stacktobuyat,numbertohave,item#invendor,stacksizesold),
//For example:
//This will buy 95 melonJuice and 95 watermelons, when stacktobuyat is less than 5 and in packs of 5's, on item# 9 of vendor. Note that it will not buy 100 total, it buys 95 because 100-5=95. Don't know why, it just does.
new ItemToBuy("Innkeeper Boorand Plainswind",-407.1227,-2645.225,96.22316,"Melon Juice",5,100,9, 5),new ItemToBuy("Innkeeper Boorand Plainswind",-407.1227,-2645.225,96.22316,"Snapvine Watermelon",5,100,3, 5),
};
<ProtectedItems>
<Item>1205</Item>
<!--MelonJuice-->
[Khryses 1.15]: Buffing#Inner Fire
Moving to buy Melon Juice!
Moving to vendor Melon Juice!
Buying Melon Juice!
Activity: Moving to hotspot