September 16, 20205 yr Bag.GetContainerItemCooldown() is broken? [E] 22:01:26 - LuaDoString(string command, Type returnType, string returnVariableName = ''): System.OverflowException: Значение было недопустимо малым или недопустимо большим для Int32. в System.Convert.ToInt32(Double value) в System.Double.System.IConvertible.ToInt32(IFormatProvider provider) в System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) в System.Convert.ChangeType(Object value, Type conversionType) в wManager.Wow.Helpers.Lua.LuaDoString(String command, Type returnType, String returnVariableName) [D] 22:01:26 - LuaDoString<T>(string command, string returnVar) > return value is NULL, command: local itemLink= GetContainerItemLink(0, 10); if itemLink then local _,_,itemId = string.find(itemLink, '.*|Hitem:(%d+):.*'); if itemId then local startTime, duration, isEnabled = GetContainerItemCooldown(0, 10); if not isEnabled then return 0 end local t = math.floor((startTime + duration - GetTime()) * 1000); if t < 0 then t = 0; end return t; end end return 0; 2 hour ago it function is started to write the error. Only at bot for wow TBC
September 17, 20205 yr Hi, it is strange, try to restart your computer if problem is not resolved tell me
September 22, 20205 yr Author Sorry for offtop, but i've an another strange, after playing without restart 3+ hours the bot dont random the function: Others.Random(0, 10). In fight class, in plugin, in quester in the same time the bot use only 0, never 1, 2, 3, ..., 10. Help only restart the bot.
September 22, 20205 yr Author yes, correctly. In addition if i set Others.Random(53, 100), bot'll use only 53 and etc
September 22, 20205 yr I think it is a problem with https://docs.microsoft.com/en-us/dotnet/api/system.environment.tickcount?view=netcore-3.1 but I don't understand why, random use default .NET api no reason that bug. Try to reinstall/repair framework.net maybe
Create an account or sign in to comment