Bug Report Comments posted by Droidz
-
-
I won't back to old version of code (change was do 1 year ago).
Current code:
public static void BuyItem(string name, int number) { try { Lua.LuaDoString($@" local n = '{name.Replace("'", @"\'")}'; local q = {number}; for i=1,100 do local name, _, _, quantity = GetMerchantItemInfo(i) if name and n==name then if q > quantity then q = quantity end BuyMerchantItem(i,q) end end"); } catch (Exception e) { Logging.WriteError("BuyItem(string name, int number): " + e); } }
to get old code remove:
if q > quantity then q = quantity end
-
-
hi,
You need to call this method several time
for (int i = 0; i < b.Quantity && b.NeedToBuy(); i++) { var qToBuy = b.Quantity - ItemsManager.GetItemCountByNameLUA(b.ItemName); if (qToBuy > MaxItemsQuantityToBuyByRequest) qToBuy = MaxItemsQuantityToBuyByRequest; Vendor.BuyItem(b.ItemName, qToBuy); Thread.Sleep(Usefuls.Latency + 400); }
-
-
-
-
-
-
-
and code like:
Engine lastEngine = null; robotManager.Events.FiniteStateMachineEvents.OnBeforeCheckIfNeedToRunState += delegate(Engine engine, State state, CancelEventArgs cancelable) { try { if (engine == null || engine.States == null) return; if (engine != lastEngine) { if (engine.States.Any(s => s is Idle)) { lastEngine = engine; engine.AddState(new MyCustomState()); // or engine.States.Insert(X, new MyCustomState()); // cancelable.Cancel = true; ?? } } } catch { } };
-
-
-
-
you are the first to report me this problem.
When you found bugged node blacklist zone.
FPS seems low, what return https://wowwiki.fandom.com/wiki/API_GetFramerate ? Maybe code like
if GetFramerate() < 5 then ReloadUI() end
can resolve problem
-
-
-
Hi,
To get link I use https://wow.gamepedia.com/API_GetItemInfo (and I cache result), I'll not fix this problem.
-
-
-
Wrobot can use only one offmeshconnection per path, if path need several offmeshconnections you need to combine them. For your problem, you need to create one offmeshconnection "Rut'Theran to Auberdine", one to "Darnassus Portal Down to Rut'Theran" and one "Darnassus Portal Down to Auberdine" ("A to B", "B to C" and "A to C")).
(if I understood the problem correctly.)
-
-
-
-


Since latest update when I use radar3d everything goes black
in Bug Tracker
Hello, try to reinstall SlimDX