Forum Index » Technical Support »

Pages (2): 1 2
Post a reply

mikalegon
Posted 06:36PM, Wednesday, October 14, 2009 (2 years, 3 months ago)
#0
I seem to be having a problem with CT_BarMod not showing the keybinds I'm using.
I do have "Display key bindings" option checked on, but everytime I log out, and then come back, it stops showing some, but not all keybinds I'm using. Keybinds themselves are not lost either, they just aren't shown. If I try to rebind again with the same keybind I get a message like say "The key S is used by 18 Avenging Wrath (G2) Enter to Overwrite / Escape to cancel." After I press Enter, the keybind shows up again, but is not showing once I log out and back in. Very odd.
dargen
Posted 11:30PM, Wednesday, October 14, 2009 (2 years, 3 months ago)
#1
Key bindings are actually stored on the server, but CT_BarMod also keeps track of them in its own file in the SavedVariables folder.

When you attempt to rebind the key, CT_BarMod asks the game if that key is already bound or not. Even if you don't see the key binding text, the game will tell the addon if the key is bound to something (as you saw when you attempted to rebind the key you couldn't see the text for).

The currently released version of the CT_BarMod (3.201), displays the key binding value that was saved by CT_BarMod. If for some reason the key binding didn't get saved in the file on your hard drive, then the key binding text would not show up on the buttons the next time you logged in. This might be what is happening to you.

In the next version of the addon, if the key binding value did not get saved on your hard drive, then the addon will ask the game if there is anything bound to the button. If there is something bound to it, then the addon will show you that value instead of showing nothing.

You can check to see if the game is saving the CT_BarMod key binding settings on your hard drive. The game saves all addon data every time you reload your ui, or logout of the game. For CT_BarMod, the data gets stored in the following file:
"World of Warcraft\wtf\account\<your_account_name>\SavedVariables\CT_BarMod.lua"

If you open the file (it is plain text) using something like Notepad (remember to logout of the game first), you can search for your key bindings to see if they were saved.

