WeaponSwingTimer

Not working for me last 2 days. Before 2 days everything worked. /wst do nothing. Anyone have same problem? Anyone know how to fix it? Thanks for help :slight_smile:

You need to update the code. TBC is using 9.0.1 LUA, so you need to add BackdropTemplate to any frame using a backdrop

How? I really don’t know how to do this :sweat_smile:

Enable script errors in-game: /console scriptErrors 1

You can now open the lua error report window; a quick way is to trigger an error, for example you can write an invalid script such as “/run a”

You should now be able to go through the pages of errors triggered by addons you have running. Go through the ones with WeaponSwingTimer folder location, it should show the location to a lua script file and a colon followed by a number, which represents the line of code which triggered the error.

This is likely going to be an attempt at applying a backdrop to a frame without a BackdropTemplate, so what you need to do then is to find the CreateFrame call to that specific variable to which the SetBackdrop call was done.

Add “BackdropTemplate” to the inheritsFrame parameter, which is the fourth argument of CreateFrame.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.