Greetings, I search a Plugin, which export the amount of gold on my banktton to a xls,ini or otherfile. all buddys should fill the amount in this one file which Server , faction and amount. Give it a plugin which do that? Or how i can solve this in PB? Best reguards
You cannot do this with PB, but seriously, that's not hard to accomplish. Have a look at the HB API documentation and google "c# output data to xml" and then write a simple plugin.
You could stick this in a plugin or in a CustomAction in PB. PHP: string path = Path.Combine(Logging.ApplicationPath,"MyGoldLog.xml"); XElement rootEle = File.Exists(path) ? XElement.Load(path) : new XElement("GoldLog"); string server = Lua.GetReturnVal<string>("return GetRealmName()",0); XElement serverEle = rootEle.Element(server); if (serverEle == null) { serverEle = new XElement(server); rootEle.Add(serverEle); } serverEle.SetElementValue(StyxWoW.Me.IsAlliance? "Alliance":"Horde", StyxWoW.Me.Gold); rootEle.Save(path); edit: fixed an error. Also forgot to mention this places the MyGoldLog.xml in the root honorbuddy folder.
Can u built that in PB and an option in PB Multi profile? It would be great the file can be save at c:\gold\xxxx.xml or can hb write only in hb root folder?