Everything posted by iMod
-
Quest Recorder Plugin
It is, I allready started such project but it will take some time since its just a fun project and its not directly made for wrobot.
-
Quest Recorder Plugin
Would take more time to convert them than creating them new. Those profiles are a mess. They'r using different xml notes for the same action/thing.
-
Buff recognition
! negates the actually state of the boolean. bool variable = true; "!variable" = false "variable == !variable" will set allways the opposit of the current state. MSDN Sample: class MainClass4 { static void Main() { Console.WriteLine(!true); Console.WriteLine(!false); } } /* Output: False True */ I highly recommend to read some C# basics and you will see it makes a lot more fun to work with.
-
Buff recognition
Are you talking about your current target? ObjectManager.Me.TargetObject.HaveBuff(1234); or targets around you? ObjectManager.GetObjectWoWUnit().Any(u => u.HaveBuff(1234));
-
Health Potions
It is a plugin that you have to copy in the plugin folder. After that you just need to activate the plugin and you can use it with anything.
-
[C#] Detect Raid Members HP
How about Party.GetParty(); ?
-
Question about Profiles
Kinda easy, just get an existing profile and take a look at it to understand the struncture. Do the same with HB one and now you are able convert the HB profile to a WRobot one. At the end its just XML without any magic as far i remember. EDIT: There is also a search button that can help you
- Question about Profiles
-
Suche deutschsprachigen Programmierer/Support
Versuchen wir es mal anders ;) Schreib mir einfach mal ein paar Fragen und ich schaue ob ich sie dir beantworten kann. Realisieren kannst du eigentlich alles nur ob es sich lohnt die alten Sachen zu benutzen oder etwas neues zu machen ist dann die andere Frage.
-
LUA retval INT
tonumber(WowLuaDoLocalizedString(luacode, 'francymax'))==1 then To Lua.DoString<int>(luacode, "francymax") == 1 then Since you are just looking for a boolean you also could make it like this function isFrencyStack5() luacode = "francymax = 0; for i=1,40 do local _,_,_,c,_,_,_,_,_,_,s = UnitAura('player',i); if s==19615 and c==5 then francymax = 1 break end end" return Lua.DoString<int>(luacode, "francymax") == 1; // Or as bool since its 0 or 1 return Lua.DoString<bool>(luacode, "francymax"); end
- Plugins and Accept User Keyboard Input
- Plugins and Accept User Keyboard Input
-
Plugins and Accept User Keyboard Input
readonly KeyboardHook _hookKeybinding = new KeyboardHook(); public InitMethod() { _hookKeybinding.KeyPressed += (object sender, KeyPressedEventArgs e) => { Logging.Write("Key was pressed!"); }; _hookKeybinding.RegisterHotKey(ModifierKeys.Shift, Keys.Insert); } Something like this is not working for you?
-
[Documentation] WRobot api
There is no documentation available and wont be i guess.
- Warlock keeping multiple targets dotted
-
Warlock keeping multiple targets dotted
Abuse the focus as target. Set your focus target by your self and cast the spell at it. /// <summary> /// Sets the target as focus target and executes the given method /// </summary> /// <param name="action">The method we want to execute</param> public static void SetAsFocusTarget(WoWUnit target, Action action) { if (ObjectManager.Me.FocusGuid != target.Guid) { // Hold old target ulong oldFocusTarget = ObjectManager.Me.FocusGuid; // Set focus target ObjectManager.Me.FocusGuid = target.Guid; // Call action action.Invoke(); // Set old focus ObjectManager.Me.FocusGuid = oldFocusTarget; } else { // Call action action.Invoke(); } } // Dummy unit WoWUnit unit = new WoWUnit(1); SetAsFocusTarget(unit, () => new Spell("SpellName").Launch(true, true, false, "focus"));
- Warlock keeping multiple targets dotted
- Warlock keeping multiple targets dotted
-
Warlock keeping multiple targets dotted
List<WoWUnit> units = new List<WoWUnit>(); // Short version IEnumerable<WoWUnit> sortedUnits = units.Where(u => u.Health < 10); // Long version List<WoWUnit> sortedUnits = new List<WoWUnit>(); foreach(WoWUnit unit in units) { // Validate if(unit.Healt < 10) { // Add unit sortedUnits.Add(unit); } } Hope it explains it a bit. At the end the compiler won't do something else.
-
need help installing wow into a different spot.
Copy wow to another location and delete the following folders: Cache Interface Logs WTF Utils\cache Utils\logs
- My Bot doesn't work
- My Bot doesn't work
- Check Hunter Pet Exists
-
Frost nova, Mage
iMod replied to Freestylechirurg's topic in WRobot for Wow Wrath of the Lich King - Help and supportfrost nova is a spell that you need to click right? if yes make sure that you set in the setting on terrain or something like this i actually don't know the correct name of the setting
-
check distance
Not as far i know. I would create a small tcp/ip server and client to communicate to each other. Just take a look at google and search for "C# client server" or "C# chat application" this should bring you up some ideas.