Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bag.GetContainerItemCooldown()

Featured Replies

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

  • 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.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.