The file contains the settings for each of your characters (you'll see their names on the ["CHAR-Name-Server"] lines). Between the CHAR- lines are one or more lines representing the settings for one character. The lines that start with BINDING- are the key binding settings ( for example: ["BINDING-18"] = "S", ). The button number (18 in this example) should correspond to the number you see in the CT_BarMod key bindings options.

If you can't find the binding that you set (remember to log out of the game before you check), then the game is not updating the file in your SavedVariables folder. This sometimes happens for people with Windows Vista, depending on where the game was installed, and whether your Windows account has enough permissions to write to the game's SavedVariables folder.

There is a stickied thread on the WoW UI forum that might help if it is a Windows Vista related issue:
http://forums.worldofwarcraft.com/thread.html?topicId=6757867106&sid=1

Let me know if you have Vista, and whether or not the key bindings are getting saved in that file when you log out. Also, try changing a different CT_BarMod option while in the game, then log out and back in, and check to see if it remembered what you changed the option to.
Last updated by dargen
Alphadeath
Posted 01:20PM, Friday, October 16, 2009 (2 years, 3 months ago)
#2
Got the same problem and yes im using Vista 64, and no i dont use UAC and I have installed wow on a another harddrive. The SavedVariables file only contain this:


WATCHFRAME_LASTWIDTH = 0
CHANNELPULLOUT_OPTIONS = {
["displayActive"] = true,
["name"] = "Channel Roster",
}

And this just started to happen, guess vista got a update or something.
dargen
Posted 03:54PM, Friday, October 16, 2009 (2 years, 3 months ago)
#3
Alphadeath, the file you showed the contents of is "SavedVariables.lua". The one I was referring to is called "CT_BarMod.lua" and it is located inside a folder called "SavedVariables".
Last updated by dargen
Alphadeath
Posted 04:57AM, Saturday, October 17, 2009 (2 years, 3 months ago)
#4
Ah, sry this is the CT_barmod.lua


CT_BarModOptions = {
["CHAR-Alphadeath-Ravencrest"] = {
["MOVABLE-GROUP2"] = {
"BOTTOM", -- [1]
nil, -- [2]
"BOTTOM", -- [3]
-167.7140371535886, -- [4]
105.7144404697783, -- [5]
1, -- [6]
},
["barSpacing4"] = 0,
["orientation2"] = "ACROSS",
["showGroup2"] = 1,
["orientation7"] = "ACROSS",
["showGroup9"] = false,
["orientation6"] = "ACROSS",
["barScale4"] = 0.9000000357627869,
["stdPositions"] = true,
["barSpacing2"] = 0,
["barScale5"] = 0.9000000357627869,
["barSpacing5"] = 0,
["showGroup6"] = false,
["barSpacing1"] = 0,
["barScale2"] = 0.9000000357627869,
["orientation9"] = "ACROSS",
["MOVABLE-GROUP5"] = {
"BOTTOM", -- [1]
nil, -- [2]
"BOTTOM", -- [3]
-169.4284410732765, -- [4]
72.85721826680737, -- [5]
1, -- [6]
},
["cooldownFontSize"] = 16,
["orientation8"] = "ACROSS",
["showGroup1"] = false,
["orientation5"] = "ACROSS",
["showGroup7"] = false,
["MOVABLE-GROUP4"] = {
"BOTTOM", -- [1]
nil, -- [2]
"BOTTOM", -- [3]
-167.9999600760551, -- [4]
137.9998888033789, -- [5]
1, -- [6]
},
["showGroup3"] = false,
["orientation3"] = "DOWN",
["orientation4"] = "ACROSS",
["orientation1"] = "DOWN",
["showGroup8"] = false,
},
}

Guess there should be more if the binds where saved =/
Alphadeath
Posted 07:59AM, Saturday, October 17, 2009 (2 years, 3 months ago)
#5
Hmm "CT_BarMod.lua" have been created 2 july 2009, Changed 18 april 2006, Used 2 july 2009

Dont know if this can help what so ever but I realy would like to fix this.
Last updated by Alphadeath
dargen
Posted 11:43AM, Saturday, October 17, 2009 (2 years, 3 months ago)
#6
The "changed" date on that file is odd (did you mistype the year?). One of the options I see in your file is "cooldownFontSize". That option was added to version 3.010 of CT_BarMod back on Dec 10 2008, so I'm guessing you meant to type 2009 ?

The "used" date of July 2 2009 would seem to indicate that the game isn't reading the contents of that file when you start the game. If it isn't reading it, then it probably isn't writing to it either. Did the "used" date on the file change after you looked at the contents of it?

The "created" and "used" dates are both July 2 2009. Do you remember what happened then? Is that when you installed the game, or upgraded to Wrath of the Lich King, or upgrade to Vista, or something else?


I don't see any "BINDING-" type lines, so if you've changed a binding in the CT_BarMod options window, then it hasn't been saved by the game in the file you found.

I also don't see the options "showGroup10" or "orientation10" which are related to the extra bar that was added recently in CT_BarMod version 3.201 (Aug 28 2009). For those not be there, you either have to be running an older version of the addon, or the game is not saving your settings in the file you found.

If the game is not saving your settings in that file, then it could be a few different things:
1) The game might be saving the settings in a CT_BarMod.lua file located in a different folder than the one you found this file in.
2) Your windows account might not have enough permissions to write to the folder.
3) The file might be marked as read-only.


One thing you should do is to check your computer for multiple copies of World of Warcraft related files. You might find that you have more than one "Interface\Addons" folder, and/or more than one "wtf\account" folder. If you do, then it might be the case that the game is writing settings into one folder, and reading old settings from another folder.

If you do have multiple copies of the files, here's where they are likely to be (to find the "VirtualStore" folder you might neeed to enable the Windows option to Show Hidden Files/Folders):

