What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Mr.DarkMoon: a Darkmoon Fair Item Buying Plugin

CodenameG

New Member
Joined
Jan 15, 2010
Messages
38,364
Reaction score
231
Mr.DarkMoon: a Darkmoon Fair Item Buying Plugin

This plugin will buy items from Lhara at the Darkmoon Fair, so park your empty bagged level 80 next to it, and edit the plugin to add what items you want to buy to the list. what this plugin does, is checks the vender every secand, for new items, and if the items match the list, it buys it. simple as that.

this plugin will also allow for combat if attacked if your on a pvp realm.Just Fyi
 

Attachments

ill check it out after work today thanks code
if i do make a list ill post it here so u can check it out
 
I'm constantly getting dc's with this
[17:48:05:822] [Mr.DarkMoon]:Vender Has 1 Items
[17:48:05:842] [Mr.DarkMoon]:Item Slot 1 is Fel Lotus has 2
[17:48:05:845] [Mr.DarkMoon]:Closing Merchant Frame
[17:48:07:364] interact: 0x22DC9658
[17:48:07:382] interact done: 0x22DC9658
[17:48:08:425] [Mr.DarkMoon]:Vender Has 7 Items
[17:48:08:446] [Mr.DarkMoon]:Item Slot 1 is Mageroyal has 4
[17:48:08:468] [Mr.DarkMoon]:Item Slot 2 is Liferoot has 2
[17:48:08:489] [Mr.DarkMoon]:Item Slot 3 is Khadgar's Whisker has 1
[17:48:08:510] [Mr.DarkMoon]:Item Slot 4 is Ghost Mushroom has 2
[17:48:08:535] [Mr.DarkMoon]:Item Slot 5 is Dreamfoil has 4
[17:48:08:538] [Mr.DarkMoon]:Buying Dreamfoil
[17:49:18:96] Exception in DoString: Process must have frozen or gotten out of sync; InjectionFinishedEvent was never fired. StackTrace: at EndScene.ExecutorRand.Execute()
at Styx.Lua.DoString(String lua, String luaFile, UInt32 pState)
 
He only buys one thing all the time, when there are things^^ but i got all on the list
 
lol it sells the high end stuff? thats so lame from blizz...
 
How long's the restocl rate? doesnt seem very profitable if its 13-16 minutes like the WoW head comments
 
How do i get it to work? which profile should i load. Ive enabled the plugin and it is asking for a profile?

heres a list of all the items the vendor sells, just paste into the above file.

"Living Ruby", "Nightseye", "Noble Topaz", "Star of Elune", "Talasite", "Black Lotus", "Darkmoon Necklace", "Fel Lotus", "Frost Lotus", "Adder's Tongue", "Ancient Lichen", "Borean Leather", "Bruiseweed", "Crystallized Air", "Crystallized Earth", "Crystallized Fire", "Crystallized Life", "Crystallized Shadow", "Crystallized Water", "Deadnettle", "Dreamfoil", "Earthroot", "Enchanted Leather", "Fel Hide", "Ghost Mushroom", "Goldclover", "Golden Sansam", "Heavy Borean Leather", "Heavy Knothide Leather", "Heavy Leather", "Icethorn", "Khadgar's Whisker", "Kingsblood", "Knothide Leather", "Lichbloom", "Liferoot", "Mageroyal", "Mana Thistle", "Medium Leather", "Mote of Air", "Mote of Earth", "Mote of Fire", "Mote of Life", "Mote of Mana", "Mote of Shadow", "Mote of Water", "Mountain Silversage"
 
How do i get it to work? which profile should i load. Ive enabled the plugin and it is asking for a profile?

heres a list of all the items the vendor sells, just paste into the above file.

"Living Ruby", "Nightseye", "Noble Topaz", "Star of Elune", "Talasite", "Black Lotus", "Darkmoon Necklace", "Fel Lotus", "Frost Lotus", "Adder's Tongue", "Ancient Lichen", "Borean Leather", "Bruiseweed", "Crystallized Air", "Crystallized Earth", "Crystallized Fire", "Crystallized Life", "Crystallized Shadow", "Crystallized Water", "Deadnettle", "Dreamfoil", "Earthroot", "Enchanted Leather", "Fel Hide", "Ghost Mushroom", "Goldclover", "Golden Sansam", "Heavy Borean Leather", "Heavy Knothide Leather", "Heavy Leather", "Icethorn", "Khadgar's Whisker", "Kingsblood", "Knothide Leather", "Lichbloom", "Liferoot", "Mageroyal", "Mana Thistle", "Medium Leather", "Mote of Air", "Mote of Earth", "Mote of Fire", "Mote of Life", "Mote of Mana", "Mote of Shadow", "Mote of Water", "Mountain Silversage"

you just edit the .cs file in your plugins folder. change the item down a few lines where it says ""Dreamfoil", "Nightseye"

i loaded i blank profile that i made, but im not sure if you have to. heres the one i made though.
 

Attachments

He only buys one thing all the time, when there are things^^ but i got all on the list

Had the same problem, made a fix. It also buys everything on my list in less then a second.
changed->
Code:
if (thing.Contains(ItemInfo[0].ToString()))                       
while (ItemInfo[4].ToInt32() > 0)
{
slog("Buying {0}", ItemInfo[0].ToString());
Lua.DoString("BuyMerchantItem(\"" + i + "\",1);
 }
}
to
Code:
if (thing.Contains(ItemInfo[0].ToString()))
{
slog("Buying {0}", ItemInfo[0].ToString());
Lua.DoString("BuyMerchantItem(\"" + i + "\",\"" + ItemInfo[4].ToInt32() + "\")");
 }
Instead of buying 1 by 1, it now buys the max stock available of the wanted item. And also fixed the plugin from getting stucked.

check attached file, nice work OP.

also contains the item list matching the overpriced items on my realms AH. Also increased wait time after closing the vendor frame from 1 second to 3 seconds.
 

Attachments

Last edited:
Back
Top