-
Posts
58 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by sowelu
-
Found old code. Have fixed some errors. Seems working now. public List<Vector3> GetPathFromXml(string path) { List<Vector3> xpath = new List<Vector3>(); try { FileStream fs = new FileStream(path, FileMode.Open); StreamReader stream = new StreamReader(fs, Encoding.UTF8); string content = stream.ReadToEnd(); XmlDocument doc = new XmlDocument(); doc.LoadXml(content); var result = doc.GetElementsByTagName("Vectors3"); var item = result.Item(0); foreach (XmlNode n in item.ChildNodes) { var X = n.Attributes[0].Value; var Y = n.Attributes[1].Value; var Z = n.Attributes[2].Value; string type = n.Attributes.Count == 3 ? "None" : n.Attributes[3].Value; Vector3 v3 = new Vector3(float.Parse(X), float.Parse(Y), float.Parse(Z), type); xpath.Add(v3); } Logging.WriteError(" Xml file parsed !" + path); } catch (Exception e) { Logging.WriteError(e.ToString()); } if (xpath.Count == 0) Logging.WriteError("No points in path"); return xpath; }
-
I think there should be function for .xml path parsing.
-
I need it with C# code for plugin.
-
I want get list of Vecror3 points from file. File have been recorded with Gatherer.
-
How to get saved path from code?
-
Im very interesting about it too. Keep in touch.
-
Add custom dll
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
I still have a problem with understanding how to properly use . If I have one project and I build plugin.dll , all fine. But if I build one dll (simplyTestLib.dll)) and then creating another project (simplyPlugin.dll) which uses simplyTestLib.dll and I build it, I have error. I cant use simplyPlugin.dll, because when I starting bot with this plugin it crashes. Debugger says assembly simplyTestLib.dll cant be loaded. My main question is how to setup environment to developing a bunch of simply plugins, or maybe not simply. I think I should create library with useful classes and use this from Plugin.dll, like I use wManager. But I cant due error. Maybe is there another way or am I missing something important point. I have experienced only with Unity3d so some basic things could be missed. -
Add custom dll
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Yes, I have put to /wrobot /bin and /plugins, nothing, but also, all my plugins have .cs extension, not .dll UPD I have put Xtest.dll, (not .cs) to /plugins and it seems fine! And sorry for my stupid questions. -
Add custom dll
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Bump, any idea how to solve it? -
Add custom dll
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
http://rgho.st/6Pch4qZ4R -
Add custom dll
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Maybe I dont understand something important. I just want to use my own classes in plugin. -
Add custom dll
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Just for test. namespace Wmod { public class Xhelpers { public int ss = 10; } } -
Add custom dll
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Bum, dont leave me guys -
Hey, i have built dll (with test class),target framework .Net 4. How can I use it from plugin? using Wmod; => The type or namespace name 'Wmod' could not be found (are you missing a using directive or an assembly reference?)
-
Hello, I downloaded autoit dll and registred it via regsvr, then i added reference to visual studio and added directive to my plugin using AutoItX3Lib; but i have compilation error when I start bot - missing directive or assembly reference
-
Radar3D How to use it?
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Helpplease with Radar3D.add_OnDrawEvent and Radar3D.remove_OnDrawEvent , because if i restart bot previous point will appear. I have problem with understendig those handlers and delegates:( -
How to get angle or rotation info?
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Finally i got it -
How to get angle or rotation info?
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Also, how can I get time between framerates or do something every framerate -
How to get angle or rotation info?
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Some kind of sucsess on BC -
How to get angle or rotation info?
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Dont work in my code, so , is there no way to inplement swift rotation from code ? Key rotation too slow. -
How to get angle or rotation info?
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Look what I have when rotate character while moving. Any idea how can it be fixed? -
How to get angle or rotation info?
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
Shiet, I'm so weak in math, can you help me please adapt it to get an angle value between -180 to 180 depend on where target is. (-90 left, 0 facing, 90 right) -
Radar3D How to use it?
sowelu replied to sowelu's topic in WRobot for Wow The Burning Crusade - Help and support
A bit laggy, but working fine, thanks. -
I want to draw cirlces and lines, I have this public void Draw() { Radar3D.DrawLine(_nearestPoint, ObjectManager.Me.Position, Color.Red); _path.ForEach(i => Radar3D.DrawCircle(i, 2f, Color.Green)); } If I call it every 17ms from loop, there is nothing good in my Wow window, tell me how to use it correctly.