Jump to content


Recommended Posts

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;
                                                        return t;
                                                return 0;


2 hour ago it function is started to write the error. Only at bot for wow TBC

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...