C:\Users\<name>\AppData\Local\VirtualStore\Program Files\World of Warcraft\
C:\Program Files\World of Warcraft\
C:\Program Files (x86)\World of Warcraft\
C:\Users\Public\Games\World of Warcraft\

You should also look in the folder where you currently have the game installed (right click your WoW shortcut, select properties, and look at the "target" box on the "shortcut" tab to see where it is installed).


There should only be one "Interface\Addons" folder where you place your addons. It should be in the same place you've installed the game. If you find any other "Interface\Addons" folders, then you should delete them (if they contain more recent files, then you might want to copy them to where you have the game installed before you delete them).

Game settings are stored in the "wtf\account" folder, which is normally located in the same folder that you installed the game to. However, with Vista the game may have created a "wtf\account" folder in another location. This usually happens if the game is (or was) installed in the "Program Files" folder. Since the game can't write anything into the "Program Files" folder, Vista automatcially redirects all writes to a folder with the same name but located in a different place called the "VirtualStore".

If do not currently have the game installed in the "Program Files" folder, then all of your World of Warcraft files and folders should be located in the same place where you installed the game. If you find other WoW files/folders somewhere else, then they should be deleted, although before deleting them you might want to copy them to where your game is installed if you find that the files are more recent than the ones where your game is installed.


Note: I don't have Vista myself, but this is how I understand it to work based on what I've read. There is a stickied thread on the WoW UI forum that might help when troubleshooting Vista related addon issues:
http://forums.worldofwarcraft.com/thread.html?topicId=6757867106&sid=1
Alphadeath
Posted 03:43AM, Sunday, October 18, 2009 (2 years, 3 months ago)
#7
My wow is lockated in E:\spel\worldofwarcraft and windows and program is ofc in c:\.
Wow has never been installd in C:\.
And i am admin and even my user accont got all rights in E:\.
I am the only one that useing this comp so im sure its not something whit this.

The date is correct that i type, dont ask how i have no ide.

Also if there where no patch close to July 2 2009 then it must be vista that got a update.

There is no CT_barmod.lua exept in the wow folder.

I deleted all ct_mod addons I had and installed new ones. Now i got some bindings in the file but the game do not update the file when i only change bindings.

And i found out that if i change bindings and the exit the game (not just log out) then the bindings is there when I get back online but if I go out to the character list and in again then thay are gone.
Alphadeath
Posted 03:43AM, Sunday, October 18, 2009 (2 years, 3 months ago)
#8
This is the new file:

CT_BarModOptions = {
["CHAR-Alphadeth-Ravencrest"] = {
["orientation2"] = "DOWN",
["showGroup2"] = false,
["orientation7"] = "ACROSS",
["showGroup9"] = false,
["showGroup7"] = false,
["stdPositions"] = true,
["BINDING-63"] = "F3",
["hideTooltip"] = false,
["showGroup6"] = false,
["BINDING-61"] = "F1",
["MOVABLE-GROUP5"] = {
"BOTTOM", -- [1]
nil, -- [2]
"BOTTOM", -- [3]
-143.1427406846296, -- [4]
91.14283487140096, -- [5]
1, -- [6]
},
["BINDING-62"] = "F2",
["orientation9"] = "ACROSS",
["showGroup5"] = 1,
["orientation10"] = "ACROSS",
["orientation8"] = "ACROSS",
["showGroup1"] = false,
["orientation5"] = "ACROSS",
["showGroup4"] = false,
["orientation3"] = "DOWN",
["showGroup10"] = false,
["showGroup3"] = false,
["orientation6"] = "ACROSS",
["orientation4"] = "ACROSS",
["orientation1"] = "DOWN",
["showGroup8"] = false,
},
}
Last updated by Alphadeath
mxl
Posted 03:22AM, Wednesday, October 21, 2009 (2 years, 3 months ago)
#9
got same prob. would be nice if a patch would come. btw loving your addons

Pages (2): 1 2

Quick Reply

You cannot reply to this topic. Try logging in first.