how to know which id number = character name ?
I am asking this, as i realised that a lot of my characters settings addons are saved in savedvariables 2 times under different denomination.
First : number ID second : character name Is there a way to find which number ID = name character so i can purge some of the settings ? Also, old characters deleted months ago still appear on some (not all) savedvariables, though those savedvariable have been deleted and started a new. Any idea how to remove them definitily ? Thank you |
there is a subkey $lastcharactername in the pool of values inside the block, it contains name of the char.
|
Quote:
So i went the long way : 1 - found an addon who had that well referenced with my character names. (thanks to Dogulbon) 2 - found a paper and pen and copyed for each actual real character the number and the name. 3 - going through 23867 lines (for example in Dressing room saved var), and delete each wrong information for character not actually existing. (kept an old version in case it broke the new saved variable). 4 - and going on and on with all the variables with no good references Happily i have a lot of patience ..... :P --:P doing actually Destination which have 51936 lines, and ... have characters and numbers but not the $lastcharactername *cry* Done : for my 9 characters i have only now 12467 lines of real data |
Wait what did I do?
|
Quote:
your addon saved variables is very helpfull. I was able to know which character had those series of number, and find out which one i could definitily remove as they were deleted long ago. ["87960930XXXXXXXX"] = ["$LastCharacterName"] = "XXXXXXXXXXX", (loved that info particularly) Thanks!!! |
$LastCharacterName is added by the constructor ;)
|
Quote:
No worry, though, all the little things i did this morning works like a charm |
All times are GMT -6. The time now is 10:15 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI