-
Posts
12595 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by Droidz
-
don't put code in loop, you need to call this code only one time
-
Hello, try to add log to check if he try to use item or not (before "ItemsM anage r.UseItem (itemId);") You can also try to use lower "Thread.Sleep" if loot is very fast on your server. Or you can try this code (not tested): wManager.Events.LootingEvents.OnLootSuccessful += delegate(WoWUnit unit) { uint itemId = 42480; int questId = 12995; if (Quest.HasQuest(questId)) { ItemsManager.UseItem(itemId); Thread.Sleep(50); Usefuls.WaitIsCastingAndLooting(); } };
-
It is same problem like here: https://wrobot.eu/bugtracker/battleground-debuff-r1251/?do=findComment&comment=5834 Your plugin run code not on the same thread that your current product thread, in your code at the same time you do 2 tasks
-
Hello, do you use option "Run tasks in loop" (in relogger profile option)? Do you check if you can found more info in wrobot log?
-
you are sure that you haven't errors or debugs info in you log file? You have try to reinstall WRobot in new folder? Install required softwares (slimdx and vc++) ?
-
yes tab "Tools" you have blacklist editor
-
Hello, GetSpellBookItemInfo seem added in Wow 4.0.1. Try: local id = 6673; local nSearch = GetSpellInfo(id); if nSearch then local i = 1 while true do local spellName, spellRank = GetSpellName(i, BOOKTYPE_SPELL) if not spellName then break end if nSearch == spellName then return true; end i = i + 1 end end return false;
-
Hello, I think it is more easy to use " MiniMapGenerator.PathImage", sample: void RefreshMap(object objs) { try { var prm =(List<double>) objs; double zoom = prm[0]; double actualWidth = prm[1]; double actualHeight = prm[2]; lock (_lockShowMap) { var landmarksMiniMapCache = GenerateLandmarks(zoom); var image = new MiniMapGenerator.PathImage(Usefuls.ContinentNameMpq, ObjectManager.ObjectManager.Me.Position, landmarksMiniMapCache, (float)zoom); image.Generate(actualWidth, actualHeight); if (image.Result != null) { // Save img: if (!string.IsNullOrWhiteSpace(_saveTo)) { try { image.Result.Save(_saveTo, ImageFormat.Jpeg); } catch { } _saveTo = ""; } // Show img: var hbmp = image.Result.GetHbitmap(); try { var ret = Imaging.CreateBitmapSourceFromHBitmap(hbmp, IntPtr.Zero, Int32Rect.Empty, BitmapSizeOptions.FromEmptyOptions()); ret.Freeze(); Dispatcher.Invoke(DispatcherPriority.Background, new Action(() => MapImage.Source = ret)); //Dispatcher.BeginInvoke( // DispatcherPriority.Send, // new Action(() => MapImage.Source = null)); //Dispatcher.BeginInvoke( // DispatcherPriority.Send, // new Action(() => MapImage.Source = ret)); } finally { DeleteObject(hbmp); } } image.Dispose(); } } catch { } }
-
Hello, do you have error in your log?
-
Hello what is quest type of "HR"?
-
not tested but try this plugin: Dismount cancelaura.cs (I'll try to resolve this problem in next updates)
-
Wotlk Wrong Version?
Droidz replied to tennoheika's topic in WRobot for Wow Wrath of the Lich King - Help and support
On your screenshot the font does not seem to be the default Wow font. After some software can cause problem like malwarebyte or some antivirus try to disable all -
[vanilla] mesh error hinterlands, raventusk village
Droidz commented on eniac86's bug report in Bug Tracker
Hello, you can resolve this problem if you blacklist water or record good road (https://wrobot.eu/forums/topic/11007-add-waterroads-myself/?do=findComment&comment=52395) -
Hello, you need to attack this type of mobs? if not you can blacklist these
-
Can you tell me when he don't leave ghost wolf please?
-
Hello, sorry you cannot do that
-
Hello, if (System.DateTime.Now.TimeOfDay.Hours == 20 && System.DateTime.Now.TimeOfDay.Minutes == 0) robotManager.Products.Products.ProductStop(); (not tested)
-
Try to use ObjectManager.Me.WowRace instead (or lua)
-
Hello, (when you don't use lock frame) Lua is slow because WRobot need to inject code in wow (that run in next frame refresh). If you call 5 times lua (on 1 thread) you need to wait ~5 wow frames, ~80ms with 60 fps. You can: - lockframe (it is a easier way, and in some case better) - avoid to use lua (but a lot of wrobot api methods use lua it is hard to know what methods you can use or not) - try to avoid useless lua call (by sample if you use "if (lua.do("is ok") && me.health < 10 && me.havetarget)" replace it by "if (me.havetarget && me.health < 10 && lua.do("is ok"))" - combine your lua scripts (if you use several lua calls in one condition try to combine it to one call)
-
Wotlk Wrong Version?
Droidz replied to tennoheika's topic in WRobot for Wow Wrath of the Lich King - Help and support
I really think it's not the default client, try to re upload wow to another site Try also to install Slimdx and vc++: https://wrobot.eu/forums/topic/1381-repairinstall-wrobot/?tab=comments#comment-966 -
Remote Screen not updating
Droidz replied to CBR600F4's topic in WRobot for Wow Vanilla - Help and support
Run in windowed mode (not maximized, minimized or full screen) -
hello, this code is for Vanilla
-
Hello, wait next update and use this: wManager.Wow.ObjectManager.WoWUnit.MaxInteractDistance = 50.0f; wManager.Wow.ObjectManager.WoWUnit.MinInteractDistance = 4.3f;
-
need som help, wont mount. [VANILLA]
Droidz replied to Attam's topic in WRobot for Wow Legion - Help and support
It is what you said but I need to see it, if you want help share log of session without addons and plugin enabled please, if you don't want do it I cannot help you -
need som help, wont mount. [VANILLA]
Droidz replied to Attam's topic in WRobot for Wow Legion - Help and support
[E] 14:12:33.628 - Warning: It is recommended to disable all wow AddOns. Disable wow addons and share your log of session without addon please