![](https://wrobot.eu/uploads/set_resources_9/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Mykoplazma
-
Posts
183 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by Mykoplazma
-
-
Try to lock game on 64 fps using nvidia doctor or something when I have that on there is no bad clicks.
-
using System; using System.Threading; using System.Windows.Forms; using robotManager.Helpful; using wManager.Wow.Class; using wManager.Wow.Enums; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : ICustomClass { public float Range { get { return 30; } } private bool _loop; public void Initialize() { _loop = true; while (_loop) { Lua.RunMacroText("/cast Flash Heal"); } } public void Dispose() { _loop = false; } public void ShowConfiguration() {} }
Ok this is stripped down custom combat class. Take all of that copy to notepad and save into fightclass dir with .cs on the end. Then Replace that Lua.RunMacroText("/cast Flash Heal"); to anything you want you can make 2 comands or any other number like
Lua.RunMacroText("/cast Disenchant");
Lua.RunMacroText("/use Item:43433");
or whatever idk what you want achieve.
You can put normal spell there too.
For pause in between add
Thread.Sleep(15);
Where 15 is in miliseconds so to get one second write
Thread.Sleep(1000);
-
Ok my car is broken and I can make it run what is wrong? What you wanna do, what macros are you wanna cast, paste maybe link to rotation?
-
Just enable the plugin in plugins tab it should show up as GatheringMobSpawns.cs and set it to on. The second thing is this is plugin created to kill specific mobs with ids like
new List<int> {98232, 98234, 98235 } };
To make the bot kill other kind of mob you must find the id on wowhead and add it to list.
For now that list let the bot attack 3 mobs :
To add mob you must go to wowhead find the mob id and add it to that list directly into the plugin code.
-
Ok so we need stick to 5.0.
-
I get help from that forum with answer which is using a part of c# version 6 - that $ thing used before string instead of using string.format thing like in this example $"print(\"{wowPlayer.Name} around paused.\")". That thing requires c# 6 I have only c# 5 ( windows 7 ) i found how to get compilator for version c# 6 and I have now csc.exe (compilator ) file in separte directory. How to make the bot compile the plugin or rotation using that csc file or where to replace files to get it compiled with c# 6 special new functions?
-
To check if current selected target is a tank you must use lua function ;)
role = UnitGroupRolesAssigned(Unit);
the Unit can be "target","player","playerName" etc role can be TANK , DAMAGER, HEALER , NONE
Soon I will put rotation which is targeting each party members check lowest hp put tank on priority heal from the weakest to the strongest etc. But it's not possible to create such thing in the editor only pure c# can give you such powers. Pm if interested of the base of it ( only selecting the lowest hp works for now but this is a good start ;))
-
And sorry again one more question - how to check LOS?
-
Thank you for your example it's very usefull and full of usefull tips.
-
Ok. Go to a city with a disco priest. Take a name of anyplayer around with afk write Lua.DoString("CastSpellById(17,\"THATPLAYERNAME\")") and look what will happen ( 17 is power world : shield ). You will cast it on yourself. Always with your snippet the situation is identical. Alawys on self but if in party then ok.
Second thing using that example for object manager iteration:
if (!ObjectManager.Me.IsDead && Party.IsInGroup() && !Usefuls.IsLoadingOrConnecting && Usefuls.InGame)
{
foreach (var playerGuid in Party.GetPartyGUID())
{
if (playerGuid > 0)
{
var p = new WoWPlayer(0);
var obj = ObjectManager.GetObjectByGuid(playerGuid);
if (obj.IsValid && obj.Type == WoWObjectType.Player)
{
p = new WoWPlayer(obj.GetBaseAddress);
}
if (p.IsValid && !p.IsDead)
{Logging.Write(p.name);
}
}
}
That p.name sometimes return value Unknown instead of player name all other values are correct.
-
Ok thank you for answer that method is working - you don't need a target but you must be in party otherwise it will not work. Second question - sometimes object manager don't have access to name field? The result name is Unknown despite all other values are correct and visible . How to get rid of that Unknown thing without lua guid comparasion ( because it's eating resources like crazy )
-
Set up not a spell but lua script.
About skil slots - http://wowwiki.wikia.com/wiki/ActionSlot
1. get Shoot skill from the spell book and for example put it into slot one.
2. add that lua script ( set the spell as a lua script and write that thing into the spell name )
if not IsAutoRepeatAction(1) then CastSpellByName("Shoot"); end
-
Hi is this possible to cast spell on player without targeting that player before? There was many pqr profiles for ( healing ones ) which was casting all healing spells on friendly target without taking the target slot. It was easy to reproduce using wow plus hack ( for example ) on cata doing simple thing like CastSpellByName("Flash Heal",target.guid) where the target guid is not blizzard crap ( "target","player","pet" etc ) but numerical value of guid ( 123423423423 ) or maybe memory adress of the target player structure anyway it was working , and this is also working too on pqr so is that possible on wrobot to? Now I must find the target, check hp, target it, cast spell. But without that interaction thing is that possible?
Stutter Moving - Vanilla
in WRobot for Wow Vanilla - Help and support
Posted
Player's own client side movement is updated 64 times per second, this means if you're at a perfect 60 fps, some frames will get 2 movement updates while other gets 1 and that thing is making a mess? ;)