1. June 4, 2021  

    Loot window position

    I wanted to try Shestak UI. Apparently, the latest WotLK version was 2.5. Ok, downloaded it, installed on a SEPARATE clean WotLK client(downloaded from warmane download page), it works. I didn't like some aspects of it so I decided not to use it - I deleted the client I used for the test drive. Now I'm using my regular client I've had for years with all my usual addons - same clean wotlk client from warmane download page(no model modding or w/e kind of crap ppl do today). My problem is I loot a mob and the loot window appears on the left end of the screen. READ CAREFULLY BEFORE GIVING THE REGULAR NOOB-FRIENDLY SUGGESTIONS:
    1. Toggling the Open Loot Window at Mouse option DOES NOT reset loot window position nor does it bring it to the cursor as it's meant to.
    2. Reloading the ui / relogging inbetween toggling of said option DOES NOT help either.
    3. I read some suggestion about config-cache.wtf in the account folder - deleting the entire file DOES NOT fix my problem(nor does it even change any settings I currently have in place).

    So my question is: does anyone have an idea how to at least reset the loot window position that doesn't include wiping the entire WTF folder and all my settings with it?
    I imagine there could be a variable that can be set to x/y/z state but I'm not aware of such a variable.
    Edited: June 5, 2021

  2. June 5, 2021  
    /run _G['LootFrame']:ClearAllPoints()_G['LootFrame']:SetPoint('CENTER',UIparent,0,0)_G['LootFrame'].SetPoint=function()end
    Try this macro, it should reset the loot frame to the exact center of your window (Loot frame, when you are solo looting, not group loot frame(s) when you need/greed/disenchant)

    The loot frame table can be repositioned like _G['LootFrame']:SetPoint(...) but first you have to invoke ClearAllPoints()
    https://wowwiki-archive.fandom.com/w...ClearAllPoints
    https://wowwiki-archive.fandom.com/w...egion_SetPoint

    https://github.com/tomrus88/Blizzard.../LootFrame.lua
    Here you can check the function for "lootUnderMouse", if you want to set it up

    Also these repositions (coordinates) are not stored in config-cache.wtf, but savedvariables.lua or the folder depends what they are for and if account or character specific

    The easiest way to back to normal will be to delete the custom coordinates from savedvariables and let the client use the default
    Edited: June 5, 2021

  3. June 5, 2021  
    Also these repositions (coordinates) are not stored in config-cache.wtf, but savedvariables.lua or the folder depends what they are for and if account or character specific
    Following this logic, I put an "_" at the beginning of SavedVariables folder for the whole account and the frame went back to the cursor(currently the "Open Loot Window at Mouse" option is enabled in Options). Now I'll just start putting stuff back in its place and try to figure out where my problem actually lies, so I can delete any pesky custom coords.

    Thanks mate!

    ============================================

    EDIT: Found it!!
    ["LootFrame"] = {
    ["name"] = "LootFrame",
    ["pos"] = {
    "BOTTOMLEFT", -- [1]
    "UIParent", -- [2]
    "BOTTOMLEFT", -- [3]
    0, -- [4]
    737.1428897342615, -- [5]
    },
    },
    in MoveAnything.lua ...
    Deleting this solved the problem, but I'm starting to think me trying to move the Group Loot Rolling frames (the middle of screen ones) is what caused it - I may have clicked the wrong Loot option in the addon - not shestak ui.

    Regardless, thanks a lot!
    Edited: June 5, 2021

  4. June 5, 2021  
    Following this logic, I put an "_" at the beginning of SavedVariables folder for the whole account and the frame went back to the cursor(currently the "Open Loot Window at Mouse" option is enabled in Options). Now I'll just start putting stuff back in its place and try to figure out where my problem actually lies, so I can delete any pesky custom coords.

    Thanks mate!

    ============================================

    EDIT: Found it!!

    in MoveAnything.lua ...
    Deleting this solved the problem, but I'm starting to think me trying to move the Group Loot Rolling frames (the middle of screen ones) is what caused it - I may have clicked the wrong Loot option in the addon - not shestak ui.

    Regardless, thanks a lot!
    Group looting frame is different
    GroupLootFrame1 to GroupLootFrame4 (Multiple, up to 4 can be Shown/Visible at same time and each of them is different)

    also yes, since you found it inside "MoveAnything.lua" -these variables are saved by MoveAnything addon
    If you said that using MoveAnything in first place -you can simply reset the position from ingame ui
    Edited: June 5, 2021

  5. June 5, 2021  
    Ye, I understand they're different, I just think I clicked on the "Loot" option in MoveAnything and it created the entries in the .lua file which messed up the anchoring. All good now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •